1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

330 Commits

Author SHA1 Message Date
gras
cb433fe83b This reverts commit fcc123bb1bf9cc33f4590aefd56cb2f4bf2f7a17. 2024-04-03 21:16:29 +02:00
gras
fcc123bb1b reverted search manager tests 2024-04-01 18:53:32 +02:00
gras
1e50f1b2e5 linting error fix 2024-03-31 19:20:07 +02:00
gras
84928e6371 Change how months are subtracted in SearchManager 2024-03-31 19:15:59 +02:00
grasdk
75d81d42bd
Feature/caption and title (#14)
* reading caption and title from several tags with several tests added
minor bugfix for date conversion to MS
optimization: break sidecar loop, when first sidecar is found
2024-03-31 14:57:20 +02:00
Patrik J. Braun
086bc47a01
Merge pull request #868 from grasdk/master
Metadata mapping and consolidation
2024-03-30 22:12:29 +01:00
gras
b071b6daae xmp-rating valid values now 1-5. 0 means "unrated" and the attribute does not exist with value 0 2024-03-30 21:07:41 +01:00
gras
9e7acc46c1 gps coordinate undefined check + rating update 2024-03-30 15:31:16 +01:00
grasdk
1514662b8d
Feature/metadata sidecar reading cleanup (#13)
* Removed the SideCar Type to make reading sidecar data just as generic as reading the embedded exif data

* Moved metadata-mapping into separate function to prepare for reuse

* Most sidecar metadata is now read with the same function as embedded metadata (for photos). Fixed a bug with rating: 0 being ignored

* added new test for special chars and timezone

* merge incoming changes

* xmp rating fix - 0 is a value. prep for xmp timestamp handling

* refactored mapping of metadata into smaller functions

* consolidated GPS coordinate mapping

* simplification of sidecar date reading logic

* Moved date mapping code into one function - fixed testdata - did not yet resolve offset bug

* CreationDateOffset is now mapped from Sidecar timestamps. Tests updated accordingly.


Total: changed sidecar reading for video to shared reader and fixed tests accordingly (more data is read now)
2024-03-30 13:58:06 +01:00
sarayourfriend
c44110d4a6
Trim extensions when sorting filenames 2024-03-29 16:09:23 +11:00
Patrik J. Braun
ed0ea40758 Improving integration tests. 2024-03-25 22:51:27 +01:00
Patrik J. Braun
743d29b208 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/backend/model/extension/ExtensionConfigWrapper.ts
2024-03-25 21:39:41 +01:00
Patrik J. Braun
d4d8dcfcdb Fix extension loading #784, #847, fixes #855 2024-03-25 21:38:09 +01:00
Martin Kampas
1d1df01a68 Read GPS coordinates from XMP sidecar too 2024-03-22 15:44:22 +01:00
grasdk
35839ef732 test-fixing 2024-03-14 10:41:41 +01:00
Martin Kampas
03e0822181 Improve on reading dates from XMP sidecars 2024-03-13 20:03:26 +01:00
Martin Kampas
98a78e34fe Move utilities for parsing time stamps to Utils
These will be needed from the loadVideoMetadata as well.
2024-03-13 20:01:47 +01:00
grasdk
390e24a2c4 Added read of CreationDate to sidecar and fixed tests 2024-03-11 23:47:44 +01:00
grasdk
219cac5219 DataStructureVersion bump to trigger database rebuild 2024-03-08 16:07:23 +01:00
Patrik J. Braun
3811fc3c99 Add missing $localize #784 2024-03-06 22:43:52 +01:00
grasdk
d528760b26
Merge branch 'bpatrik:master' into feature/timestamp_rework_test_fix 2024-03-06 06:24:19 +01:00
grasdk
c4cc99bcc7 Removed Unnecessary semicolon 2024-03-06 06:11:39 +01:00
grasdk
f11a133f43 fix leap year searching and tests. small metadatabuffer size optimization. 2024-03-06 00:40:18 +01:00
Patrik J. Braun
1502e80150 Add basic extension UI #784 2024-03-02 22:36:06 +01:00
Patrik J. Braun
9172f89e78 Add basic extension UI #784 2024-03-02 22:36:06 +01:00
Patrik J. Braun
8a8fc57c67 Refactor extension settings 2024-03-02 22:36:06 +01:00
grasdk
e0d9bdf2b2
Feature/timestamp use2 (#7)
* effective storage of offset

* added comments to searchmanager.ts fixed linting error in utils
2024-02-21 23:38:07 +01:00
grasdk
6009ac649f
effective storage of offset (#6) 2024-02-21 23:06:24 +01:00
grasdk
5e94220d6d
Use of offset value in the UI (#5)
Added recognition of the offset value in the UI. It will be displayed if available.

Caveat: Search will not take offset into account. A new year's picture taken in Sydney the 1st of January 2019 00:15:00 GMT+11, is technically taken in 31st of December 2018 in UTC. Therefore this picture won't show of in seaches where the after: parameter is set to 1st of january 2019.

This is both correct and wrong at the same time.

UTC-wise it is correct, local time it is not correct. I guess most people would find local time most untuitive, so there is room for improvement of the search. :)
2024-02-16 19:17:31 +01:00
grasdk
b2be0a9763
consolidate exif parsing libraries - rework of timestamps (#4)
* exifr is used for most tags now

* New timestamp handling, removed exif-parser, date supported for png

* Removed offset from testhelper. It's optional

* explanations

* Feature/timestamps (#3)

* preparing for further timestamp test

* Added more test and fixed offset calculation bug

* Revered old dimension test, added new timestamp tests, some bug fixes

* Renamed png-test because faces overrule keywords
2024-02-11 15:55:26 +01:00
Patrik J. Braun
649e7a9a7e Indicating if slideshow is running in query params #809 2024-01-07 16:56:05 +01:00
Patrik J. Braun
4a2959edaf Fixing solo job running 2024-01-03 11:34:00 +01:00
Patrik J. Braun
13e828d210 Merge thumbnail and photo preview (generated photo) handling #806 2024-01-03 11:06:19 +01:00
Patrik J. Braun
0395fa87ff Remove rating support for lightbox texts for now as the current architecture does not support it #801 2023-12-28 16:41:48 +01:00
Patrik J. Braun
e68fbbbe44 Create customizable lightbox text. fixes #801 2023-12-26 00:36:50 +01:00
Patrik J. Braun
3489f1d55a
Merge pull request #798 from nk9/image-titles-2
[#760] Add image titles and captions to the info panel.
2023-12-13 09:53:09 +01:00
Nick Kocharhook
e7c0906cb2 [#760] Add image titles and captions to the info panel. 2023-12-06 16:25:02 +00:00
Graham Alderson
3ea0dc9147 Sidecar load refactor
Resolves error when sidecar metadata not complete, migrates from any to SideCar type, moves sidecar loading to after file loading, finishes async/await transition.
2023-12-04 12:13:38 +12:00
Patrik J. Braun
ba9b5292e1 Fix sharing password. fixes #744 2023-12-01 19:33:39 +01:00
Patrik J. Braun
0dec77c0ef type fix. fixes #785 2023-11-30 21:16:43 +01:00
Patrik J. Braun
ed811a051d Merge remote-tracking branch 'origin/master' 2023-11-26 22:48:09 +01:00
Patrik J. Braun
1458faca70 Adding animated gif support #779 2023-11-26 22:47:57 +01:00
Patrik J. Braun
9514b3d803
Merge pull request #773 from grahamalderson/xmp-sidecar-support
Added ratings to xmp sidecar support
2023-11-26 11:03:03 +01:00
Graham Alderson
702b55c912 Move some metadata to mediametadata interface
Some metadata is now relevant to all supported media types due to xmp sidecar support.
2023-11-26 10:53:08 +12:00
Patrik J. Braun
4fe7f31d0e Moving extension folder within config folder for docker. #743 2023-11-24 23:43:23 +01:00
Graham Alderson
6db3472ca6 Added ratings to xmp sidecar support
Added ratings to xmp sidecar support, also added rating to bunny.mp4.xmp and a different rating in IMG_5910.jpg.xmp vs what is in the photo file to test if sidecar is functioning as primary.
2023-11-23 11:02:46 +12:00
Patrik J. Braun
4da25fb8ff Merge remote-tracking branch 'origin/master' into feature/extension 2023-11-19 23:02:17 +01:00
Patrik J. Braun
50b8f7a81d Refactoring messenger to prepare extension support #753 2023-11-18 16:26:42 +01:00
Patrik J. Braun
7208a3b4fe Refactoring Job config and exposing it to messenger #753 2023-11-18 14:43:22 +01:00
Patrik J. Braun
ee8a942e5c excluding cypress tests from mocha and refactoring node_module paths #753 2023-11-17 00:32:36 +01:00