Commit Graph

3128 Commits

Author SHA1 Message Date
89a42f2dae Use either remoteSubmit or submit for showing exercise statistics 2020-12-16 13:23:47 +01:00
88e5a94873 Merge branch 'feature/#18-rfc-filter-options' into 'main'
Feature/#18 rfc filter options

See merge request codeocean/codemoon/codemoon!3
2020-12-15 12:17:11 +01:00
028fc2989a #18 Add sql index for unpublished exercises
And remove spec for remove feature
2020-12-15 12:17:11 +01:00
2d2869765f Ensure Postgres always returns a duration 2020-12-14 19:57:11 +01:00
bc2e0d90c4 Use proper duration instead of seconds since midnight 2020-12-14 19:11:12 +01:00
4518b91046 Upgrade bundle 2020-12-14 13:18:29 +01:00
7b1ed887f8 Update to newer eventmachine 2020-12-14 13:17:12 +01:00
bbea20172a Prevent 500 if internal teacher without study group accesses exercise statistics 2020-12-14 13:17:12 +01:00
304f0ad469 Add sentry logging for working_time_query 2020-12-14 13:17:12 +01:00
1254480ebc Update bundle 2020-12-14 13:17:12 +01:00
7da69f05b8 Require user for all actions in /external_users 2020-12-14 13:17:11 +01:00
89ed9379ae Merge pull request #819 from openHPI/dependabot/npm_and_yarn/d3-6.3.1
Bump d3 from 5.16.0 to 6.3.1
2020-12-14 13:16:41 +01:00
d547ae2c5a Migrate to d3 v6 2020-12-14 13:04:27 +01:00
c6004a8e82 Bump d3 from 5.16.0 to 6.3.1
Bumps [d3](https://github.com/d3/d3) from 5.16.0 to 6.3.1.
- [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/v5.16.0...v6.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-14 09:19:26 +00:00
ca78e170f8 Merge pull request #824 from openHPI/dependabot/npm_and_yarn/webpack-merge-5.7.0 2020-12-14 09:14:44 +00:00
e39b9bb716 Bump webpack-merge from 5.5.0 to 5.7.0
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.5.0 to 5.7.0.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.5.0...v5.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-14 09:02:43 +00:00
1da2830a62 Merge pull request #823 from openHPI/dependabot/bundler/puma-5.1.1 2020-12-11 09:46:49 +00:00
d8bf8e27cb Merge pull request #822 from openHPI/dependabot/npm_and_yarn/ini-1.3.7 2020-12-11 09:33:08 +00:00
e3eab4d45b Bump puma from 5.1.0 to 5.1.1
Bumps [puma](https://github.com/puma/puma) from 5.1.0 to 5.1.1.
- [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.1.0...v5.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 09:11:47 +00:00
76706122a0 Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 02:30:13 +00:00
01f814e3de Merge branch 'fix/#40-check-local-path' into 'production'
Check local path before writing files

See merge request codeocean/codemoon/codemoon!4
2020-12-10 16:40:41 +01:00
8ff2431db3 Merge pull request #820 from openHPI/dependabot/bundler/rubocop-1.6.1
Bump rubocop from 1.5.2 to 1.6.1
2020-12-10 10:50:47 +01:00
2daf948112 Merge pull request #821 from openHPI/dependabot/npm_and_yarn/webpack-merge-5.5.0
Bump webpack-merge from 5.4.0 to 5.5.0
2020-12-10 10:50:32 +01:00
f68fb96082 Use bot account for dependabot merge 2020-12-10 10:48:55 +01:00
219dfefece Bump webpack-merge from 5.4.0 to 5.5.0
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.4.0...v5.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-10 09:03:55 +00:00
d4b52155ef Bump rubocop from 1.5.2 to 1.6.1
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.5.2 to 1.6.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.5.2...v1.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-10 09:01:18 +00:00
26fd25e026 Merge pull request #814 from openHPI/dependabot/npm_and_yarn/sentry/browser-5.29.0
Bump @sentry/browser from 5.28.0 to 5.29.0
2020-12-07 19:53:44 +01:00
2641c484f6 Bump @sentry/browser from 5.28.0 to 5.29.0
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.28.0 to 5.29.0.
- [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.28.0...5.29.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-07 18:39:38 +00:00
45dde381eb GitHub Actions: Remove redundant RAILS_ENV=test 2020-12-07 19:26:37 +01:00
d491a6a30f GitHub Actions: Use single line where available 2020-12-07 19:23:06 +01:00
8e87f44c8c Swap badge from Travis to GitHub Actions 2020-12-07 19:03:09 +01:00
73540b3574 Checkout code for dependabot automerge 2020-12-07 18:50:29 +01:00
539331832f Use newer GitHub workflow for auto-merge 2020-12-07 18:42:03 +01:00
76eb4160d8 Use YML array for ci.yml 2020-12-07 18:26:28 +01:00
fa2748aec4 Use dependabot via GitHub actions 2020-12-07 18:26:09 +01:00
5f02b8aadb Merge pull request #812 from openHPI/enable_github_action
Use GitHub Actions for CI
2020-12-07 16:48:16 +01:00
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
f3dc15e9d4 Raise error on writes outside Docker shared folder
* Don't replace path before execute
* Use config option for LOCAL_WORKSPACE_ROOT
2020-12-04 10:39:48 +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