Commit graph

1060 commits

Author SHA1 Message Date
3116fb6b4d Security fix: users must not approve their own uploads 2021-02-18 02:00:11 +01:00
2dedd924ee Using correct variables for logging 2021-02-18 01:59:58 +01:00
107f2a8dbe Cruft 2021-02-18 01:59:46 +01:00
1d364de8c8 Handle uploads using Ctrl-V 2021-02-18 01:59:40 +01:00
499c59b761 Render delete button partial for users 2021-02-18 01:59:16 +01:00
d78362e45f Remove blank error message upon successful uploads 2021-02-18 01:59:04 +01:00
0571617ea7 Cruft 2021-02-18 01:58:38 +01:00
13bb26b711 More debugging 2021-02-18 01:58:25 +01:00
0d6b50c232 Slight simplification 2021-02-18 01:58:17 +01:00
102ea7e67c Displaying delete button for user's own upload 2021-02-18 01:58:04 +01:00
28519c1f30 Unused route removed 2021-02-18 01:57:44 +01:00
09fc6e0113 Added to_param to refer to packages by /:name 2021-02-18 01:57:33 +01:00
6303343c17 JSON output migrated to Paperclip style URLs 2021-02-14 22:13:27 +01:00
5153043f46 Hint of deprecated ISP removed. Dokku hint added. 2021-02-14 19:01:57 +01:00
2862d2354d Slight improvement of default error messages. 2021-02-14 18:59:48 +01:00
c5cd5db749 Added template for moderation list 2021-02-14 18:51:53 +01:00
ce7198b713 Added simple moderate feature in My page 2021-02-14 18:48:48 +01:00
953cd056aa Clearer links in paginator 2021-02-14 18:01:46 +01:00
3f0737c614 Fix 404 for missing package 2021-02-14 16:51:55 +01:00
9a91229336 Fixed size and choice of dummy images 2021-02-14 16:41:52 +01:00
eb2a5c6e19 Healthcheck added
https://github.com/linqueta/rails-healthcheck
2021-02-14 16:41:29 +01:00
e9062012dd CI is not totally necessary at the moment 2021-02-14 16:07:36 +01:00
1f7ba785a1 One partial view eliminated 2021-02-14 15:33:22 +01:00
a46a44ac39 No debug logging in production 2021-02-14 15:32:45 +01:00
dc5e6d151b One SQL query per view saved 2021-02-14 15:32:37 +01:00
c636ee40a5 Simplified browsing view 2021-02-14 11:14:13 +01:00
fce8fe2dce Renamed. The image was actually the small version. 2021-02-14 10:35:50 +01:00
f2a283606e Fine-tuning the list view 2021-02-14 10:35:20 +01:00
011d479cb0 temporarily allow larger images for paperclip migration 2021-02-14 01:21:00 +01:00
41103d3c8a Typo 2021-02-13 23:22:25 +01:00
456d9df8c0 Removed file exist check in old Paperclip-style 2021-02-13 23:22:16 +01:00
957855de50 Reflecting Shrine path change in nginx config template 2021-02-13 23:15:25 +01:00
10f4aa7a42 Gem update was not complete. Fixed. 2021-02-13 23:10:37 +01:00
d27bfa5d0d Remove meta_request gem which is broken with Rails 6.1 2021-02-13 23:08:10 +01:00
9164515dd3 Screenshot path changed. Ignore them in Git. 2021-02-13 23:07:56 +01:00
3a6d0dae12 Gems updated. Ruby updated to 2.6.6 2021-02-13 22:35:11 +01:00
e9aea5325a Missing images return images properly now 2021-02-13 22:33:02 +01:00
8b6e9b4fdd Re-added dummy PNG files for 404 returns of images 2021-02-13 22:32:41 +01:00
6d0ed8c8f8 Adding prefix /shrine for static images
Otherwise /screenshot/:name might get confused with
/screenshot/simage/123/small-123.png
2021-02-13 22:16:37 +01:00
afba572dcd todo hint added 2021-02-13 22:16:03 +01:00
baaa419f00 /thumbnail and /screenshot redirect properly to Shrine file 2021-02-13 22:15:57 +01:00
294b55f591 Path fixed 2021-02-13 21:09:47 +01:00
6ec58ac1d8 Adding HTTP debug response headers to distinguish requests 2021-02-13 21:05:59 +01:00
5d8ab83262 Using proper variable to identify vhost 2021-02-13 20:19:42 +01:00
3d4de2b878 Delivering static images directly from Nginx. 2021-02-13 20:10:57 +01:00
3b99f3d08e Procfile added to explicitly use Puma as a backend webserver 2021-02-13 19:16:47 +01:00
bbc8bf55fb Gemfile.lock updated. 2021-02-13 19:16:04 +01:00
15c50f63d6 Trying to add own custom Dokku nginx template 2021-02-13 19:15:36 +01:00
657f81739b Explicitly specifying Ruby version 2021-02-13 00:40:40 +01:00
a8ad2b9334 Merge branch 'master' of salsa.debian.org:debian/debshots 2021-02-13 00:39:33 +01:00