Commit graph

257 commits

Author SHA1 Message Date
Antoine Gersant
1d21d0ff1e Fixed a bug where using an incorrect username would cause HTTP 500 response 2017-07-02 14:56:46 -07:00
Antoine Gersant
ce6da979ea Fixed a bug where password where not preserved when amending config 2017-07-02 02:37:43 -07:00
Antoine Gersant
921ea0f8e5 Fixed a bug where auth was broken 2017-07-01 18:19:57 -07:00
Antoine Gersant
300ddebfee Autoformat 2017-07-01 18:19:35 -07:00
Antoine Gersant
f42e40b766 Added API endpoint to edit configuration 2017-07-01 18:04:52 -07:00
Antoine Gersant
c2efeb9e44 Added unit test for editing config 2017-07-01 15:52:35 -07:00
Antoine Gersant
69f1392663 Added API end point to read config 2017-07-01 15:26:25 -07:00
Antoine Gersant
ae4e5ab81b Cosmetic change 2017-07-01 13:59:36 -07:00
Antoine Gersant
94ebbed2ec Merged User and NewUser 2017-07-01 13:57:18 -07:00
Antoine Gersant
87d43d0da5 Moved config functionality out of DB 2017-07-01 13:51:01 -07:00
Antoine Gersant
89d746268e Moved config business out of DB struct 2017-07-01 13:43:13 -07:00
Antoine Gersant
f498956710 Less coupling between DB and Index 2017-07-01 13:30:31 -07:00
Antoine Gersant
8a7a63ce61 Less DB coupling with VFS and DDNS 2017-07-01 13:27:57 -07:00
Antoine Gersant
bdc33a29aa Cosmetic changes 2017-07-01 13:09:51 -07:00
Antoine Gersant
312be5e631 Moved index functionality out of DB struct 2017-07-01 13:06:55 -07:00
Antoine Gersant
6202311aa7 Removed locate from DB struct 2017-07-01 12:49:58 -07:00
Antoine Gersant
d9532dd22c Moved auth() out of DB struct 2017-07-01 12:42:49 -07:00
Antoine Gersant
c314f7a452 Loosen coupling between db and other modules 2017-07-01 12:26:14 -07:00
Antoine Gersant
f9562b5c8c Cosmetic change 2017-07-01 12:05:13 -07:00
Antoine Gersant
11ff053b9d Moved index out of db module 2017-07-01 12:03:15 -07:00
Antoine Gersant
48f2913816 Removed models module 2017-07-01 11:59:32 -07:00
Antoine Gersant
e7ef07fe6a Moved index structs out of models module 2017-07-01 11:56:51 -07:00
Antoine Gersant
ac93ec5b02 Moved user structs out of db module 2017-07-01 11:52:41 -07:00
Antoine Gersant
d70abba47e Moved MountPoint structure into vfs module 2017-07-01 11:40:31 -07:00
Antoine Gersant
143e1f6761 Removed unecessary index object 2017-07-01 11:07:36 -07:00
Antoine Gersant
ce90377b2d Removed debug spam 2017-06-29 00:34:52 -07:00
Antoine Gersant
b6b3b8c5b0 Fixed a bug where browse results sort was case sensitive 2017-06-29 00:33:54 -07:00
Antoine Gersant
104381af5d Less boilerplate for VFS config 2017-06-29 00:16:00 -07:00
Antoine Gersant
29bc678c82 Less verbose use of diesel 2017-06-29 00:06:43 -07:00
Antoine Gersant
e41a5273a8 Autoformat 2017-06-28 23:59:48 -07:00
Antoine Gersant
d87ec09c38 Unify DDNS config struct 2017-06-28 23:58:24 -07:00
Antoine Gersant
96e6b86f04 Removed unused imports 2017-06-28 23:38:53 -07:00
Antoine Gersant
66f59da7b2 Moved resident configuration from .toml file to database 2017-06-28 23:37:48 -07:00
Antoine Gersant
55b49f1ace Fixed a bug where browse results were not sorted alphabetically 2017-06-27 21:27:45 -07:00
Antoine Gersant
9ee523f8e1 Minor improvements to indexing:
- Directories now appear before their content during indexing
- No longer error when cleaning a large number of missing items
2017-06-27 00:50:42 -07:00
Antoine Gersant
3089c6f9ab Autoformat 2017-06-25 19:53:25 -07:00
Antoine Gersant
723de5c479 Split indexing process from DB API 2017-06-25 19:51:54 -07:00
Antoine Gersant
2df90902fb Autoformat 2017-06-25 18:37:45 -07:00
Antoine Gersant
378c2015b8 Replaced hand-written SQL with diesel 2017-06-25 18:36:54 -07:00
Antoine Gersant
63f78efa3d Added CLI option for custom DB path 2017-06-24 23:26:37 -07:00
Antoine Gersant
fa3729340a Removed unecessary set-cookie header 2017-06-11 23:28:59 -07:00
Antoine Gersant
942ac099c7 autoformat 2017-06-04 18:32:59 -07:00
Antoine Gersant
d0ce3630e3 Updated lewton dependency 2017-06-04 14:26:30 -07:00
Antoine Gersant
86e618d2a5 Removed the dependency on OpenSSL on Windows
- Replaced session handling by secure_session
- Required updating a bunch of dependencies
- Replaced Hyper Client usage in DDNS by Reqwest (which only uses OpenSSL on Linux)
2017-06-04 13:17:27 -07:00
Antoine Gersant
9fe0bfd046 No longer panic when there's an error while parsing options 2017-05-30 22:49:17 -07:00
Antoine Gersant
f638299665 Run as a daemon on Linux 2017-05-30 22:45:27 -07:00
Antoine Gersant
1d0b4929fd Use lowercase names on linux 2017-05-29 18:28:31 -07:00
Antoine Gersant
6084ad2703 Serve /web files from app data rather than relative path.
Also added CLI option to serve from custom path.
2017-05-29 18:28:05 -07:00
Antoine Gersant
f6ca5bace4 Autoformat 2017-05-29 12:01:07 -07:00
Antoine Gersant
8eaefb6dba Moved app data into user folders instead of system folders 2017-05-28 22:46:42 -07:00