1
Fork 0
Commit Graph

651 Commits

Author SHA1 Message Date
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
Viktor Strate Kløvedal f0e8adfbed
Merge pull request #137 from photoview/v2.0.0
Release v2.0
2021-01-17 16:57:38 +01:00
viktorstrate 107da91700
Refactor handling of environment variables 2021-01-17 16:50:48 +01:00
viktorstrate 9098bf38d1
Make Dockerfile build sqlite dependency without errors 2021-01-17 15:59:08 +01:00
viktorstrate f0bc9fec0c
Merge remote-tracking branch 'origin/master' into v2.0.0 2021-01-17 13:21:18 +01:00
Viktor Strate Kløvedal 93748058cc
Merge pull request #167 from photoview/v2/multi-database-support
Multi database support
2021-01-17 13:16:42 +01:00
viktorstrate 621ad00fff
Update example.env with sqlite comments 2021-01-17 13:15:41 +01:00
viktorstrate 50d0aa0efb
Disable multithreaded scanners for sqlite
as it's not reliable
2021-01-17 13:08:44 +01:00
viktorstrate fcdb5b4e7b
Work on sqlite support 2021-01-17 12:45:23 +01:00
viktorstrate f711da4d9c
Merge branch 'v2.0.0' into v2/multi-database-support 2021-01-17 12:21:32 +01:00
Viktor Strate Kløvedal 2c2790c465
Merge pull request #166 from stz184/env-variables-refactoring
Prefixed the env variables to avoid naming collisions
2021-01-16 22:33:54 +01:00
stz184 26f2b753b7 Prefixed the env variables to avoid naming collisions 2021-01-16 23:27:23 +02:00
Viktor Strate Kløvedal a10f8ad1ef
Merge pull request #164 from stz184/implement-db-connection-retry
Added db connection retry logic
2021-01-16 19:04:12 +01:00
Vladimir Ivanov 85ce3a1018
Update api/database/database.go
Co-authored-by: Viktor Strate Kløvedal <viktorstrate@gmail.com>
2021-01-16 19:35:02 +02:00
Viktor Strate Kløvedal 5b8660c5a9
Remove hyphen from default SQL password
Which, in some cases, could cause problems. This solves #96
2021-01-12 21:56:43 +01:00
stz184 5b7637cb3c Added db connection retry logic 2021-01-12 20:14:28 +02:00
viktorstrate 41b122c461
Start on sqlite support
- TODO: Sqlite doesn't support MD5, all calls to this function should be done
  beforehand.
2021-01-10 18:59:01 +01:00
viktorstrate b3596751cc
Cleanup Dockerfile after removing old database migrations 2021-01-10 18:34:37 +01:00
viktorstrate 820ae78563
Delete old migrations 2021-01-10 18:29:33 +01:00
Viktor Strate Kløvedal 719dd633ce
Update Discord link with a new valid url 2021-01-06 23:35:58 +01:00
Viktor Strate Kløvedal 8700f98fd2
Merge pull request #157 from photoview/v2/user-multi-paths
Multiple and shared user paths
2021-01-06 17:28:49 +01:00
viktorstrate a1a14286d6
Properly clean up when a user <-> album relation is deleted 2021-01-06 17:28:06 +01:00
Viktor Strate Kløvedal 2016489a5f
Add link to Discord server in Readme 2021-01-03 20:46:46 +01:00
viktorstrate 59048c8416
Fix various small errors regarding database change
- Fix media sidebar
- Fix Albums page
- Fix media and album shares
2021-01-02 23:07:44 +01:00
viktorstrate d78cef300a
Finish add/remove root paths 2020-12-31 00:37:11 +01:00
Viktor Strate Kløvedal 82f4982e0e
Merge pull request #162 from Kjeldgaard/master
Add navigation control to map
2020-12-30 23:10:01 +01:00
Kjeldgaard 6c596c8462 Add navigation control to map
In places tab, navigation controls are added to the mapbox map.
2020-12-30 22:10:26 +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 6e2773cc65
Add UI for multi root users 2020-12-27 22:33:11 +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
Viktor Strate Kløvedal ae8e764539
Merge pull request #155 from stz184/search-orm-migration
Migrated the search to gorm
2020-12-19 09:46:24 +01:00
viktorstrate d815472458
Simplify search query a little 2020-12-19 09:45:43 +01:00
stz184 e5cb91532a implicitly join on the Album table 2020-12-19 01:07:43 +02:00
stz184 3ce4ab02cc Migrated the search to gorm 2020-12-19 00:50:29 +02: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