Commit graph

93 commits

Author SHA1 Message Date
Laurențiu Nicola
6d963c059f Use 2018-style macro imports 2019-08-06 12:51:15 +03:00
Laurențiu Nicola
57ded63cb8 2018 edition idioms 2019-08-06 12:31:30 +03:00
Antoine Gersant
b781071b4e Got rid of raw json strings in unit tests 2018-11-12 22:31:43 -08:00
Antoine Gersant
0185634071 Added unit tests for playlists API 2018-11-12 22:10:32 -08:00
Antoine Gersant
132a8c3dbf Added unit test for api/initial_setup 2018-11-11 18:03:14 -08:00
Antoine Gersant
5f91da915e Added unit test for api/version 2018-11-11 17:49:38 -08:00
Antoine Gersant
ed81d24b7b Formatting 2018-11-11 12:10:09 -08:00
Antoine Gersant
4e68293450 Simplified error syntax 2018-11-11 11:19:28 -08:00
Antoine Gersant
9dbf8526dc Renamed rocket_api to api 2018-11-11 11:11:24 -08:00
Antoine Gersant
a8a98fdd22 Removed iron 2018-10-28 17:27:47 -07:00
Antoine Gersant
c25dc8155f Implemented last fm endpoints 2018-10-28 17:05:14 -07:00
Antoine Gersant
84507e4d86 Fixed a bug where names with square brackets tripped routing 2018-10-28 15:13:34 -07:00
Antoine Gersant
e7a5fcf01b Autoformat 2018-10-28 10:53:44 -07:00
Antoine Gersant
36e6016e67 Added endpoint for trigger reindex 2018-10-28 10:19:07 -07:00
Antoine Gersant
06c694ab4a Moved rocket API to a separate file 2018-10-27 15:24:52 -07:00
Antoine Gersant
33ae1c07b2 Ported version endpoint to rocket 2018-10-27 15:19:31 -07:00
Antoine Gersant
f905bc4f73 Added API endpoint to unlink last.fm account 2018-10-07 18:06:29 -07:00
Antoine Gersant
3fba584671 Last FM auth API now returns HTML content supplied by caller 2018-10-07 13:55:49 -07:00
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