Commit graph

8358 commits

Author SHA1 Message Date
graciousgrey
ca40954796 Tests: Add unit tests for wildcard search #2050 2023-08-02 16:00:57 +02:00
Michael Mayer
82dac4b7db Metadata: Change order of titles source fields #3567
This is a workaround to avoid character encoding issues, see:
- https://github.com/photoprism/photoprism/discussions/3567
- https://exiftool.org/TagNames/IPTC.html

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-01 15:12:06 +02:00
Michael Mayer
3c7b1b29a7 Backend: Update tidwall/gjson in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-01 14:28:25 +02:00
Michael Mayer
098d39f9dc Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-01 14:28:05 +02:00
Reuben Dowle
a58318f304
UX: Don't process all features for clusters exceeding 100 photos. (#3577)
* Performance: Don't process all features when creating cluster marker..

Fixes performance issues with large numbers of photos

* Performance: Only update markers after final render, rather than repeatedly during zoom, pan, etc

* UX: Spread out photos used to generate cluster marker.

This gives a slightly more representative view of cluster than taking the first
couple of photos which are often all very similar.
2023-08-01 14:06:09 +02:00
Michael Mayer
31578a3806 UX: Revert outer padding of moasic view from pa-1 to pa-2 #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-29 13:02:31 +02:00
Michael Mayer
36bac7ab48 Faces: Add POST REST endpoint to manually create new file markers #1548
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-27 19:13:00 +02:00
graciousgrey
83473f6f93 Tests: Adapt acceptance test to changes #2596 2023-07-27 17:30:11 +02:00
graciousgrey
098255c741 Tests: Add unit tests #2596 2023-07-27 16:09:23 +02:00
graciousgrey
40b1f1f5cd Tests: Update testcafe config 2023-07-27 12:58:23 +02:00
Michael Mayer
bc18507a14 Setup: Update stack config file for Portainer #1696
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-26 18:01:11 +02:00
Michael Mayer
ec09145fef Setup: Update stack config and env file for Portainer #1696
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-26 17:42:32 +02:00
Michael Mayer
348442d355 Setup: Add stack config and env file for Portainer #1696
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-26 17:19:56 +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
2c33a34ac3 Metadata: Update list of special words in txt package
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-26 12:20:49 +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
1fcef1bec4 Tests: Update test command in makefile 2023-07-24 17:09:38 +02:00
Michael Mayer
97e9ad9c1e UX: Restore 4px border radius for thumbnails in edit dialog #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 16:26:11 +02:00
graciousgrey
8f165c653f Tests: Add acceptance test 2023-07-24 16:25:52 +02:00
Michael Mayer
fd0ef7825e UX: Add 4px border radius for thumbnails in mosaic view #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 16:14:26 +02:00
graciousgrey
c9d1413ddb Tests: Add more unit tests #3512 2023-07-24 15:02:38 +02:00
Michael Mayer
ef1487ddd2 Frontend: Update translations.pot #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 14:54:43 +02:00
Michael Mayer
22bb6634af UX: Use less padding in mosaic view in favor of larger thumbnails #3572
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 14:52:38 +02:00
graciousgrey
33b08f15e5 Tests: Add unit tests 2023-07-24 14:02:18 +02:00
graciousgrey
69d302248c Tests: Add unit tests 2023-07-24 13:38:02 +02:00
Heiko Mathes
60d280430e
Places: Add Cluster View (#2596)
* enable clustering on all zoom levels

* add latmin, latmax, lngmin and lngmax to search api

* open prefiltered search when clicking a cluster on the map

* start moving places pictures to overlay

* update scrollbar hide todo comment

* add todo comments for cluster view

* start implementing possitbility to close cluster view via back button

* move selected cluster to single query param

* improve back-navigation of cluster-view

* remove outdated comment

* start showing preview-images in clusters

* cleanup some cluster-code in places

* use rounded squares instead of circles so more from the image can be seen

* try improving map visibility by adding borders

* add counter bubble to places view

* remove obsolete comment

* remove console.log

* add todo comment to fix search on cluster-view open

* fix closing a cluster resetting the places-filter

* prevent old cluster markers from being visible while zooming

* prevent cluster-previews from being smaller than single-image-previews

* make cluster-preview-images fill the whole available area and scale them to their bounding box

* increase clusterRadius to reduce likelyhood of clusters colliding on the map

* update obsolete todo comment

* try making cluster view look less broken for small clusters. elements in photo-view use block-relative percentages based on viewport-relative media queries

* remove seemingly unrequired code

* fix cluster view after "pages"-components moved to "page" (singular)
2023-07-24 10:12:22 +02:00
Michael Mayer
ea8ee0938c UX: Trim Lat / Lng and split values with regex #3568 #3571
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-24 08:40:27 +02:00
Michael Mayer
2a002eca78 API: Remove unnecessary log message from batch delete handler #272
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 18:32:02 +02:00
Michael Mayer
6b9aeda48f Themes: Darken "Mint" clipboard menu colors
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 18:00:22 +02:00
Michael Mayer
ad3da85ecb UX: Add Delete All button to archive page toolbar #272
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 17:57:48 +02:00
Michael Mayer
90eac1966b Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 16:11:40 +02:00
Michael Mayer
bf0ad09557 UX: Refactor pasting lat / lng in a single operation #3568
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-23 16:07:02 +02:00
Reuben Dowle
ce13135743
Frontend: Allow paste of lat/lng in single operation (#3568)
This speeds up the workflow when pasting location found in external mapping application
2023-07-23 15:48:43 +02:00
Alex Kirk
5ca3329e2d
XMP: Add support for reading fstop:favorite flag (#1873)
* Add support for fstop:favorite in XMP files
* Incorporate suggestions
2023-07-23 15:43:32 +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
20df14e9d1 Frontend: Add "Mint" theme and move default styles to themes/default.css
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-21 09:55:57 +02:00
graciousgrey
b5b13b0fbb Tests: Add unit tests 2023-07-20 20:06:27 +02:00
graciousgrey
4727f769d2 Tests: Add unit tests 2023-07-20 20:02:02 +02:00
graciousgrey
0817f1876d Tests: Add unit tests 2023-07-20 20:02:02 +02:00
graciousgrey
e1364f288c Tests: Add unit tests 2023-07-20 20:02:02 +02:00
Michael Mayer
74f6954a90 UX: Add click handler to open image in labels tab #3532
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-20 17:16:27 +02:00
Michael Mayer
7c70ac0126 UX: Improve tab styles and layout in photo editing dialog #3532
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-20 15:35:35 +02:00
Reuben Dowle
3d828a7df0
Frontend: Show thumbnail in the Labels tab of the edit dialog (#3532) 2023-07-20 09:17:46 +02:00
Michael Mayer
84a4c3c57e Frontend: Update deps in package.json and package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-20 09:03:02 +02:00
Michael Mayer
70ad541c01 Develop: Update install-go-tools.sh #3555
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-20 08:36:01 +02:00
Michael Mayer
68b40babfa Develop: Upgrade base image from 230715-lunar to 230720-lunar #3555
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-20 08:30:17 +02:00
Gokce Dilek
0d243d5ea4
Develop: Add Delve to install-go-tools.sh script (#3555) 2023-07-20 08:22:57 +02:00