Antoine Gersant
4194509f45
Use tokio runtime for tests and actix version
2020-01-16 01:03:39 -08:00
Antoine Gersant
289827d6a3
Explicitely start async executor
2020-01-16 00:41:26 -08:00
Antoine Gersant
1c84cde158
Fixed compile error
2020-01-16 00:35:30 -08:00
Antoine Gersant
61c221a2d2
integration test sharing between backends
2020-01-16 00:34:47 -08:00
Antoine Gersant
a83e1af69b
automatic db file names
2020-01-15 22:05:41 -08:00
Antoine Gersant
9e48dc408e
DB interactions for actix version
2020-01-15 21:58:37 -08:00
Antoine Gersant
052dc88f14
Implemented version endpoint
2020-01-14 22:40:36 -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
ba901c7873
Optional rocket feature
2020-01-13 23:12:33 -08:00
Antoine Gersant
60f2e330a4
Moved rocket stuff into its own module
2020-01-13 23:04:05 -08:00
Antoine Gersant
448198acb6
Prevent deleted users from using the service using their old session
2020-01-12 21:49:22 -08:00
Antoine Gersant
eca4f68834
Replaced /api/auth response with cookies
2020-01-12 17:01:30 -08:00
Antoine Gersant
360d864148
Enforce normal logging level
2020-01-12 14:00:50 -08:00
Antoine Gersant
59366c6b03
Added preference fields for web theme
2020-01-11 01:58:22 -08:00
Antoine Gersant
b83f16e6f5
Dont return HTTP errors when LastFM no-ops
2020-01-07 23:28:26 -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
0b0bfac8fb
Name cleanup
2020-01-04 09:38:19 -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
Antoine Gersant
bca8f4ced8
Ignore blank users in config
2020-01-04 09:00:56 -08:00
Antoine Gersant
299aea7d78
Tentative fix for performance issues ( https://github.com/SergioBenitez/Rocket/issues/928 )
2019-12-08 16:28:52 -08:00
Laurențiu Nicola
dc903ea29e
Bump metaflac to 0.2
2019-10-22 08:31:34 +03:00
Laurențiu Nicola
ec8742b8eb
Use sd-notify instead of libsystemd
2019-10-01 19:22:25 +03:00
Antoine Gersant
064056fc0c
Formatting
2019-09-29 00:34:45 -07:00
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