Commit graph

16 commits

Author SHA1 Message Date
Michael Mayer
74772aea97 Config: Always initialize fixtures, even when skipping migrations #3215
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 04:44:08 +01:00
Michael Mayer
9054d8cf0f Config: Don't skip individually selected migrations #3215
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 02:08:23 +01:00
Michael Mayer
cec2b8f000 Config: Skip migrations if version has already been initialized #3215
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 01:48:42 +01:00
Michael Mayer
441812fd7b MariaDB: Make version check compatible with 10.10 #2913
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-18 12:49:17 +01:00
Michael Mayer
54bfb167de Config: Reorder imports in config_db.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-12 12:15:55 +01:00
Michael Mayer
830712a41e MariaDB: Return error if connection failed #2878
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-10 09:32:51 +01:00
Michael Mayer
2f6e57527b MariaDB: Allow unsupported versions in "unsafe" mode #2878
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-10 07:21:45 +01:00
Michael Mayer
ef9b76a54a Config: Fix MariaDB version check #2845
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-03 10:35:56 +01:00
Michael Mayer
e3bb8b19dd Routing: Prefix frontend UI routes with /library #840 #2466
Also improves migrations and updates the db schema docs.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 21:54:11 +02:00
Michael Mayer
884dea17de Security: Use individual preview tokens for each user account #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 22:11:02 +02:00
Michael Mayer
ff8bc9f5da MariaDB: Show error if an unsupported server version is used #2381
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 18:50:49 +02:00
Michael Mayer
f5a8c5a45d Auth: Session and ACL enhancements #98 #1746
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 09:01:17 +02:00
Michael Mayer
a7872a684b SQLite: Set _busy_timeout default to reduce locking issues #2707
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-15 07:29:09 +02:00
Michael Mayer
5e7ff6b1b2 Auth: Add unique index to user_slug in auth_users table #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-02 22:55:57 +02:00
Michael Mayer
85561547cc Auth: Add "PHOTOPRISM_ADMIN_USER" option and refactor user table #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-02 21:30:50 +02:00
Michael Mayer
92e6c4fe1e Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234
Extends DownloadSettings with 4 additional options:
- Name: File name pattern for downloaded files (existed)
- Disabled: Disables downloads
- Originals: Only download files stored in "originals" folder
- MediaRaw: Include RAW image files
- MediaSidecar: Include metadata sidecar files (JSON, XMP, YAML)
2022-04-15 09:42:07 +02:00
Renamed from internal/config/database.go (Browse further)