Commit bdb5682
Merge master into develop (#1867)
* Fix bug in GitHub api rate limit check (#1821)
Fix buggy code
* Update docker compose docs (#1823)
* Update docker compose docs
* Add make warning
* Update Export / Import Assessment to support more fields, make importAsmtFromTar and importAssessment more robust (#1822)
* - Lint ruby files within spec/
* Add more fields to yml serialization of assessment
Add error checking to import assessments (still some errors)
* add check to ensure asmt name is valid for import
* remove redundant text
* create assessment using factory bot, jank test for assessment export
* - Add success flash to assessment import
- Add a bunch of testcases for bad assessment imports
- Modify create_course_with_many_students to handle custom assessment creation, do validation on assessment name
* rubocop style
* Jump to currently enrolled course (#1812)
* Modifications for RuboCop style
* Update Manage Submissions test specs to work regardless of jump to course logic
---------
Co-authored-by: Damian Ho <[email protected]>
* Bump rack from 2.2.6.2 to 2.2.6.3 (#1828)
Bumps [rack](https://github.com/rack/rack) from 2.2.6.2 to 2.2.6.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](rack/rack@v2.2.6.2...v2.2.6.3)
---
updated-dependencies:
- dependency-name: rack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix bug where course gets created even if there are errors (#1820)
* Add required fields to html for name and instructor email
* Destroy course if instructor email is invalid
* Change required syntax to favored form
* Fix annotated PDF download when global annotation is present (#1833)
Skip if coordinate is nil
* Course start/end date nil checks (#1834)
Add nil check for course start and end dates
* Bump rack from 2.2.6.3 to 2.2.6.4 (#1835)
Bumps [rack](https://github.com/rack/rack) from 2.2.6.3 to 2.2.6.4.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](rack/rack@v2.2.6.3...v2.2.6.4)
---
updated-dependencies:
- dependency-name: rack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add LTI Configuration to "Manage Autolab" Dropdown, Update docs and gitignore (#1817)
* begin updating lti integration documentation and add feature documentation
* - update documentation for LTI configuration, linking, installation
- add images for LTI linking for documentation
- update gitignore, add ignore node_modules (for stylelint)
* Revise LTI docs to make instructions more clear
---------
Co-authored-by: Victor Huang <[email protected]>
* Remove unused "Additional Submission Form" feature code (#1830)
* Remove dead code
* Update schema version
* Fix thead alignment in manage submissions (#1838)
* Add sticky to thead css
* Remove js file that added a new thead element
* Update MacOS install docs to use Homebrew (#1841)
Update docs to install homebrew first, then install rbenv and ruby-build
- add troubleshooting help for OpenSSL related error
* Update Docs to use bash to run init-letsencrypt.sh instead of sh (#1842)
Use bash to run init-letsencrypt.sh instead of sh
* Allow GitHub submissions to specify commit SHA (#1836)
* Add logic to display commit sha and messages
* Add logic to pull correct commit
* Updating formatting
* Remove unnecessary params
* Indent update_commits
* Clear commit dropdown when switching repository
* Use Factory Bot to Replace Autopopulated Database for Testing (#1837)
* starter code from pair prog sesh! working factories for now
* e
* very inconspicuous commit message where assessments controller gets updated with new sets and factory functions e
* update users_controller_spec to use new contexts, use shared_examples
* update submissions_controller_spec to use new contexts
* update admins_controller_spec, attachments_controller_spec (not fully working but going to be deprecated anyways)
* - update courses_controller_spec
- update schedulers_controller_spec
- add nicknames to students in create_course_with_users in order to bypass nickname creation redirect (this fixes attachments controller broken test)
* - fix features/manage_submissions_spec.rb to use factory
- create controllers_shared_context to facilitate easy use of course and users without having to create a new course / users for every context
- begin updating api tests
* update controller spec to use new shared context
* fix config module not being loaded for assessment
* - update factories and create_course to build submissions for students, along with scores
- create problems as well
- fix more tests
* all pre-existing tests now work with FactoryBot
- add create_autograded_course to make a "dummy" autograded course (we can't talk with tango but it has all the files / config of an autograded assessment)
- create autograder factory
- update assessment to by default have group size of 1 (should be individual assessment)
* - re-enable autograding_roundtrip_spec
- refactor get_course_id_by_uid to get_first_cid_by_uid
* Update factory for submissions due to db field being removed, test setup
* Remove commented out code
* test for create when user is instructor
* moved behavior to shared example
* annotations specs for expected failures of #create
* delete dead code
* factory for annotations
* Address PR nits
---------
Co-authored-by: Joanna Ge <[email protected]>
Co-authored-by: Joey Wildman <[email protected]>
* Grade Export: Move total column to be after email (#1829)
* Move total to after email
* Fix typo on bulkGrade page
* Add warning to documentation about RAM requirements (#1847)
* Update documentation
* Add warning to osx and ubuntu pages
* Shift admonition to overview page
* Avoid rounding final score during bulk grade export (#1860)
Avoid rounding final score
* Version dropdown: jump to same file if it exists (#1840)
* Update paths
* Add indicator and jump to correct file
* Extract dropdown html
* Update dropdown when switching files
* Update pdfUrls to use _path methods
* Add newline
* Add missing semicolon to view.js.erb
* Use template strings for this.value
* Use document.location.href
* Don't put asterisk for current version
* [Breaking] Create per-user handin subdirectories (#1831)
* Create per-user subdirectories
* Create per-user archive subdirectories
* Use id for archive filename
* Refactor archive_handin
* Implement Backwards Compatibility to Per-user Handin Subdirectories (#1846)
* initial patch code to fall back to old handin file path if new handin file not found
* - update path finding functions to check for existence old path/file first, then return new path
* address newline nit
* actually address newline nit
---------
Co-authored-by: Joey Wildman <[email protected]>
* [Cherry Picked] Adds modifySubmissionScores hook (#1866)
Adds modifySubmissionScores hook (#1832)
* Adds modifyScores hook
* change name from modifyScores to modifySubmissionScores
* Add problems to the modifySubmissionScores hook
* adds assessment variable hook
* Add a default lookback limit to previous_submissions
* Fix order
* Append error message to feedback
* Remove comment
* Add filter on exclude autograding in progress
* Exclude autograding
* Add docs for modify submission score
* Fix error, and add reference to argument types
* Refactor develop tests to use new framework, commit correct schema.rb (for mysql)
* Run rubocop
* Clean up context blocks in attachments_controller_spec by defining u at top of context block instead for each shared example
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Evan Shi <[email protected]>
Co-authored-by: lykimchee <[email protected]>
Co-authored-by: Damian Ho <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jlge <[email protected]>
Co-authored-by: Victor Huang <[email protected]>
Co-authored-by: Umar Alkafaween <[email protected]>
Co-authored-by: Michelle Liu <[email protected]>
Co-authored-by: Joanna Ge <[email protected]>1 parent 9ab11b9 commit bdb5682
File tree
83 files changed
+1827
-1253
lines changed- app
- assets
- javascripts
- stylesheets
- controllers
- assessment
- helpers
- models
- views
- assessments
- courses
- layouts
- submissions
- config
- db
- migrate
- docs
- features
- images
- installation
- lib/tasks
- spec
- api/v1
- controllers
- factories
- features
- fixtures/assessments
- models
- sets
- support
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
83 files changed
+1827
-1253
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
87 | 111 | | |
88 | 112 | | |
89 | 113 | | |
90 | 114 | | |
91 | 115 | | |
92 | 116 | | |
93 | | - | |
| 117 | + | |
94 | 118 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 119 | + | |
112 | 120 | | |
113 | 121 | | |
114 | 122 | | |
| |||
120 | 128 | | |
121 | 129 | | |
122 | 130 | | |
| 131 | + | |
123 | 132 | | |
124 | 133 | | |
125 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
24 | 38 | | |
25 | 39 | | |
26 | 40 | | |
| |||
29 | 43 | | |
30 | 44 | | |
31 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
32 | 57 | | |
33 | 58 | | |
34 | 59 | | |
| |||
38 | 63 | | |
39 | 64 | | |
40 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
41 | 72 | | |
42 | 73 | | |
43 | 74 | | |
| |||
65 | 96 | | |
66 | 97 | | |
67 | 98 | | |
| 99 | + | |
68 | 100 | | |
69 | | - | |
| 101 | + | |
70 | 102 | | |
71 | 103 | | |
72 | 104 | | |
| |||
75 | 107 | | |
76 | 108 | | |
77 | 109 | | |
| 110 | + | |
78 | 111 | | |
79 | 112 | | |
80 | 113 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
359 | 357 | | |
360 | 358 | | |
361 | 359 | | |
| |||
401 | 399 | | |
402 | 400 | | |
403 | 401 | | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | 402 | | |
417 | 403 | | |
418 | 404 | | |
| |||
0 commit comments