Commit Graph

3397 Commits

Author SHA1 Message Date
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
5239bc5ad1 Merge pull request #920 from openHPI/dependabot/bundler/bootsnap-1.7.4 2021-04-21 09:11:05 +00:00
a3175d3812 Bump bootsnap from 1.7.3 to 1.7.4
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.7.3...v1.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-21 09:01:09 +00:00
cbb6f8bb77 Merge pull request #919 from openHPI/dependabot/bundler/rubocop-1.13.0
Bump rubocop from 1.12.1 to 1.13.0
2021-04-20 15:55:09 +02:00
e285e5a9cd Bump rubocop from 1.12.1 to 1.13.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.12.1...v1.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 09:00:54 +00:00
61e9eab02b Load Prometheus if enabled and not in console 2021-04-19 18:23:34 +02:00
fbda980d6e Move eager load before forking process for Prometheus 2021-04-19 17:58:31 +02:00
fc8471c6d4 Parallelize initial Prometheus metric collection 2021-04-19 17:19:49 +02:00
b4de29bb2d Load Prometheus exporter only for Rails Server 2021-04-19 17:19:21 +02:00
40d2384779 Eager load within Prometheus exporter 2021-04-19 16:56:20 +02:00
6bd9ae9c80 Count RfCs with comments in PostgreSQL for faster Prometheus initialization 2021-04-19 14:55:47 +02:00
521a0cb710 Exclude prometheus task for more rake tasks 2021-04-19 13:47:31 +02:00
7972ce2546 Merge pull request #916 from openHPI/dependabot/bundler/faraday-1.4.1
Bump faraday from 1.3.0 to 1.4.1
2021-04-19 13:10:23 +02:00
434ea0595e Allow flash messages to appear a second time 2021-04-19 12:59:16 +02:00
36e0314534 Bump faraday from 1.3.0 to 1.4.1
Bumps [faraday](https://github.com/lostisland/faraday) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v1.3.0...v1.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 10:21:33 +00:00
ccd9821b4f Merge pull request #915 from openHPI/dependabot/npm_and_yarn/d3-6.7.0 2021-04-16 09:12:41 +00:00
d9ba310fb0 Bump d3 from 6.6.2 to 6.7.0
Bumps [d3](https://github.com/d3/d3) from 6.6.2 to 6.7.0.
- [Release notes](https://github.com/d3/d3/releases)
- [Changelog](https://github.com/d3/d3/blob/master/CHANGES.md)
- [Commits](https://github.com/d3/d3/compare/v6.6.2...v6.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-16 09:02:40 +00:00
a42617e91c Update Bundle 2021-04-16 00:03:59 +02:00
dd1603fa18 Update GitHub Actions 2021-04-13 14:00:40 +02:00
532a9c426c Merge pull request #912 from openHPI/dependabot/npm_and_yarn/underscore-1.13.0
Bump underscore from 1.12.1 to 1.13.0
2021-04-12 12:40:08 +02:00
5e96307ef5 Bump underscore from 1.12.1 to 1.13.0
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.12.1...1.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 10:22:00 +00:00
1d5ceebd7b Fix RfC filter for unnamed study groups 2021-04-09 10:25:41 +02:00
1e5a9b0825 Remove unused SubmissionsController#stop action 2021-04-07 17:45:38 +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