Commit Graph

268 Commits

Author SHA1 Message Date
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 304830d547
Little logic fix
This needs more thought
2023-11-22 16:39:56 -06:00
Hydrus Network Developer dcdb294e03
Version 553 2023-11-22 16:29:14 -06:00
Hydrus Network Developer 1a8a9309ef
Version 552 2023-11-15 16:40:54 -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 9dc8aeb263
Add toggle in options to disable thumbnail fade in (#1470) 2023-11-04 13:34:36 -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 bd1348287d
v549 Faster Update 2023-10-25 16:32:20 -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
Alice Nyaa 26d1184a45
Added abort button on local import and url downloader pages (#1455)
* added abort button to the local import page

* added abort button to the url import page

* use RemoveFileSeedsByStatus instead of RemoveFileSeeds
2023-10-14 16:54:29 -05:00
Alice Nyaa f2292d17e0
fixed #1328, in what feels like a hacky way (#1456) 2023-10-14 16:42:30 -05:00
Alice Nyaa ad6ee2fd9b
Add call to expanduser for nocopy filestore path (#1457) 2023-10-14 14:40:59 -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
Hydrus Network Developer 766becf427
Version 547 2023-10-11 15:46:40 -05:00
Hydrus Network Developer 484e4f1c25
Merge branch 'master' into develop 2023-10-07 15:47:49 -05:00
Hydrus Network Developer 45ca3abd62
Fix pasting an image into system:similar to 2023-10-07 14:36:26 -05:00
Paul Friederichsen af135ece79
Add djvu file support (#1453)
* Reorganize header to mime stuff

* Fix changes to headers and mime stuff

* Add djvu file support

* Change function order in HydrusFileHandling

* Fix some spacing
2023-10-07 14:14:35 -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 c79355fcc5
Add support for EPUB files (#1439)
* Add support for EPUB files

Also generalize open document zip mime detection

* Fix exception handling in MimeFromOpenDocument
2023-09-23 14:21:26 -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 b5e011f223
Fix for Mr Bones API request 2023-09-13 15:38:31 -05:00
Hydrus Network Developer b840d0778c
Version 543 quick fix
Pumping the brakes on this call, which is dumping out regularly IRL
2023-09-13 14:05:57 -05:00
Hydrus Network Developer 5aaeecefd3
Quick bit of testing 2023-09-13 13:48:24 -05:00
Hydrus Network Developer cc964e7369
Version 543 2023-09-13 13:26:31 -05:00
Hydrus Network Developer f538a155d9
Little logspam fix
Fingers crossed it is just logspam
2023-09-06 17:13:54 -05:00
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
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 e47a007a01
Version 541 2023-08-30 11:25:24 -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 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
Paul Friederichsen b12a77e3a4 Change some imports 2023-08-12 08:36:21 -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 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
Hydrus Network Developer 812a82eea6
Version 537
closes #1414
2023-08-02 16:11:08 -05:00
Paul Friederichsen 81416c9cfc Merge branch 'master' into psd 2023-07-30 03:39:03 -05:00
Hydrus Network Developer 50e5482740
Version 536 2023-07-26 15:57:00 -05:00