Antoine Gersant
6f642c34e2
Non-optional auth secret
2020-01-16 01:58:51 -08:00
Antoine Gersant
289827d6a3
Explicitely start async executor
2020-01-16 00:41:26 -08:00
Antoine Gersant
61c221a2d2
integration test sharing between backends
2020-01-16 00:34:47 -08:00
Antoine Gersant
9e48dc408e
DB interactions for actix version
2020-01-15 21:58:37 -08:00
Antoine Gersant
e248f3b983
Serve web and swagger static files
2020-01-14 01:33:14 -08:00
Antoine Gersant
0a4d05cdc8
Actix hello world
2020-01-13 23:56:46 -08:00
Antoine Gersant
60f2e330a4
Moved rocket stuff into its own module
2020-01-13 23:04:05 -08:00
Antoine Gersant
d823dce7db
Fixed typo
2020-01-04 17:07:35 -08:00
Antoine Gersant
70388095a5
More error fiddling
2020-01-04 17:03:07 -08:00
Antoine Gersant
ddae5cc24f
Fixed straggler error
2020-01-04 16:52:36 -08:00
Antoine Gersant
f41f45f600
Simplified error boilerplate
2020-01-04 16:42:28 -08:00
Antoine Gersant
cbb7e7b97c
Removed old diesel workaround
2020-01-04 09:34:09 -08:00
Antoine Gersant
28bb240ae0
Do not wipe users, mount points and ddns config before applying config file
2020-01-04 09:33:36 -08:00
Laurențiu Nicola
ec8742b8eb
Use sd-notify instead of libsystemd
2019-10-01 19:22:25 +03:00
Antoine Gersant
22ae33f029
Updated simplelogger
2019-09-28 16:54:37 -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
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
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
32a808b962
Ship swagger files and mount them on /swagger
2019-04-07 18:54:53 -07: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
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