Commit Graph

1688 Commits

Author SHA1 Message Date
4b8e12e49a Disable turbolinks when switching the language.
This is required as code within the ACE editor would get duplicated if the switch forces a full pageload otherwise.
2021-06-16 14:25:33 +02:00
7b4a487530 Localize exercises.implement.not_graded 2021-06-11 22:23:09 +02:00
649bb01249 Refactor h1 and inline button for exercise show 2021-06-08 09:00:25 +02:00
08d7b89108 Merge pull request #930 from openHPI/own-project
Rebrush action sidebar for implement view
2021-06-01 17:38:55 +02:00
917e080ae4 highlight.js: Update theme reference 2021-05-31 10:03:28 +02:00
f32661ad78 Rework left sidebar
* Move Buttons from left sidebar to JSTree
* Use light style for collapse sidebar buttons
2021-05-28 17:49:59 +02:00
5243808d54 Apply automatic rubocop fixes 2021-05-17 19:40:38 +02:00
a6c6b07a91 Detect encoding of uploaded files and convert to UTF-8. Finally. 2021-05-17 19:33:32 +02:00
6f084afe1c Increase transition speed for sidebars 2021-05-14 22:24:27 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
48904a19fd Fix test for new custom file 2021-05-14 17:35:37 +02:00
bf6ab4f114 Prevent custom files from being rejected 2021-05-14 17:15:55 +02:00
276423fd30 Replace deprecated update_attributes 2021-05-12 22:54:06 +02:00
11962a1d65 Upgrade to Rails 6.1 and apply new framework defaults 2021-05-12 16:49:14 +02:00
2b32829e60 Upgrade DatabaseCleaner strategy 2021-05-12 16:47:05 +02:00
3c7e9176a2 Daily Rubocop 2021-04-30 12:06:13 +02:00
4958f5b9a9 Add StudyGroup to RemoteEvaluationMapping 2021-04-30 12:06:12 +02:00
91a0e4a7d5 Align files_attributes in remote evaluation with structure of normal submission 2021-04-30 12:06:12 +02:00
36cacc2330 Pass exercise object instead of id to reject_illegal_file_attributes 2021-04-30 12:06:11 +02:00
b3c110cead Improve code style 👮 2021-04-30 12:06:11 +02:00
caaa52409e Avoid that files from other exercises can be created 2021-04-30 12:06:10 +02:00
1f3c9db537 Reject illegal file attributes in remote evaluation
Remove ! from reject illegal file parameters
2021-04-30 12:06:09 +02:00
54ec59aa8c Remove Sentry logging from ajaxError 2021-04-22 12:35:56 +02:00
78230f0d97 Add message for expired session 2021-04-22 11:32:12 +02:00
9a5514942e Remove CSRF debug features 2021-04-22 11:31:30 +02:00
1d5ceebd7b Fix RfC filter for unnamed study groups 2021-04-09 10:25:41 +02:00
1e5a9b0825 Remove unused SubmissionsController#stop action 2021-04-07 17:45:38 +02:00
9485c15c57 Fix exercise anomaly detection
* The SQL query and mail template was erroneous
* Including the `url_helpers` influenced the specs due different url helpers within the specs. Test by executing `rspec './spec/db/seeds_spec.rb[1:1:1]' './spec/features/request_for_comments_filter_spec.rb[1:1]' -f progress --fail-fast --seed 55564`
2021-04-07 14:06:33 +02:00
40d83dbb1d Fix access to exercise-specific RfC listing 2021-04-07 14:06:32 +02:00
44b32b6f6a #46 Add Prometheus exporter 2021-04-07 14:06:32 +02:00
fbf9010823 Ensure Mnemosyne trace is always attached 2021-03-19 20:00:41 +01:00
06fe37d6cf Check for Mnemosyne trace before appending meta information 2021-03-17 14:34:05 +01:00
36ac8b63cb Use regular file as default for new exercise file roles 2021-03-17 14:33:40 +01:00
ef50b9b859 Turtle: Catch more parts for buffering 2021-03-15 19:53:29 +01:00
486808eae0 Add mnemosyne tracing for render_csrf_error 2021-03-10 18:53:20 +01:00
82555d88b7 Add mnemosyne tracing for session 2021-03-10 18:00:37 +01:00
a174d75a47 Debug CSRF issues temporarily 2021-03-10 13:51:29 +01:00
293f7f6df7 Unload autosave on turbolinks page render.
We cannot use turbolinks:request-start because this will duplicate code (if a page is first requested by turbolinks and afterwards by a full page reload)
2021-03-10 13:51:29 +01:00
265f1ba498 Prevent accessing file templates if not available in exercise 2021-03-10 13:51:29 +01:00
39467ad0e0 Hide linter in week 1 and 2 of Python course 2021-03-08 23:20:42 +01:00
8ebe59b692 Revert changes for Python20 fishbowl experiment
* Show all RfCs again, even those with #loesung
2021-03-08 23:15:58 +01:00
110b009480 Remove A/B test from Python20 course setup 2021-03-08 23:15:58 +01:00
c9e9731453 Use new Sentry endpoint 2021-03-08 22:01:55 +01:00
b10e23dd16 Upgrade to newest Sentry 2021-03-04 14:02:16 +01:00
ad09230c50 Show UTC info for deadline 2021-03-03 14:25:16 +01:00
9582ab99a6 Fix model name for cover page 2021-03-03 12:22:23 +01:00
17ac4bd60f Add model name to breadcrumbs in case of validation errors 2021-03-03 11:59:54 +01:00
67dd435415 Fix link to Consumer if not enough permissions 2021-02-18 12:29:07 +01:00
9e31966d5a Fix update of StudyGroups after providing all (int + ext) users 2021-02-17 10:51:44 +01:00