Commit graph

36 commits

Author SHA1 Message Date
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
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
8e64f6baaf Bumped API version number 2017-05-07 23:58:38 -07:00
Antoine Gersant
5781d4cbe5 Added support for fetching recently added albums 2017-05-07 23:32:37 -07:00
Antoine Gersant
d073e02549 Applied rustfmt 2017-05-07 21:21:30 -07:00
Antoine Gersant
56bb1d4e23 Added support for http Authorization header 2017-05-06 20:22:10 -07:00
Danny Angelo Carminati Grein
b348be4e10 Fix commented issues. 2017-01-25 21:15:35 -05:00
Danny Angelo Carminati Grein
f04e1bc4d7 Fix broken player if mounted path had a trailing slash. The query on
browse_songs wasn't returning any results as in the database they were
save without the trailing slash.

Add two complementary output messages in case of errors trying to
create SharedData and SharedConfig where on Linux XDG defaults to
readonly system wide paths based on XDG_CONFIG_DIRS and XDG_DATA_DIRS
default values from spec (/etc/xdg and /usr/share for example).

And a minor change in the api to use forward slash.
2017-01-24 22:59:28 -05:00
Antoine Gersant
f9a27895b4 Formatting 2016-12-21 07:05:16 +01:00
Antoine Gersant
5ed95d1417 Added new API endpoint for random albums 2016-12-21 06:50:23 +01: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
a0b89d5acf Removed redundant errors 2016-11-21 00:15:05 -08:00
Antoine Gersant
431852f1e0 Fixed config and cache files locations 2016-11-21 00:13:55 -08:00
Antoine Gersant
83d0fa1d79 Added API endpoint for version number 2016-11-20 13:48:00 -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
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
6bf65ac45a Implemented /browse 2016-10-30 17:00:09 -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
bb66b3a566 Removed unneeded mutability 2016-10-23 11:47:57 -07:00
Antoine Gersant
878bb3b180 Formatting 2016-09-17 00:39:40 -07:00
Antoine Gersant
09af394709 Added authentication support 2016-09-14 23:33:38 -07:00
Antoine Gersant
3dc30317c8 Added song/album info from ID3v2 tags to results 2016-09-11 20:39:42 -07:00
Antoine Gersant
85201cf907 Added album art detection 2016-08-30 23:32:18 -07:00
Antoine Gersant
16c609cd20 Formatting 2016-08-28 17:43:15 -07:00
Antoine Gersant
c36c82e087 Project rename 2016-08-28 16:39:31 -07:00
Antoine Gersant
42895931c8 Use config file to mount directories 2016-08-28 15:53:39 -07:00
Antoine Gersant
ac7ffa0909 Implemented api/serve 2016-08-24 00:00:18 -07:00
Antoine Gersant
5e23a0b5d0 Implemented flatten 2016-08-22 00:50:04 -07:00
Antoine Gersant
6339f94836 Formatting 2016-08-21 22:35:54 -07:00
Antoine Gersant
6c81cad85e Virtual<->real file system conversions 2016-08-20 01:08:08 -07:00
Antoine Gersant
db0b6d684c Got rid of modules 2016-08-20 00:38:38 -07:00
Renamed from src/api/mod.rs (Browse further)