Commit graph

158 commits

Author SHA1 Message Date
Antoine Gersant
1ebc0d9f44 Bump base64 version 2020-12-07 23:30:51 -08:00
Antoine Gersant
b709a8cd64 Bump anyhow version 2020-12-07 23:30:00 -08:00
Antoine Gersant
b678973ef0 Hand-picked subset of image features 2020-12-07 23:06:50 -08:00
Antoine Gersant
351f1b0768 Removed unused dependency 2020-12-07 22:51:36 -08:00
Antoine Gersant
f03d12de3e Removed unused dependency 2020-12-07 20:10:10 -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
847c26ddfe
Service unit tests improvements (#103)
- Simpler API for TestService
- More granular tests
- Tests for authentication requirements
- Better error handling (and HTTP response codes) for various bad inputs
2020-11-30 01:26:55 -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
Tobias Schmitz
bff49c22ec
Embedded artwork support (#101)
* Embedded artwork support for mp4 and id3 tags

* Embedded artwork support for flac tags.

* small fixes

* use first embedded artwork for directory

* added artwork tests

* updated Cargo.lock

* use first embedded artwork for missing artworks
2020-11-25 15:46:09 -08:00
Antoine Gersant
8c32d7351c Updated mp4ameta dependency 2020-09-21 19:28:17 -07:00
Yannik Böttcher
fee96e6b49 add support for opus files 2020-08-06 17:26:50 +02:00
Antoine Gersant
797e2e9526 Merge branch 'master' of https://github.com/agersant/polaris 2020-08-04 23:13:17 -07:00
Antoine Gersant
a2dc0ce37a Bumped version number 2020-08-04 23:13:06 -07:00
Laurențiu Nicola
6472349523 Bump deps 2020-07-24 10:13:40 +03:00
Laurențiu Nicola
dbb5f79371 Use more threads when populating index 2020-07-21 06:54:20 +03:00
Laurențiu Nicola
8035856fb6 Bump pear and pear_codegen 2020-07-20 16:30:13 +03:00
Ray
f0fc9e8fba bump mp4meta version for bugfix 2020-06-20 22:05:44 -04:00
Ray
7637037e3d add m4a support via mp4ameta crate 2020-06-16 08:06:40 -04:00
Ray
d8b1f0c002 Enable M4A format support
- Use https://github.com/Saecki/rust-mp4ameta for M4A metadata

Resolves https://github.com/agersant/polaris/issues/70
2020-06-13 20:58:43 -04:00
Antoine Gersant
eb2fd23281 Updated lock file 2020-06-01 00:02:23 -07:00
Antoine Gersant
99db3eda13 Updated transitive dependencies 2020-05-30 17:30:02 -07:00
Antoine Gersant
45f4369301 Bumped diesel dependency 2020-05-30 17:25:51 -07:00
Antoine Gersant
c3466ca248 Bumped simplelog dependency 2020-05-30 17:11:32 -07:00
Antoine Gersant
0c5bd28d56 Updated HTTP dependency 2020-05-30 17:07:25 -07:00
Antoine Gersant
21cf831f74 Updated image dependency 2020-05-30 17:05:41 -07:00
Antoine Gersant
7b12f8f294 More trivial dependency bumps 2020-05-30 16:59:59 -07:00
Antoine Gersant
29819b930a Trivial dependency updates 2020-05-30 16:56:20 -07:00
Antoine Gersant
371b0d0333 Updated cookie dependency to latest 2020-05-30 16:49:39 -07:00
Antoine Gersant
5e1aeb10fb Moved cookie to dev dependencies 2020-05-30 16:47:44 -07:00
Antoine Gersant
eb7c833de5 Bumped Rocket dependency to 0.4.5 2020-05-30 16:32:34 -07:00
Antoine Gersant
d005b86fb0 Lock file update 2020-05-30 15:54:38 -07:00
Antoine Gersant
1af2ba49be Bumped version number 2020-04-16 20:49:53 -07:00
Antoine Gersant
1825056f26 Merge branch 'master' of https://github.com/agersant/polaris 2020-04-16 20:48:04 -07:00
Antoine Gersant
b02d4da979 Bumped version number 2020-04-16 19:38:48 -07:00
Laurențiu Nicola
768ee1122c
Bump deps (#67) 2020-02-06 14:20:24 -08:00
Antoine Gersant
cea8906c3d Merge branch 'master' of https://github.com/agersant/polaris 2020-02-02 15:12:21 -08:00
Laurențiu Nicola
7428891bde
Drop function_name dependency (#66) 2020-02-02 00:58:30 -08:00
Antoine Gersant
b413125a46 Fixed powershell syntax 2020-02-01 19:59:04 -08:00
Antoine Gersant
f9f69cd55c Insert correct polaris version in windows installer 2020-02-01 19:42:20 -08:00
Antoine Gersant
7562bb306c Removed gitmodules 2020-02-01 19:32:29 -08:00
Antoine Gersant
312eb15a2b Use partial information from id3 tags that have encoding errors 2020-01-31 19:16:07 -08:00
Antoine Gersant
cdb1a5233e Updated dependencies 2020-01-22 21:45:11 -08:00
Antoine Gersant
23fc43cbf7 Update dependencies 2020-01-22 21:27:01 -08:00
Antoine Gersant
78c8ca8aa2 Unpin rustc nightly 2020-01-20 18:58:45 -08:00
Antoine Gersant
3a0fda972b Bump to latest mp3-duration 2020-01-19 18:17:49 -08:00
Antoine Gersant
f9a6d6b6d4 Parallelize work during the clean step 2020-01-18 17:39:13 -08:00
Antoine Gersant
9df21737fa Validate auth cookies 2020-01-17 22:02:17 -08:00
Antoine Gersant
7f7da0050b First half of serve request 2020-01-17 02:37:33 -08:00
Antoine Gersant
3c45150651 Use standard http responses as test service outputs 2020-01-17 01:44:12 -08:00
Antoine Gersant
ed66200689 Decoupled most tests from rocket 2020-01-17 01:17:23 -08:00