* Fix the application icon on KDE Plasma Wayland
This fixes the application icon on KDE Plasma Wayland (tested on Plasma
6) and possibly other Wayland compositors too.
The desktop filename was chosen because this is the identifier that the
Hydrus Flatpak application uses.
Distribution packagers should make sure that this name matches with the
desktop file that they install (for example, Gentoo installs a
/usr/share/applications/hydrus-client-hydrus.desktop file).
It is strongly suggested that distributions install their Hydrus
.desktop file at
/usr/share/applications/io.github.hydrusnetwork.hydrus.desktop to avoid
needing to apply extra patches, etc.
* Rename .desktop file and update setup_desktop.sh
* Update icons for MS Office filetypes
* Remove unused old PDF word count code
* Add more strict office file detection
* Remove old HydrusDocumentHandling import
* Add word count for docx and pptx and thumbnails for pptx
* Update filetypes doc
* Update filetype docs with pptx dpi
* Remove prints and clean up formatting
* Center default thumbnails inside target resolution
* 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
* 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
* 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>
* 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
* 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