Commit graph

22 commits

Author SHA1 Message Date
Tobias Schmitz
d01583b406
add api parameter for thumbnail size (#144)
* add api parameter for thumbnail size

* make max_dimension optinal in case of native resolution

* add tests for thumbnail size

* fix typo

* fix thumbnail size tests

* make unwrap more explicit

* remove print statement

* update workflows

* reduce thumbnail variations

* add removed token

* Update coverage.yml

* fix typo

* hopefully prevent coverage timeout

- split up thumnail tests
- reduce threadcount used for test execution

* get thread count using github actions specific step

* use fixed thread count of 4

* run coverage tests in release mode

* ignore large and native thumbnail_size tests in coverage
2021-06-05 02:24:25 -07:00
Antoine Gersant
4ad8d922f7
Platform-specific improvements (#127)
* Use native-windows-gui crate to manage tray icon
Adds log file support on Windows

* Log file location now works like other paths

* Removed context builder

* Context --> App

* Removed mount URLs from App

* Switch to a nicer crate for forking daemon

* Handle errors from notify_ready

* Add application icon to all Windows Polaris executables, not just those created by the release script

* Add build.rs to release tarball

* Create PID file parent directory if necessary
2020-12-30 21:41:57 -08:00
Antoine Gersant
34e0538562
App features re-organization (#111) 2020-12-10 03:23:00 -08:00
Antoine Gersant
b6c446fa02
Rewrote indexer (#107)
* Update index without rayon

* Use crossbeam channels

* Use a single thread for DB insertions

* Better use of rayon in clean()

* Index rewrite

* Parallelize traverser

* Don't swallow send error

* Use Drop trait to flush Inserter work

* Configurable number of traverser threads

* Use channels to manage the work queue instead of Mutex

* Removed unusable profiling feature
2020-12-07 20:07:10 -08:00
Antoine Gersant
538b41a2b4
Use standard directories when running on Linux (#91)
* Use standard Linux directories for application data (https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)

* Use standard system directories

* Cleanup all Polaris files during uninstall

* Expose get_pid_directory to rest of the crate

* Add separate targets for install binary and data files, clean up makefile

* Use environment variables for directory locations during install process

* On Linux, read locations from environment variables at compile time

* Split static_directory in two (web and swagger directories)

* Follow recommendations from the Make manual

* Avoid redundant directories

* Added workflow to validate installer setup

* Added CLI options to locate log file, pid file and cache directory

* Fixed an issue where build command did not support the xdg/system switch

* Renamed log option to log-level

* Fixed an issue where xdg install would do a system build

* Use re-usable action to make linux release

* Avoid nested actions (see https://github.com/actions/runner/issues/646)

* Updated installation instructions

* Replaced deprecated use of set-env
2020-11-26 15:57:08 -08:00
Antoine Gersant
ef8246ecfb Cleanup 2020-09-19 17:10:00 -07:00
Antoine Gersant
cd63564c03 Separate test inputs from outputs 2020-09-19 16:58:19 -07:00
Antoine Gersant
86d61dd964 Updated test config ignore 2020-02-01 20:38:33 -08:00
Antoine Gersant
45aa6ff0be Ignore flame graph 2019-09-02 15:15:03 -07:00
Antoine Gersant
66f59da7b2 Moved resident configuration from .toml file to database 2017-06-28 23:37:48 -07:00
Antoine Gersant
378c2015b8 Replaced hand-written SQL with diesel 2017-06-25 18:36:54 -07:00
Antoine Gersant
8d745e8416 Removed Windows Open SSL remains 2017-06-04 13:32:22 -07:00
Antoine Gersant
6e4e2f9065 Added Linux test config file 2017-05-30 22:35:43 -07:00
Antoine Gersant
617645e4f4 Added DLLs that are part of the release script 2017-05-28 18:05:01 -07:00
Antoine Gersant
c47ae7899f Ignore more SQLite files 2016-10-30 17:19:00 -07:00
Antoine Gersant
d56b4d365c Index songs and directories to DB 2016-10-29 18:31:37 -07:00
Antoine Gersant
7b3e0cfaef Generate album art thumbnails 2016-10-23 15:12:49 -07:00
Antoine Gersant
07cb6cf648 Config file can now be specified from command line 2016-09-23 01:39:55 -07:00
Antoine Gersant
a4f118d9e6 Setup Windows UI with inert notification icon 2016-09-17 03:05:31 -07:00
Antoine Gersant
28bf09b812 Ignore release folder, got rid of samplemusic 2016-09-17 02:04:05 -07:00
Antoine Gersant
3389406a10 Ignore DLL files 2016-09-14 22:53:19 -07:00
Antoine Gersant
749ec12c24 Hello world 2016-08-14 01:30:40 -07:00