Commit Graph

962 Commits

Author SHA1 Message Date
Hydrus Network Developer 7d63c5d90c
PDF non-PySide6 fixes 2023-09-06 15:10:46 -05:00
Hydrus Network Developer 45f0968f17
Version 542 2023-09-06 14:49:46 -05:00
Hydrus Network Developer 54c2cd34e8
Some env stuff 2023-09-05 15:01:54 -05:00
Paul Friederichsen 8360fcc527
Add thumbnails for PDFs (#1421)
* Add thumbnails for PDFs

* Update HydrusPDFHandling.py

* Handle password protected and otherwise unsupported PDFs

* Fix DPI calculation

* Use new exception for encrypted PDFs

* Formatting

* Update filetype docs

* Add notes about PDF handling to filetypes doc

* Handle scale to fill thumbnails for PDFs, ROUND THE RESOLUTION
2023-09-02 14:36:17 -05:00
Hydrus Network Developer 368309645f
Handling previously damaged databases 2023-08-30 16:00:53 -05:00
Hydrus Network Developer 5826eb2720
I'm winning Dad 2023-08-30 13:48:35 -05:00
Paul Friederichsen 84d7e72d38
Docs update: new filetype list, search on local help, other corrections (#1430)
* Fix typo in running from source

* Add new page listing filetypes

* Add a return

* Enable searching docs when offline

* Add last updated date to docs pages and edit buttons when hosted

* Add mkdocs-git-revision-date-localized-plugin plugin to gh actions

* Correction

* Update publish_docs gh actions

* Exclude index.md from last update dates

* flv files are actually viewable in hydrus

* Add note about how Hydrus determines filetypes
2023-08-30 11:28:38 -05:00
Paul Friederichsen 3125a04518
Improve handling of weird PSDs and log psd-tool errors (#1429)
Hydrus now always uses the PSD resolution fallback when psd-tools fails to open a PSD instead of just when psd-tools isn't available. Also when the fallback is used for either PSD resolution or PSD thumbnail generation it is logged.
2023-08-30 11:27:55 -05:00
Hydrus Network Developer e47a007a01
Version 541 2023-08-30 11:25:24 -05:00
Paul Friederichsen 785e37345f
Add support for procreate file format (#1425)
* Add function to get zip as Path and use it to avoid temp file for krita

* Add support for procreate format
2023-08-26 14:05:45 -05:00
Paul Friederichsen a46d6f1790
Add QOI format support (#1426)
* Add QOI format support

* Bump required Pillow version to 9.5.0
2023-08-26 13:59:54 -05:00
Paul Friederichsen e6ecd1f6fc
Add basic `/add_tags/get_siblings_and_parents` api endpoint (#1428)
* Add basic /add_tags/get_siblings_and_parents api endpoint

* Remove prints

* Remove unneeded job_key from sibling and parents api
2023-08-26 13:56:28 -05:00
Hydrus Network Developer 6793dbdb1b
Merge pull request #1427 from Zweibach/updating-docs
Updating docs
2023-08-26 13:06:32 -05:00
Zweibach 7d77973038 I deleted the paragraph this belonged to since it was part of the bit that claimed parents were actually added. 2023-08-25 19:15:59 +02:00
Zweibach 25fc9a1317 New sibling and parent examples. 2023-08-25 19:15:12 +02:00
Zweibach 80a7ad2c89 New rating examples. Sure has changed a lot. 2023-08-25 19:14:48 +02:00
Zweibach a9d4478da7 New manage and search examples. 2023-08-25 19:14:16 +02:00
Zweibach a2bf7f778d Apparently some people get scared when the example on the page doesn't perfectly match what's in the client? 2023-08-25 19:13:50 +02:00
Zweibach 956af6bc8f Dupe merge now has more options than when the previus example was made. 2023-08-25 19:13:10 +02:00
Zweibach 942496b26e I'm sure there's something out there whackier than Pokemon to dethrone it. 2023-08-25 19:12:44 +02:00
Zweibach 42873ecb20 THe new import options dialogue. 2023-08-25 19:12:13 +02:00
Zweibach 62ba265305 These just use import options now. 2023-08-25 19:11:29 +02:00
Zweibach da65a81177 Manage tags dialogue has changed a fair deal since the Sororitas examples were made. First thing that came to mind when fixing up stuff was Genshin Impact on safebooru so the new examples are mostly that. 2023-08-25 19:10:21 +02:00
Zweibach 02815837ff Updated directions for rating services. 2023-08-25 19:09:15 +02:00
Zweibach d5f149179c Couldn't be bothered getting a more updated image and the text serves to explain well enough in my opinion. 2023-08-25 19:08:22 +02:00
Zweibach 577f5aea35 File and tag import are now one window together with notes. 2023-08-25 19:07:42 +02:00
Zweibach e135b746aa Updated directions. Removed the GoT examples since IIRC dev was unhappy with them. Whackier example for parent hell. 2023-08-25 19:06:24 +02:00
Hydrus Network Developer f16ba5fd67
Version 540 2023-08-23 15:43:26 -05:00
Hydrus Network Developer 23ac2f5967
fixing requirements.txt
Whoops!
2023-08-16 16:36:55 -05:00
Hydrus Network Developer ebb0fe66c1
Version 539 2023-08-16 15:46:51 -05:00
Hydrus Network Developer c2aa7576e5
Merge pull request #1407 from floogulinc/psd
Use psd-tools for PSD handling and allow viewing full size previews of PSDs
2023-08-12 15:11:50 -05:00
Hydrus Network Developer d3f582f784
Fixing QtSVG import error on server again
This bug crept in again, apologies.
2023-08-12 12:44:40 -05:00
Paul Friederichsen b12a77e3a4 Change some imports 2023-08-12 08:36:21 -05:00
Paul Friederichsen 40caf5f3fe Replace PILImage.ANTIALIAS with PILImage.LANCZOS
ANTIALIAS  was removed in Pillow 10
2023-08-11 21:58:36 -05:00
Paul Friederichsen 44ed146c8f When an image can't be rendered return empty set for phash 2023-08-11 21:57:58 -05:00
Paul Friederichsen cd4053fe57 Merge branch 'master' into psd 2023-08-11 21:32:28 -05:00
Hydrus Network Developer 6efda30e6b
Version 538
closes #1419, closes #1413
2023-08-09 16:12:17 -05:00
Hydrus Network Developer eb2825e69b
Quick hack to get things booting without
Will make better later
2023-08-05 15:00:29 -05:00
Hydrus Network Developer bbf11753ec
Merge pull request #1418 from floogulinc/heif
Add support for HEIF, HEIC, and AVIF files
2023-08-05 14:55:18 -05:00
Hydrus Network Developer ac53ea4edf
Merge pull request #1410 from Minnowo/online_docs
fixed issue #1360
2023-08-05 12:36:05 -05:00
Paul Friederichsen fefad65b42 Merge branch 'master' into psd 2023-08-02 16:56:35 -05:00
Paul Friederichsen 22aa6ebe3b Merge branch 'master' into heif 2023-08-02 16:50:10 -05:00
Hydrus Network Developer 812a82eea6
Version 537
closes #1414
2023-08-02 16:11:08 -05:00
Paul Friederichsen be7840074f Fix EXIF handling for tiff, heif, heic, and avif files 2023-08-02 08:29:18 -05:00
Paul Friederichsen 33db84c4d8 Bump Pillow 2023-08-02 08:28:45 -05:00
Paul Friederichsen c8065bb91e Add pillow-heif to all requirements.txt files and bump Pillow version 2023-08-02 08:28:35 -05:00
Paul Friederichsen bafe92ccc0 Fix file extensions 2023-08-02 07:32:07 -05:00
Paul Friederichsen bae4da5289 Add pillow-heif to requirements.txt 2023-08-02 07:20:50 -05:00
Paul Friederichsen d307b6c015 Use ffmpeg for metadata and thumbnails for HEIC and HEIF sequences
PIL could give us thumbs for HEIF and HEIC sequences but since we are using ffmpeg for their metadata, using ffmpeg for their thumbs will be more consistent.
2023-08-02 06:57:31 -05:00
Paul Friederichsen 537e902813 Use FFMPEG for AVIF sequences 2023-08-02 05:42:41 -05:00