Commit graph

176 commits

Author SHA1 Message Date
Antoine Gersant
e5b0ee02d7 Merge pull request #11 from jxs/master
add prefix_url to config options to allow polaris to run behind a reverse proxy
2017-10-07 19:58:39 -07:00
João Oliveira
a82af0f0b8 add prefix_url to config options to allow polaris to run behind a reverse proxy 2017-10-03 00:36:21 +01:00
Antoine Gersant
fec28ceb80 Removed unused import 2017-09-27 00:26:36 -07:00
Antoine Gersant
15d9e2f0b5 Added support for HTTP Range header 2017-09-23 16:46:12 -07:00
Antoine Gersant
70e2ea9d7b Fixed runtime error on windows (-f option not defined) 2017-09-21 22:35:53 -07:00
Antoine Gersant
85f0b77b2b Autoformat 2017-09-21 21:38:09 -07:00
João Oliveira
69feab3bcc allow polaris to run on a custom defined port 2017-09-21 12:36:18 +01:00
João Oliveira
36e85e82e5 - allow polaris to run in foreground
- add cli help message
2017-09-17 15:48:52 +01:00
Antoine Gersant
09b7eca2b5 Implemented playlist creation and deletion 2017-07-09 17:53:23 -07:00
Antoine Gersant
2dace6b3d4 Fixed a bug where default database location was incorrect 2017-07-08 16:36:59 -07:00
Antoine Gersant
2117d94649 Updated dependencies 2017-07-06 20:49:34 -07:00
Antoine Gersant
4b251dd953 Added API endpoint to trigger collection reindex 2017-07-04 17:16:32 -07:00
Antoine Gersant
f42e40b766 Added API endpoint to edit configuration 2017-07-01 18:04:52 -07:00
Antoine Gersant
89d746268e Moved config business out of DB struct 2017-07-01 13:43:13 -07:00
Antoine Gersant
f498956710 Less coupling between DB and Index 2017-07-01 13:30:31 -07:00
Antoine Gersant
11ff053b9d Moved index out of db module 2017-07-01 12:03:15 -07:00
Antoine Gersant
ac93ec5b02 Moved user structs out of db module 2017-07-01 11:52:41 -07:00
Antoine Gersant
143e1f6761 Removed unecessary index object 2017-07-01 11:07:36 -07:00
Antoine Gersant
e41a5273a8 Autoformat 2017-06-28 23:59:48 -07:00
Antoine Gersant
66f59da7b2 Moved resident configuration from .toml file to database 2017-06-28 23:37:48 -07:00
Antoine Gersant
723de5c479 Split indexing process from DB API 2017-06-25 19:51:54 -07:00
Antoine Gersant
2df90902fb Autoformat 2017-06-25 18:37:45 -07:00
Antoine Gersant
378c2015b8 Replaced hand-written SQL with diesel 2017-06-25 18:36:54 -07:00
Antoine Gersant
63f78efa3d Added CLI option for custom DB path 2017-06-24 23:26:37 -07:00
Antoine Gersant
942ac099c7 autoformat 2017-06-04 18:32:59 -07:00
Antoine Gersant
d0ce3630e3 Updated lewton dependency 2017-06-04 14:26:30 -07:00
Antoine Gersant
86e618d2a5 Removed the dependency on OpenSSL on Windows
- Replaced session handling by secure_session
- Required updating a bunch of dependencies
- Replaced Hyper Client usage in DDNS by Reqwest (which only uses OpenSSL on Linux)
2017-06-04 13:17:27 -07:00
Antoine Gersant
9fe0bfd046 No longer panic when there's an error while parsing options 2017-05-30 22:49:17 -07:00
Antoine Gersant
f638299665 Run as a daemon on Linux 2017-05-30 22:45:27 -07:00
Antoine Gersant
6084ad2703 Serve /web files from app data rather than relative path.
Also added CLI option to serve from custom path.
2017-05-29 18:28:05 -07:00
Antoine Gersant
f6ca5bace4 Autoformat 2017-05-29 12:01:07 -07:00
Antoine Gersant
42ca66e52a Replaced rustc-serialize by serde
API bump because CollectionFile objects look different (and nicer) in JSON now
2017-05-08 21:18:49 -07:00
Antoine Gersant
d073e02549 Applied rustfmt 2017-05-07 21:21:30 -07:00
Antoine Gersant
f9a27895b4 Formatting 2016-12-21 07:05:16 +01:00
Antoine Gersant
c02b971984 No longer panic on startup/shutdown errors 2016-12-03 12:33:30 -08:00
Antoine Gersant
ec8a8da81e Modernized error handling
- Use error-chain instead of writing tons of boilerplate
- Switched try!() macros to '?'
2016-12-03 12:08:55 -08:00
Antoine Gersant
85f4492b92 Applied rustfmt 2016-11-30 23:16:06 -08:00
Antoine Gersant
431852f1e0 Fixed config and cache files locations 2016-11-21 00:13:55 -08:00
Antoine Gersant
88318e5b4f Added support for Flac metadata 2016-11-16 17:27:53 -08:00
Antoine Gersant
c3e5e27f23 Moved metadata decoding to a separate module 2016-11-16 16:51:09 -08:00
Antoine Gersant
b5d9bca981 Added support for Ogg Vorbis 2016-11-16 16:34:36 -08:00
Antoine Gersant
05e646a640 Configurable re-index period 2016-11-13 22:08:04 -08:00
Antoine Gersant
2150241ae1 rustfmt 2016-11-13 16:49:45 -08:00
Antoine Gersant
f21e4e055f Added support for APE metadata 2016-11-13 16:45:12 -08:00
Antoine Gersant
61a0e59d9d Reverting accidental commit 2016-10-30 20:29:27 -07:00
Antoine Gersant
8ef60c81e9 Delete index content if no longer in VFS 2016-10-30 20:28:50 -07:00
Antoine Gersant
d56b4d365c Index songs and directories to DB 2016-10-29 18:31:37 -07:00
Antoine Gersant
ba196a8c25 Setup index DB, moved VFS out of Collection 2016-10-25 01:37:50 -07:00
Antoine Gersant
88a4142aa5 Removed unecessary locks 2016-10-23 15:34:12 -07:00
Antoine Gersant
7b3e0cfaef Generate album art thumbnails 2016-10-23 15:12:49 -07:00