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
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
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
47defc861c
API: Add sort order "random" to find a random set of photos #153
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 12:27:34 +01:00
Michael Mayer
dd506adce2
Albums: Replace ASCII quotes in titles with Unicode quotes #2891
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-28 09:24:23 +01: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
b97e0e9c3b
Albums: Prevent accidental creation of duplicate albums #2233
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-10 14:38:51 +02:00
Michael Mayer
e77a029f13
Search: Improve input sanitation and filter queries #1994 #2079 #2181
2022-03-25 18:01:34 +01:00
Michael Mayer
0e7fec1cec
Albums: Shorten title and slug to avoid "data too long" error #2181
...
Related GitHub Discussions:
- https://github.com/photoprism/photoprism/discussions/2151
- https://github.com/photoprism/photoprism/discussions/2179
2022-03-24 21:46:25 +01:00
Michael Mayer
32fb22c039
Months, Countries & States: Update album title and slug if needed #1664
2021-11-23 20:25:32 +01:00
theresa
21c60dd2fa
Tests: Add unit test for inernal/entity
2021-11-22 13:29:19 +01:00
Michael Mayer
06c23b0cb3
Places: Sort States by Country Name and Title #1608 #1740
2021-11-20 16:36:34 +01:00
theresa
7a90c0209e
Tests: Add tests for internal/entity
2021-08-25 15:29:00 +02:00
theresa
dcebf32c2c
Tests: Adapt tests to fixture changes
2021-07-22 13:53:28 +02:00
theresa
7714ab893b
Tests: Add tests for internal/entity
2021-02-24 11:38:28 +01:00
Michael Mayer
449fb7a2c1
Backup and restore albums from YAML files #567
2020-12-17 18:24:55 +01:00
Michael Mayer
004400b118
Albums: Improve folder indexing
2020-12-09 13:10:21 +01:00
Michael Mayer
5645cb1d0e
Albums: Update folder album slug when path changes
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-09 00:44:33 +01:00
Michael Mayer
466a1bc3dd
Albums: Hide empty folder albums after re-indexing #684
2020-12-08 19:47:27 +01:00
Michael Mayer
5daa689975
Backend: Format go imports
2020-11-21 18:08:41 +01:00
Michael Mayer
a01e54070d
Index: Skip duplicates and handle files with wrong extension #391
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-20 19:48:31 +02:00
Theresa Gresch
226eafec7b
Backend: Add unit tests for internal/entity
2020-07-08 18:09:18 +02:00
Theresa Gresch
3e6c21a566
Backend: Add unit tests for internal/entity
2020-07-08 17:06:23 +02:00
Michael Mayer
8fa1cb9392
Add favorite places
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-08 18:32:51 +02:00
Theresa Gresch
ad9167360d
Feature/246 ( #345 )
...
* Import: Implement "add to album" in backend #246
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Import: Implement "add to album" in frontend #246
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Add OriginalName to photo search result
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Add json tags to PhotoName and PhotoPath
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Photo: Use EstimateCountry() in UpdateLocation()
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Photo: Set OriginalName earlier while indexing
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Ignore whitespace when stripping sequence from filename #335
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Fix labels count for SQLite
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Import: Show name of new albums #246
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
* Frontend: Add acceptance test files
Co-authored-by: Michael Mayer <michael@liquidbytes.net>
2020-06-01 09:45:24 +02:00
Michael Mayer
dcc610d7a9
Use AlbumType to distinguish between manual collections and moments #154
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-29 12:21:17 +02:00
Michael Mayer
dd42d2b823
Entities: Refactor FirstOrCreate
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 11:00:39 +02:00
Michael Mayer
10d5f433aa
Albums/Folders: Add category, country, year & month columns #154
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 09:02:19 +02:00
Michael Mayer
03ec4b586d
Initial commit for folders and moments #154 #260 #331
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-23 20:58:58 +02:00
Michael Mayer
3aad02501f
Run unit tests in separate databases to avoid conflicts
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-08 19:34:29 +02:00
Theresa Gresch
4c6aec9912
Backend: Add tests to internal/entity
2020-05-07 17:29:35 +02:00
Michael Mayer
882340a14c
Refactor string clipping in frontend & backend
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 14:31:33 +02:00
Theresa Gresch
1b78ae2513
Add test for entity/album.go
2019-12-17 18:25:13 +01:00
Michael Mayer
4e06deda76
Backend: Rename "models" package to "entity"
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 16:55:18 +01:00