Commit Graph

81 Commits

Author SHA1 Message Date
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
e2567db4ed merged master into disable_rfcs 2018-05-16 17:44:28 +02:00
f1830f5322 re-introduce my_request_for_comments option for external_users 2018-05-16 15:30:18 +02:00
11f168bef7 Reorder 2018-04-11 15:20:39 +02:00
cf22b26c84 Structure main menu 2018-04-10 19:21:01 +02:00
7031dd389e Scaffold controller and route 2018-03-13 16:41:43 +01:00
182062b480 Merge branch 'master' into disable_rfcs
# Conflicts:
#	app/assets/stylesheets/editor.css.scss
2018-03-07 17:30:14 +01:00
639befe0e5 Position pop-up messages more cleanly 2018-02-28 11:43:47 +01:00
208a856cb8 hide links to rfc overviews from external users 2018-02-27 13:48:52 +01:00