Commit graph

117 commits

Author SHA1 Message Date
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
Antoine Gersant
61e4f6c7d2 Scaffholding for serving thumbnails 2016-10-23 12:07:37 -07:00
Antoine Gersant
54842db349 Windows release process now creates .msi installer 2016-09-25 15:16:30 -07:00
Antoine Gersant
07cb6cf648 Config file can now be specified from command line 2016-09-23 01:39:55 -07:00
Antoine Gersant
0f2327ca4e Moved auth secret from env to config file 2016-09-23 00:52:17 -07:00
Antoine Gersant
3923229834 Added DDNS broadcasting 2016-09-23 00:41:49 -07:00
Antoine Gersant
aadbe34fd4 Moved config to a separate module 2016-09-22 23:48:27 -07:00
Antoine Gersant
e631138562 Shut down server when quitting 2016-09-21 23:44:41 -07:00
Antoine Gersant
a4f118d9e6 Setup Windows UI with inert notification icon 2016-09-17 03:05:31 -07:00
Antoine Gersant
d9d17929f8 Revert "Added build status to readme"
This reverts commit 33817aa12f.
2016-09-14 23:46:10 -07:00