Commit Graph

283 Commits

Author SHA1 Message Date
Paul Friederichsen 518376ef2b
Improvements for Hydrus on macOS (#1521)
* New macOS icon

* Add .DS_Store to .gitignore

* Attempt to use global menu bar

* Use Qt palette colors for some things in default qss

* Better handling of native menu bar

* Explicitly set menu bar roles for macOS

* Enable system tray for macOS

* Change CFBundleName to Hydrus

* Bump pyoxidizer version and use python 3.10 for macOS build

* Fix minimize to system tray option text

* Use square hydrus SVG for help menu

* Default do_macos_debug_dialog_menus to False

* Remove commented code for menu roles
2024-02-17 14:25:39 -06:00
Hydrus Network Developer 6ace03f784
Version 562
closes #1520, closes #1518
2024-02-14 15:20:24 -06:00
Hydrus Network Developer 09daba5aec
Version 561
closes #1514
2024-02-07 15:22:05 -06:00
Hydrus Network Developer 380b0fd520
Fixing typo bug 2024-02-03 13:08:24 -06:00
Hydrus Network Developer 699451b17d
Version 560 2024-01-31 15:20:50 -06:00
Hydrus Network Developer fa64d3dd9e
Version 559 2024-01-17 12:57:00 -06:00
Hydrus Network Developer 1ce383512d
Version 558 2024-01-10 15:27:29 -06:00
Alice Nyaa 7ad2cd4936
Added ctrl+p/n to act as up/down arrow in listbox (#1503) 2024-01-07 15:08:10 -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 1356fece10 Add support for RTF files 2023-12-22 18:19:38 -06:00
Hydrus Network Developer a825fce02e
Revert "Better handling of redirects (#1493)"
This reverts commit 5fee29dbd7.
2023-12-18 16:53:45 -06:00
Hydrus Network Developer 5fee29dbd7
Better handling of redirects (#1493)
Flatten the logic a bit

Co-authored-by: Paul Friederichsen <floogulinc@gmail.com>
2023-12-16 13:16:06 -06:00
Hydrus Network Developer 2774d8b8c8
Little logical fix 2023-12-13 17:50:33 -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 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