Commit Graph

3327 Commits

Author SHA1 Message Date
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
076812b2e7 Seeds: Fix some rubocop offenses 2021-04-07 14:06:33 +02:00
54d93a82a5 Improve local seed data with dedicated teacher and student login
* This will also reduce the total number of internal users created through the seeds.
2021-04-07 14:06:33 +02:00
0a475f37b8 Add factory for internal user with learner role 2021-04-07 14:06:33 +02:00
58ffe061b3 Refactor exercise factories to pass user attribute to associations 2021-04-07 14:06:32 +02:00
6e3127dad8 Add missing translation for activating internal users 2021-04-07 14:06:32 +02:00
40d83dbb1d Fix access to exercise-specific RfC listing 2021-04-07 14:06:32 +02:00
44b32b6f6a #46 Add Prometheus exporter 2021-04-07 14:06:32 +02:00
39fcd255f9 Update bundle 2021-04-07 11:20:53 +02:00
3b07fb0c89 Merge pull request #903 from openHPI/dependabot/npm_and_yarn/highlight.js-10.7.1
Bump highlight.js from 10.6.0 to 10.7.1
2021-03-22 11:16:52 +01:00
d775ed4ab9 Merge pull request #902 from openHPI/dependabot/bundler/bootsnap-1.7.3
Bump bootsnap from 1.7.2 to 1.7.3
2021-03-22 11:16:46 +01:00
e589e9d936 Bump highlight.js from 10.6.0 to 10.7.1
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.6.0 to 10.7.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.6.0...10.7.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-22 09:55:37 +00:00
d5baa07f26 Bump bootsnap from 1.7.2 to 1.7.3
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.2 to 1.7.3.
- [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.2...v1.7.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-22 09:51:50 +00:00
fbf9010823 Ensure Mnemosyne trace is always attached 2021-03-19 20:00:41 +01:00
fafa128212 Merge pull request #901 from openHPI/dependabot/bundler/sentry-rails-4.3.1
Bump sentry-rails from 4.3.0 to 4.3.1
2021-03-19 10:16:12 +01:00
f757c9569d Bump sentry-rails from 4.3.0 to 4.3.1
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/sentry-rails/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-ruby/compare/sentry-rails-v4.3.0...sentry-rails-v4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 09:02:47 +00:00
9681bfc3ad Merge pull request #900 from openHPI/dependabot/bundler/rspec-rails-5.0.1
Bump rspec-rails from 5.0.0 to 5.0.1
2021-03-18 18:33:17 +01:00
072d8ca3ac Bump rspec-rails from 5.0.0 to 5.0.1
Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/rspec/rspec-rails/releases)
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-rails/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-18 17:15:15 +00:00
7b26a71e3c Merge pull request #898 from openHPI/dependabot/bundler/i18n-js-3.8.2
Bump i18n-js from 3.8.1 to 3.8.2
2021-03-18 18:11:26 +01:00
82f54af7a0 Merge pull request #899 from openHPI/dependabot/bundler/kramdown-2.3.1
Bump kramdown from 2.3.0 to 2.3.1
2021-03-18 18:11:19 +01:00
fcd8f6afab Bump kramdown from 2.3.0 to 2.3.1
Bumps [kramdown](https://github.com/gettalong/kramdown) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/gettalong/kramdown/releases)
- [Changelog](https://github.com/gettalong/kramdown/blob/master/doc/news.page)
- [Commits](https://github.com/gettalong/kramdown/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-18 09:02:17 +00:00