Commit Graph

27 Commits

Author SHA1 Message Date
Sebastian Serth
a99da79550 Disable sorttable on tables without rows
Otherwise, the first element of the table body is being fetched which might result in an error for empty tables.

Fixes CODEOCEAN-JZ
2023-03-14 18:27:38 +01:00
Sebastian Serth
d0717fb178 Reduce SQL queries for RfC index actions
By using includes and carefully selecting objects through references, all required objects are only queried once.
2023-02-20 23:47:06 +01:00
Sebastian Serth
9c3392b324 Add consumer-based RfC Visibility settings
This setting will be useful to increase data protection, where users might not be allowed to see RfCs from other contexts.
2023-02-20 23:47:06 +01:00
Sebastian Serth
8a055a0d68 Update Bootstrap from v4 to v5 2022-08-12 11:45:32 +02:00
Sebastian Serth
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
Sebastian Serth
1d5ceebd7b Fix RfC filter for unnamed study groups 2021-04-09 10:25:41 +02:00
Maximilian Pass
028fc2989a #18 Add sql index for unpublished exercises
And remove spec for remove feature
2020-12-15 12:17:11 +01:00
Sebastian Serth
854d1dd032 Improve form filter style 2020-05-05 16:52:29 +02:00
Sebastian Serth
d4f1c5aee1 Use correct policy to check if RfC could be accessed 2019-02-07 21:13:21 +01:00
Sebastian Serth
2125fb1c1d Ensure views only link to those actions allowed for current user 2018-12-12 14:09:19 +01:00
rteusner
d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests
Remove ab tests
2018-11-15 18:02:34 +01:00
Sebastian Serth
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
Ralf Teusner
d9d3dc42d4 remove all A/B testing code no longer in use. 2018-08-09 15:14:52 +02:00
Maximilian Grundke
0395d5b038 Fix/highlight rfcs (#182)
* Fix highlighting condition

* Use highlighting color that is easier on the eyes
2018-06-25 12:01:31 +02:00
Ralf Teusner
5a899fe74f highlight rfcs-not-to-answer 2018-06-15 14:47:03 +02:00
Ralf Teusner
efc271c4ed add column full_score_reached, fill it accordingly and show information in the rfc index 2018-01-31 11:23:30 +01:00
Maximilian Grundke
ba8511fe40 Fall back on RFC update time when there are no comments 2017-08-13 16:09:15 +02:00
Maximilian Grundke
726ef31ee7 Add new route to view all RFCs the user has commented on 2017-08-13 15:01:11 +02:00
Maximilian Grundke
b2344cfd97 Add last activity label to RFCs 2017-08-13 14:33:12 +02:00
Ralf Teusner
58f76f53e6 added a search for request_for_comments.
fixed translation of model for request_for_comments
2017-04-03 19:49:03 +02:00
Ralf Teusner
8282820974 removed requested_at
partly using submission_id
some cleanup
2016-07-14 16:22:22 +02:00
Ralf Teusner
2ff12dbeb6 Cached displaynames of users
Added solved state and #comments to index of request_for_comments
Added translations
2016-06-27 16:46:26 +02:00
Maximilian Grundke
87d4eb8b0d Let everyone see all comments and polish request for comments overview 2016-05-10 18:17:02 +02:00
Ralf Teusner
c9b2af0fdb show question instead of execution environement 2016-05-06 17:24:38 +02:00
Ralf Teusner
8ba67c68c0 retrieve correct displaynames for users (from consumer if it is openHPI, otherwise use internal name) 2016-04-27 18:33:27 +02:00
Maximilian Grundke
96c7e5958f Make requests sortable 2016-04-26 14:22:57 +02:00
Ralf Teusner
d292fec47c Code Cleanup: Usage of Polymorphic User instead of ExternalUser and InternalUser
Renamed requestor_user_id -> user_id
Index of request_for_comments now returns the n (5?) newest requests per user. Solved via sliding windows in postgres, code added to model.
Added route to /my_request_for_comments/ that shows all requests for the current user.
Changed view from ERB to slim
2015-09-04 14:05:30 +02:00