Commit graph

815 commits

Author SHA1 Message Date
Antoine Gersant
f80a42e666
Trailing slash tests (#105)
* Better test names

* Add tests for recent/random endpoints with trailing slash
2020-12-03 21:31:14 -08:00
Antoine Gersant
2eed57cc47 Added tests that auth cookie headers are not emitted in all requests 2020-12-03 01:33:32 -08:00
Antoine Gersant
e1934a8e92
Cleaned up startup code (#104) 2020-11-30 20:27:39 -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
1ffea255df Avoid unecessary copies 2020-11-26 19:30:42 -08:00
Antoine Gersant
875a52f1b2
Clarified uninstall instructions 2020-11-26 16:04:24 -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
0927f3815e Autoformat 2020-11-25 18:03:02 -08:00
Antoine Gersant
bcebaf499e Test cleanup 2020-11-25 18:02:57 -08:00
Antoine Gersant
e0d1f396a8 Removed support for prefix_url 2020-11-25 17:49:18 -08:00
Antoine Gersant
1c5a536277 Merge branch 'master' of https://github.com/agersant/polaris 2020-11-25 16:54:51 -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
Tobias Schmitz
4534a84c05
update mp4ameta dependency (#100) 2020-11-21 16:04:05 -08:00
Antoine Gersant
d78011e6bc Cleaned settings tests 2020-09-24 22:39:51 -07:00
Antoine Gersant
23a144761e Deserialize preferences 2020-09-24 22:16:24 -07:00
Antoine Gersant
7e46c6cd5a Added preferences API test 2020-09-24 22:14:40 -07:00
Antoine Gersant
42522ffc78 Codecov badge 2020-09-24 02:57:03 -07:00
Antoine Gersant
209813f25c Codecov settings 2020-09-24 01:51:29 -07:00
Antoine Gersant
a7ef7b2bd0 Added support for APE files 2020-09-24 01:46:29 -07:00
Antoine Gersant
cf67e44d20 Added API test for search without query 2020-09-24 00:07:55 -07:00
Antoine Gersant
ca8f046142 Thumbnails code cleanup 2020-09-23 22:20:27 -07:00
Antoine Gersant
8c32d7351c Updated mp4ameta dependency 2020-09-21 19:28:17 -07:00
Antoine Gersant
341a03574b added test coverage workflow 2020-09-21 02:59:45 -07:00
Antoine Gersant
d9bdea8745 Updated Linux release script to include new location of test inputs 2020-09-19 17:12:26 -07: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
00a1ca18cf
Fixed typos 2020-09-11 23:52:15 -07:00
Antoine Gersant
b7415e6304
Cosmetic change 2020-08-27 02:30:18 -07:00
Antoine Gersant
d8f38e88f0 Fixed dead link 2020-08-27 02:01:19 -07:00
Antoine Gersant
dcfd01c7a3 Sidestep github pages 2020-08-27 02:00:22 -07:00
Antoine Gersant
c91f5815d6 Restored headers 2020-08-27 01:56:06 -07:00
Antoine Gersant
1fa8bbc0ca Merge branch 'master' of https://github.com/agersant/polaris 2020-08-27 01:53:42 -07:00
Antoine Gersant
7901cb43bf Removed redundant headings 2020-08-27 01:53:30 -07:00
Antoine Gersant
04757fc20d
Theme swap 2020-08-27 01:50:09 -07:00
Antoine Gersant
cf6f30345c Fixed github pages links 2020-08-27 01:42:52 -07:00
Antoine Gersant
8e55d31eb0
Cleaned up README (#93)
* Cleaned up README

* Removed setup screenshot
2020-08-27 01:39:50 -07:00
Antoine Gersant
e65d57e24a Bundle test files in Linux release tarball 2020-08-15 19:30:41 -07:00
Antoine Gersant
66bef4d006
Clarity tweaks 2020-08-10 20:48:02 -07:00
Antoine Gersant
7cbf27fce0
Merge pull request #88 from zaethan/opus_integration
add support for opus files
2020-08-07 15:24:01 -07:00
Yannik Böttcher
8de736e563 properly export and use the match macro 2020-08-07 15:03:36 +02:00
Yannik Böttcher
943174bafa move match macro into utils module 2020-08-07 14:41:07 +02:00
Yannik Böttcher
1ff845d48e make case insensitivity mandatory for the tests to pass 2020-08-07 12:54:07 +02:00
Yannik Böttcher
9ee9786c0a include opus sample in test suite 2020-08-07 12:51:32 +02:00
Yannik Böttcher
6c4b4d3e20 order dependencies alphabetically 2020-08-07 12:45:43 +02:00
Yannik Böttcher
b2152cecc3 use match_ignore_case macro 2020-08-07 12:44:36 +02:00
Yannik Böttcher
86a935fd79 update all instances of key.to_str 2020-08-06 21:09:41 +02:00
zaethan
70c7463f6f
Update src/index/metadata.rs
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-08-06 19:07:49 +00:00
zaethan
14a6466c2d
Update src/index/metadata.rs
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-08-06 19:07:21 +00:00
Yannik Böttcher
db97dbea46 use eq_ignore_ascii_case instead of to_uppercase 2020-08-06 19:32:52 +02:00
Yannik Böttcher
60e8f3ec46 remove redundant to_str 2020-08-06 18:17:55 +02:00