Commit graph

722 commits

Author SHA1 Message Date
95223e3ba7 Shorter status text 2021-03-10 01:18:17 +01:00
ee24f99df4 Only allow hiding/un-hiding for approved screenshots 2021-03-10 01:13:12 +01:00
90fc03e13a Rewording 2021-03-10 01:06:12 +01:00
f9130c6972 Cruft 2021-03-10 01:04:43 +01:00
5d0e4a520e Allow hiding and un-hiding of screenshot by moderators 2021-03-10 01:04:37 +01:00
f31502c333 Added colors to status label of a screenshot 2021-03-10 01:04:06 +01:00
27a1811153 Buttons are round and shadowed to make them clearer 2021-03-10 00:31:48 +01:00
a22f5128dc minor rewording 2021-03-10 00:03:04 +01:00
7c929ed7d2 Slight rewording 2021-03-09 23:55:35 +01:00
9a9101defe Help text fixed 2021-03-09 23:53:13 +01:00
711f06fcc4 Fix check for own screenshots 2021-03-09 23:36:14 +01:00
e04b54d6fd Show permissions properly
can? :foo, Screenshot only checks if the use can 'foo' any screenshot

can? :foo, Screenshot.new checks for new screenshots not assigned to
them
2021-03-09 23:31:45 +01:00
c922723a9e Admins can hide/unhide screenshots 2021-03-09 22:55:32 +01:00
632939cfa4 Moderators can only hide screenshots - not delete them 2021-03-09 22:55:22 +01:00
43e6e6c028 Minor visual improvement 2021-03-09 22:44:09 +01:00
0207d6b392 My views improved. Own screenshots view added 2021-03-09 22:43:58 +01:00
15b58548cc Show more log lines per page 2021-03-06 20:51:48 +01:00
330536cb7e Link to packages and screenshots (highlighted) from logs view 2021-03-06 20:47:33 +01:00
2fef9c7043 Audit logging improved. References users, screenshots, packages 2021-03-03 23:21:24 +01:00
b6dee6b93c Logging fixed. Debugging finished. 2021-03-03 01:29:26 +01:00
bc7541a2c9 More IP debugging 2021-03-03 01:15:50 +01:00
7f4eab3396 Further IP debugging 2021-03-03 01:12:37 +01:00
0ed05a66ac Debug output for remote IP 2021-03-03 01:06:18 +01:00
fe5655e6d5 Add mandatory new parameter for remote_ip to Log.log 2021-03-03 01:06:08 +01:00
150bd5df3e Local admins can view audit logs 2021-03-03 01:05:48 +01:00
d41220c5fd Basic browser for audit logs added 2021-03-03 01:05:35 +01:00
1c2bfb87d3 Cruft removed. @remote_ip populated globally 2021-03-03 01:04:59 +01:00
86bfff58f2 System test added to verify auto-approval of screenshots from moderators 2021-03-02 01:56:25 +01:00
2b24083653 SQL optimisation rolled back. It lead to access problems. 2021-03-01 02:07:55 +01:00
7227f769c0 Avoid displaying unapproved screenshots in Any view 2021-03-01 01:23:52 +01:00
ce9e1d8877 Typo that prevented deleting images 2021-03-01 01:02:39 +01:00
b36a49a6cd Avoid N+1 SQL queries with CanCanCan accessibility checks 2021-03-01 00:49:25 +01:00
f154c1838c Add ability to view approved screenshots for anonymous users 2021-02-28 22:42:28 +01:00
eee196507b Forgot to run tests 2021-02-28 22:07:33 +01:00
7004e14a88 Recovered moderate controller
It may not be necessary but deployment fails as it is refererred to from
other modules
2021-02-28 21:45:31 +01:00
7a3b65fe50 Authorisation management using CanCanCan added 2021-02-28 21:36:46 +01:00
51be4a4777 Two-column layout for login form 2021-02-28 02:37:26 +01:00
b7cc7ef4c0 Removed occurence of removed code 2021-02-28 02:09:29 +01:00
58f5eb11b9 Cruft of old Debian SSO code 2021-02-28 02:04:07 +01:00
d19196b266 Alpha feature hint 2021-02-28 02:03:56 +01:00
114ea469ee Info text on login page improved 2021-02-28 01:59:25 +01:00
bc507cbe39 Salsa login works 2021-02-27 23:50:51 +01:00
1f9187e35c Add ActionMailer to inform admins about new screenshots
This version only informs Christoph as a test
2021-02-25 02:43:14 +01:00
ae597a6235 Paperclip cruft removed 2021-02-25 00:14:17 +01:00
5ce1df07f3 Add default search order for screenshots 2021-02-24 23:50:31 +01:00
c6bea9b902 Add moderation hint below top bar 2021-02-24 23:47:30 +01:00
ec43f47f92 Show Moderate link in topbar. Add menu icons. 2021-02-24 19:18:19 +01:00
df855cd39b Prevent overflowing the flex grid 2021-02-21 21:29:42 +01:00
ff5643756e Removed auto-approve 2021-02-21 19:41:20 +01:00
15d18d50c2 Center cards properly in the surrounding box
Otherwise the box is not centered in "Newest Upload" on the title page.
2021-02-21 19:40:57 +01:00