Commit graph

52 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
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
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
847d61f62b
One click release (#113)
* Make release from Github UI
2020-12-13 19:24:06 -08:00
Antoine Gersant
55a4f64b3a
Bundle SQLite (#109) 2020-12-08 00:14:16 -08:00
Antoine Gersant
33121bc0a3
Pin rust toolchain version (#108) 2020-12-07 22:08:37 -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
e0d1f396a8 Removed support for prefix_url 2020-11-25 17:49:18 -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
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
8e55d31eb0
Cleaned up README (#93)
* Cleaned up README

* Removed setup screenshot
2020-08-27 01:39:50 -07:00
Antoine Gersant
d7c66c3745 Automatically redirect /swagger to /swagger/ 2020-05-30 16:34:06 -07:00
Antoine Gersant
6e3f439d8a Made thumbnail padding optional 2020-02-02 15:11:43 -08:00
Antoine Gersant
eca4f68834 Replaced /api/auth response with cookies 2020-01-12 17:01:30 -08:00
Antoine Gersant
59366c6b03 Added preference fields for web theme 2020-01-11 01:58:22 -08:00
Antoine Gersant
2de5b34a48 Auto-format 2020-01-11 01:56:44 -08:00
Antoine Gersant
90fe1629eb Cleaned up static file serving 2019-09-28 00:48:04 -07:00
Antoine Gersant
01af2ee742 Formatting 2019-09-28 00:14:48 -07:00
Antoine Gersant
c3b75e6058 revert previous change 2019-04-08 19:45:41 -07:00
Antoine Gersant
eb605ab882 Testing root URL 2019-04-08 19:40:34 -07:00
Antoine Gersant
95d4942522 relative paths for swagger dependencies 2019-04-07 19:01:02 -07:00
Antoine Gersant
f2509cf02f Updated file paths 2019-04-07 18:10:34 -07:00
Antoine Gersant
9d03f95d5f Updated links to swagger in docs 2019-04-07 18:07:14 -07:00
Antoine Gersant
fce30f9c58 Renamed docs\api to docs\swagger 2019-04-07 18:06:44 -07:00
Antoine Gersant
c9683401f2 Added server prefix 2019-04-07 18:06:07 -07:00
Antoine Gersant
2d9ecb18b4 Formatting 2019-04-07 17:50:31 -07:00
Antoine Gersant
0fd436db2a Formatting 2019-04-07 17:49:28 -07:00
Antoine Gersant
bc39111a4b Updated page title 2019-04-07 17:48:07 -07:00
Antoine Gersant
1f1bf80176 Added title and logo to docs page 2019-04-07 17:47:27 -07:00
Antoine Gersant
cec69f5834 Set theme jekyll-theme-minimal 2019-04-07 17:43:23 -07:00
Antoine Gersant
c12f4f35e3 Changed documentation landing page format 2019-04-07 17:40:48 -07:00
Antoine Gersant
e5436bcb7b Added documentation index 2019-04-07 17:38:31 -07:00
Antoine Gersant
4f5e58dce7 Documented last.fm endpoints 2019-04-07 17:32:55 -07:00
Antoine Gersant
96a6504aa3 Fixed linked to API spec 2019-04-07 17:07:12 -07:00
Antoine Gersant
caf275330e Added playlist endpoints 2019-04-07 17:04:33 -07:00
Antoine Gersant
56ded64da6 Added /serve endpoint 2019-04-07 16:50:58 -07:00
Antoine Gersant
e4ddcfe831 Added search endpoint 2019-04-07 16:45:02 -07:00
Antoine Gersant
f94276513b Removed swagger example data 2019-04-07 16:27:59 -07:00
Antoine Gersant
d7d53fb264 Documented flatten, random and recent endpoints 2019-04-07 16:25:49 -07:00
Antoine Gersant
35bb77e7a3 Examples in schema objects 2019-04-07 16:22:40 -07:00
Antoine Gersant
357d7b27e8 Added preferences and browse endpoints 2019-04-07 16:08:19 -07:00
Antoine Gersant
50cc373b69 Documented auth endpoint 2019-04-07 14:46:01 -07:00
Antoine Gersant
2be0fc90c0 Documented a few endpoints 2019-04-06 18:59:53 -07:00