Commit graph

340 commits

Author SHA1 Message Date
Antoine Gersant
22ae33f029 Updated simplelogger 2019-09-28 16:54:37 -07:00
Antoine Gersant
8dbaad98f5 Ditched ring dependency, simplified password hashing 2019-09-28 16:38:43 -07:00
Antoine Gersant
90fe1629eb Cleaned up static file serving 2019-09-28 00:48:04 -07:00
Antoine Gersant
851d31eef9 Fixed compile errors 2019-09-02 22:17:26 -07:00
Antoine Gersant
82ea7983aa Instrument index duration 2019-09-02 14:28:25 -07:00
Antoine Gersant
9d1ad2dc60 Fixed warning when compiling on Windows 2019-08-28 22:41:32 -07:00
Laurențiu Nicola
1bffdf0861 Provide secret key to Rocket 2019-08-08 08:06:29 +03:00
Laurențiu Nicola
606eae563d Add support for notifying systemd of startup 2019-08-07 14:37:27 +03:00
Laurențiu Nicola
b1fec94e82 Fix Windows builds 2019-08-07 08:50:24 +03:00
Laurențiu Nicola
c4d7fc62b5 Switch back to app_dirs 1.1 and fix typo 2019-08-07 08:21:28 +03:00
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
Laurențiu Nicola
b70c8ff622 More dependency updates 2019-08-06 12:25:47 +03:00
Tim Peters
b878ac555e Implement suggestions 2019-05-28 19:15:13 +02:00
Tim Peters
0224a5dee3 Fix logging in docker.
Docker by default doesn't have a TTY. The TermLogger doesn't work in that case.
If the TermLogger can't be initiated, try the SimpleLogger.
See https://github.com/Drakulix/simplelog.rs/issues/30 for a similar case.
2019-05-27 21:10:11 +02:00
Antoine Gersant
244d0e9ed5 Fixed unaccurate redirect to index.html 2019-04-09 00:39:11 -07:00
Antoine Gersant
21ada701e8 Removed unused import 2019-04-09 00:28:23 -07:00
Antoine Gersant
26a894c0b1 Properly redirect to index.html so relative src properties in html work 2019-04-08 22:44:53 -07:00
Antoine Gersant
69c8c93277 Fixed warnings 2019-04-07 23:28:31 -07:00
Antoine Gersant
c8655a2447 Serve swagger files under /swagger 2019-04-07 23:24:15 -07:00
Antoine Gersant
b190385dbd Allow tests to compile 2019-04-07 19:31:36 -07:00
Antoine Gersant
32a808b962 Ship swagger files and mount them on /swagger 2019-04-07 18:54:53 -07:00
Antoine Gersant
55952a7d28 Fixed partial content responses 2019-02-19 23:47:31 -08:00
Antoine Gersant
b24e6e077d Fixed expected HTTP response 2019-02-19 23:45:31 -08:00
Antoine Gersant
7aabd6b15e Added tests for serve endpoints 2019-02-19 23:42:55 -08:00
Antoine Gersant
727f830988 Added logging around HTTP range handling 2019-02-19 21:07:25 -08:00
Antoine Gersant
f77be4a1e1 Removed unused errors 2019-02-19 19:29:35 -08:00
Antoine Gersant
e0d3b3034a Fixed warning outside of building tests 2019-02-19 18:02:22 -08:00
Antoine Gersant
58482bf512 Remove lastfm test placeholder 2018-11-12 22:32:49 -08:00
Antoine Gersant
b781071b4e Got rid of raw json strings in unit tests 2018-11-12 22:31:43 -08:00
Antoine Gersant
64e86f5079 Formatting 2018-11-12 22:10:48 -08:00
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
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
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