Commit Graph

4493 Commits

Author SHA1 Message Date
Sebastian Serth
d93e71dc28 Rename v5 FontAwesome icons to match v6 name
While FontAwesome provides aliases for all icons, we switch to the new names for consistency. See all changes at:
https://fontawesome.com/docs/web/setup/upgrade/whats-changed#icons-renamed-in-version-6
2022-08-09 14:17:32 +02:00
dependabot[bot]
f50c0a839f Bump @fortawesome/fontawesome-free from 5.15.4 to 6.1.2
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 5.15.4 to 6.1.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.15.4...6.1.2)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-free"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 14:17:32 +02:00
Sebastian Serth
a9039a8019 Prevent false positive for raised error 2022-08-09 11:42:06 +02:00
Sebastian Serth
fa27e3923d Reimplement pending specs with rough skeleton 2022-08-09 11:41:41 +02:00
dependabot[bot]
727f85841d Bump i18n-js from 3.9.2 to 4.0.0
Bumps [i18n-js](https://github.com/fnando/i18n-js) from 3.9.2 to 4.0.0.
- [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.9.2...v4.0.0)

---
updated-dependencies:
- dependency-name: i18n-js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 10:11:36 +02:00
Sebastian Serth
ad5acd7f1b Update Yarn bundle 2022-08-08 20:23:30 +02:00
Sebastian Serth
f38238aa22 Add GitHub action checks for Rubocop 2022-08-08 20:18:41 +02:00
Sebastian Serth
8404c43a30 Add rspec-github gem for enhanced GitHub formatting 2022-08-08 20:18:41 +02:00
Sebastian Serth
5efa6d4bfd Update bundle 2022-08-08 20:09:08 +02:00
dependabot[bot]
63c9adb42b Bump webmock from 3.16.0 to 3.17.0
Bumps [webmock](https://github.com/bblimke/webmock) from 3.16.0 to 3.17.0.
- [Release notes](https://github.com/bblimke/webmock/releases)
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bblimke/webmock/compare/v3.16.0...v3.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 10:05:45 +02:00
dependabot[bot]
e788a98688 Bump rubocop from 1.32.0 to 1.33.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.32.0 to 1.33.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.32.0...v1.33.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05 08:05:36 +02:00
Janis4411
3937a4c26e slight spelling correction to the user_mailer method send_thank_you_note 2022-08-05 08:05:07 +02:00
Janis4411
6e213f754f minor styling change to authenticationtoken model, changed the expire_at column of AuthenticationToken form date to datetime 2022-08-05 08:05:07 +02:00
Janis4411
1a987a65d4 added new AuthenticationToken factory, as well as new tests to check if access is denied when the token is expired, smaller optimalization changes to the user_mailer_spec and authentication_spec 2022-08-05 08:05:07 +02:00
Janis4411
146eee673f changed send_thank_you_note and got_new_comment_for_subscription methods to use tokens properly, as well as new test scenarios for both cases 2022-08-05 08:05:07 +02:00
Janis4411
cc3fc72cf9 slight changes to application controller to be more readable 2022-08-05 08:05:07 +02:00
Janis4411
c638df12e7 updated locales/de.yml mail body texts 2022-08-05 08:05:07 +02:00
Janis4411
d64daadd21 added AuthenticationToken model, updated some restrictions for the authentication token table, added dependent destroy to the user model for authentication tokens 2022-08-05 08:05:07 +02:00
dependabot[bot]
fe410a5306 Bump webmock from 3.14.0 to 3.16.0
Bumps [webmock](https://github.com/bblimke/webmock) from 3.14.0 to 3.16.0.
- [Release notes](https://github.com/bblimke/webmock/releases)
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bblimke/webmock/compare/v3.14.0...v3.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 11:24:53 +02:00
dependabot[bot]
b2cb956860 Bump faraday from 2.3.0 to 2.4.0
Bumps [faraday](https://github.com/lostisland/faraday) from 2.3.0 to 2.4.0.
- [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/v2.3.0...v2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 08:52:15 +02:00
dependabot[bot]
fe64be7613 Bump bootsnap from 1.12.0 to 1.13.0
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.12.0...v1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 08:51:49 +02:00
dependabot[bot]
280ab78734 Bump sentry-rails from 5.3.1 to 5.4.1
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby) from 5.3.1 to 5.4.1.
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.3.1...5.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 18:38:11 +02:00
dependabot[bot]
514c570ee2 Merge pull request #1312 from openHPI/dependabot/bundler/pg-1.4.2 2022-07-28 03:09:06 +00:00
dependabot[bot]
d6659f7858 Bump pg from 1.4.1 to 1.4.2
Bumps [pg](https://github.com/ged/ruby-pg) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.rdoc)
- [Commits](https://github.com/ged/ruby-pg/compare/v1.4.1...v1.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 03:01:46 +00:00
dependabot[bot]
1ad7580d2c Bump sentry-ruby from 5.3.1 to 5.4.1
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby) from 5.3.1 to 5.4.1.
- [Release notes](https://github.com/getsentry/sentry-ruby/releases)
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.3.1...5.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-27 16:59:48 +02:00
dependabot[bot]
a43665b830 Merge pull request #1307 from openHPI/dependabot/bundler/nokogiri-1.13.8 2022-07-25 03:09:32 +00:00
dependabot[bot]
8d9ca688a9 Bump nokogiri from 1.13.7 to 1.13.8
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.7 to 1.13.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.7...v1.13.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 03:01:47 +00:00
dependabot[bot]
67a81b0bf4 Bump rubocop from 1.31.2 to 1.32.0
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.31.2 to 1.32.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.31.2...v1.32.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22 13:19:53 +02:00
Sebastian Serth
d4c567c722 Remove @submissions variable for external_user_statistics 2022-07-22 13:19:22 +02:00
Sebastian Serth
2141fdb1ac Refactor external_user_statistics to own controller action 2022-07-22 13:19:22 +02:00
Sebastian Serth
6ca5982a45 Use letter_opener for dev environment 2022-07-20 17:39:36 +02:00
Janis4411
66d9a2b22a added logic to hide the show/hide autosaves feature for users without permission to view detailed_statistics 2022-07-20 17:18:36 +02:00
Janis4411
184c9cba6d created new feature test to check that only users with the right permission are able to see the new autosave-hide feature 2022-07-20 17:18:36 +02:00
Janis4411
67dd8566b6 added a test scenario to check if autosave submissions are being toggled right 2022-07-20 17:18:36 +02:00
Janis4411
a83bff80ed added a button to toggle autosave submissions as well as a label to indicate current toggle status 2022-07-20 17:18:36 +02:00
Janis4411
0f84e46272 added logic to the statistics method to be able to toggle autosave submissions depending on the show_autosaves param 2022-07-20 17:18:36 +02:00
Janis4411
f17f987b89 added toggle autosave translation to the config yml files 2022-07-20 17:18:36 +02:00
dependabot[bot]
d9180f54be Merge pull request #1302 from openHPI/dependabot/npm_and_yarn/bootstrap-4.6.2 2022-07-20 03:08:45 +00:00
dependabot[bot]
48e0afb484 Bump bootstrap from 4.6.1 to 4.6.2
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.6.1...v4.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 03:02:13 +00:00
Sebastian Serth
7e01389a6f Update schema.rb according to prodcution environment 2022-07-19 15:28:16 +02:00
Sebastian Serth
d7c5e89624 Remove unused columns from schema.rb 2022-07-19 15:28:15 +02:00
dependabot[bot]
97d813158e Merge pull request #1299 from openHPI/dependabot/bundler/rubocop-performance-1.14.3 2022-07-18 03:07:46 +00:00
dependabot[bot]
3a80d5ea10 Bump rubocop-performance from 1.14.2 to 1.14.3
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.14.2...v1.14.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 03:01:29 +00:00
Sebastian Serth
c792b99523 Fix tests for latest locale change 2022-07-15 14:02:10 +02:00
Sebastian Serth
baf70a0c06 Sanitize locale input.
Closes CODEOCEAN-9E
2022-07-15 13:35:18 +02:00
Sebastian Serth
390e4f8f35 Bundle update 2022-07-15 00:49:16 +02:00
Sebastian Serth
9587ecb2b1 Resolve bug where duration of not-started runner cannot be calculated 2022-07-15 00:49:16 +02:00
Sebastian Serth
1183f5cdcd Ensure that the testrun[:status] is available in more cases 2022-07-15 00:49:15 +02:00
Sebastian Serth
56eab88f88 Gracefully handle the deletion of non-existing runners 2022-07-15 00:49:15 +02:00
Sebastian Serth
5707e4c914 Use secure cookies for production and staging 2022-07-15 00:35:09 +02:00