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

1091 Commits

Author SHA1 Message Date
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
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
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
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
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
e1e70fc13c Reverted GalleryRouter, did not change it 2024-02-16 19:53:58 +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
gras
25acd6f30d Added two more metadata dates to fall back to, instead of file date. This fixes the png-test 2024-02-11 22:35:19 +01:00
gras
a2c9208706 Fixed serious error with offset calculation. Fixed bad test-data. 2024-02-11 21:41:42 +01:00
gras
a6035f5b65 fixed style errors 2024-02-11 17:08:21 +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
8c3bd650ad
Merge pull request #826 from grasdk/master
Fix for issue #794 (bugfix)
2024-02-08 23:12:21 +01:00
Steven Bower
da9c79a533
Fix video not loading #808
Route collision with thumbnail path and video path. Results in videos not loading properly.
2024-02-06 09:01:35 +08:00
grasdk
1b579269ce
Feature/specialchars (#2)
* switched from ExifReader to exifr and updated tests to fix issue 794
2024-02-05 22:35:25 +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
acccde3054 Fix lightbox loading flickering #806 2024-01-06 12:48:51 +01:00
Patrik J. Braun
4a2959edaf Fixing solo job running 2024-01-03 11:34:00 +01:00
Patrik J. Braun
dccd9c30e1 Add confirming popup for jobs #764 2024-01-03 11:24:35 +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
grasdk
0a13d6677c
Danish translation (#1)
* Ready to translate
* Added Danish translation and missing english translation units
2023-12-14 23:15:49 +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
Patrik J. Braun
9502546e29
Merge pull request #795 from grahamalderson/xmp-sidecar-support
Refactor sidecar loading
2023-12-13 09:50:24 +01:00
Nick Kocharhook
e7c0906cb2 [#760] Add image titles and captions to the info panel. 2023-12-06 16:25:02 +00:00
Patrik J. Braun
1eaad445b1
Merge pull request #796 from marcusfey/master
Tiny fix of error in German translation
2023-12-05 10:51:37 +01:00
Marcus Fey
c690daa772 Fixed error in German translation 2023-12-04 21:56:30 +01: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
d8e343fe8a Add source file support to backend #743 2023-12-03 09:38:29 +01:00
Patrik J. Braun
aa4c8a2e35 Propagate input to after handlers #743 2023-12-02 09:58:02 +01:00
Patrik J. Braun
60a0beeb1e Adding base url to language redirect. fixes #793 2023-12-02 09:20:19 +01:00
Patrik J. Braun
a5e243056d Fixing filter sorting 2023-12-01 20:03:29 +01:00
Patrik J. Braun
ba9b5292e1 Fix sharing password. fixes #744 2023-12-01 19:33:39 +01:00
Patrik J. Braun
10cf92be82 Enable controls hiding. fixes #748 2023-11-30 21:44:09 +01:00
Patrik J. Braun
0dec77c0ef type fix. fixes #785 2023-11-30 21:16:43 +01:00
Patrik J. Braun
2ef88aed0e Add more local filter options #778 2023-11-30 21:11:49 +01:00
Patrik J. Braun
7f7954d5d2 Make Metadaloader use async await #792 2023-11-30 20:37:26 +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
Patrik J. Braun
4be86d6ebc Update extension types #743 2023-11-26 10:58:09 +01:00
Patrik J. Braun
a0d4d7f246 Update extension types #743 2023-11-26 10:25:17 +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