Commit graph

883 commits

Author SHA1 Message Date
graciousgrey
71c30e4218 Tests: Add unit tests 2023-08-11 14:48:28 +02:00
graciousgrey
e6679e6c50 Tests: Add unit tests 2023-08-09 15:56:16 +02:00
graciousgrey
b32e3cd244 Tests: Add unit test 2023-08-08 13:40:12 +02:00
graciousgrey
f9ea868582 Tests: Add unit tests 2023-08-08 13:01:48 +02:00
graciousgrey
470694e774 Tests: Add unit tests 2023-08-07 16:27:45 +02:00
graciousgrey
eece27a0ae Tests: Add unit tests 2023-08-07 14:46:32 +02:00
graciousgrey
9f17d64ea3 Tests: Add unit tests 2023-08-07 14:46:32 +02:00
graciousgrey
a3f253c9de Tests: Add unit tests 2023-08-04 17:34:28 +02:00
graciousgrey
a3bb4a2f0e Tests: Add unit tests 2023-08-04 16:23:08 +02:00
graciousgrey
63daf10bf9 Tests: Add unit tests 2023-08-02 16:44:12 +02:00
graciousgrey
5ba00e74e5 Tests: Add RefID to session fixtures 2023-08-02 16:42:17 +02:00
graciousgrey
ca40954796 Tests: Add unit tests for wildcard search #2050 2023-08-02 16:00:57 +02:00
graciousgrey
6b8a75f29f Tests: Add unit tests 2023-07-26 16:38:48 +02:00
graciousgrey
b59b954d1f Tests: Add unit tests 2023-07-26 16:38:48 +02:00
Michael Mayer
6c1df15f34 Backend: Run "make fmt" #3566
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-25 19:15:09 +02:00
Gokce Dilek
1df12bd5c9
Albums: Refresh updated timestamp when photos are added (#3566)
Related Issue:
- #3080
2023-07-25 19:10:01 +02:00
graciousgrey
ff25b5f755 Tests: Add unit tests 2023-07-25 18:42:18 +02:00
graciousgrey
c9d1413ddb Tests: Add more unit tests #3512 2023-07-24 15:02:38 +02:00
Michael Mayer
062495b6f2 Albums: Refresh UpdateAt after adding entries #3080 #3566
This requires adding unit tests and checking if there are other
situations where the content of an album is changed by the user
and therefore updating the timestamp would be appropriate.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 14:26:14 +02:00
Michael Mayer
4931889b5e Auth: Improve privilege level change detection #3512
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-18 23:35:10 +02:00
Michael Mayer
7b9b2ae0c6 Auth: Delete user sessions after a permission level change #3512
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-18 16:38:10 +02:00
Michael Mayer
cc5ff21b4a Video: Add transcoding libs and improve error handling #3466
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-15 15:17:41 +02:00
Michael Mayer
0e93bd8aa2 Auth: Ensure clipboard is cleared on logout and privilege change #3512
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-14 09:14:57 +02:00
graciousgrey
186d1f26e7 Tests: Add unit tests for internal/entity 2023-06-26 15:55:05 +02:00
Michael Mayer
accb17bec9 Auth: Update invalid role log message in user entity
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-26 11:46:32 +02:00
graciousgrey
17242fb079 Tests: Add unit tests #3482 2023-06-23 18:38:54 +02:00
graciousgrey
749d4b6d7e Tests: Add unit tests #3482 2023-06-23 18:38:22 +02:00
Michael Mayer
87b6d72477 CLI: Improve length check in "photoprism passwd" command #3482
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-19 17:24:02 +02:00
Michael Mayer
90a18f6e7d Photos: Skip related albums from which a photo was removed #3095
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-15 11:35:45 +02:00
Michael Mayer
6a4bfa84be UX: Show albums in the Info tab of the edit dialog #3095
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-13 11:45:15 +02:00
Mike Maravillo
97ae47b06e Removed omit tag so that Photo's Album array gets populated 2023-06-13 09:27:29 +02:00
Michael Mayer
bff649469d Config: Make PhotoPrism compatible with MariaDB 11 #3443
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-02 17:07:10 +02:00
Michael Mayer
89eb11de9f Metadata: Save TakenAtLocal in YAML backup files #3338
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-14 15:18:23 +02:00
Michael Mayer
d50da1e007 Auth: Only allow setting a password hash for the initial account #1987
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-13 19:46:00 +02:00
Michael Mayer
163398b76c Passwords: Enforce 72-character limit and improve bcrypt support #1987
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-13 17:21:18 +02:00
Michael Mayer
e7d862d07a Albums: Improve database error handling #3320
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-02 10:27:57 +02:00
Michael Mayer
b6378a5c1f Albums: Improve parameter validation for database queries #3320
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-01 14:25:05 +02:00
Michael Mayer
b6c404c3a6 Admin: implement demo mode for user management and improve logging #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-29 13:56:11 +02:00
Michael Mayer
c4593b750e Help & Support: Improve about.vue and connect.vue pages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-29 12:53:51 +02:00
Michael Mayer
e34c9759e4 WebDAV: Replace studio-b12/gowebdav client with emersion/go-webdav #3310
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-28 20:37:42 +02:00
Michael Mayer
9ad86ac017 Edit: Change image orientation through the user interface #464
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 16:18:27 +01:00
Michael Mayer
cc12f3f457 Auth: Improve sanitization of usernames and handles
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-15 22:41:59 +01:00
Michael Mayer
addc5e8251 Auth: Refactor users path configuration and base path default
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 21:47:14 +01:00
Michael Mayer
9ab833c2ec Auth: Improve username validation and parsing
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 16:36:30 +01:00
Michael Mayer
cc97759806 Moments: Change default sort order in the overview to "newest" #3280
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 22:17:23 +01:00
Michael Mayer
88367b4ff7 Auth: Refactor user model and path validation #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 17:52:48 +01:00
Michael Mayer
36d62b5506 Auth: Refactor user model and improve validation #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 17:36:56 +01:00
Michael Mayer
5b73101442 Auth: Refactor user roles and auth providers in entity model #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 16:04:37 +01:00
Michael Mayer
c1efe61b92 Settings: Move download settings to general tab #449
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-11 15:34:59 +01:00
Michael Mayer
a425027a9b Auth: Prevent unauthorized users from using the application #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-10 13:20:16 +01:00