Commit Graph

675 Commits

Author SHA1 Message Date
319c3ab3b4 Add ProgrammingGroup & ProgrammingGroupMembership
* User can create programming group with other users for exercise
* Submission is shared in a group
* Also adjust specs
2023-08-24 19:32:06 +02:00
0234414bae Rename user to contributor in submission 2023-08-24 19:32:06 +02:00
56b9bb2680 Add missing translations for score causes
Fix CODEOCEAN-SE
2023-08-24 13:15:10 +02:00
13d34c7859 Slightly adjust German translation for RfC comment 2023-08-24 11:51:00 +02:00
245c3dba8c Update from proforma to proformaxml 2023-08-24 00:14:41 +02:00
3b4fc0a5ec Fix ActionCable load error due to custom inflection for middleware 2023-08-16 17:11:23 +02:00
6c18a64dc1 Remove explicit default encoding from database.yml 2023-08-06 18:13:10 +02:00
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
28a4b672f9 Remove legacy save search endpoint 2023-07-28 13:18:39 +02:00
01f4f0c2cd Remove legacy CodePilot integration 2023-07-28 08:50:00 +02:00
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
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