Antoine Gersant
0d05db9b46
Updated dependencies
2018-10-06 17:24:06 -07:00
Antoine Gersant
ec69a3568f
Fixed clippy lints
2018-10-06 16:29:46 -07:00
Antoine Gersant
0297b351bf
Rustfmt
2018-10-06 15:46:30 -07:00
Antoine Gersant
2092813258
Changed LastFM auth flow from application flow to web-flow
2018-10-06 14:41:25 -07:00
Antoine Gersant
c52ec3d30c
Added support for lastfm scrobbling
...
- Added user preferences
- Added time and location to log entries
2018-03-06 21:36:10 -08:00
Antoine Gersant
d06263cff7
Fixed a bug where search terms with spaces didn't work
2017-11-03 20:09:42 -07:00
Antoine Gersant
62688a8402
Implemented search
2017-11-03 13:42:42 -07:00
Antoine Gersant
24c6fcb4f4
Formatting
2017-11-03 12:29:10 -07:00
Antoine Gersant
65f3e268dc
Bump to latest diesel, stub search function
2017-11-03 12:14:53 -07:00
João Oliveira
130aa70c2b
fix bug on api.rs, only insert username in the session if authentication was successful
2017-10-13 18:59:42 +01:00
Antoine Gersant
ce4f9ef87f
Fixed compiler warnings
2017-09-26 23:15:44 -07:00
Antoine Gersant
6ae9f6b6a0
Autoformat
2017-09-26 23:00:28 -07:00
Antoine Gersant
7654d49246
Fixed a bug where playlists that have spaces in their name were unusable
2017-09-24 20:09:44 -07:00
Antoine Gersant
eab2fe7f7f
Added API endpoint to delete a playlist
2017-09-24 19:46:51 -07:00
Antoine Gersant
66e772feb3
Added API endpoint to read playlist content
2017-09-23 17:56:54 -07:00
Antoine Gersant
15d9e2f0b5
Added support for HTTP Range header
2017-09-23 16:46:12 -07:00
Antoine Gersant
85f0b77b2b
Autoformat
2017-09-21 21:38:09 -07:00
Antoine Gersant
f181363727
Allow non-admin users to user playlists
2017-07-17 23:09:43 -07:00
Antoine Gersant
4f1cfa7be6
Added API endpoint to fetch playlists
2017-07-17 22:57:36 -07:00
Antoine Gersant
c582c17f39
Added API endpoint to save playlist
2017-07-16 13:22:08 -07:00
Antoine Gersant
bd537b8134
Simplified connection API
2017-07-09 23:32:02 -07:00
Antoine Gersant
4b251dd953
Added API endpoint to trigger collection reindex
2017-07-04 17:16:32 -07:00
Antoine Gersant
a08401fa76
Return privilege level of user after authentication
2017-07-03 18:43:13 -07:00
Antoine Gersant
27cfa19b77
Added notion of admin accouts, required to read/write settings
2017-07-03 17:38:28 -07:00
Antoine Gersant
3ed2c75b30
Bypass auth requirement for first time flow
2017-07-03 16:15:54 -07:00
Antoine Gersant
f90a98d231
Added API endpoint for initial setup info
2017-07-03 16:12:01 -07:00
Antoine Gersant
a35c20fe06
Fixed typo
2017-07-02 15:09:40 -07:00
Antoine Gersant
300ddebfee
Autoformat
2017-07-01 18:19:35 -07:00
Antoine Gersant
f42e40b766
Added API endpoint to edit configuration
2017-07-01 18:04:52 -07:00
Antoine Gersant
69f1392663
Added API end point to read config
2017-07-01 15:26:25 -07:00
Antoine Gersant
87d43d0da5
Moved config functionality out of DB
2017-07-01 13:51:01 -07:00
Antoine Gersant
bdc33a29aa
Cosmetic changes
2017-07-01 13:09:51 -07:00
Antoine Gersant
312be5e631
Moved index functionality out of DB struct
2017-07-01 13:06:55 -07:00
Antoine Gersant
6202311aa7
Removed locate from DB struct
2017-07-01 12:49:58 -07:00
Antoine Gersant
d9532dd22c
Moved auth() out of DB struct
2017-07-01 12:42:49 -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
fa3729340a
Removed unecessary set-cookie header
2017-06-11 23:28:59 -07:00
Antoine Gersant
942ac099c7
autoformat
2017-06-04 18:32:59 -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
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