1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
Commit Graph

2325 Commits

Author SHA1 Message Date
Martin Kampas
6a52d84881 Add tests for reading sidecar files
Thanks grasdk for providing the .json files!

Co-authored-by: grasdk <chrisc.gigamail@gmail.com>
2024-03-13 20:03:26 +01:00
Martin Kampas
da0b7d8e21 Allow for "xap" ns prefix instead of "xmp" 2024-03-13 20:03:26 +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
Martin Kampas
6173350a69 Fix errors reading properties of undefined 2024-03-13 19:29:13 +01:00
Patrik J. Braun
3ec3b5a030
Merge pull request #839 from kagahd/issue838
bug fixes of both issues of #838
2024-03-12 23:07:09 +01:00
kagahd
d8c064857f
re-enable unit test that keywords from photo are merged with keywords from sidecar 2024-03-12 08:48:55 +01:00
Kay Agahd
f356eae957
Merge pull request #1 from grasdk/feature/kagahd_issue838
Added read of CreationDate to sidecar and fixed tests
2024-03-12 07:06:30 +00:00
grasdk
390e24a2c4 Added read of CreationDate to sidecar and fixed tests 2024-03-11 23:47:44 +01:00
kagahd
a2fc61320d
resolve merge conflicts for a second time due to bug in PR #829 2024-03-11 08:45:44 +01:00
kagahd
f05ee7a867
Merge branch 'master' into issue838
# Conflicts:
#	src/backend/model/fileaccess/MetadataLoader.ts
2024-03-11 08:35:14 +01:00
Patrik J. Braun
f551509fee Messenger handler should override when adding #784 2024-03-09 01:16:38 +01:00
Patrik J. Braun
79817820c9
Merge pull request #851 from grasdk/master
DataStructureVersion bump to trigger database rebuild
2024-03-08 16:22:36 +01:00
grasdk
219cac5219 DataStructureVersion bump to trigger database rebuild 2024-03-08 16:07:23 +01:00
Patrik J. Braun
4ac4192bf1
Merge pull request #850 from grasdk/master
Feature/location info (#9)
2024-03-08 00:21:17 +01:00
grasdk
e21e67cfc7
Feature/location info (#9)
* Show comma-separated city, state and country in infobox and in gallery mode. All of the values that are non-empty will be shown.

* methodcall to isPhoto

* Unit test and bugfix for CreationDate (#8)

* fixed the DiskManagerWorker test

* s (#10)

* Unit test and bugfix for CreationDate (#8)

* fixed the DiskManagerWorker test

---------

Co-authored-by: Patrik J. Braun <bpatrik@users.noreply.github.com>

* s (#11)

* Unit test and bugfix for CreationDate (#8)

* fixed the DiskManagerWorker test

---------

Co-authored-by: Patrik J. Braun <bpatrik@users.noreply.github.com>

* 9ij (#12)

* Unit test and bugfix for CreationDate (#8)

* fixed the DiskManagerWorker test

---------

Co-authored-by: Patrik J. Braun <bpatrik@users.noreply.github.com>

---------

Co-authored-by: Patrik J. Braun <bpatrik@users.noreply.github.com>
2024-03-08 00:01:23 +01:00
Patrik J. Braun
a8b35bb76e
Merge pull request #848 from grasdk/master
Unit test and bugfix for CreationDate (#8)
2024-03-07 22:58:59 +01:00
grasdk
59b78d0223 fixed the DiskManagerWorker test 2024-03-07 20:38:27 +01:00
grasdk
2af6115f2a
Unit test and bugfix for CreationDate (#8) 2024-03-07 09:29:44 +01:00
Patrik J. Braun
3811fc3c99 Add missing $localize #784 2024-03-06 22:43:52 +01:00
Patrik J. Braun
5d5be0604e
Merge pull request #845 from grasdk/feature/timestamp_rework_test_fix
fix leap year searching and tests. small metadatabuffer size optimization
2024-03-06 22:29:06 +01:00
Patrik J. Braun
eb36707062
Merge pull request #844 from mblythe86/ext_excludeDir
Add excludeDir to extension interface
2024-03-06 22:11:40 +01:00
grasdk
af4e915749 Changed CRLF back to LF 2024-03-06 16:54:30 +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
Matthew Blythe
5852dac1ad Add excludeDir to extension interface
Without this, the mechanism to exclude a directory from indexing is a
bit strange.  I had to use the `scanDirectory.after` hook, then remove
elements from the `output.directories` array.

In order to make the extension hook a bit more developer-friendly,
I also changed the arguments to the `excludeDir` function to be a
dictionary instead of just an array (or tuple?) of strings.
2024-03-05 02:43:39 -07:00
kagahd
fb65910993
resolve merge conflicts due to PR #829 2024-03-04 12:21:39 +01:00
kagahd
0f0a66c05d
Merge branch 'master' into issue838
# Conflicts:
#	src/backend/model/fileaccess/MetadataLoader.ts
#	test/backend/unit/model/threading/MetaDataLoader.spec.ts
2024-03-04 11:55:04 +01:00
Patrik J. Braun
4352ff89b7
Merge pull request #832 from bpatrik/feature/extension-settings
Feature/extension settings #784
2024-03-03 15:50:52 +01:00
Patrik J. Braun
f5f34c55f3
Merge pull request #843 from mblythe86/log_funcs
Add logging elision
2024-03-03 15:49:45 +01:00
xuthus
9864316a3f Merge branch 'master' of https://github.com/xuthus83/pigallery2 2024-03-03 19:48:26 +08:00
Matthew Blythe
745e486e1c Add logging elision
Allow for anonymous functions in logging calls.
The function is only called if the message is logged.
(e.g. if the verbosity is turned up high enough.)
This allows for expensive operations to be avoided
in cases where the logging won't happen.

The idea is that this provides a performance benefit.
I don't know how "expensive" an operation must be
to actually realize a performance benefit, though.

I added an example in server.ts...
It's probably "expensive" to dump the configuration
to JSON, then stringify that JSON for logging.
2024-03-03 01:19:21 -07:00
Patrik J. Braun
2121471ae0 Merge branch 'feature/extension-settings' of https://github.com/bpatrik/pigallery2 into feature/extension-settings 2024-03-02 22:36:16 +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
Patrik J. Braun
7f3056158a
Merge pull request #836 from veroxzik/feature/lightbox-mousewheel-improvements
Lightbox: fix mouse wheel behavior and add horizontal scroll feature. fixes #835
2024-03-02 22:24:32 +01:00
Patrik J. Braun
9a90a15e82
Merge pull request #829 from grasdk/master
consolidate exif parsing libraries - rework of timestamps
2024-03-02 22:22:54 +01:00
Patrik J. Braun
cb90d08c88 Add basic extension UI #784 2024-03-02 22:18:31 +01:00
kagahd
917b738aa8
add two more unit tests 2024-02-28 18:50:19 +01:00
kagahd
8702586e9e
add unit tests 2024-02-27 18:53:53 +01:00
kagahd
3ee030d8ba
fix bug 2 of #838 : If the xmp file does not include the file extension of the tagged file, no keywords and ratings are shown in PiGallery's frontend. 2024-02-26 21:38:25 +01:00
kagahd
75e4ed70b6
fix bug 1 of #838 : If the tagged video contains only one keyword, the keyword is shown in PiGallery2 character by character, each prefixed by a hash sign, all separated by comma and space 2024-02-26 21:37:28 +01:00
veroxzik
eed4f0b6fa
Fix zoom behavior and add horizontal scrolling. 2024-02-22 19:18:31 -05:00
grasdk
313aee8def
Merge branch 'bpatrik:master' into master 2024-02-21 23:38:43 +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
Patrik J. Braun
d1684d4c89
Merge pull request #834 from martadinata666/patch-2
Add heif support via VIPS (debian docker image) #609 #561 #97
2024-02-21 22:59:16 +01:00
grasdk
8dd06a4508
Merge branch 'bpatrik:master' into master 2024-02-21 11:14:52 +01:00