Commit Graph

4311 Commits

Author SHA1 Message Date
d223abfb5e Update from webpacker v5 to shakapacker v6.0.0.rc13
Using a two-step process is recommended:
332e25186a/docs/v6_upgrade.md
2022-08-12 10:22:55 +02:00
e2a87c5ae0 Bump faraday from 2.5.1 to 2.5.2
Bumps [faraday](https://github.com/lostisland/faraday) from 2.5.1 to 2.5.2.
- [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.5.1...v2.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 19:22:40 +02:00
08efc166d7 Bump faraday-net_http_persistent from 2.0.2 to 2.1.0
Bumps [faraday-net_http_persistent](https://github.com/lostisland/faraday-net_http_persistent) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/lostisland/faraday-net_http_persistent/releases)
- [Commits](https://github.com/lostisland/faraday-net_http_persistent/compare/v2.0.2...v2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 19:21:41 +02:00
3e1c2d163b Update Bundler version 2022-08-09 22:06:54 +02:00
c60a0da1b5 Bump rubocop from 1.33.0 to 1.34.1
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.33.0 to 1.34.1.
- [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.33.0...v1.34.1)

---
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-09 21:48:51 +02:00
f3228228d1 Bump faraday from 2.4.0 to 2.5.1
Bumps [faraday](https://github.com/lostisland/faraday) from 2.4.0 to 2.5.1.
- [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.4.0...v2.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 21:48:44 +02:00
391bca6bc3 Merge pull request #1324 from openHPI/dependabot/bundler/selenium-webdriver-4.4.0
Bump selenium-webdriver from 4.3.0 to 4.4.0
2022-08-09 21:40:25 +02:00
f398c1480c Merge pull request #1325 from openHPI/dependabot/bundler/pg-1.4.3 2022-08-09 19:39:07 +00:00
c09ade4841 Merge pull request #1322 from openHPI/dependabot/bundler/webmock-3.17.1 2022-08-09 19:38:31 +00:00
3e67a32c94 Merge pull request #1323 from openHPI/dependabot/bundler/faraday-net_http_persistent-2.0.2 2022-08-09 19:37:59 +00:00
9c902b37ea Bump pg from 1.4.2 to 1.4.3
Bumps [pg](https://github.com/ged/ruby-pg) from 1.4.2 to 1.4.3.
- [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.2...v1.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 19:32:04 +00:00
b530b05a41 Bump selenium-webdriver from 4.3.0 to 4.4.0
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.3.0...selenium-4.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 19:31:45 +00:00
63b5fbed2d Bump faraday-net_http_persistent from 2.0.1 to 2.0.2
Bumps [faraday-net_http_persistent](https://github.com/lostisland/faraday-net_http_persistent) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/lostisland/faraday-net_http_persistent/releases)
- [Commits](https://github.com/lostisland/faraday-net_http_persistent/compare/v2.0.1...v2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 19:31:30 +00:00
3bf0b7388b Bump webmock from 3.17.0 to 3.17.1
Bumps [webmock](https://github.com/bblimke/webmock) from 3.17.0 to 3.17.1.
- [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.17.0...v3.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 19:30:55 +00:00
d374dacaa1 Update Yarn package 2022-08-09 15:16:08 +02:00
9c2ea622ce Fix asset compilation with FontAwesome 6 2022-08-09 15:15:58 +02:00
4615a49e62 added strong params to comments_controller to prevent users from editing attributes which are not intended to be edited, also created specs to test this behaviour 2022-08-09 14:45:16 +02:00
b98c37ae64 Rename v4 FontAwesome icons to match v5/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/upgrade-from-v4#icons-renamed-since-version-4
2022-08-09 14:17:32 +02:00
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
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
a9039a8019 Prevent false positive for raised error 2022-08-09 11:42:06 +02:00
fa27e3923d Reimplement pending specs with rough skeleton 2022-08-09 11:41:41 +02:00
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
ad5acd7f1b Update Yarn bundle 2022-08-08 20:23:30 +02:00
f38238aa22 Add GitHub action checks for Rubocop 2022-08-08 20:18:41 +02:00
8404c43a30 Add rspec-github gem for enhanced GitHub formatting 2022-08-08 20:18:41 +02:00
5efa6d4bfd Update bundle 2022-08-08 20:09:08 +02:00
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
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
3937a4c26e slight spelling correction to the user_mailer method send_thank_you_note 2022-08-05 08:05:07 +02:00
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
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
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
cc3fc72cf9 slight changes to application controller to be more readable 2022-08-05 08:05:07 +02:00
c638df12e7 updated locales/de.yml mail body texts 2022-08-05 08:05:07 +02:00
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
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
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
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
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
514c570ee2 Merge pull request #1312 from openHPI/dependabot/bundler/pg-1.4.2 2022-07-28 03:09:06 +00:00
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
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
a43665b830 Merge pull request #1307 from openHPI/dependabot/bundler/nokogiri-1.13.8 2022-07-25 03:09:32 +00:00
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
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
d4c567c722 Remove @submissions variable for external_user_statistics 2022-07-22 13:19:22 +02:00
2141fdb1ac Refactor external_user_statistics to own controller action 2022-07-22 13:19:22 +02:00
6ca5982a45 Use letter_opener for dev environment 2022-07-20 17:39:36 +02:00
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