Commit Graph

2939 Commits

Author SHA1 Message Date
6fb521f80a Use GitHub Actions for CI 2020-12-07 16:00:26 +01:00
f5492ca35d Improve CodeOcean::FilePolicy with specs 2020-12-07 14:41:30 +01:00
fac29f73d4 Respect user_type for RfC index routes 2020-12-04 16:58:11 +01:00
389a5c424a Bump highlight.js from 10.4.0 to 10.4.1
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.4.0 to 10.4.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.4.0...10.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 09:14:56 +00:00
7f1cd08dbe Bump rubocop from 1.4.2 to 1.5.2
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.4.2 to 1.5.2.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.4.2...v1.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 09:14:24 +00:00
810d29b3a6 Use new database name for example config 2020-12-03 19:07:06 +01:00
71f5bbe4b2 Update .gitignore 2020-12-03 19:06:45 +01:00
4e73214dd4 Disallow file creation for teachers 2020-12-03 17:07:32 +01:00
5eaa508b74 Enforce file creation allowance via Pundit policy 2020-12-03 17:05:21 +01:00
bd8741f3dd Merge pull request #807 from openHPI/rails_admin_limited_pagination_files
rails_admin: limit pagination for files
2020-12-02 16:25:00 +01:00
5af67ff65b rails_admin: limit pagination for files to fix performance problems 2020-12-02 15:40:28 +01:00
345c478fce Bump rubocop-rspec from 2.0.0 to 2.0.1
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-02 09:36:52 +00:00
a5ba91394d Disable concurrent processing for assets 2020-12-01 21:17:01 +01:00
f201804486 Update webpack config to match newest webpacker gem 2020-12-01 17:59:27 +01:00
d58b49f71f Merge pull request #800 from openHPI/rails_admin_disable_dashboard
disable rails_admin dashboard
2020-12-01 16:28:38 +01:00
706137a5dc Update dependencies 2020-12-01 12:38:52 +01:00
a2b118ba0b Bump puma from 5.0.4 to 5.1.0
Bumps [puma](https://github.com/puma/puma) from 5.0.4 to 5.1.0.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.0.4...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 09:57:10 +00:00
533ccbae36 Bundle update 2020-11-30 18:36:16 +01:00
f15c9f9251 PyLint: Add Sentry capture if no match found 2020-11-30 18:33:16 +01:00
2d3573d5ea PyLint: Add message about leading zeros 2020-11-30 18:28:58 +01:00
f170b26338 Remove SSH Key dependency (previously required for deployment) 2020-11-30 18:27:25 +01:00
6117488807 Bump listen from 3.3.1 to 3.3.3
Bumps [listen](https://github.com/guard/listen) from 3.3.1 to 3.3.3.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.3.1...v3.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 09:23:48 +00:00
ab212d31a8 Bump ransack from 2.3.2 to 2.4.0
Bumps [ransack](https://github.com/activerecord-hackery/ransack) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/activerecord-hackery/ransack/releases)
- [Changelog](https://github.com/activerecord-hackery/ransack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/activerecord-hackery/ransack/compare/v2.3.2...2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 09:22:11 +00:00
6db4130def Bump simplecov from 0.19.1 to 0.20.0
Bumps [simplecov](https://github.com/simplecov-ruby/simplecov) from 0.19.1 to 0.20.0.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases)
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md)
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.19.1...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 09:21:28 +00:00
052bd9302f disable rails_admin dashboard 2020-11-28 12:41:23 +01:00
f64ef0dfad Merge branch 'update_webpack' 2020-11-27 19:16:49 +01:00
a7869ff401 Fix display of submitted score for remoteSubmit 2020-11-27 19:09:45 +01:00
7b5aff5cf1 Update yarn packages 2020-11-27 19:06:03 +01:00
aac0e69282 Merge branch 'fix_py_lint_messages' 2020-11-27 16:34:34 +01:00
2f744b70fb Merge branch 'updates' 2020-11-27 16:32:17 +01:00
20741835b5 Remove additional sentry logging for invalid objects 2020-11-27 16:29:53 +01:00
8e9c0ad1c3 Add newest messages 2020-11-27 16:27:18 +01:00
b3451e44c8 Update bundle 2020-11-27 16:19:26 +01:00
85ae63e318 Merge pull request #798 from openHPI/rails_admin
Add Rails admin
2020-11-27 15:45:33 +01:00
3d763a540a rails_admin Translation fixes 2020-11-27 14:59:52 +01:00
a60510c97f Add transmitted score to remoteSubmit 2020-11-27 12:26:12 +01:00
cd9ab16c4d Bump capybara from 3.33.0 to 3.34.0
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.33.0 to 3.34.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.33.0...3.34.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-27 09:22:35 +00:00
79c1532742 clean up rails_admin configuration 2020-11-26 17:20:28 +01:00
f98de3b66b Add Rails admin 2020-11-26 17:11:18 +01:00
c32e7586cd Remove consumer_id from session
* Each external (and also internal) user has a consumer attached. We don't need that information twice.
2020-11-25 21:19:18 +01:00
993fb88f03 Enable submit via API client 2020-11-25 20:47:28 +01:00
5aa270c5c4 Bump rubocop from 1.4.1 to 1.4.2
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.4.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-25 09:21:31 +00:00
471590fa54 Bump @sentry/browser from 5.27.5 to 5.27.6
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.27.5 to 5.27.6.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.27.5...5.27.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-25 01:33:54 +00:00
bf9b90ab92 Update CSRF token after each page load 2020-11-25 01:41:43 +01:00
c20d670ab2 Log InvalidAuthenticityToken errors 2020-11-25 01:25:18 +01:00
939f36816d Update Raven user context 2020-11-25 01:13:12 +01:00
f96da0833b Set RECYCLE_CONTAINERS to false 2020-11-24 17:46:19 +01:00
a930c7513b Bump underscore from 1.11.0 to 1.12.0
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.11.0...1.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 09:42:23 +00:00
ca416414d7 Bump rubocop from 1.4.0 to 1.4.1
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 09:20:52 +00:00
ff6b04c051 Check for existence of submissions before accessing them 2020-11-24 01:37:12 +01:00