Commit graph

332 commits

Author SHA1 Message Date
Antoine Gersant
488ef5169e read_playlist now uses a SQL join 2017-07-10 23:39:30 -07:00
Antoine Gersant
9d0ecc5531 Fixed SQL error when reading large playlist 2017-07-10 22:33:00 -07:00
Antoine Gersant
0f0fce66ce Fixed import warnings 2017-07-10 22:27:45 -07:00
Antoine Gersant
a44c56ee67 Implemented playlist read 2017-07-10 22:22:22 -07:00
Antoine Gersant
ad22a3529f Fixed a bug where songs weren't sorted correctly in api/flatten 2017-07-10 21:26:57 -07:00
Antoine Gersant
bd537b8134 Simplified connection API 2017-07-09 23:32:02 -07:00
Antoine Gersant
729bf7a653 Implemented writing songs to playlist 2017-07-09 23:09:37 -07:00
Antoine Gersant
09b7eca2b5 Implemented playlist creation and deletion 2017-07-09 17:53:23 -07:00
Antoine Gersant
9ae77d6903 Added conflict clauses 2017-07-09 17:53:06 -07:00
Antoine Gersant
ec30987d3a Removed unused import 2017-07-09 16:13:53 -07:00
Antoine Gersant
88c692e9a5 Share test DB function between modules 2017-07-09 15:54:08 -07:00
Antoine Gersant
d184802130 Added playlists tables 2017-07-09 15:47:57 -07:00
Antoine Gersant
2dace6b3d4 Fixed a bug where default database location was incorrect 2017-07-08 16:36:59 -07:00
Antoine Gersant
9a9abbe39d Defined SQL random 2017-07-08 11:46:32 -07:00
Antoine Gersant
48f5ea9f88 Autoformat 2017-07-08 02:13:53 -07:00
Antoine Gersant
c5db1f250f Fixed infinite loop in index process after IO errors 2017-07-08 01:32:41 -07:00
Antoine Gersant
2117d94649 Updated dependencies 2017-07-06 20:49:34 -07:00
Antoine Gersant
4b251dd953 Added API endpoint to trigger collection reindex 2017-07-04 17:16:32 -07:00
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
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