Commit graph

801 commits

Author SHA1 Message Date
Antoine Gersant
0185634071 Added unit tests for playlists API 2018-11-12 22:10:32 -08:00
Antoine Gersant
43538853a4 Added unit test for api/flatten 2018-11-12 21:53:40 -08:00
Antoine Gersant
79992b7120 Added unit test for api/browse 2018-11-12 21:52:04 -08:00
Antoine Gersant
cc17c6db97 Added unit test for /api/search 2018-11-12 20:20:56 -08:00
Antoine Gersant
3f5a84ba8a Added test for api/trigger_index 2018-11-11 19:27:30 -08:00
Antoine Gersant
552e4fda9d Added unit test for api/recent 2018-11-11 19:20:56 -08:00
Antoine Gersant
8a4c327fa8 Added unit test for api/random 2018-11-11 19:20:06 -08:00
Antoine Gersant
be1479a40c Test that settings endpoint requires auth 2018-11-11 19:12:16 -08:00
Antoine Gersant
f5d46a0aa3 Added unit test for api/auth 2018-11-11 19:10:51 -08:00
Antoine Gersant
c18134058b Added unit test for api/settings 2018-11-11 18:51:13 -08:00
Antoine Gersant
264c38b7fd API tests skeleton 2018-11-11 18:11:05 -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
a3968e9cb7 Moved server initialization outside of main for easier testing 2018-11-11 12:11:18 -08:00
Antoine Gersant
ed81d24b7b Formatting 2018-11-11 12:10:09 -08:00
Antoine Gersant
c1c70d4fbf Updated dependencies 2018-11-11 11:33:18 -08:00
Antoine Gersant
4e68293450 Simplified error syntax 2018-11-11 11:19:28 -08:00
Antoine Gersant
2cbc1645ee Pulled latest polaris-web 2018-11-11 11:16:06 -08:00
Antoine Gersant
9dbf8526dc Renamed rocket_api to api 2018-11-11 11:11:24 -08:00
Antoine Gersant
c6d5f7b7ee Fixed a bug where auth cookie was interfering with polaris-web cookie 2018-11-11 00:17:38 -08:00
Antoine Gersant
0cd82a338d Merge branch 'master' into rocket 2018-11-10 23:44:20 -08:00
Antoine Gersant
72c40d5fcd Removed unused errors 2018-11-10 23:37:17 -08:00
Antoine Gersant
e0b3ea4b98 Fixed a bug where credentials were not being validated 2018-11-10 23:34:31 -08:00
Antoine Gersant
f0b360e3d0 Use rocket branch of polaris-web 2018-11-10 19:39:34 -08:00
Antoine Gersant
37a4521e15 Updated rustfm-scrobble to version with recent reqwest dep and nicer API 2018-11-03 17:50:42 -07:00
Antoine Gersant
03a248a020 Undo edition changes, doest not compile on stable 2018-11-02 19:49:33 -07:00
Antoine Gersant
4b4ab8145c Rust 2018 2018-10-30 23:49:30 -07:00
Antoine Gersant
fdf40f2683 Removed outdated test 2018-10-30 23:47:29 -07:00
Antoine Gersant
59b0dda760 Switch to Rust 2018 2018-10-30 23:37:32 -07:00
Antoine Gersant
cba28e8e2c Run server on expected port (5050 or custom) 2018-10-28 19:09:32 -07:00
Antoine Gersant
ed2ae20951 Allow auth via HTTP authorization header 2018-10-28 19:04:21 -07:00
Antoine Gersant
7e11b651ed Fixed a bug where DB wasn't accessed with the correct type 2018-10-28 17:51:46 -07:00
Antoine Gersant
af17c821df Bumped version number 2018-10-28 17:43:54 -07:00
Antoine Gersant
75449aa0e0 Dont run server on main thread 2018-10-28 17:42:08 -07:00
Antoine Gersant
0f2556516a Removed more unused dependencies 2018-10-28 17:33:41 -07:00
Antoine Gersant
a8a98fdd22 Removed iron 2018-10-28 17:27:47 -07:00
Antoine Gersant
5786c99b3a Fixed test compilation error 2018-10-28 17:07:11 -07:00
Antoine Gersant
c25dc8155f Implemented last fm endpoints 2018-10-28 17:05:14 -07:00
Antoine Gersant
4af2c0f09e Formatting 2018-10-28 17:05:04 -07:00
Antoine Gersant
9f84b352b9 Formatting 2018-10-28 17:03:25 -07:00
Antoine Gersant
8354eeff1d Implemented playlist endpoints 2018-10-28 16:13:00 -07:00
Antoine Gersant
2ee33e7615 Added preferences endpoint 2018-10-28 15:52:09 -07:00
Antoine Gersant
ea299312d0 Fixed a bug where authentication yielded incorrect usernames 2018-10-28 15:46:35 -07:00
Antoine Gersant
35514182aa Bumped version for breaking changes on string encoding and json input 2018-10-28 15:14:51 -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
5d0ead96e4 Removed TODO 2018-10-28 14:03:28 -07:00
Antoine Gersant
777cca245e Added support for range header when serving files 2018-10-28 14:00:25 -07:00
Antoine Gersant
89e72d00ae Partial implementation of the serve endpoint 2018-10-28 12:21:46 -07:00
Antoine Gersant
cabc72116a Added search endpoints 2018-10-28 11:03:21 -07:00
Antoine Gersant
91919a6628 Added endpoints for recent and random albums 2018-10-28 10:56:04 -07:00