Commit Graph

588 Commits

Author SHA1 Message Date
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
60f2635e21 Remove debug console logs 2021-02-13 00:13:30 +01:00
Viktor Strate Kløvedal
6613de5af9 Merge pull request #193 from photoview/scroll-pagination
Infinite scroll pagination
2021-02-12 23:58:07 +01:00
viktorstrate
1dbf4e4821 Add pagination for albums + add loading indicators 2021-02-12 23:57:15 +01:00
viktorstrate
a9edb148f1 Start on infinite scroll pagination 2021-02-12 17:44:32 +01:00
viktorstrate
265025bdf8 Add total items bubble 2021-02-12 16:22:35 +01:00
Viktor Strate Kløvedal
ce3090394b Add dataloaders to combine database queries (#190)
See also https://gqlgen.com/reference/dataloaders/
2021-02-07 22:17:33 +01:00
viktorstrate
54a83a4dc6 Make thumbnails optional
to prevent app from crashing when in the middle of scanning
2021-02-07 18:13:08 +01:00
Viktor Strate Kløvedal
254765a5d4 Merge pull request #188 from photoview/timeline-view
Replace "Photos" page with a timeline view
2021-02-07 17:48:58 +01:00
viktorstrate
490bea3ff0 Fix imports 2021-02-07 17:46:31 +01:00
viktorstrate
d75e725248 Cleanup AlbumPage to use new URLParameters hook 2021-02-07 17:43:23 +01:00
viktorstrate
398f1bf46b Refetch when favorites changes 2021-02-07 17:24:11 +01:00
viktorstrate
4fdb9357ea Add favorites filter for timeline 2021-02-07 17:13:27 +01:00
viktorstrate
d5ace2c0f8 Finish media interaction 2021-02-07 15:54:13 +01:00
viktorstrate
66bb46912a Work on media interaction 2021-02-05 16:01:08 +01:00
viktorstrate
9c84336d34 Start on timeline frontend 2021-02-04 22:08:32 +01:00
viktorstrate
214c4e8be4 Fix panic when scanning 2021-02-04 22:06:49 +01:00
viktorstrate
ddd2cad1a3 Add query resolver for timeline view 2021-02-04 19:02:51 +01:00
viktorstrate
fa35ea151c Fix layout of album shares
This also relates to #149 and #178
v2.0.1
2021-02-01 20:42:11 +01:00
Viktor Strate Kløvedal
35e32d2635 Merge pull request #180 from andrasmaroy/postgres-support
Implement postgres support
2021-01-31 21:47:18 +01:00
viktorstrate
3482cf42be Change docker production environment to Debian
...to keep the build and production environments the same,
and avoid compatibility errors with libc
2021-01-31 20:58:14 +01:00
viktorstrate
5e59b2c092 Attempt to fix ARM docker builds
See also #179
2021-01-31 19:34:15 +01:00
András Maróy
dca81c7918 Don't log postgres password when connecting 2021-01-31 18:53:38 +01:00
András Maróy
be83849bee Implement postgres support 2021-01-31 17:07:29 +01:00
Viktor Strate Kløvedal
658e641d30 Merge pull request #175 from stz184/migrated-mediaGeoJson-to-gorm
Fixes photoview/issues#168
v2.0.0
2021-01-30 22:20:09 +01:00
stz184
8b4e2192c2 Fixes photoview/issues#168
- Removed unnecessary migration.
2021-01-30 17:55:12 +02:00
stz184
f723bda7c5 Fixes photoview/issues#168
- Migrated mediaGeoJson resolver to GORM
- Fixed issue loading media list in MediaList() function
- Fixed typo in the column "gps_lonitude" (renamed to "gps_longitude")
2021-01-29 01:23:40 +02:00
viktorstrate
fbebb13d28 Don't transcode web compatible video formats.
This relates to the following issues #131 #169 #173
2021-01-27 18:00:37 +01:00
viktorstrate
404f1898c2 Properly add new user as owner
when scanning albums already owned by other users
2021-01-26 15:30:21 +01:00
viktorstrate
a4f5d26197 Fix search 2021-01-26 14:34:28 +01:00
viktorstrate
2c6701b4b3 Fix filtering favorites 2021-01-26 14:27:43 +01:00
Viktor Strate Kløvedal
9320f9d085 Merge pull request #172 from stz184/fixed-issue-deleting-users
* Fixes photoview/photoview#168
2021-01-25 09:30:52 +01:00
viktorstrate
9afacc3add Fix the deleteOldUserAlbums function 2021-01-24 21:30:57 +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
viktorstrate
35344242fa Merge branch 'fixed-issue-deleting-users' of github.com:stz184/photoview into fixed-issue-deleting-users 2021-01-24 17:21:29 +01:00
stz184
b176694d2b * Fixes photoview/photoview#168
Fixed issue deleting existing users.
2021-01-24 17:20:31 +01:00
stz184
1c0726b55f * Fixes photoview/photoview#168
Fixed issue deleting existing users.
2021-01-23 15:42:48 +02:00
viktorstrate
c88b8ed873 fix bug regarding thumbnail urls 2021-01-22 22:36:58 +01:00
Viktor Strate Kløvedal
57b397de78 Merge pull request #171 from stz184/fixed-issue-adding-new-users
* Fixes photoview/photoview#168
2021-01-22 09:41:18 +01:00
viktorstrate
5e137392e1 avoid unnecessary sql queries 2021-01-22 09:35:54 +01:00
stz184
a46c0ff98e * Fixes photoview/photoview#168
Fixed issue adding new users.
2021-01-21 22:59:34 +02:00
viktorstrate
2c230d917a Further gorm attributes cleanup 2021-01-19 18:35:19 +01:00
viktorstrate
fc515aa375 Cleanup gorm model attributes + add indexes 2021-01-19 17:31:37 +01:00
viktorstrate
4bc50583d2 Add db max open connections again 2021-01-19 16:59:10 +01:00
Viktor Strate Kløvedal
0bf86a8830 Merge pull request #170 from photoview/refactor-exif
Fix and refactor EXIF
2021-01-19 16:47:49 +01:00
viktorstrate
de35a06014 Add db resolver for media.exif 2021-01-19 16:46:15 +01:00
viktorstrate
46ae5115bb Refactor EXIF parsing 2021-01-19 16:39:57 +01:00
viktorstrate
9691572154 Fix bug causing video routes to not be found 2021-01-19 16:04:33 +01:00
viktorstrate
dcca5becb5 Rewrite db retry to reconfigure database on error 2021-01-19 15:49:03 +01:00
viktorstrate
52e8013026 Fix sql compatibility problem when running in Docker 2021-01-17 18:12:32 +01:00