Commit graph

273 commits

Author SHA1 Message Date
Antoine Gersant
a08401fa76 Return privilege level of user after authentication 2017-07-03 18:43:13 -07:00
Antoine Gersant
27cfa19b77 Added notion of admin accouts, required to read/write settings 2017-07-03 17:38:28 -07:00
Antoine Gersant
3ed2c75b30 Bypass auth requirement for first time flow 2017-07-03 16:15:54 -07:00
Antoine Gersant
f90a98d231 Added API endpoint for initial setup info 2017-07-03 16:12:01 -07:00
Antoine Gersant
a35c20fe06 Fixed typo 2017-07-02 15:09:40 -07:00
Antoine Gersant
554aa3436c Fixed typo 2017-07-02 15:06:46 -07:00
Antoine Gersant
26e091ab15 Fixed a bug where overwriting config didnt overwrite DDNS settings 2017-07-02 15:06:01 -07:00
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
b02a08b546 Merge remote-tracking branch 'origin/master' 2017-07-02 02:37:51 -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
54aab4badf Fixed a bug where password where not preserved when ammending config 2017-07-01 21:10:00 -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
6cced632b2 Removed test DB 2017-06-25 19:27:46 -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
0135538156 Test task now run in release mode 2017-06-25 18:36:33 -07:00