Commit Graph

3471 Commits

Author SHA1 Message Date
53a1d32241 Merge pull request #931 from openHPI/rubocop
Update Rubocop config and apply many corrections
2021-05-14 22:14:28 +02:00
27424c5f6e Enable Rubocop in GitHub Actions 2021-05-14 22:03:06 +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
fe4000916c Update rubocop configuration 2021-05-14 22:03:06 +02:00
48904a19fd Fix test for new custom file 2021-05-14 17:35:37 +02:00
bf6ab4f114 Prevent custom files from being rejected 2021-05-14 17:15:55 +02:00
1d08a78d7d Lower Sentry trace sample rate to 10% 2021-05-12 23:20:03 +02:00
276423fd30 Replace deprecated update_attributes 2021-05-12 22:54:06 +02:00
5bf7c0a425 Move inflections to dedicated file 2021-05-12 18:19:50 +02:00
a75328e634 Enable Sentry Performance 2021-05-12 17:58:18 +02:00
d563488c30 Remove uglifier as JS preprocessor 2021-05-12 17:51:28 +02:00
0b43d8e656 Remove framework migration file from Rails 6.0 2021-05-12 17:14:57 +02:00
7205f243e5 Change Dependabot time to 3am UTC 2021-05-12 17:13:49 +02:00
11962a1d65 Upgrade to Rails 6.1 and apply new framework defaults 2021-05-12 16:49:14 +02:00
504bb07ae1 Use urlsafe_csrf_tokens to allow migrating from Rails 5.2.5+ 2021-05-12 16:47:05 +02:00
12a96ef0c4 Update babel config to remove deprecation warning 2021-05-12 16:47:05 +02:00
ebdfd4ab63 Re-enable oscillating tests 2021-05-12 16:47:05 +02:00
26151920c0 Prevent docker cleaning if no docker test was performed 2021-05-12 16:47:05 +02:00
2b32829e60 Upgrade DatabaseCleaner strategy 2021-05-12 16:47:05 +02:00
8378070bc2 Upgrade to Rails 6.0 and apply new framework defaults 2021-05-12 16:47:05 +02:00
3c4ff307af Merge pull request #926 from openHPI/dependabot/bundler/rails-5.2.6
Bump rails from 5.2.5 to 5.2.6
2021-05-10 19:20:13 +02:00
b4c8b91c0a Update Bundle 2021-05-10 19:06:03 +02:00
1c2d5bc2a8 Prometheus: Mock config in specs 2021-05-10 18:57:01 +02:00
b3bd84cc21 Change check for presence of Rails Console 2021-05-10 18:57:01 +02:00
188b0d1361 Merge pull request #925 from openHPI/dependabot/npm_and_yarn/bootswatch-5.0.0
Bump bootswatch from 4.6.0 to 5.0.0
2021-05-06 11:52:58 +02:00
3aa71efbf7 Bump bootswatch from 4.6.0 to 5.0.0
Bumps [bootswatch](https://github.com/thomaspark/bootswatch) from 4.6.0 to 5.0.0.
- [Release notes](https://github.com/thomaspark/bootswatch/releases)
- [Commits](https://github.com/thomaspark/bootswatch/compare/v4.6.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 09:07:08 +00:00
3c7e9176a2 Daily Rubocop 2021-04-30 12:06:13 +02:00
4958f5b9a9 Add StudyGroup to RemoteEvaluationMapping 2021-04-30 12:06:12 +02:00
91a0e4a7d5 Align files_attributes in remote evaluation with structure of normal submission 2021-04-30 12:06:12 +02:00
36cacc2330 Pass exercise object instead of id to reject_illegal_file_attributes 2021-04-30 12:06:11 +02:00
b3c110cead Improve code style 👮 2021-04-30 12:06:11 +02:00
88aa25e9a0 Add tests for rejecting illegal file attributes 2021-04-30 12:06:10 +02:00
caaa52409e Avoid that files from other exercises can be created 2021-04-30 12:06:10 +02:00
1f3c9db537 Reject illegal file attributes in remote evaluation
Remove ! from reject illegal file parameters
2021-04-30 12:06:09 +02:00
ea029c5f1c Change dev ports to DockerContainerPool to 7100 2021-04-29 13:21:24 +02:00
b78a161914 Change default dev port to 7000 2021-04-29 13:13:49 +02:00
52e913dfdd Add consumer seed for local Xikolo development 2021-04-29 11:43:01 +02:00
d843628dee Merge pull request #923 from openHPI/dependabot/npm_and_yarn/rails/webpacker-5.3.0
Bump @rails/webpacker from 5.2.1 to 5.3.0
2021-04-28 13:15:49 +02:00
f34ebb838b Bump @rails/webpacker from 5.2.1 to 5.3.0
Bumps [@rails/webpacker](https://github.com/rails/webpacker) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/v5.3.0/CHANGELOG.md)
- [Commits](https://github.com/rails/webpacker/compare/v5.2.1...v5.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 09:01:38 +00:00
5f76ac83be Merge pull request #921 from openHPI/dependabot/bundler/newrelic_rpm-7.0.0
Bump newrelic_rpm from 6.15.0 to 7.0.0
2021-04-26 15:27:49 +02:00
9e3eafb346 skip prometheus initialization if disabled / console 2021-04-26 14:20:14 +02:00
9f18c1b89c Bump newrelic_rpm from 6.15.0 to 7.0.0
Bumps [newrelic_rpm](https://github.com/newrelic/newrelic-ruby-agent) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/newrelic/newrelic-ruby-agent/releases)
- [Changelog](https://github.com/newrelic/newrelic-ruby-agent/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/newrelic/newrelic-ruby-agent/compare/6.15.0...7.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 10:42:07 +00:00
54ec59aa8c Remove Sentry logging from ajaxError 2021-04-22 12:35:56 +02:00
6a6e1c84f4 Move Prometheus initialization after preloading the remaining app 2021-04-22 12:34:27 +02:00
567a75d9ae Change session validity to 1 month 2021-04-22 11:45:35 +02:00
78230f0d97 Add message for expired session 2021-04-22 11:32:12 +02:00
9a5514942e Remove CSRF debug features 2021-04-22 11:31:30 +02:00
c243e65403 Wrap Prometheus initializer into Rails Executor 2021-04-22 11:29:40 +02:00
8e0c4f4a98 Update bundle 2021-04-22 09:41:06 +02:00