Commit Graph

1114 Commits

Author SHA1 Message Date
“boz”
4aca022b38 update ScannerConcurrentWorkers.test 2022-03-24 16:51:19 +08:00
“boz”
23b02e65bd delete eject 2022-03-24 16:45:42 +08:00
“boz”
ec77bc7fb1 add ScannerConcurrentWorkers.test 2022-03-24 16:42:16 +08:00
“boz”
cb5eb0e24c add eject 2022-03-23 15:56:13 +08:00
“boz”
639dcf0f07 fix switching page causes setting to crash 2022-03-23 14:21:13 +08:00
Viktor Strate Kløvedal
880cfeddee Merge pull request #656 from Phlogi/patch-1
Fix slow query in getting media of a face by using another join
2022-03-07 10:22:17 +01:00
Phlogi
f093827bde Fix slow query in getting media of a face by using another join
The subquery returns all potential media id's. Typically, we have a couple of faces and thousands of media files. 
A join is much faster. 

With about 50k images and a face that was present in 2'000 images the query was unusable slow, it took about 60s. 
This is a very important performance fix, as I think many users will run into it. 
Maybe there are other areas where the same improvement is possible, I didn't check.
2022-03-05 17:44:15 +01:00
viktorstrate
e9a4839f48 Fix Postgres exif flash migration error message
Closes #648
2022-02-13 16:57:20 +01:00
Viktor Strate Kløvedal
0b9d04eff2 Merge pull request #645 from photoview/dark-mode
Dark mode
v2.3.12
2022-02-09 22:20:05 +01:00
viktorstrate
10611b5ff5 Dark style the remaining pieces 2022-02-09 22:19:08 +01:00
viktorstrate
414ad11953 Further work on dark mode 2022-02-08 21:14:10 +01:00
viktorstrate
a43f29ee6d Fix sidebar album path reversed 2022-02-08 13:22:23 +01:00
viktorstrate
793e868d6f Fix #646 2022-02-08 13:05:40 +01:00
viktorstrate
c9d59a634e Add user preference for changing theme 2022-02-07 23:27:04 +01:00
viktorstrate
98f4dcb1e0 Begin on dark mode colors 2022-02-07 23:00:09 +01:00
Viktor Strate Kløvedal
88da2644a8 Merge pull request #644 from photoview/fix-485
Expand root album to its children, if user only has a single root album.
2022-02-07 19:50:06 +01:00
viktorstrate
a24f2ef019 If possible expand root album, write tests 2022-02-07 19:41:44 +01:00
viktorstrate
5ffc1a57dd Reconnect custom websocket upgrader 2022-02-07 18:15:47 +01:00
viktorstrate
d235a7e352 Fix position of fullscreen arrows (fixes #594) 2022-02-07 18:05:54 +01:00
Viktor Strate Kløvedal
f27a1924b4 Merge pull request #643 from photoview/fix-641
Fix exiftool not finding correct create date
2022-02-07 17:57:45 +01:00
viktorstrate
ee5c113c32 Add EXIF modify dates as a fallback for create dates 2022-02-07 17:57:10 +01:00
viktorstrate
f2f75c03b3 Add more keys for potential create dates to exiftool 2022-02-07 17:44:45 +01:00
Viktor Strate Kløvedal
c98a8c9e17 Merge pull request #642 from photoview/fix-615
Make albums sort by direction as well as media does
2022-02-07 17:19:12 +01:00
viktorstrate
3c834d705f Make albums sort by direction as well as media does 2022-02-07 17:08:51 +01:00
viktorstrate
91d63ebddc Write test for login and fix initial setup bug v2.3.11 2022-02-06 11:04:28 +01:00
viktorstrate
b593f615ad Better graphql schema documentation v2.3.10 2022-02-05 01:21:00 +01:00
Viktor Strate Kløvedal
4c0adeff79 Merge pull request #640 from photoview/blurhash
Add blurhash while image thumbnails are still loading
2022-02-02 00:09:25 +01:00
viktorstrate
b49333ae69 Add Media.GetThumbnail() tests 2022-02-02 00:03:31 +01:00
viktorstrate
0d9760b33f Integrate blurhashes with UI 2022-02-01 23:39:19 +01:00
viktorstrate
b4ad1c4f88 Add blurhash generation 2022-02-01 22:02:08 +01:00
Viktor Strate Kløvedal
8868b4a584 Merge pull request #638 from photoview/update-deps
Update go and node dependencies.
2022-02-01 14:01:04 +01:00
viktorstrate
c18910b7c4 Remove unused peoplePageRoute file 2022-02-01 13:54:46 +01:00
viktorstrate
1a324af241 Fix remaining unit tests 2022-02-01 13:39:15 +01:00
viktorstrate
ba01927707 Rework Routes.tsx and SharePage.tsx routing 2022-02-01 12:54:00 +01:00
viktorstrate
722e639bb1 Update go and node dependencies.
- Refactor UI to work with v6 of react-router
2022-01-31 22:32:17 +01:00
viktorstrate
e509124510 Disable 'media already scanned' logs 2021-11-21 11:41:52 +01:00
viktorstrate
bdef67fffc Update debian version in Dockerfile
- This fixes build errors
- This fixes #582
2021-11-11 19:55:44 +01:00
viktorstrate
c5a307283d Refactoring of API
- Add request context to all database calls
- Update deprecated gqlgen functions
- Update go.mod dependencies
2021-11-11 18:57:02 +01:00
viktorstrate
12085698c8 Refactoring + disable cleanup tests for sqlite 2021-11-06 15:41:25 +01:00
Viktor Strate Kløvedal
18b83dbbea Merge pull request #586 from photoview/scanner-cleanup-tests
Fix database cleanup error when multiple users have overlapping paths
2021-11-06 13:36:35 +01:00
viktorstrate
6545a04225 Add tests for modifying media on disk 2021-11-06 13:30:23 +01:00
viktorstrate
0618b70110 Enable foreign keys for sqlite 2021-11-06 13:23:59 +01:00
viktorstrate
c48ede175a Fix exif circular imports in tests 2021-11-06 13:01:01 +01:00
viktorstrate
3040daafb6 Fix tests 2021-11-06 12:38:05 +01:00
viktorstrate
b467f2ca61 Add failing test for #198 2021-11-06 12:23:47 +01:00
Viktor Strate Kløvedal
91a208b1b9 Merge pull request #577 from t-moennich/feature/add-favicon
Add back favicon
2021-10-29 11:32:50 +02:00
Tommy Mönnich
188378917b Reorder meta tags and use SVG favicon
While referring to the SVG icon we still have a favicon.ico in our root folder.
This seems to be enough for browser which doesn't support our SVG.
2021-10-29 07:51:06 +02:00
Tommy Mönnich
851a5b6541 Add favicon to HTML 2021-10-25 16:57:10 +02:00
Tommy Mönnich
59d0f78c79 Add a favicon generated from the logo512.png 2021-10-25 16:57:00 +02:00
Viktor Strate Kløvedal
72cb02d981 Merge pull request #554 from photoview/viktorstrate/issue319
Add faces and map to media sidebar
v2.3.9
2021-10-21 18:11:22 +02:00