89 Commits

Author SHA1 Message Date
f8330b39fb Replace manual activerecord translations with helpers 2024-05-21 19:42:26 +02:00
1589c9472b Fix missing and unused i18n translations 2024-05-21 19:42:26 +02:00
189f9e28d7 Fix margin for "Administration" menu on small screens 2024-05-21 11:52:58 +02:00
9a9efd5caa Lint Slim files and fix offenses
The fixing was partially done manually and partially automatically.
2024-04-18 08:31:24 +02:00
8c1cede705 Hide action name for Index and Show routes 2023-11-09 09:15:39 +01:00
abf917ae37 Switch to Hash syntax for URL generation in breadcrumbs
This will prevent an exception if the corresponding Route cannot be generated.
2023-11-05 13:02:34 +01:00
5ecde8c8bd Generalize breadcrumbs for nested resources
* Make programming groups breadcrumb navigation clickable
2023-10-23 18:17:42 +02:00
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
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
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
1c5eb09138 Safely join new parameters when switching the language
Fixes CODEOCEAN-JY
2023-03-14 16:36:29 +01:00
5c98ec74f0 Add legal links to Help modal 2023-02-24 19:55:23 +01:00
ffe96d9223 Remove I18n.translation_present? monkey patch 2022-12-04 15:03:28 +01:00
4f0b8c3c42 Reduce usage of @current_user (use helper instead) 2022-11-02 12:27:38 +01:00
cc3739322f Always show sign-out button profile for internal users 2022-10-27 17:06:19 +02:00
145c4aa8d5 Refactor various ruby files
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
8a055a0d68 Update Bootstrap from v4 to v5 2022-08-12 11:45:32 +02:00
b98c37ae64 Rename v4 FontAwesome icons to match v5/v6 name
While FontAwesome provides aliases for all icons, we switch to the new names for consistency. See all changes at:
https://fontawesome.com/docs/web/setup/upgrade/upgrade-from-v4#icons-renamed-since-version-4
2022-08-09 14:17:32 +02:00
d93e71dc28 Rename v5 FontAwesome icons to match v6 name
While FontAwesome provides aliases for all icons, we switch to the new names for consistency. See all changes at:
https://fontawesome.com/docs/web/setup/upgrade/whats-changed#icons-renamed-in-version-6
2022-08-09 14:17:32 +02:00
f9a7e73719 Remove usage of safe_html in renderings 2021-10-12 11:23:22 +02:00
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
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
78230f0d97 Add message for expired session 2021-04-22 11:32:12 +02: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
f98de3b66b Add Rails admin 2020-11-26 17:11:18 +01:00
e550828c58 Add backend for tips and enable markdown support 2020-10-14 14:34:26 +02:00
4c571c4fb2 Add missing locales and fix access to public pages 2020-05-06 11:27:09 +02:00
256d1033b2 Fix page title for students 2020-05-05 22:42:28 +02:00
921eb1a464 Add title to CodeOcean pages 2020-05-05 16:52:29 +02:00
82e560cace Add link to WebSocket test if WebSocket connection failed 2020-03-07 11:53:44 +01:00
e340f28abb Allow access to RfCs for all users 2020-03-03 18:13:43 +01:00
8c306669af codeharbor_links editable through own profile 2019-08-27 18:33:21 +02:00
ec48d1f447 readding codeharbor_link views and actions 2019-08-26 19:06:52 +02:00
017644c4a5 implementation of import wip 2019-08-20 18:37:17 +02:00
ff8c1f6838 Use index? to validate permissions of classes instead of show? for obj. 2019-01-17 18:34:04 +01:00
ac7e41d8b3 Merge pull request #248 from openHPI/improve_groups
Improve groups with a view and always create a group
2018-12-19 13:57:41 +01:00
7983c0797a Add view for StudyGroups 2018-12-14 14:52:04 +01:00
1a26d67c82 Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/views/application/_breadcrumbs.html.slim
#	app/views/application/welcome.html.slim
#	app/views/exercise_collections/show.html.slim
#	app/views/external_users/index.html.slim
#	app/views/layouts/application.html.slim
#	app/views/proxy_exercises/index.html.slim
#	app/views/user_exercise_feedbacks/index.html.slim
#	app/views/user_mailer/send_thank_you_note.slim
2018-12-14 00:53:06 +01:00
ff701e52bb Merge pull request #244 from openHPI/specify_embed_options
Implement support for some basic embed options for work sheets via LTI
2018-12-13 16:21:55 +01:00
88081bb541 Replace usage of name in favor of displayname 2018-12-13 14:27:55 +01:00
2125fb1c1d Ensure views only link to those actions allowed for current user 2018-12-12 14:09:19 +01:00
7a63a9c1c1 Hide navigation elements in the UI based on policies 2018-12-12 14:09:19 +01:00
4b251599ff Use admin? or teacher? for permission check instead of internal_user? 2018-12-12 14:09:19 +01:00
a0d8b30ef2 Implement support for some basic embed options for work sheets via LTI
This commit also fixes an issue with the flash messages being positioned too high and displayed for too long
2018-12-11 14:29:36 +01:00
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
9666683bd7 Fix error, submission, hints and help views 2018-11-06 16:46:01 +01:00
15b1670511 Update Turbolinks, load additional assets only on request, fix JS
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
eb2af34543 Cache rendered templates 2018-08-20 14:59:40 +02:00