Commit Graph

3398 Commits

Author SHA1 Message Date
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
1b5c80b586 Bump i18n-js from 3.8.1 to 3.8.2
Bumps [i18n-js](https://github.com/fnando/i18n-js) from 3.8.1 to 3.8.2.
- [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.8.1...v3.8.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-18 09:01:43 +00:00
06fe37d6cf Check for Mnemosyne trace before appending meta information 2021-03-17 14:34:05 +01:00
36ac8b63cb Use regular file as default for new exercise file roles 2021-03-17 14:33:40 +01:00
eba3681434 Merge pull request #897 from openHPI/dependabot/npm_and_yarn/fortawesome/fontawesome-free-5.15.3
Bump @fortawesome/fontawesome-free from 5.15.2 to 5.15.3
2021-03-17 11:12:23 +01:00
edd25ceac4 Bump @fortawesome/fontawesome-free from 5.15.2 to 5.15.3
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 5.15.2 to 5.15.3.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.15.2...5.15.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-17 09:04:11 +00:00
111b8e8897 Merge pull request #896 from openHPI/dependabot/npm_and_yarn/underscore-1.12.1
Bump underscore from 1.12.0 to 1.12.1
2021-03-16 11:11:23 +01:00
ed4a4ac0e0 Bump underscore from 1.12.0 to 1.12.1
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-16 09:56:13 +00:00
ef50b9b859 Turtle: Catch more parts for buffering 2021-03-15 19:53:29 +01:00
7c47706439 Merge pull request #895 from openHPI/dependabot/bundler/rails_admin-2.1.1
Bump rails_admin from 2.1.0 to 2.1.1
2021-03-15 10:40:03 +01:00
262bbf3ebd Bump rails_admin from 2.1.0 to 2.1.1
Bumps [rails_admin](https://github.com/sferik/rails_admin) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/sferik/rails_admin/releases)
- [Changelog](https://github.com/sferik/rails_admin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sferik/rails_admin/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-15 09:36:54 +00:00
e7a755d643 Merge pull request #893 from openHPI/dependabot/npm_and_yarn/d3-6.6.0
Bump d3 from 6.5.0 to 6.6.0
2021-03-15 10:32:44 +01:00
06fbb93d51 Merge pull request #894 from openHPI/dependabot/bundler/sentry-rails-4.3.0
Bump sentry-rails from 4.2.2 to 4.3.0
2021-03-15 10:32:30 +01:00
13c45f191a Bump sentry-rails from 4.2.2 to 4.3.0
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 4.2.2 to 4.3.0.
- [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.2.2...sentry-rails-v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-12 09:02:22 +00:00
9fa0a2b6f4 Bump d3 from 6.5.0 to 6.6.0
Bumps [d3](https://github.com/d3/d3) from 6.5.0 to 6.6.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.5.0...v6.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-11 09:03:55 +00:00
486808eae0 Add mnemosyne tracing for render_csrf_error 2021-03-10 18:53:20 +01:00
82555d88b7 Add mnemosyne tracing for session 2021-03-10 18:00:37 +01:00
a174d75a47 Debug CSRF issues temporarily 2021-03-10 13:51:29 +01:00
293f7f6df7 Unload autosave on turbolinks page render.
We cannot use turbolinks:request-start because this will duplicate code (if a page is first requested by turbolinks and afterwards by a full page reload)
2021-03-10 13:51:29 +01:00
265f1ba498 Prevent accessing file templates if not available in exercise 2021-03-10 13:51:29 +01:00
d254b6749d Merge pull request #892 from openHPI/dependabot/bundler/rspec-rails-5.0.0
Bump rspec-rails from 4.1.0 to 5.0.0
2021-03-09 10:23:53 +01:00
441e336bb0 Bump rspec-rails from 4.1.0 to 5.0.0
Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 4.1.0 to 5.0.0.
- [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/v4.1.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 09:01:32 +00:00
6b3b80ec9e Merge pull request #891 from openHPI/adapt_python_experiments
Adapt python experiments
2021-03-08 23:30:27 +01:00
39467ad0e0 Hide linter in week 1 and 2 of Python course 2021-03-08 23:20:42 +01:00
8ebe59b692 Revert changes for Python20 fishbowl experiment
* Show all RfCs again, even those with #loesung
2021-03-08 23:15:58 +01:00
110b009480 Remove A/B test from Python20 course setup 2021-03-08 23:15:58 +01:00
8d7bb29483 Merge branch 'sentry' 2021-03-08 22:31:58 +01:00
e71138a187 Update bundle 2021-03-08 22:16:42 +01:00
c9e9731453 Use new Sentry endpoint 2021-03-08 22:01:55 +01:00
289117733f Upgrade sentry browser package 2021-03-08 19:59:39 +01:00