Commit graph

117 commits

Author SHA1 Message Date
Antoine Gersant
a3968e9cb7 Moved server initialization outside of main for easier testing 2018-11-11 12:11:18 -08:00
Antoine Gersant
9dbf8526dc Renamed rocket_api to api 2018-11-11 11:11:24 -08:00
Antoine Gersant
0cd82a338d Merge branch 'master' into rocket 2018-11-10 23:44:20 -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
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
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
36e6016e67 Added endpoint for trigger reindex 2018-10-28 10:19:07 -07:00
Antoine Gersant
0ebcc8a280 Autoformat 2018-10-27 17:00:49 -07:00
Antoine Gersant
e8d1baa652 Implemented endpoints to load welcome page 2018-10-27 16:59:05 -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
43894d71f7 Merge branch 'master' into rocket 2018-10-27 15:05:07 -07:00
Antoine Gersant
5de59d8687 Muted diesel warning 2018-10-27 15:02:15 -07:00
Antoine Gersant
64afc8b6f5 Mount static files 2018-10-27 14:33:28 -07:00
Antoine Gersant
b528b77f77 Rocket Hello World 2018-10-27 14:03:56 -07:00
Antoine Gersant
b72517995d Clippy suggestions 2018-10-27 10:43:18 -07:00
Antoine Gersant
94d39be08b Fixed init error on Windows 2018-10-24 15:58:14 -07:00
Antoine Gersant
7814984e02 Log static web files location 2018-10-24 15:26:01 -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
cd40ce374e Fixed build breakage on Linux 2018-10-06 21:50:51 -07:00
Antoine Gersant
fea0b4ef25 Updated diesel dependency 2018-10-06 18:13:44 -07:00
Antoine Gersant
0d05db9b46 Updated dependencies 2018-10-06 17:24:06 -07:00
Antoine Gersant
b71a1f6768 Updated dependencies 2018-10-06 17:03: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
da01a3f8c2 Updated winapi dependency 2018-01-06 14:31:48 -08:00
Antoine Gersant
063726f92f Autoformat 2017-12-12 21:23:39 -08:00
Antoine Gersant
d310c1fab0 Updated diesel dependency 2017-12-10 20:41:52 -08:00
Antoine Gersant
52835c4b97 Index now measures duration of mp3 files 2017-12-10 19:05:19 -08:00
Antoine Gersant
2bd1b8220d Fixed startup error when terminal isn't available 2017-12-09 16:21:57 -08:00
Antoine Gersant
8e97e7346d Write PID file when forking (unix only) 2017-12-09 00:35:23 -08:00
Antoine Gersant
24c6fcb4f4 Formatting 2017-11-03 12:29:10 -07:00
João Oliveira
55d6e412d6 update project to use log crate and replace println! calls with equivalent log level macro calls 2017-10-14 04:34:54 +01:00
Antoine Gersant
e5b0ee02d7 Merge pull request #11 from jxs/master
add prefix_url to config options to allow polaris to run behind a reverse proxy
2017-10-07 19:58:39 -07:00
João Oliveira
a82af0f0b8 add prefix_url to config options to allow polaris to run behind a reverse proxy 2017-10-03 00:36:21 +01:00
Antoine Gersant
fec28ceb80 Removed unused import 2017-09-27 00:26:36 -07:00
Antoine Gersant
15d9e2f0b5 Added support for HTTP Range header 2017-09-23 16:46:12 -07:00
Antoine Gersant
70e2ea9d7b Fixed runtime error on windows (-f option not defined) 2017-09-21 22:35:53 -07:00
Antoine Gersant
85f0b77b2b Autoformat 2017-09-21 21:38:09 -07:00
João Oliveira
69feab3bcc allow polaris to run on a custom defined port 2017-09-21 12:36:18 +01:00
João Oliveira
36e85e82e5 - allow polaris to run in foreground
- add cli help message
2017-09-17 15:48:52 +01:00
Antoine Gersant
09b7eca2b5 Implemented playlist creation and deletion 2017-07-09 17:53:23 -07:00