62 Commits

Author SHA1 Message Date
0a379721a1 Add AuthenticationToken to UserMailer.exercise_anomaly_needs_feedback 2024-05-21 20:10:00 +02:00
e1d87b51e9 Fix AnomalyDetection broken after recent changes 2024-05-21 20:10:00 +02:00
a73bb8f0ea Add Rake task to GDPR delete users 2024-04-03 10:25:50 +02:00
c29256aa81 Fix Rubocop offenses 2023-09-11 14:10:16 +02:00
9d1be1eeff Migrate AnomalyNotification to contributor
* Also, this commit aims to fix the (broken) anomaly notifications.
2023-08-24 19:32:06 +02:00
66921d92bb Fix assets:precompile to be idempotent again
Each execution regenerates the manifest, so that we also need to rewrite the hashes.
2022-12-06 20:21:58 +01:00
7debe371b3 Actually write changed manifest to disk 2022-12-06 19:43:15 +01:00
cfb5fac5b2 Prevent adding duplicate lines for source maps 2022-12-06 19:43:05 +01:00
de0c1d368c Add source map for sprockets 2022-12-06 15:26:50 +01:00
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
c75f52f2c8 Fix Rubocop offenses 2022-10-24 12:28:50 +02:00
6927b57170 Update Study Group Dashboard and Statistics 2022-08-20 00:05:02 +02:00
727f85841d Bump i18n-js from 3.9.2 to 4.0.0
Bumps [i18n-js](https://github.com/fnando/i18n-js) from 3.9.2 to 4.0.0.
- [Release notes](https://github.com/fnando/i18n-js/releases)
- [Changelog](https://github.com/fnando/i18n-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fnando/i18n-js/compare/v3.9.2...v4.0.0)

---
updated-dependencies:
- dependency-name: i18n-js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 10:11:36 +02:00
b613267add Remove legacy DockerClient 2022-06-08 13:18:37 +02:00
74e285e9fd Fix rubocop offenses 2021-10-05 12:09:56 +02:00
5243808d54 Apply automatic rubocop fixes 2021-05-17 19:40:38 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
ed83e8ea52 Fix some rubocop offenses 2021-04-07 14:06:33 +02:00
9485c15c57 Fix exercise anomaly detection
* The SQL query and mail template was erroneous
* Including the `url_helpers` influenced the specs due different url helpers within the specs. Test by executing `rspec './spec/db/seeds_spec.rb[1:1:1]' './spec/features/request_for_comments_filter_spec.rb[1:1]' -f progress --fail-fast --seed 55564`
2021-04-07 14:06:33 +02:00
ba4e09e2d7 Rename STDOUT to $stdout in Rake task 2021-02-11 14:33:00 +01:00
2f36218aca Merge pull request #423 from openHPI/implement_codeharbor_interface
Implement codeharbor interface
2019-12-20 10:53:42 +01:00
2432678ea1 make rake task more verbose 2019-12-19 17:49:53 +01:00
9670246e75 rake task to export public exercises 2019-12-18 18:41:06 +01:00
ba4ea54e4f Add comment about cause for randomly failing specs 2019-12-13 15:37:21 +01:00
1bed13d941 Remove useless .keep files 2018-11-06 16:49:41 +01:00
5827749b80 Merge remote-tracking branch 'origin/master' into fix/exercise-anomaly-detection-nil-values 2018-07-25 13:41:20 +02:00
c71afc55c9 Fix nil value error 2018-07-25 13:41:00 +02:00
0ed5ed6096 Merge pull request #188 from openHPI/feature/ordered_exercise_collection
Ordered exercise collections
2018-07-20 13:41:05 +02:00
97fe900f52 Sort exercises in anomaly detection task according to position in exercise collection 2018-07-20 11:02:41 +02:00
ed11004c2b Refactor exercise anomaly detection task 2018-07-20 10:58:35 +02:00
815d700481 Reject nil values in working times 2018-07-13 09:43:06 +02:00
5edd5be70d Merge branch 'fix/exercise-anomaly-detection-nil-values' into feature/ordered_exercise_collection 2018-07-10 12:52:43 +02:00
36cbbb7053 Fix calculation of average 2018-07-10 12:52:21 +02:00
1f8b505d47 Merge branch 'fix/exercise-anomaly-detection-nil-values' into feature/ordered_exercise_collection 2018-07-10 12:46:27 +02:00
71a78a2dfa Fix average working time for nil values and empty filtered collections 2018-07-10 12:43:13 +02:00
b4927cdecb Update exercise anomaly detection to work on new schema 2018-07-10 12:27:19 +02:00
6c5cd8d1ee Use TimeHelper in rake task 2018-03-19 14:38:39 +01:00
73929512c6 Only ask for feedback from fast users if they achieved an above-average score 2018-02-26 19:54:11 +01:00
0ba94574b5 Use correct link for feedback emails 2018-02-26 19:33:34 +01:00
30fd465780 Send emails 2018-02-26 17:55:18 +01:00
357712eac7 Persist reasons for notifications to db 2018-02-26 15:26:48 +01:00
cce6b5532d Refactor and prepare sending e-mails 2018-02-26 14:12:16 +01:00
4c97faeec9 Find best and worst performers w.r.t. working time 2018-02-20 21:25:15 +01:00
06928340c9 Extract last submission per user to Exercise model 2018-02-04 16:27:11 +01:00
08f16447f3 Cache working time query results 2018-02-04 15:41:40 +01:00
509335a1af Refactor anomaly detection task 2018-02-04 15:14:07 +01:00
ae7a065bd9 Lookup best and worst performers 2018-01-31 15:23:29 +01:00
d5f123ad7d Improve task output 2018-01-31 14:33:42 +01:00
21c1089be7 Check if user exists 2017-12-20 10:27:42 +01:00