Commit Graph

167 Commits

Author SHA1 Message Date
1967cc54fd Bundle update 2023-01-02 10:05:46 +01:00
7cd61acbce I18n: Automatically choose locale through HTTP header 2022-12-20 10:26:32 +01:00
f5a661b8c7 Puma: Add support for systemd watchdog 2022-12-19 22:26:37 +01:00
73237412ed Compress JS and CSS files for production 2022-12-06 01:27:51 +01:00
90b30e2bf7 Upgrade to Rails 7.0 and apply new framework defaults
* Remove `send_stream` method pulled in before upgrading Rails
* Remove spring, it is no longer included by default for new apps
* Remove deprecated options from environments
* Remove old asset paths and workarounds no longer needed
* Remove unnecessary `OAUTH_10_SUPPORT` const, LTI still uses OAuth 1.0
* Dump schema with new defaults (and specify precision for timestamps where needed)
2022-12-04 15:21:59 +01:00
fe24e7d890 Fix rubocop offenses 2022-12-04 00:51:30 +01:00
db6d9d64ef Explicitly require sprockets-rails for Rails 7+ 2022-12-04 00:40:34 +01:00
ddc6f3dddd Clarify version requirement for ims-lti 2022-11-28 14:57:13 +01:00
aecd7b8231 Bump rails_admin from 2.2.1 to 3.1.0
Bumps [rails_admin](https://github.com/sferik/rails_admin) from 2.2.1 to 3.1.0.
- [Release notes](https://github.com/sferik/rails_admin/releases)
- [Changelog](https://github.com/railsadminteam/rails_admin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sferik/rails_admin/compare/v2.2.1...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-24 22:59:12 +01:00
53c72f5742 Upgrade shakapacker 2022-11-06 15:05:09 +01:00
5ba791e765 Bundle update 2022-11-06 13:29:32 +01:00
727d00b714 Revert "Bump shakapacker from 6.5.2 to 6.5.3"
This reverts commit 199f154999.
2022-11-02 09:15:49 +01:00
199f154999 Bump shakapacker from 6.5.2 to 6.5.3
Bumps [shakapacker](https://github.com/shakacode/shakapacker) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/shakacode/shakapacker/releases)
- [Changelog](https://github.com/shakacode/shakapacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shakacode/shakapacker/compare/v6.5.2...v6.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 08:37:05 +01:00
dd1f4b0ac8 Merge pull request #939 from openHPI/refactor_proforma_import_export
Refactor Proforma Import/Export
2022-10-26 17:58:48 +02:00
b32bf1232b Bundle update 2022-10-24 12:28:50 +02:00
16c00ec136 Add support for signed URLs used by the render_file function 2022-09-23 21:35:22 +02:00
d02a1eae81 Validate password strength for internal users 2022-09-14 12:19:25 +02:00
dba3aac800 Merge branch 'master' into refactor_proforma_import_export 2022-09-13 22:47:50 +02: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
9686c912a8 Move gem web-console to development group 2022-08-24 13:13:23 +02:00
50b81df742 proforma upgrade and small fixes 2022-08-23 21:12:03 +02:00
aeadea2446 Bump shakapacker from 6.5.0 to 6.5.1
Bumps [shakapacker](https://github.com/shakacode/shakapacker) from 6.5.0 to 6.5.1.
- [Release notes](https://github.com/shakacode/shakapacker/releases)
- [Changelog](https://github.com/shakacode/shakapacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shakacode/shakapacker/compare/v6.5.0...v6.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-16 13:10:01 +02:00
825e9787cd Remove pin on faraday 2022-08-12 23:58:54 +02:00
a5f59e139a Update from shakapacker v6.0.0.rc13 to v6.5.0
Using a two-step process is recommended:
332e25186a/docs/v6_upgrade.md
2022-08-12 10:22:55 +02:00
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
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
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
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
6ca5982a45 Use letter_opener for dev environment 2022-07-20 17:39:36 +02:00
5535917bc7 Update bundle and re-add net-* gems for Ruby 3.1 compatibility 2022-06-30 14:02:53 +02:00
3916bbd743 Bump rails from 6.1.5.1 to 6.1.6
Bumps [rails](https://github.com/rails/rails) from 6.1.5.1 to 6.1.6.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.5.1...v6.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 03:02:05 +00:00
2ce9c4258a Remove New Relic 2022-04-29 22:53:36 +02:00
83f63a9120 Update bundle 2022-04-12 12:43:48 +02:00
0583076c2b Fix Thread leakage when scoring or testing submissions
It is discouraged to do anything directly within the
Tubesock hijack block. We might only use the callbacks
(onopen, onmessage, onclose, onerror). Otherwise,
Tubesock might not close all Threads correctly and
will keep them awake every five seconds.
2022-04-07 19:57:31 +02:00
a83d7e1821 Update bundle 2022-03-23 21:43:36 +01:00
70db2c588a Bump rails from 6.1.4.6 to 6.1.5
Bumps [rails](https://github.com/rails/rails) from 6.1.4.6 to 6.1.5.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.4.6...v6.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 03:02:21 +00:00
a78cf1670a Add gem 'faraday-net_http_persistent' for Faraday 2.0 upgrade 2022-01-25 09:17:35 +01:00
9d833e37b3 Use Net::HTTP::Persistent for requests to Poseidon 2021-11-01 17:13:09 +01:00
13c378b980 Remove concurrent ruby gem no longer needed 2021-11-01 17:12:55 +01:00
5cc180d0e9 Fix rubocop, I18n, cleanup rebase 2021-11-01 17:12:52 +01:00
6e9562c9e1 Validate json 2021-11-01 17:12:44 +01:00
7914608efe Add js-routes to use Route helpers in JavaScript 2021-07-06 16:54:27 +02:00
206e0401d7 Bump rails from 6.1.3.2 to 6.1.4
Bumps [rails](https://github.com/rails/rails) from 6.1.3.2 to 6.1.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.3.2...v6.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 03:22:21 +00:00
a6c6b07a91 Detect encoding of uploaded files and convert to UTF-8. Finally. 2021-05-17 19:33:32 +02:00
fe4000916c Update rubocop configuration 2021-05-14 22:03:06 +02:00
d563488c30 Remove uglifier as JS preprocessor 2021-05-12 17:51:28 +02:00
11962a1d65 Upgrade to Rails 6.1 and apply new framework defaults 2021-05-12 16:49:14 +02:00