Commit graph

940 commits

Author SHA1 Message Date
77d8daedea Added pagination of screenshots to reduce loading times 2020-10-25 02:21:12 +02:00
f323f94582 Paginator can handle both screenshots and packages now 2020-10-25 02:20:49 +02:00
109354dbf6 Fixed old Paperclip code 2020-10-25 02:20:17 +02:00
1734655bc6 De-duplicate code into medium_image partial template 2020-10-24 17:45:27 +02:00
9cc09451f7 Shut off admin stuff until future versions 2020-10-24 17:44:56 +02:00
39f25e13df Strip overly long package names 2020-10-24 17:44:35 +02:00
04c818f539 Download button added to metadata box on details page 2020-10-20 21:24:38 +02:00
c23cfbbba2 Watermark now on east. New method for medium-sized images 2020-10-20 21:24:23 +02:00
37bf1d8589 Slightly decrease h1 and h2 font sizes 2020-10-20 21:23:51 +02:00
fa080dca01 Forward deprecation of watermark processing 2020-10-20 19:49:38 +02:00
8021c81d53 Better docstrings 2020-10-20 19:42:21 +02:00
adb76650da Design overhaul of details page 2020-10-20 00:22:41 +02:00
986b42145e Slight design improvements 2020-10-19 21:19:49 +02:00
f5f6e4960b Fix stretched images and animation 2020-10-19 19:12:05 +02:00
87d266813d Solargraph config added for code intelligence 2020-10-19 18:50:03 +02:00
7ac69a1d8a Rails update. Fancybox update. Migrations from Paperclip. 2020-10-19 18:49:47 +02:00
1d97215591 Show own uploads properly and add a badge 2020-08-21 19:13:13 +02:00
879ddcfa69 Syntax fix for screenshot variants in ActiveStorage 2020-08-21 19:12:10 +02:00
771ca41240 Added helper methods for screenshots 2020-08-21 19:11:21 +02:00
cfe6790179 Future features commented out 2020-08-21 19:11:03 +02:00
13d3517935 Added screenshot_uploaded_by_current_user? helper function 2020-08-21 19:10:41 +02:00
e5f324e726 Create MD5 hexdigest for new uploads 2020-08-21 19:10:23 +02:00
39f57be413 Solargraph added for VS Code intelligence 2020-08-19 15:20:47 +02:00
045024e987 Gem updates 2020-08-19 15:20:39 +02:00
bd614413ae Minor wording change 2020-08-17 01:49:59 +02:00
dd02ed0a82 Unused def commented out 2020-08-17 01:49:52 +02:00
2f6be566ef Remove Paperclip cruft 2020-08-17 01:49:35 +02:00
eb8f27d9e6 Fix handling of user session and user-uploaded images 2020-08-17 01:49:20 +02:00
b70a9f1a07 Use resize_to_limit to avoid stretching images 2020-08-17 01:48:51 +02:00
53911f226d Validation for uploaded image type added 2020-08-17 01:47:59 +02:00
3982cdb741 Added callout/hint if a package has pending uploads 2020-08-17 00:44:15 +02:00
cdb4772145 Forward deprecation 2020-08-17 00:43:50 +02:00
cc080191fb Added explicit Rails version to migrations as needed for Rails 6 2020-08-16 19:22:47 +02:00
208c99341a Docs improved 2020-08-16 19:22:22 +02:00
8a9e5d6e46 Logout link fixed 2020-08-16 19:22:13 +02:00
2150d9a560 SSO account foo removed from template 2020-06-24 21:28:17 +02:00
87d37c1792 Added missing config after Rails update 2020-06-24 21:27:50 +02:00
ac843c9f46 Minor CSS 2020-06-24 21:27:29 +02:00
b929883f93 Foundation update 2020-06-24 21:26:41 +02:00
ee4c96c428 Using rails_representation_url to link to URL of image variant 2020-05-03 22:33:31 +02:00
6cda78d1ee Playbook improvement 2020-05-03 22:33:18 +02:00
e7c71049c7 Documentation changes for Debian Buster 2020-04-27 00:49:05 +02:00
ed53b08610 Typo fixed 2020-04-27 00:48:55 +02:00
18f66378cc Fixing playbook for Debian Buster 2020-04-27 00:48:43 +02:00
df6caf8b1b No cows 2020-04-27 00:48:34 +02:00
88e33e0256 Ignoring tempmorary development files 2020-04-20 20:29:41 +02:00
33086f9430 Merge branch 'master' of salsa.debian.org:debian/debshots 2020-04-20 20:29:06 +02:00
8adf682a0b Migrations and helpers to move from Paperclip to ActiveStorage
To migrate the application as of April 2020:

• leave models/screenshot.rb with “has_attached_file”
• bundle exec rake db:migrate
• bin/move_paperclip_to_activestorage
• set models/screenshot.rb to “has_one_attached”
2020-04-20 20:24:59 +02:00
a0203d32af Defaults set for Rails 6.0 2020-04-20 20:15:51 +02:00
ce881343e2 Using new access methods for ActiveStorage instead of Paperclip 2020-04-20 20:12:10 +02:00