Commit Graph

217 Commits

Author SHA1 Message Date
Hydrus Network Developer d40e2ecf12
Fixed permissions on images and scripts (#1504)
* Trying to fix some permissions

* help computer

* fingers crossed
2024-01-08 17:04:57 -06:00
Hydrus Network Developer 32e63d67e3
Merge branch 'pr/1497' into develop 2024-01-07 14:54:13 -06:00
Hydrus Network Developer 61d495326f
Version 557 2024-01-03 15:21:53 -06:00
Paul Friederichsen f46a22c855
Add ugoira and cbz to filetypes doc and note about force filetype (#1496) 2024-01-01 15:24:34 -06:00
Paul Friederichsen ba4c3d79ec Add RTF support to docs 2023-12-22 18:21:02 -06:00
Hydrus Network Developer 9ee23132b8
Version 556 2023-12-13 16:29:24 -06:00
Hydrus Network Developer c9accf5147
Version 555
GET
2023-12-06 16:13:50 -06:00
Hydrus Network Developer efdfef4637
Version 554 2023-11-29 16:27:53 -06:00
Paul Friederichsen d6ddfff80c
Add API for getting and interacting with popup notifications (#1474)
* Work on popups API

* Add basic ability to dismiss popups with the API

* Add canceling and calling the user callable func for notifications API

* Use better method to dismiss popups

* Update for Hydrus v552

* Add the ability to add and update basic popups with the API

* Add 'seconds' parameter to dismiss and cancel popup API

* Add finish popup endpoint

* Allow setting cancellable and pausable for popups

* Fixes for popup api

* Finish add/update popups api

* Various cleanup

* Small fixes

* attached_files_mergable fix

* Add only_in_view query param to get_popups

* Minor popup api changes

* Tweak some field names for job statuses

* Add docs for the popups api

* Docs spacing

* Add manage popups permission to api docs

* Add under construction warning to popup api docs

* Small fixes
2023-11-25 14:09:06 -06:00
Hydrus Network Developer dcdb294e03
Version 553 2023-11-22 16:29:14 -06:00
Hydrus Network Developer 68e36a15d9
Changelog update 2023-11-15 17:03:27 -06:00
Hydrus Network Developer 1a8a9309ef
Version 552 2023-11-15 16:40:54 -06:00
Hydrus Network Developer 118680fb95
Docker PySide6 revert
Fingers uncrossed
2023-11-08 16:05:28 -06:00
Hydrus Network Developer 75775a2e4d
Version 551 2023-11-08 15:42:59 -06:00
Paul Friederichsen 919c0ecacf
Add API endpoint for getting client options (#1460)
* Add API endpoint for getting client options

* Add "simple" options endpoint

* Remove simple options endpoint

* Move get_client_options to manage_database

* Add docs for get_client_options api
2023-11-04 15:06:09 -05:00
Paul Friederichsen d3c8023242
Add generate_hashes API endpoint (#1467)
* Add generate_hashes API endpoint

It allows generating phash, pixel hash, and sha256 file hash for files not yet in hydrus

* At least give the sha256 hash of any file

* Tweak how temp_file_info is used

* Add check to ensure path is a file

* Add same isfile check to add_file

* Add docs for generate_hashes api

* Restore original handling of temp_file_info so temp file cleanup happens
2023-11-04 13:30:02 -05:00
Hydrus Network Developer 1f9b4ba892
Version 550
closes #1444, closes #1447, closes #1458
2023-11-01 16:38:03 -05:00
Hydrus Network Developer 18b9d0051f
Version 549 2023-10-25 16:23:53 -05:00
Hydrus Network Developer fc0127f0d7
Version 548
closes #1320, closes #1328
2023-10-18 15:31:50 -05:00
Valerii Malov 408ac2aaa5
Krita full preview support (#1454)
* Krita full preview support

Mark krita files as viewable
Use same data that's used for thumbnails to generate full preview

* Parse maindoc.xml instead of doing regex magic

This should fix getting dimensions wrong for some files

* Use direct PIL image loading for Krita thumbs

* Remove unused HydrusArchiveHandling.ReadSingleFileFromZip

* Update Krita in filetype docs

---------

Co-authored-by: Paul Friederichsen <floogulinc@gmail.com>
Co-authored-by: Hydrus Network Developer <hydrus.admin@gmail.com>
2023-10-14 14:29:49 -05:00
Paul Friederichsen 882eaa2147 Add epub and djvu to filetype docs 2023-10-11 19:38:46 -05:00
Hydrus Network Developer 766becf427
Version 547 2023-10-11 15:46:40 -05:00
Hydrus Network Developer 343e12a94d
Version 546
closes #1448
2023-10-04 15:51:17 -05:00
Hydrus Network Developer b4afedb617
Version 545
closes #394
2023-09-27 16:12:55 -05:00
Paul Friederichsen 850a8c452e
Add blurhash (#1443)
* Start on blurhash

* More blurhash db stuff

* Refactor GenerateThumbnailBytes to add GenerateThumbnailNumPy

* Add blurhash gen to import

* Add blurhashes to db

* Add blurhash to file metadata api

* Add API docs for blurhash

* Make sure we regen blurhash after thumb regen
2023-09-23 14:13:21 -05:00
Hydrus Network Developer 428372fb57
Version 544
closes #1435
2023-09-20 14:58:17 -05:00
Paul Friederichsen 2b549b84f9
Add /get_files/render API to render static images (#1437)
* Add /get_files/render API to render static images

* Cleanup and increase cache time for render

* Add docs for render endpoint
2023-09-16 15:21:22 -05:00
Hydrus Network Developer cc964e7369
Version 543 2023-09-13 13:26:31 -05:00
Hydrus Network Developer 45f0968f17
Version 542 2023-09-06 14:49:46 -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 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
Hydrus Network Developer e47a007a01
Version 541 2023-08-30 11:25:24 -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 ebb0fe66c1
Version 539 2023-08-16 15:46:51 -05:00
Hydrus Network Developer 6efda30e6b
Version 538
closes #1419, closes #1413
2023-08-09 16:12:17 -05:00