90897a24e5
Correctly set hidden_feedback for inherited files
...
Without this fix, hidden_feedback was only effective when read_only was set, too.
2024-07-08 17:58:46 +02:00
34c322f8c0
Fix Rubocop offenses
2023-12-25 14:02:41 +01:00
0e387ffda2
Add association for Comments and RequestForComments
...
For the submission and comments, I mainly decided to use a `has_one` association. Based on the database schema, multiple request for comments could be allowed (i.e., for each file or submission), but this won't happen practically (since we always create new submissions and files). Hence, the `has_one` association is representing our relationship better.
2023-09-25 18:17:52 +02:00
79422225a8
Add events for pair programming study
2023-09-05 22:56:51 +02:00
977fa4539e
Check polymorphic type in validations
...
* Previously, some models had "duplicated" `belongs_to` associations, which were now removed (and replaced by the `include Creation`).
2023-08-24 19:32:06 +02:00
db56a690c7
Add option to suppress feedback messages
...
This is used to dynamically exclude some test results from being shown to users, but still allows them to run in the background (e.g., for research).
2023-07-27 10:38:49 +02:00
a16c1a2bd3
Order files by path and name
2023-05-11 22:50:33 +02:00
0aa73d30e9
Reduce SQL queries for querying files when creating submissions
...
This is especially useful for the RemoteEvaluationsController.
Closes CODEOCEAN-KX
2023-04-02 17:05:22 +02:00
5d02251cbb
Replace BooleanPresenceValidator with InclusionValidator
...
The `BooleanPresenceValidator` is causing issues with Ruby 3.2+ YJIT irregularly.
Fixes CODEOCEAN-GQ, fixes CODEOCEAN-GR
2023-01-08 14:10:14 +01:00
574e99eddd
Fix rubocop offenses - Requires Ruby 3.1+
2022-11-25 11:10:06 +01:00
58548555a5
Shell: Add file system browser to retrieve arbitrary files
2022-10-29 18:49:18 +02:00
60078701f5
Editor: Allow file retrieval after code run
2022-10-29 18:49:18 +02:00
ca13ea03c8
SubmissionsController: Send Content-Length if possible
2022-10-04 16:06:59 +02:00
0a16f589e9
Use X-Sendfile to transmit native files and handle file uploads
2022-09-06 01:21:40 +02:00
9050f02b7a
Add additional test case for new CodeOcean::File#read method
2022-09-02 17:52:24 +02:00
d762f976a8
Add new CodeOcean::File#read method
...
* With a new method, we can simplify our code to handle differences between file.content and file.native_file.read
2022-08-19 22:42:55 +02:00
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
0c1a10959c
Use file name with file path as identifier
2021-12-15 00:52:31 +01:00
90eeb3bb9c
Move CodeOcean::FileNameValidator
2021-11-01 17:13:01 +01:00
5243808d54
Apply automatic rubocop fixes
2021-05-17 19:40:38 +02:00
6cbecb5b39
Apply automatic rubocop fixes
2021-05-14 22:03:06 +02:00
36ac8b63cb
Use regular file as default for new exercise file roles
2021-03-17 14:33:40 +01:00
be3ec82bd4
Add new file role teacher_defined_linter
2020-10-15 00:43:57 +02:00
b51be3edb3
Add option to add multiple entry points which could be executed similar to the Main File
2020-01-16 11:14:59 +01:00
56c59a616e
Completely remove old non-structured errors and migrate existing ones.
2018-11-30 11:27:25 +01:00
9666683bd7
Fix error, submission, hints and help views
2018-11-06 16:46:01 +01:00
de52db89f0
Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
...
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de >
2018-11-06 16:46:00 +01:00
730d5541bd
allow running, testing and scoring of files in subfolders by using the full filepath
2018-10-19 15:25:05 +02:00
4e6d7f8b8a
Order files by name by default
...
Explicit ordering in the view (!) is now no longer necessary.
2018-09-30 00:40:21 +02:00
2ff12dbeb6
Cached displaynames of users
...
Added solved state and #comments to index of request_for_comments
Added translations
2016-06-27 16:46:26 +02:00
c69ab69c46
Fix exercise update
2016-05-12 14:39:00 +02:00
9fc974af20
Implement file name validation based on path, name, and filetype upon file creation
2016-05-10 16:03:52 +02:00
16346fa732
Show testrun results in statistics
2016-03-09 15:20:38 +01:00
d109663cb9
extracted boolean validation logic into stand-alone validator
2015-03-18 09:10:58 +01:00
58da5d5d66
fix
2015-03-12 19:07:58 +01:00
cd09e19d24
hide fields from the file form if not matching the file's role
2015-03-12 17:04:47 +01:00
48f1b97aea
extracted method
2015-03-12 11:07:29 +01:00
ff7f33cfd8
minor changes
2015-03-11 15:15:10 +01:00
0bb5dae334
changed literal array syntax, as suggested by RuboCop
2015-02-16 11:33:03 +01:00
4cbf9970b1
transferred Code Ocean from original repository to GitHub
2015-01-22 10:01:32 +01:00