Commit Graph

764 Commits

Author SHA1 Message Date
00026df150 Update Shakapaker to v7 2023-06-26 08:36:38 +02:00
d1a0012d4f Overwrite Bootstrap Link Renderer for WillPaginate
Without this fix, the new will_paginate version is not compatible with the old version of bootstrap-will_paginate. This issue is also tracked here: https://github.com/mislav/will_paginate/issues/649

Fixes CODEOCEAN-QK
2023-06-14 14:43:18 +02:00
240fbc5a3b Add Sentry instrumentation for JavaScript 2023-05-09 22:10:40 +02:00
f037c5e961 Enable performance profiling for Sentry 2023-05-03 14:47:56 +02:00
b6ffb33823 Add template file name to views in development 2023-05-03 14:47:56 +02:00
62f96704de Prepare Profiling with Sentry 2023-04-25 23:14:43 +02:00
4353414b8e Update CSP config example 2023-04-14 15:55:19 +02:00
ccaf49acd5 Update action_mailer.yml configuration and adapt specs 2023-04-14 15:55:08 +02:00
cd0306cf00 Add Cache-Control header for Webpack-Dev-Server 2023-03-20 14:02:57 +01:00
56414d8ad4 Update example of our render_host URL 2023-02-24 19:55:23 +01:00
5c98ec74f0 Add legal links to Help modal 2023-02-24 19:55:23 +01:00
7fe0fc02e2 Set Sentry context for RailsAdmin 2023-02-21 11:35:29 +01:00
9c3392b324 Add consumer-based RfC Visibility settings
This setting will be useful to increase data protection, where users might not be allowed to see RfCs from other contexts.
2023-02-20 23:47:06 +01:00
ee63166af7 Sentry: Replace UUIDs with * in URLs 2023-02-16 10:50:01 +01:00
359539ffd7 Update configuration examples for seamless start 2023-02-15 19:18:05 +01:00
b0c84b190d Enable breadcrumbs and more details for Sentry 2023-02-10 00:38:45 +01:00
750c59ca6a Increase sample rate for Sentry and introduce ENV variable 2023-02-09 19:32:03 +01:00
b531108ac2 Update puma.rb and explicitly require 'concurrent' 2023-01-25 00:42:53 +01:00
234a4fe02b Deny /implement without execution environment
Also, fix a smaller typo in the locales
2023-01-20 23:53:08 +01:00
2679f5fa56 Allow random selection for ProxyExercise 2023-01-20 21:02:20 +01:00
e86e56dce9 Update puma.rb to match current Rails template 2023-01-14 19:42:26 +01:00
3bae99dd13 Update documentation for Shakapacker
Also include new default values.
2023-01-02 10:33:38 +01:00
bf077ef478 Fix rubocop offenses 2022-12-09 13:11:46 +01:00
09a7c83d51 Add new syntax error to German linter translation
Fixes CODEOCEAN-FJ
2022-12-07 23:22:48 +01:00
65c95a1f1c Expire all assets to enable SRI
Otherwise, many browsers show issues with caching
2022-12-06 21:23:02 +01:00
73237412ed Compress JS and CSS files for production 2022-12-06 01:27:51 +01:00
8147669173 Actually enable SRI for all websocket assets
Without this setting, no SRI hashes are added to the assets.
2022-12-05 18:21:22 +01:00
48d9863090 Explicitly require prometheus/record during initialization 2022-12-04 15:27:55 +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
ffe96d9223 Remove I18n.translation_present? monkey patch 2022-12-04 15:03:28 +01:00
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
bf5781f90d exclude model from rails admin, add possible performance solution (remove all associations from list) 2022-11-24 22:59:12 +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
d84c35dce2 Add environment variables for time zone and log level 2022-11-21 15:08:03 +01:00
e93d6f270d Update Sentry's op name (required for sentry-rails 5.6.0+
See https://github.com/getsentry/sentry-ruby/releases/tag/5.6.0
2022-11-17 00:29:46 +01:00
f17718f69f CSP: Extract JavaScript from layout to assets
Fixes CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
a9c642a116 CSP: Extract RfC JS from view to assets
Relates to CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
b9f3126f21 CSP: Remove global this in webpack
Also refactor how we handle global namespace objects.

Fixes CODEOCEAN-DV
2022-11-16 19:47:58 +01:00
e0bce2071e CSP: Allow Webworkers for ACE
Fixes CODEOCEAN-EQ
2022-11-16 19:47:58 +01:00
064494c161 Add note on disallowed character for command 2022-11-02 14:12:59 +01:00
58548555a5 Shell: Add file system browser to retrieve arbitrary files 2022-10-29 18:49:18 +02:00
60078701f5 Editor: Allow file retrieval after code run 2022-10-29 18:49:18 +02:00
dd1f4b0ac8 Merge pull request #939 from openHPI/refactor_proforma_import_export
Refactor Proforma Import/Export
2022-10-26 17:58:48 +02:00
b3d8d82a3c Fix file regex in routes, once again.
* We take everything after the well-known path as a filename, and hence allow everything.
2022-10-04 16:07:00 +02:00
46a6c3f3b6 Add new Linter translation for non-default arguments
FIXES CODEOCEAN-DP
2022-09-26 18:03:22 +02:00
9dbe5ae8aa Allow space in filename 2022-09-26 17:52:20 +02:00
4e2dbae2da Allow dash (-) in file names 2022-09-25 01:12:10 +02:00
eb188dcd71 Add privilegedExecution flag to database and Poseidon Strategy 2022-09-24 22:32:41 +02:00
b866221353 rename route 2022-09-24 21:08:18 +02:00
16c00ec136 Add support for signed URLs used by the render_file function 2022-09-23 21:35:22 +02:00