Antoine Gersant
1e9d307a05
Error cleanup
2022-11-21 16:06:18 -08:00
Antoine Gersant
4ec8f2161b
Error cleanup
2022-11-21 16:00:22 -08:00
Antoine Gersant
f609afc5ed
Structured errors continued
2022-11-21 15:33:50 -08:00
Antoine Gersant
9f0bc06dac
Bump API version
2022-11-17 22:31:19 -08:00
Antoine Gersant
d1cb328523
Migrated changelog to a plain text file
2022-11-14 20:57:23 -08:00
Antoine Gersant
33997fc8e1
Trigger demo deployment on release
2022-11-14 02:06:56 -08:00
Antoine Gersant
602c1c03b5
Added demo to readme
2022-11-14 00:46:14 -08:00
Antoine Gersant
f3abb816ff
Fixed a bug where all music sources would be deleted when trying to add sources with duplicate names
2022-11-12 14:07:01 -08:00
Antoine Gersant
96d702b79e
Improve build times
2022-11-10 01:56:46 -08:00
Antoine Gersant
223894c2b6
Merge branch 'master' of https://github.com/agersant/polaris
2022-11-09 01:23:32 -08:00
Antoine Gersant
bb8d1142d6
Defined a few unspecified errors
2022-11-09 01:23:23 -08:00
Antoine Gersant
822f3ed073
Merged trivial modules
2022-11-09 00:39:48 -08:00
Antoine Gersant
2873f38e04
Merged trivial modules
2022-11-09 00:33:57 -08:00
Antoine Gersant
388901cf65
Moved manager.rs file contents to parent modules
2022-11-09 00:14:52 -08:00
Antoine Gersant
df0de19567
Renamed mod.s rs files
2022-11-08 23:53:02 -08:00
Tobias Schmitz
29ae862aad
Update dependencies ( #176 )
...
* update dependencies
* Upgrade rust edition to 2021
* make actix-test a dev-dependency
2022-11-08 19:54:24 -08:00
Antoine Gersant
a5f5a77100
Linter suggestions
2022-11-08 02:04:54 -08:00
Antoine Gersant
63e971059a
Removed deprecated authentication methods
2022-11-08 02:01:20 -08:00
Antoine Gersant
d41e837561
Linter suggestions
2022-11-08 01:21:26 -08:00
Tobias Schmitz
f5a2eed423
Migrate to diesel 2.0 ( #174 )
2022-08-30 11:47:16 -07:00
Tobias Schmitz
41a4b21327
Fix clippy warnings ( #175 )
2022-08-29 21:17:03 -07:00
Tobias Schmitz
374d0ca56f
Migrate to actix-web 4 ( #171 )
...
* Migrate to actix-web 4
* Change expected swagger test status code
* update tokio to 1.0
* fix clippy warnings
2022-04-24 13:55:38 -07:00
Tobias Schmitz
90fd6bbcc9
Update dependencies ( #166 )
2022-03-20 19:50:14 -07:00
Antoine Gersant
39c8cf7595
Thumbnail and audio endpoints no longer encode payloads
2021-11-28 20:13:54 -08:00
Antoine Gersant
f27bc4ccfc
Added TODO
2021-11-27 16:45:25 -08:00
Antoine Gersant
818dfe877c
Update codecov github action
2021-11-14 14:17:36 -08:00
Antoine Gersant
b6e9940c76
Updated id3 dependency
2021-11-10 19:47:45 -08:00
pmphfm
e2bf97db99
Code cleanup ( #148 )
...
Fixed all most all clippy warnings.
Test: cargo test && cargo clippy
2021-10-19 19:31:17 -07:00
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
pmphfm
f104355076
Add few more fields to song information ( #141 )
...
* [meta] Add ignore paths to vscode settings
* [feature] Add few more fields to song information
Fields include lyricist, composer, genre, category
and label.
2021-05-20 22:08:43 -07:00
Antoine Gersant
4c25195deb
Updated list of supported formats
2021-04-27 21:43:28 -07:00
gahag
ed581c57cf
Add support for AIFF files ( #137 )
...
The new patch in rust-id3 fixes the AIFF API, which is now used to support AIFF files.
2021-04-24 22:05:52 -07:00
gahag
652772ba0e
Implement support for Wave files ( #135 )
...
* Implement support for Wave files
Metadata extraction for such format is supported by the latest version of rust-id3, which
has been updated in this commit. The code has been updated to handle such files and call
the new APIs.
* Code review
2021-04-19 21:49:23 -07:00
David Futcher
6c27409ef2
Bump rustfm-scrobble dependency to v1.1.1 ( #129 )
2021-01-13 19:39:58 -08:00
Antoine Gersant
7a73ae7cc0
Don't emit log file when running in foreground (-f on Linux, polaris-cli.exe on Windows) and --log is not set
2021-01-02 16:03:51 -08:00
Antoine Gersant
2f71cf2db7
Checkout release branch when making a release
2020-12-30 22:56:26 -08: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
7edcc38483
Test setup improvements ( #125 )
...
* More descriptive test names
* Test writing tools
* Migrate to new test tooling
* Adds test for collection cleaner
2020-12-29 20:05:04 -08:00
Antoine Gersant
7bc8e142c3
Fixed a bug where missing content was not removed from database
2020-12-29 16:14:02 -08:00
Antoine Gersant
487d261843
Removed unecessary dependency
2020-12-27 16:39:48 -08:00
Antoine Gersant
ea7edea79b
Workaround for broken install paths on Windows
2020-12-27 00:10:57 -08:00
Antoine Gersant
5ec2ae3f7a
Merge branch 'master' of https://github.com/agersant/polaris
2020-12-26 23:23:34 -08:00
Antoine Gersant
cab03f2538
Tentative fix for Windows installer not working
2020-12-26 23:23:10 -08:00
Antoine Gersant
1d57691e8b
Thumbnail fixes ( #121 )
...
* Use dedicated thumbnail generation algorithm
* Fixed a bug where some images could not be encoded to JPG due to unsupported pixel formats
2020-12-20 03:27:20 -08:00
Antoine Gersant
72c8ed9289
Support for bearer token authentication ( #120 )
...
* User manager can create and recognize auth tokens
* Implement HTTP bearer auth
* Use bearer auth in test-harness
* Can receive auth token via query parameter (useful for media endpoints)
2020-12-20 03:25:45 -08:00
Antoine Gersant
5e065c5e6a
Split configuration module ( #117 )
2020-12-18 01:14:24 -08:00
Antoine Gersant
e5c1d86577
Last FM unlink now correctly unsets credentials. Missing credentials no longer 401
2020-12-17 19:14:05 -08:00
Antoine Gersant
d4c78a0a31
Fixed a bug where only swagger index could be accessed without trailing slash
2020-12-15 21:12:00 -08:00
Antoine Gersant
ec39e696bb
Fixed test on linux
2020-12-15 02:19:49 -08:00
Antoine Gersant
5b2d0a2216
Cosmetic change
2020-12-15 01:48:14 -08:00