Commit graph

48 commits

Author SHA1 Message Date
Kyle Drake
10ff8a7cc7 sidekiq api available in test for screenshotworker 2023-12-31 00:55:59 -06:00
Kyle Drake
9b954f086e move screenshots to default retry cycle 2023-12-25 11:14:18 -06:00
Kyle Drake
9b00bd0169 retry screenshots to 4, add missing image optimizer 2023-12-15 18:09:59 +00:00
Kyle Drake
2bf24375d4 only use full png for index 2023-12-06 10:03:33 -06:00
Kyle Drake
c3789564f0 add opengraph / link expander friendly screenshot, add image optimizers 2023-12-05 15:49:14 -06:00
Kyle Drake
2a3b8593df Better error handling for screenshot and thumbnail workers, hacky fix for lets encrypt cert issue that's temporary 2023-07-19 21:17:48 +00:00
Kyle Drake
6925c21d2b Merge branch 'master' of github.com:neocities/neocities 2023-04-28 15:21:48 +00:00
Kyle Drake
454e4162ce near lossless for screenshots 2023-04-28 15:21:43 +00:00
Kyle Drake
28ed2718ba fix for screenshot worker test 2023-03-28 16:07:31 -05:00
Kyle Drake
f109b416a0 add domain index, check uri on screenshots, set workers to system cpu core count 2023-03-22 13:37:18 +00:00
Kyle Drake
520413140d switch to webp, use png for screenshot returns and be done with the accursed rmagick forever 2023-01-21 09:39:31 -06:00
Kyle Drake
3eb858bb6f fixes for new html redirects 2023-01-17 19:07:03 -06:00
Kyle Drake
5fb1af2a8c switch to faster screenshot resizer lib 2023-01-17 19:04:06 -06:00
Kyle Drake
0ca1473d22 mostly finished port to ruby3 2022-08-10 14:31:36 -05:00
Kyle Drake
a5af32d143 fix for if site is missing 2021-09-08 16:04:32 -05:00
Kyle Drake
c1705f0c52 Move user delete check to front of screenshot worker 2020-12-12 16:59:07 +00:00
Kyle Drake
1260a856d5 dont take screenshots for deleted sites 2020-12-12 16:43:51 +00:00
Kyle Drake
eb519d0bbf Array for screenshot worker, catch exceptions 2020-01-27 08:13:23 +00:00
Kyle Drake
6038517c24 bump up screenshot quality a bit 2017-05-05 16:12:00 -07:00
Kyle Drake
dc373ae021 remove unused requires in workers 2017-03-29 12:57:14 -07:00
Kyle Drake
54422802e5 Switch to directory sharding model for site storage 2017-03-22 17:45:01 -07:00
Kyle Drake
395ae6b4f9 screenshot_worker: fixes weird chmod permissions error with mount 2017-03-02 04:24:40 +00:00
Kyle Drake
e821410d84 optimize screenshots and thumbnails, slight thumbnail quality reduction 2016-12-29 17:09:01 -06:00
Kyle Drake
b2377051dc Dedupe before taking screenshots 2016-12-12 06:33:40 +00:00
Kyle Drake
fc1afb558a try new webdav, use remote service for initial site screenshots 2016-12-10 19:43:26 -06:00
Kyle Drake
80b3f6b0be Use http.rb to ensure timeout enforcement for cache purging, disable crashing flag for now 2016-10-23 12:53:47 -05:00
Kyle Drake
7c4ffcb413 ScreenshotWorker: garbage collection improvements 2016-08-18 00:14:32 -07:00
Kyle Drake
3ef075b24b Better tuning for screenshots 2016-01-15 20:16:46 -08:00
Kyle Drake
df917f3791 new image screenshot system for #194 2015-11-15 03:22:13 -08:00
Kyle Drake
1b6e12a831 revert to old catcher for phantomjs for now 2015-09-02 17:23:51 -07:00
Kyle Drake
91640d87b6 update phantomjs and screencap 2015-07-20 15:41:45 -07:00
Kyle Drake
434deee366 Update rmagick (and add io/extra for geoip) 2015-04-29 13:37:21 -07:00
Kyle Drake
81fa54cb53 screenshot worker bugfix 2014-12-21 08:19:19 +00:00
Kyle Drake
1d200a886e richer news feed, change screenshots/thumbnails to use retina quality 2014-09-17 20:13:14 -07:00
Kyle Drake
50c1f67bdf patch a few missing tests, deprecate server model, fix a few bugs 2014-09-12 19:09:58 -07:00
Kyle Drake
fbf78f04d6 fixes for screenshot worker 2014-08-20 13:48:20 -07:00
Kyle Drake
0aca6b3328 fixes for thumbnail worker 2014-08-19 18:06:35 -07:00
Kyle Drake
0a636b2397 code to delete thumbnails and screenshots 2014-04-21 18:30:25 -07:00
Kyle Drake
869b284425 image thumbnails, catch crashy sites with screenshots 2014-04-21 16:47:43 -07:00
Kyle Drake
b488cf4347 refactor screenshots to work for all pages 2014-04-20 19:04:41 -07:00
Kyle Drake
c9332ad648 enable JS for screenshots 2014-04-13 11:10:26 -07:00
Kyle Drake
4fa83fd0da fix nsfw, more retries 2013-07-15 06:45:30 +02:00
Kyle Drake
98fcadd170 resize for new sizes 2013-07-14 03:10:41 -04:00
Kyle Drake
93f7918340 fix password reset, fix ip blocker, turn off js for now 2013-07-12 07:04:01 +02:00
Kyle Drake
82195a9cb8 10 second timeout, one retry 2013-07-12 05:55:12 +02:00
Kyle Drake
72947b6606 Fix worker load 2013-07-12 04:59:35 +02:00
Kyle Drake
93ede044d9 queue, retry, config 2013-07-11 21:10:11 -04:00
Kyle Drake
91b4d8aa14 sidekiq for processing 2013-07-11 21:06:38 -04:00
Renamed from jobs/screenshot_job.rb (Browse further)