Commit Graph

2069 Commits

Author SHA1 Message Date
6094767a65 - rename parameter to be more generic
- fix splatting of service args
- add file role depending on parent object of file
- add default feedback_message for imports
2022-08-20 22:17:20 +02:00
6208d8b7ea Fix study_group index page 2022-08-20 10:46:33 +02:00
32413058d6 Add consumer ID to ransack filter 2022-08-20 10:41:02 +02:00
166aa3cc6f Remove Ransack from Exercise edit for tags
* Also improve Ransack usage of attributes and associations
2022-08-20 01:33:00 +02:00
83feb67dd5 Update find method for study group in RfC index 2022-08-20 00:58:12 +02:00
c228850ae8 Update find method 2022-08-20 00:37:48 +02:00
6927b57170 Update Study Group Dashboard and Statistics 2022-08-20 00:05:02 +02:00
d762f976a8 Add new CodeOcean::File#read method
* With a new method, we can simplify our code to handle differences between file.content and file.native_file.read
2022-08-19 22:42:55 +02:00
a9aab612b6 Extract updating the user role from params 2022-08-18 21:44:26 +02:00
acc07ffa5d Disallow leading / in zip archives 2022-08-18 16:45:15 +02:00
3248bd74d1 Fix authorization for communitySolutionsIndex 2022-08-18 16:28:10 +02:00
145c4aa8d5 Refactor various ruby files
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
cb0f30768f Change HTTP links to HTTPS 2022-08-17 01:29:27 +02:00
01f6b0d16e Reduce skip_before_action usage 2022-08-17 00:54:20 +02:00
0e96bc79c4 Conditionally show file tree 2022-08-16 23:27:39 +02:00
73b3b8a159 Hide border for disabled (unstyled) button
btn-default is a non-bootstrap class
2022-08-16 18:28:57 +02:00
b9357bb9c7 Fix warning message for sync_to_runner_management 2022-08-16 18:18:24 +02:00
0b68f1309d Fix FontAwesome class after FA v6 upgrade 2022-08-15 23:25:24 +02:00
7d0c3aef4f Show current submission for exercise statistics 2022-08-15 23:24:15 +02:00
a56b61d4bc Migrate sorttable to NPM package 2022-08-13 00:38:53 +02:00
3ffff77fd1 Fix comment for bootstrap in application.js 2022-08-13 00:38:07 +02:00
6dd64b2a74 Remove outdated URL polyfill 2022-08-13 00:37:21 +02:00
cc4003baf7 Fix rubocop offenses 2022-08-12 23:52:23 +02:00
02e5a0490c Remove Modernizr, as it is no longer used 2022-08-12 23:50:11 +02:00
afd7ded734 Fix display of score and error messages after Bootstrap update 2022-08-12 18:02:02 +02:00
f38052d235 Allow fa-spin to spin, actually
When using `display: inline;`, many browsers won't rotate the icon.
2022-08-12 18:01:47 +02:00
cc7a1d7fb5 Always show autosaves if otherwise no submission would be available 2022-08-12 17:44:41 +02:00
4d569475c9 Fix access to external_user_statistics
Amends #1304
https://github.com/openHPI/codeocean/pull/1304
2022-08-12 17:33:45 +02:00
e7dd6ac596 Fix layout for ExternalUser search after Bootstrap update 2022-08-12 17:25:10 +02:00
345df747bd Prevent Runner sync errors to be reported to Sentry, increase log level 2022-08-12 17:16:21 +02:00
e7f409c1df Align dropdown menu for filters to the left hand side 2022-08-12 14:39:46 +02:00
4096abf89f Update visjs to new fork, reduce bundle size 2022-08-12 14:11:18 +02:00
8a055a0d68 Update Bootstrap from v4 to v5 2022-08-12 11:45:32 +02:00
1838765baa Reinclude all FontAwesome SCSS files 2022-08-12 10:34:06 +02:00
627927bb54 Remove console.log 2022-08-12 10:22:55 +02:00
eb175b3b40 Fix Webpack-imported modules 2022-08-12 10:22:55 +02:00
d223abfb5e Update from webpacker v5 to shakapacker v6.0.0.rc13
Using a two-step process is recommended:
332e25186a/docs/v6_upgrade.md
2022-08-12 10:22:55 +02:00
9c2ea622ce Fix asset compilation with FontAwesome 6 2022-08-09 15:15:58 +02:00
4615a49e62 added strong params to comments_controller to prevent users from editing attributes which are not intended to be edited, also created specs to test this behaviour 2022-08-09 14:45:16 +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
727f85841d Bump i18n-js from 3.9.2 to 4.0.0
Bumps [i18n-js](https://github.com/fnando/i18n-js) from 3.9.2 to 4.0.0.
- [Release notes](https://github.com/fnando/i18n-js/releases)
- [Changelog](https://github.com/fnando/i18n-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fnando/i18n-js/compare/v3.9.2...v4.0.0)

---
updated-dependencies:
- dependency-name: i18n-js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 10:11:36 +02:00
3937a4c26e slight spelling correction to the user_mailer method send_thank_you_note 2022-08-05 08:05:07 +02:00
6e213f754f minor styling change to authenticationtoken model, changed the expire_at column of AuthenticationToken form date to datetime 2022-08-05 08:05:07 +02:00
146eee673f changed send_thank_you_note and got_new_comment_for_subscription methods to use tokens properly, as well as new test scenarios for both cases 2022-08-05 08:05:07 +02:00
cc3fc72cf9 slight changes to application controller to be more readable 2022-08-05 08:05:07 +02:00
d64daadd21 added AuthenticationToken model, updated some restrictions for the authentication token table, added dependent destroy to the user model for authentication tokens 2022-08-05 08:05:07 +02:00
d4c567c722 Remove @submissions variable for external_user_statistics 2022-07-22 13:19:22 +02:00
2141fdb1ac Refactor external_user_statistics to own controller action 2022-07-22 13:19:22 +02:00
66d9a2b22a added logic to hide the show/hide autosaves feature for users without permission to view detailed_statistics 2022-07-20 17:18:36 +02:00