Commit Graph

4500 Commits

Author SHA1 Message Date
eb188dcd71 Add privilegedExecution flag to database and Poseidon Strategy 2022-09-24 22:32:41 +02:00
dffeca27de Fix null: false error in earlier migration 2022-09-24 00:05:21 +02:00
b4ab807ef0 Open Render in new Tab with timeout (to resolve issue with Safari) 2022-09-23 21:35:23 +02:00
150df3d219 Open linked resources in a new browsing context 2022-09-23 21:35:22 +02:00
16c00ec136 Add support for signed URLs used by the render_file function 2022-09-23 21:35:22 +02:00
5881795d5f Memorize config options instead of reading them from file over and over again 2022-09-23 21:35:22 +02:00
c2c8cf4ae6 Merge pull request #1376 from openHPI/dependabot/bundler/rubocop-rspec-2.13.2 2022-09-23 03:09:44 +00:00
16d0dc0932 Bump rubocop-rspec from 2.13.1 to 2.13.2
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.13.1...v2.13.2)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 03:01:24 +00:00
0e7c38657f Allow teachers to access internal users and manage them in their study groups 2022-09-22 19:24:26 +02:00
e3018c1847 Refactor consumer factory 2022-09-22 19:24:26 +02:00
6ad5274e67 Fix seeds for execution environment import and study group membership 2022-09-22 19:24:26 +02:00
5e90a93f9d Add script to migrate duplicated study groups 2022-09-22 19:24:26 +02:00
ac3dc8d30f Allow platform admins and internal users to switch their current study group 2022-09-22 19:24:26 +02:00
2e3480a068 Display study_groups in the show view of internal and external users 2022-09-22 19:24:26 +02:00
4d2fe22daf Allow assignment of study groups for internal users 2022-09-22 19:24:26 +02:00
998a12e6bc Adjust filter for platform_admin user search and update views 2022-09-22 19:24:26 +02:00
02c65af034 Update scope query for new teacher definition 2022-09-22 19:24:26 +02:00
964048927a Updated teacher_in_study_group? method to check for common teacher role 2022-09-22 19:24:26 +02:00
936c11e31f Refactor authentication token for new study-group-based authorization 2022-09-22 19:24:26 +02:00
cb1b163b30 Always create a default study group for new consumers 2022-09-22 19:24:26 +02:00
521626275f Use create for all users in specs where necessary 2022-09-22 19:24:26 +02:00
9c9f45ff77 Redefine user roles with their role in a study group 2022-09-22 19:24:26 +02:00
04ed45ea73 Migrate database and models for study-group-based authorization 2022-09-22 19:24:26 +02:00
ec4c6207f0 Refactor internal_users_controller_spec to prevent invalid objects 2022-09-22 19:24:26 +02:00
fa6527b4ed Refactor exercises_controller.rb to reduce code duplication 2022-09-22 19:24:26 +02:00
bf13cfc712 Delete outdated search_policy.rb 2022-09-22 19:24:26 +02:00
664110f8f1 Show all study groups per consumer 2022-09-22 19:24:26 +02:00
3869785ddd User: Allow removing the consumer filter 2022-09-22 19:24:26 +02:00
79571a3287 Allow build-in coverage report for RubyMine 2022-09-22 19:24:26 +02:00
fb415dd919 Bundle update 2022-09-22 19:24:26 +02:00
2f622174fa Handle undefined this.websocket when stopping code
Fixes CODEOCEAN-CJ
2022-09-22 19:24:26 +02:00
214aae2644 Bump sass from 1.54.9 to 1.55.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.54.9 to 1.55.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.54.9...1.55.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 09:26:02 +02:00
546aafd1c0 Bump spring from 4.0.0 to 4.1.0
Bumps [spring](https://github.com/rails/spring) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/rails/spring/releases)
- [Changelog](https://github.com/rails/spring/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rails/spring/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: spring
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 09:25:47 +02:00
bbb791471b Remove AWS study 2022-09-21 18:57:12 +02:00
1dd8b4d8ff Merge pull request #1372 from openHPI/dependabot/npm_and_yarn/webpack-dev-server-4.11.1 2022-09-20 03:11:29 +00:00
f2ccf0fe42 Bump webpack-dev-server from 4.11.0 to 4.11.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.11.0 to 4.11.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.11.0...v4.11.1)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-20 03:02:01 +00:00
f0090c706d Bump shoulda-matchers from 5.1.0 to 5.2.0
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases)
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md)
- [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: shoulda-matchers
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 22:37:51 +02:00
51ece89040 Merge pull request #1370 from openHPI/dependabot/bundler/rubocop-rails-2.16.1 2022-09-19 03:09:41 +00:00
8d859bac0a Bump rubocop-rails from 2.16.0 to 2.16.1
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.16.0...v2.16.1)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 03:01:31 +00:00
b8792ee347 Bundle update 2022-09-16 01:04:06 +02:00
7e9967e2bf Fix rubocop offenses 2022-09-16 01:03:55 +02:00
03cc71ccbc Update ExecutionEnvironment statistics and sync message 2022-09-14 12:19:59 +02:00
d02a1eae81 Validate password strength for internal users 2022-09-14 12:19:25 +02:00
f1aa004284 Use controller method for 404 responses 2022-09-14 01:01:14 +02:00
006c794f54 Fix rubocop offenses 2022-09-14 00:31:47 +02:00
9183c0634f Bundle update 2022-09-13 23:43:17 +02:00
88a18d2ee8 Merge pull request #1364 from openHPI/dependabot/bundler/rails-6.1.7 2022-09-12 03:10:53 +00:00
292e1552ed Bump rails from 6.1.6.1 to 6.1.7
Bumps [rails](https://github.com/rails/rails) from 6.1.6.1 to 6.1.7.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.6.1...v6.1.7)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 03:01:32 +00:00
31c83b5163 Bundle update 2022-09-09 10:25:35 +02:00
8a4aa0ae99 Merge pull request #1357 from openHPI/dependabot/npm_and_yarn/webpack-dev-server-4.11.0 2022-09-08 03:11:30 +00:00