1
Fork 0
Commit Graph

26 Commits

Author SHA1 Message Date
viktorstrate 3d9ae530af
Load shared albums recursively
This solves #143 and #229
2021-03-03 15:55:55 +01:00
viktorstrate 26996b45e5
Reload faces if albums or media is deleted 2021-02-27 16:39:04 +01:00
viktorstrate abb80ae425
Start on face detection 2021-02-15 17:35:28 +01:00
viktorstrate 926aa3de3d
Cleanup graphql schema, and general refactoring
- Separate graphql `filter` into `paginate` and `order`
- Remove GalleryGroups, replaced by TimelineGallery
- Fix Apollo cache such that sorting works again
2021-02-13 15:08:05 +01:00
viktorstrate 2d54847fed
Refactor DeleteUser resolver
- Use tx inside transaction
- Use .Clear() to delete all albums at once,
to prevent unnecessary database hits.
2021-01-24 17:25:43 +01:00
stz184 b176694d2b
* Fixes photoview/photoview#168
Fixed issue deleting existing users.
2021-01-24 17:20:31 +01:00
viktorstrate 107da91700
Refactor handling of environment variables 2021-01-17 16:50:48 +01:00
viktorstrate a1a14286d6
Properly clean up when a user <-> album relation is deleted 2021-01-06 17:28:06 +01:00
viktorstrate d78cef300a
Finish add/remove root paths 2020-12-31 00:37:11 +01:00
viktorstrate c198e68daf
Hook up UI to add and remove multiple root paths for each user 2020-12-30 18:36:26 +01:00
viktorstrate 96546f6556
Add resolvers for user albums and root_albums 2020-12-27 20:07:54 +01:00
viktorstrate aeb05bca49
get initial scanner up and running 2020-12-22 01:14:43 +01:00
viktorstrate 732ccd05ab
restructure user <-> albums relations in database 2020-12-20 17:10:00 +01:00
viktorstrate b38d7ab29a
Fix periodic scanner
and small bug related to user resolver
2020-12-17 23:21:51 +01:00
viktorstrate 907894dda3
Merge branch 'master' into v2.0.0 2020-12-17 23:18:00 +01:00
viktorstrate 4cd822f068
Update gomod to reflect repo transfer 2020-12-17 22:51:43 +01:00
viktorstrate 092cbdb872
Migrate FormatSQL 2020-12-17 21:32:13 +01:00
viktorstrate d3ebecc3b5
Replace database, mostly user related 2020-11-28 17:31:19 +01:00
stz184 53b323640f Fixes viktorstrate/photoview#71
In order to prevent SQL injections and , reveal information about the database tables avoid passing MySQL functions as GQL sorting parameters, I refactored the FormatSQL() function.
Additionally, the old approach with using regex to filter the orderBy parameter was not effective and prevented using column.table annotations.
2020-10-13 18:27:28 +03:00
viktorstrate 1dc2221524 Add change password support 2020-02-22 14:05:33 +01:00
viktorstrate a87e9fc56d Add user management to api 2020-02-16 12:22:00 +01:00
viktorstrate 3376fbe13b Work on settings page 2020-02-15 22:13:02 +01:00
viktorstrate f1ce85dcb5 Set max sql connections + improve user register 2020-02-14 14:29:41 +01:00
viktorstrate e6593ee7f3 Working on integrating backend with ui 2020-02-09 15:26:59 +01:00
viktorstrate 517286ff38 Setup initial setup wizard 2020-02-05 16:49:51 +01:00
viktorstrate 43e214b5d0 Work on photo resolver 2020-02-05 14:51:46 +01:00
Renamed from api/graphql/resolver_user.go (Browse further)