Commit Graph

265 Commits

Author SHA1 Message Date
8c56dec038 Prevent Zero-Division Exception 2019-05-08 20:09:51 +02:00
a95b2409d3 Parallelize calculation of working_times 2019-05-08 15:03:38 +02:00
5958523fdb Update app/models/exercise.rb
Co-Authored-By: rteusner <ralf.teusner@hpi.de>
2019-03-29 16:00:58 +01:00
193cc6c70d enhance exercise_collection_statistics 2019-03-29 15:32:00 +01:00
d63469099b Incorporate feedback from PR review 2019-03-12 13:01:25 +01:00
900bc896c9 Implement working time graph for study group dashboard
(so far, without live update)
2019-03-12 10:32:23 +01:00
114f77e799 Extract WORKING_TIME_DELTA to be used globally and set it to 5 min. 2019-03-09 00:32:36 +01:00
d63700c7db Add live dashboard for teachers in the context of an exercise
This commit also adds the fundamentals for ActionCable
2019-03-06 14:00:59 +01:00
6e03939c10 Add StudyGroup to submissions and show it for submissions and RfCs
Also take care of deleting a StudyGroup for existing submissions
2019-03-06 14:00:58 +01:00
c498d2b08b Allow sign in via case insensitive email address 2019-01-17 18:44:11 +01:00
7eab61dc8f Show nice name for StudyGroups 2019-01-15 17:36:57 +01:00
ac7e41d8b3 Merge pull request #248 from openHPI/improve_groups
Improve groups with a view and always create a group
2018-12-19 13:57:41 +01:00
86f2f42fa1 Merge pull request #247 from openHPI/fix_commentors_query
fix active record induced error on postgres by removing distinct.
2018-12-14 18:13:06 +01:00
7983c0797a Add view for StudyGroups 2018-12-14 14:52:04 +01:00
76079bb47d one line the loop, thanks for the hint @MrSerth 2018-12-14 13:36:24 +01:00
2c29bf4e2b Merge branch 'master' into add_groups 2018-12-14 00:57:26 +01:00
6c46566174 Merge pull request #242 from openHPI/fix_proxy_exercise
Add user (ID and type) to proxy exercise
2018-12-13 16:23:51 +01:00
8558c5041f fix active record induced error on postgres by removing distinct.
Inlining the code did not turn out well, as we have to cope with the polymorphic association of user here..
2018-12-13 16:16:12 +01:00
88081bb541 Replace usage of name in favor of displayname 2018-12-13 14:27:55 +01:00
b4b9ab48d0 External User: Set name to displayname and introduce real_name 2018-12-12 16:47:49 +01:00
b137e64020 Add StudyGroups with ExternalUsers only 2018-12-12 12:09:52 +01:00
141450a840 Migrate User to abstract class 2018-12-12 11:45:11 +01:00
59257d17f2 Add user (ID and type) to proxy exercise
This is required for the existing policies to work
2018-12-06 00:31:45 +01:00
8dfcef3e45 Merge pull request #235 from openHPI/remove_old_hints
Completely remove old hints connected to the execution environment
2018-11-30 15:41:01 +01:00
56c59a616e Completely remove old non-structured errors and migrate existing ones. 2018-11-30 11:27:25 +01:00
8381b4f1ba Specify file as optional for testruns
(no file is present for `run` but e.g. for `assess`)
2018-11-28 15:23:32 +01:00
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
1131d08e2b Add user_type to RemoteEvaluationMappings 2018-11-26 17:56:07 +01:00
bb10e191ed Specify ExternalUser as class for user in RemoteEvaluationMapping
Otherwise, the download of submissions will no longer work in Rails 5
2018-11-22 18:57:58 +01:00
d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests
Remove ab tests
2018-11-15 18:02:34 +01:00
1bed13d941 Remove useless .keep files 2018-11-06 16:49:41 +01:00
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +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
b5c3ce2113 Delete related exercise collection items when deleting exercises or collections 2018-08-22 13:47:27 +02:00
11dc48dc96 Fix creating exercise collections with exercises 2018-08-22 13:41:23 +02:00
400eef3118 move logging statement up to be sure that its result is not assigned to matching_exercise if an error might be thrown. 2018-08-15 15:43:37 +02:00
d528bacead Validate presence of category and data attribute 2018-08-15 14:39:58 +02:00
d6c64f5b91 Add event model 2018-08-14 16:59:58 +02:00
5a90d20e54 prevent RFC with empty questions from being picked 2018-08-09 15:26:39 +02:00
d9d3dc42d4 remove all A/B testing code no longer in use. 2018-08-09 15:14:52 +02:00
fc3e9ed470 Enable guessing the anomaly notification that triggered the user feedback 2018-08-03 13:20:31 +02:00
7478ef8eff and forgot to change it to i when doing a quickfix... 2018-07-25 16:29:57 +02:00
7e85fadfa1 fix table name in query 2018-07-25 16:25:30 +02:00
0ed5ed6096 Merge pull request #188 from openHPI/feature/ordered_exercise_collection
Ordered exercise collections
2018-07-20 13:41:05 +02:00
6a1dbe4853 Add exercise title to statistics tooltip 2018-07-20 13:28:03 +02:00
d80e3ecd3b Sort exercise collection items by position in statistics view 2018-07-20 10:36:10 +02:00
d971382b5b re-introduce exercise description exercise split 2018-07-18 09:34:25 +02:00