Commit Graph

721 Commits

Author SHA1 Message Date
Sebastian Serth
7e66ed1c36 Disable Gravatar in Rails Admin 2023-10-29 15:30:54 +01:00
Sebastian Serth
28d9e38fe5 Upgrade to Rails 7.1 and apply new framework defaults
* Remove deprecated options from environments
* Remove deprecation warnings for upcoming Rails 7.2
* Dump schema with new defaults
* Remove outdated (and erroneous) data attribute in view
* Resolve a `NoMethodError` for seeds_spec.rb
2023-10-27 16:50:27 +02:00
Sebastian Serth
bbee854002 Allow RfC index action for exercises to be nested 2023-10-23 18:17:42 +02:00
kiragrammel
79ce069f68 Add CRUD operations for Programming Groups
* Correct sorting in table
* Modify page when nested in exercises
* Fix links between pages
* Link from statistics page to programming_groups/index
* Link from submission page to programming_groups/<id>
* Allow filtering for exercise ID on ProgrammingGroup#index
* Add search fields for internal and external user id on pg/index
2023-10-23 18:17:42 +02:00
kiragrammel
5bbc94f1d1 Remove info about study & link to feedback page 2023-10-22 12:07:41 +02:00
kiragrammel
f9f6ab8570 Replace "Du" with "Sie" 2023-10-22 12:07:41 +02:00
kiragrammel
26552a0682 Remove PairProgrammingExerciseFeedback
* Remove view, controller, routes & policy for PairProgrammingExerciseFeedback
* Keep model & database table
2023-10-22 12:07:41 +02:00
Sebastian Serth
67f19516c3 Add internal title for exercise
The internal title is designed to provide an alternative title for teachers. It is not exposed to learners.
2023-10-14 00:30:32 +02:00
Sebastian Serth
2156204be4 Allow details and summary tags in HTML
Those two tags can be used to add expandable content, for example, to an exercise description.
2023-10-14 00:28:45 +02:00
Sebastian Serth
84f844c1c5 Fix undesired overwrite of default_src in CSP 2023-10-13 13:19:17 +02:00
Sebastian Serth
3aeef7ebdd CSP: Refactor custom settings to ease further expansion
* This change is introduced due to a corresponding change in CodeHarbor to allow SSO there.
2023-10-13 13:19:03 +02:00
Sebastian Serth
c232a418f4 CSP: Recognize ACE of using data: images 2023-10-13 00:14:38 +02:00
Sebastian Serth
10a499484b Fix typo in English locales 2023-10-11 23:06:31 +02:00
Sebastian Serth
99bd46af1a Align project files with CodeHarbor
Since both projects are developed together and by the same team, we also want to have the same code structure and utility methods available in both projects. Therefore, this commit changes many files, but without a functional change.
2023-10-11 00:18:33 +02:00
Sebastian Serth
ce9dccc8f6 Puma: Explicitly disable preloading
Otherwise, setting WEB_CONCURRENCY would re-enable preloading.
2023-10-08 15:29:54 +02:00
Sebastian Serth
4879c0172a CSP: Allow extending directives with 'none' 2023-10-08 13:46:32 +02:00
Sebastian Serth
4653e93d13 Update Puma config to support phased restarts
Besides phased restarts, we also add further config options and configure the systemd integration (activated sockets, watchdog).
2023-10-08 12:26:05 +02:00
Sebastian Serth
bebca01a88 Fix typo in German locale for runner exit status 2023-09-30 21:49:43 +02:00
kiragrammel
b9ac2e7fdf Adapt text for forced pair programming exercise 2023-09-25 17:29:40 +02:00
Sebastian Serth
e5678483cc Prevent duplicated 'pp_work_alone' events.
* Ensure only one `pp_work_alone` event is stored.
* Disable Turbolinks for Programming Groups Work Alone, so that the implement page is requested normally. Otherwise, Turbolinks would load the page first, just to notice that it needs to reload the page afterwards to include Highlight.js for the tips.
2023-09-23 20:45:49 +02:00
Kira Grammel
9f837412c7 Add waiting room to create programming groups (#1919)
Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
2023-09-21 15:07:10 +02:00
Sebastian Serth
1bba4a006a Sentry: Check for span description before applying gsub! 2023-09-20 15:32:17 +02:00
Sebastian Serth
d01a3b7bac Fix incorrect translation for "Check invitation" explanation
Amends 8a5dc7ab
2023-09-20 00:35:17 +02:00
Kira Grammel
8a5dc7abc0 Forward person when a programming group is created with them
Further, we remove the "check invitation" button and extract some methods to our new ProgrammingGroups object in JavaScript.

Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
2023-09-19 20:14:33 +00:00
Sebastian Serth
9848c900c3 Fix incorrect label and form association.
This change is required for a better accessibility compatibility.
2023-09-19 15:43:02 +02:00
Sebastian Serth
652f3fefcb Transform data privacy link from locales to view
Amends #1899
2023-09-19 15:38:25 +02:00
Sebastian Serth
7deea1ddac Fix invalid timestamps for breadcrumbs in Sentry
See https://github.com/getsentry/sentry-ruby/issues/1874
2023-09-19 11:17:17 +02:00
kiragrammel
5ae306997b Remove pair programming session text from status bar 2023-09-13 17:50:19 +02:00
kiragrammel
02de785f61 Change text for video chat button 2023-09-13 17:50:19 +02:00
Sebastian Serth
70435a5d08 Disable concurrent ActionCable workers
Otherwise, the ACE events we receive might not be forwarded in the same order. For now, I am not aware of another mechanism to ensure the correct ordering, so that I decided to use this approach for now. Might need to be improved later.
2023-09-13 01:21:59 +02:00
kiragrammel
410d2f79d3 Show link instead of Etherpad for new programming groups in Safari 2023-09-13 01:21:59 +02:00
kiragrammel
914adeed42 Insert text written after last autosave in pp session 2023-09-12 18:47:06 +02:00
kiragrammel
a7fa9b5b04 Improve layout for programming groups 2023-09-11 14:43:00 +02:00
kiragrammel
5da871a0e9 Add info modal for pair programming 2023-09-11 14:43:00 +02:00
kiragrammel
930d532fb6 Add third question in pp exercise feedback 2023-09-08 11:48:53 +02:00
Sebastian Serth
c42fb8fc09 Fix typo in German feedback for pair programming 2023-09-08 11:48:53 +02:00
kiragrammel
4b90a2a3c5 Add exercise feedback page for pair programming study 2023-09-05 22:56:51 +02:00
kiragrammel
d1d5b0df6f Etherpad link for pair programming feedback 2023-09-05 22:56:51 +02:00
kiragrammel
056a8e5107 Show if partner is online 2023-09-05 22:56:51 +02:00
kiragrammel
97764bd02e Limit programming groups to two people
* adapt text on programming_groups/new site
* in German change from 'Sie' to 'du'
2023-09-05 22:56:51 +02:00
kiragrammel
7df37078f4 Add etherpad to exchange user IDs 2023-09-05 22:56:51 +02:00
kiragrammel
e3bf14efe1 Add button to start (video) chat with programming group 2023-09-05 22:56:50 +02:00
kiragrammel
125215ea35 Show in statusbar on implement route if pair programming session 2023-09-05 19:41:52 +02:00
Sebastian Serth
ac92385dd7 Rename remaining occurrences of webpacker to shakapacker 2023-09-01 19:39:51 +02:00
Sebastian Serth
3f674d3687 Prevent accessing another exercise during a programming group session 2023-08-24 19:32:06 +02:00
kiragrammel
e2baa2ee55 Send score for all members of a programming group 2023-08-24 19:32:06 +02:00
kiragrammel
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
kiragrammel
0234414bae Rename user to contributor in submission 2023-08-24 19:32:06 +02:00
Sebastian Serth
56b9bb2680 Add missing translations for score causes
Fix CODEOCEAN-SE
2023-08-24 13:15:10 +02:00
Sebastian Serth
13d34c7859 Slightly adjust German translation for RfC comment 2023-08-24 11:51:00 +02:00