Commit graph

8122 commits

Author SHA1 Message Date
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
Michael Mayer 16c78767b2 Metadata: Parse Caption and Caption-Abstract as Description #3567
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-07 14:56:47 +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
Michael Mayer 54326361b5 Frontend: Update translations.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-07 14:46:15 +02:00
Michael Mayer eecce8c743 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-07 14:46:00 +02:00
Sönke Joppien 2a83345d11
Mention that translations should be added through Weblate (#3606)
* Mention translations in contributing section

* Mention Weblate
2023-08-07 14:44:53 +02:00
Sönke Joppien 65a5dd2cb4
Update German translation (#3605)
* Update German translation

* Update "Feature Request" to "Verbesserungsvorschlag"
2023-08-05 18:59:21 +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
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