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
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
Marcus Fey
161a5fc417
Some German translations, pt.3 (of ?)
2023-11-20 18:37:44 +01: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
b9a6207b96
Add localized text to messengers #753
2023-11-19 16:14:09 +01:00
Patrik J. Braun
dfd26e9b6b
Improving extension #753
2023-11-19 16:12:18 +01:00
Patrik J. Braun
ebb9886d4b
Add messenger extensibility to extensions #753
2023-11-19 01:43:10 +01:00
Marcus Fey
75d3a17650
Some German translations, pt.2 (of ?)
2023-11-18 20:30:18 +01:00
Marcus Fey
93bc757f73
Some German translations, pt.1 (of ?)
2023-11-18 20:10:57 +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
9f5257626f
Adding package.json support with dependency #753
2023-11-17 23:36:14 +01:00
Patrik J. Braun
3cf45c56b5
Removing circular dependency from extensions #753
2023-11-17 22:22:13 +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
Patrik J. Braun
a323634351
Fixing tests after adding extension manager #753
2023-11-16 23:41:05 +01:00
Graham Alderson
3a34300618
Add sidecar support to photos
2023-11-16 12:01:58 +12:00
Graham Alderson
0b817b07fd
Allow keywords display for videos
...
Removed metadata.keywords from contentwrapper deletion list
2023-11-16 11:43:43 +12:00
Graham Alderson
2702f9d41d
metadataloader.ts modifications to add xmp sidecar
...
Modified module imports and added code to read xmp sidecar for videometadata using exifr module.
2023-11-14 15:30:17 +12:00
Graham Alderson
54b16285dc
Add keyword to videometadata
2023-11-14 15:00:26 +12:00
Patrik J. Braun
75d277040d
Add basic configuring options #753
2023-11-13 16:51:25 +01:00
Patrik J. Braun
4b215c1e57
Add SLQ entities to extensions #753
2023-11-08 16:08:13 +01:00
Patrik J. Braun
7a0f0c743c
Add RestApi extendability #753
2023-11-04 16:54:32 +01:00
Patrik J. Braun
f7dba927b8
Adds main events to extension #753
2023-10-31 20:38:08 +01:00
Patrik J. Braun
538593e780
add basic extension support #753
2023-10-29 16:11:24 +01:00
Patrik J. Braun
237e61c350
making file reading issues only a warning #731
2023-10-14 19:06:12 +02:00
Patrik J. Braun
81e7e7a629
update translations #641
2023-10-14 17:57:55 +02:00
Patrik J. Braun
2b0d1a96a6
remove threading #641
2023-10-14 17:54:21 +02:00
Patrik J. Braun
1f2a60b009
improve translation #725 #741
2023-10-12 22:30:01 +02:00
mrtnbr
1af0feeb23
Typo fix
2023-10-12 17:10:47 +02:00
mrtnbr
7ac67f9343
Typo fix
2023-10-12 17:09:45 +02:00
mrtnbr
f08d3884c4
Typo fix
2023-10-12 17:05:47 +02:00
Patrik J. Braun
41796e8d72
Fixing date boundary issue. fixes #660
2023-10-11 00:04:53 +02:00
Patrik J. Braun
e1ffeb0173
Fixing [] glob issue. fixes #621
2023-10-08 22:32:32 +02:00
Patrik J. Braun
43424526ee
Fixing map bounds for gps tracks only. fixes #718
2023-10-08 20:32:39 +02:00
Patrik J. Braun
7efcaed733
update indentation
2023-10-08 20:32:39 +02:00
Patrik J. Braun
07c827ec1b
replace deprecated toPromise with last value
2023-10-08 20:32:39 +02:00
mrtnbr
92476dbcf9
Update messages.nl.xlf
2023-10-08 11:51:09 +02:00
Patrik J. Braun
2d6140e24a
Caching settings view options. hopefully it fixes #687
2023-10-08 00:42:47 +02:00
Patrik J. Braun
d48e23a1cc
improving translation #725
2023-10-08 00:29:31 +02:00
Patrik J. Braun
e80c162e5a
Improve hungarian translation #725
2023-10-08 00:20:01 +02:00
mrtnbr
bd78c8b953
Update messages.nl.xlf
2023-10-07 23:11:18 +02:00
Patrik J. Braun
b5f36fb8f2
Fix autoplay bug also add E2E test for checking it #725
2023-10-06 01:04:35 +02:00
Patrik J. Braun
5420865ce6
Remove debounce as it flickers the UI #725
2023-09-22 23:46:51 +02:00
Patrik J. Braun
f5ed66d0ad
Fix blog updating on proper scanning.
2023-09-21 22:06:23 +02:00
Patrik J. Braun
a6bfced5f0
Fix get progress loading
2023-09-20 23:34:05 +02:00
Patrik J. Braun
6bfccc3311
Fixing leaflet map removal error
2023-09-20 22:07:04 +02:00
Patrik J. Braun
f4cdb5a83a
improve race condition for opening lightbox
2023-09-20 22:03:25 +02:00
Patrik J. Braun
4bbc3a4e68
Always shaving delayedMediaShow for lightbox
2023-09-20 20:39:11 +02:00
Patrik J. Braun
78041a1d9c
Improving E2E tests
2023-09-20 20:21:51 +02:00
Patrik J. Braun
9ebb9d46b7
Improving blog UI #587
2023-09-20 18:54:36 +02:00
Patrik J. Braun
03bad354ef
Fixing auto lightbox loading on navigation #587 #725
2023-09-20 18:51:41 +02:00
Patrik J. Braun
9e25d0f5b7
Show warning if a job failed #587 #725
2023-09-20 18:27:21 +02:00
Patrik J. Braun
de997fdffe
Fix grid margin for small grid sizes #587 #725
2023-09-20 18:23:37 +02:00
Patrik J. Braun
55822c5cd8
Fix broken job scheduling. Also add UI indicator for active timer #725
2023-09-20 18:16:41 +02:00
Patrik J. Braun
eabb39d7b0
improve admin menu UI #587 #725
2023-09-19 23:53:09 +02:00
Patrik J. Braun
1df6c68776
Adding missing translation items #725
2023-09-19 21:24:11 +02:00
Patrik J. Braun
dc48d01466
Merge remote-tracking branch 'origin/master'
2023-09-19 21:12:21 +02:00
Patrik J. Braun
07328a7ae2
Add info panel to jobs #587
2023-09-19 21:10:33 +02:00
Patrik J. Braun
a4174cd834
Update PrivateConfig.ts
...
Fix config name. Fixes #594
2023-09-16 03:05:20 +02:00
Patrik J. Braun
71c9df2d26
Fix photo merging #706
2023-09-13 23:24:29 +02:00
Patrik J. Braun
d5eea29f8d
improving event loop handling
2023-09-13 22:59:32 +02:00
Patrik J. Braun
43b970c992
comment fix
2023-09-13 22:31:02 +02:00
Patrik J. Braun
e85fa29672
Improve blog inlining if no date was added #711
2023-09-13 22:29:21 +02:00
Patrik J. Braun
c81428ade1
Increase def. face margin
2023-09-12 23:49:52 +02:00
Patrik J. Braun
4bbd8fb6b4
Add face margin to be part of converted faces
2023-09-12 23:44:45 +02:00
Patrik J. Braun
7d3343a8ff
adding missing multiline selector #711
2023-09-12 21:21:13 +02:00
Patrik J. Braun
d7a9d1559a
type fix
2023-09-12 00:09:11 +02:00
Patrik J. Braun
577a3ea480
Small bugfixes
2023-09-11 23:55:52 +02:00
Patrik J. Braun
3383e155bf
improving linting
2023-09-11 23:47:41 +02:00
Patrik J. Braun
81068b6d66
improving linting
2023-09-11 18:57:51 +02:00
Patrik J. Braun
19aa1a0e90
Add missing gridSize mock
2023-09-11 17:02:55 +02:00
Patrik J. Braun
5a5aec8919
Only match data selectors if they are in a new line #711
2023-09-11 16:58:10 +02:00
Patrik J. Braun
8cc73f2780
Make grid size changer autoclose #716
2023-09-11 16:54:36 +02:00
Patrik J. Braun
b97d62d900
adding missing mock service
2023-09-11 16:48:48 +02:00
Patrik J. Braun
02daa25bc1
Refactor the config a bit to make it easier to understand: #587
2023-09-11 16:47:08 +02:00
Patrik J. Braun
26d94e0482
Add grid size changer #716
2023-09-11 16:31:50 +02:00
Patrik J. Braun
232e91c6fc
Add blogs to right date if grouped by date #711
2023-09-11 14:18:11 +02:00
Patrik J. Braun
c6ba505129
Add date to markdowns #711
2023-09-11 13:54:42 +02:00
Patrik J. Braun
b5dce0a753
Implement oldest photo based sorting. fixes #675
2023-09-11 13:24:33 +02:00
Patrik J. Braun
8c083ed59b
Implement youngest and oldest photo date for directories
2023-09-11 13:19:51 +02:00
Patrik J. Braun
7ec6725c59
Fixing photo orientation for rotated photos
2023-09-10 16:59:45 +02:00
Patrik J. Braun
009246707f
Add background color to loading photos #587
2023-09-09 23:17:57 +02:00
Patrik J. Braun
b5a0b353e1
fixing admin debug state
2023-09-08 23:54:19 +02:00
Patrik J. Braun
c52feb548d
Renaming min/max persons to faces #587
2023-09-08 23:17:18 +02:00
Patrik J. Braun
5368b4ed4e
Adding support for 0 day ago number in date pattern search
2023-09-08 23:14:52 +02:00
Patrik J. Braun
b383b7f585
Fixing Search error message (it was not showing) #683
2023-09-08 23:09:44 +02:00
Patrik J. Braun
d31cf0040c
Improve search UI #683
2023-09-08 22:55:24 +02:00
Patrik J. Braun
b6b8170187
Toppick should send unique photos #683
2023-09-08 19:45:56 +02:00
Patrik J. Braun
518fe59921
improve settings layout #587
2023-09-08 19:33:25 +02:00
Patrik J. Braun
f72ef60cf0
improve map controls #587
2023-09-08 00:34:08 +02:00
Patrik J. Braun
cd27ca609f
remove debug log #587
2023-09-08 00:17:13 +02:00
Patrik J. Braun
42aa7332b4
make navigator stay in one line if possible #587
2023-09-08 00:15:22 +02:00
Patrik J. Braun
6c62ed1d0f
Make gpx files load faster on map #587
2023-09-08 00:09:21 +02:00
Patrik J. Braun
9d13cff002
Improve blog UI and fix missing short text #587
2023-09-08 00:04:24 +02:00
Patrik J. Braun
131af1f4f4
Fix job progress ui #587
2023-09-08 00:03:59 +02:00
Patrik J. Braun
01f1b69b41
Don't show controls before image is fullscreen #587
2023-09-07 23:51:37 +02:00
Patrik J. Braun
c8210b975f
Increase photo open speed for a more modern style #587
2023-09-07 23:40:34 +02:00
Patrik J. Braun
b62296de7f
Use higher ranked photos first for face sample #587
2023-09-06 22:56:16 +02:00
Patrik J. Braun
f1b2f93c09
Improve albums and faces padding #587
2023-09-06 22:39:44 +02:00
Patrik J. Braun
d94753c252
Improve blog UI #711
2023-09-06 22:24:43 +02:00
Patrik J. Braun
fda22e8333
Rename sort by type persons to faces
2023-09-06 21:40:25 +02:00
Patrik J. Braun
3825c41f13
Add config to let blog be open by default #711 , #712
2023-09-06 21:23:02 +02:00