Commit Graph

670 Commits

Author SHA1 Message Date
Sebastian Serth
3b4fc0a5ec Fix ActionCable load error due to custom inflection for middleware 2023-08-16 17:11:23 +02:00
Sebastian Serth
6c18a64dc1 Remove explicit default encoding from database.yml 2023-08-06 18:13:10 +02:00
Sebastian Serth
944b455194 Introduce Dark Mode
This commit mainly changes the color definitions. Mostly, those changes are semantically equally, but there are a few changes that occurred to align the color scheme within the app.
2023-07-31 11:48:42 +02:00
Sebastian Serth
28a4b672f9 Remove legacy save search endpoint 2023-07-28 13:18:39 +02:00
Sebastian Serth
01f4f0c2cd Remove legacy CodePilot integration 2023-07-28 08:50:00 +02:00
Sebastian Serth
db56a690c7 Add option to suppress feedback messages
This is used to dynamically exclude some test results from being shown to users, but still allows them to run in the background (e.g., for research).
2023-07-27 10:38:49 +02:00
Sebastian Serth
00026df150 Update Shakapaker to v7 2023-06-26 08:36:38 +02:00
Sebastian Serth
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
Sebastian Serth
240fbc5a3b Add Sentry instrumentation for JavaScript 2023-05-09 22:10:40 +02:00
Sebastian Serth
f037c5e961 Enable performance profiling for Sentry 2023-05-03 14:47:56 +02:00
Sebastian Serth
b6ffb33823 Add template file name to views in development 2023-05-03 14:47:56 +02:00
Sebastian Serth
62f96704de Prepare Profiling with Sentry 2023-04-25 23:14:43 +02:00
Sebastian Serth
4353414b8e Update CSP config example 2023-04-14 15:55:19 +02:00
Sebastian Serth
ccaf49acd5 Update action_mailer.yml configuration and adapt specs 2023-04-14 15:55:08 +02:00
Sebastian Serth
cd0306cf00 Add Cache-Control header for Webpack-Dev-Server 2023-03-20 14:02:57 +01:00
Sebastian Serth
56414d8ad4 Update example of our render_host URL 2023-02-24 19:55:23 +01:00
Sebastian Serth
5c98ec74f0 Add legal links to Help modal 2023-02-24 19:55:23 +01:00
Sebastian Serth
7fe0fc02e2 Set Sentry context for RailsAdmin 2023-02-21 11:35:29 +01:00
Sebastian Serth
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
Sebastian Serth
ee63166af7 Sentry: Replace UUIDs with * in URLs 2023-02-16 10:50:01 +01:00
Sebastian Serth
359539ffd7 Update configuration examples for seamless start 2023-02-15 19:18:05 +01:00
Sebastian Serth
b0c84b190d Enable breadcrumbs and more details for Sentry 2023-02-10 00:38:45 +01:00
Sebastian Serth
750c59ca6a Increase sample rate for Sentry and introduce ENV variable 2023-02-09 19:32:03 +01:00
Sebastian Serth
b531108ac2 Update puma.rb and explicitly require 'concurrent' 2023-01-25 00:42:53 +01:00
Sebastian Serth
234a4fe02b Deny /implement without execution environment
Also, fix a smaller typo in the locales
2023-01-20 23:53:08 +01:00
Sebastian Serth
2679f5fa56 Allow random selection for ProxyExercise 2023-01-20 21:02:20 +01:00
Sebastian Serth
e86e56dce9 Update puma.rb to match current Rails template 2023-01-14 19:42:26 +01:00
Sebastian Serth
3bae99dd13 Update documentation for Shakapacker
Also include new default values.
2023-01-02 10:33:38 +01:00
Sebastian Serth
bf077ef478 Fix rubocop offenses 2022-12-09 13:11:46 +01:00
Sebastian Serth
09a7c83d51 Add new syntax error to German linter translation
Fixes CODEOCEAN-FJ
2022-12-07 23:22:48 +01:00
Sebastian Serth
65c95a1f1c Expire all assets to enable SRI
Otherwise, many browsers show issues with caching
2022-12-06 21:23:02 +01:00
Sebastian Serth
73237412ed Compress JS and CSS files for production 2022-12-06 01:27:51 +01:00
Sebastian Serth
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
Sebastian Serth
48d9863090 Explicitly require prometheus/record during initialization 2022-12-04 15:27:55 +01:00
dependabot[bot]
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
Sebastian Serth
ffe96d9223 Remove I18n.translation_present? monkey patch 2022-12-04 15:03:28 +01:00
Sebastian Serth
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
Karol
bf5781f90d exclude model from rails admin, add possible performance solution (remove all associations from list) 2022-11-24 22:59:12 +01:00
dependabot[bot]
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
Sebastian Serth
d84c35dce2 Add environment variables for time zone and log level 2022-11-21 15:08:03 +01:00
Sebastian Serth
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
Sebastian Serth
f17718f69f CSP: Extract JavaScript from layout to assets
Fixes CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
Sebastian Serth
a9c642a116 CSP: Extract RfC JS from view to assets
Relates to CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
Sebastian Serth
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
Sebastian Serth
e0bce2071e CSP: Allow Webworkers for ACE
Fixes CODEOCEAN-EQ
2022-11-16 19:47:58 +01:00
Sebastian Serth
064494c161 Add note on disallowed character for command 2022-11-02 14:12:59 +01:00
Sebastian Serth
58548555a5 Shell: Add file system browser to retrieve arbitrary files 2022-10-29 18:49:18 +02:00
Sebastian Serth
60078701f5 Editor: Allow file retrieval after code run 2022-10-29 18:49:18 +02:00
Sebastian Serth
dd1f4b0ac8 Merge pull request #939 from openHPI/refactor_proforma_import_export
Refactor Proforma Import/Export
2022-10-26 17:58:48 +02:00
Sebastian Serth
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