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

235 Commits

Author SHA1 Message Date
Sean Moore
a81a96f30a Fix problem with unconstrained number of decimal digits for exposure value in info-panel
The photo exposure value will often overrun the focal length value in the info-panel when the number
of decimal digits is more than a few long. By convention, there shouldn't be any decimal digits in the
denominator so this fix rounds the denominator value before display. In addition, this fix increases
the number of decimal digits read from the photo exif metadata to improve the precision of the exposure value
to match what exiftool and other exif viewers display.
2022-09-01 15:38:20 -07:00
Patrik J. Braun
849ebbec9e Smaller performance tweeks to thumbnail reading
#437
2022-06-27 23:46:17 +02:00
Patrik J. Braun
d0b609b416 Adding missing bestFit url ending to gpx file request
#504
2022-06-25 23:06:42 +02:00
Patrik J. Braun
ca0579cefd Implementing GPX compression job
#504
2022-06-25 20:57:45 +02:00
Patrik J. Braun
19e23133f2 Adding gpx compression buttons to the settings
#504
2022-06-24 23:15:48 +02:00
Patrik J. Braun
3bff1a4383 Implementing on-the-fly GPX compression.
Its a lossy compression that can be finetuned in the config.

#504
2022-06-24 22:59:08 +02:00
Patrik J. Braun
b6b576ba2f Implementing ContentWrapper packing.
This enables to extract common string into a map and only reference their values.
This is expected to bring a further 43% savings on search results. Altogether leading to a 50% reduction.
 #437
2022-06-24 18:05:45 +02:00
Patrik J. Braun
5778ef00f7 Implementing media fail check.
Gallery now will stop indexing if the root folder is empty. That is probably unintentional and would erase the whole database.
2022-05-15 22:07:46 +02:00
Jacob Roeland
f861d5b854 Typo: replace "an other" with "another" 2022-05-05 23:19:59 -04:00
Patrik J. Braun
0ee5dacf70 improving date parsing in SearchQueryParser.ts 2022-04-25 19:23:03 +02:00
Patrik J. Braun
782cf78b03 fixing building errors 2022-04-25 18:36:18 +02:00
Patrik J. Braun
b1c9827729 Fixing lint errors 2022-04-25 18:09:06 +02:00
Patrik J. Braun
8d13af48b0 upgrading to bootstrap 5 2022-04-14 14:36:56 +02:00
Patrik J. Braun
dc55b01bcd fixing tests and cleaning up packages 2022-03-30 23:11:11 +02:00
Patrik J. Braun
0c2099fa5e fixing User middleware 2022-03-30 22:27:41 +02:00
Patrik J. Braun
a2e576ec27 updating node to v16 and angular to v12 2022-03-30 22:18:02 +02:00
Patrik J. Braun
0e4063fe39 ignore update 2022-03-30 22:17:07 +02:00
Patrik J. Braun
8a3f0a5c77 ThumbnailMap bugfix 2022-03-27 19:25:37 +02:00
Patrik J. Braun
845c70f6c6 Replace readyThumbnail filed with missingThumbnail bitmap.
Expected to save 6% on the server result json size.

#437
2022-03-26 11:55:15 +01:00
Patrik J. Braun
47d864abe5 Multiples small tweaks to save on the server response size:
* Removing ids from DTO as it is not needed on the client side. ~4% saving
 * Removing orientation information from DB and server response. ~3% saving
 * removing altitude from GPS data and reducing GPS, exposure and fstop precision ~3%
 Altogether 10% saving expected.
 #437
2022-03-25 21:51:42 +01:00
Patrik J. Braun
6394eb4f86 Updating benchmark to contain results size 2022-03-21 22:29:00 +01:00
Patrik J. Braun
8469903189 Fixing ServerTimingMW #437 2022-02-26 17:33:27 +01:00
Patrik J. Braun
950067c789 Do not add users if authentication is not required 2022-02-26 12:45:26 +01:00
Patrik J. Braun
c6640ce0f4 Adding server timing to measure performance (default value: false) #437 2022-02-26 12:34:04 +01:00
Patrik J. Braun
724ef1050c Making better-sqlite3 the sqlite driver instead of sqlite3 #299 2022-02-23 22:54:41 +01:00
Patrik J. Braun
ca16ce0c83 fixing experiment to regenerate db when switching sql driver #299 2022-02-22 23:50:28 +01:00
Patrik J. Braun
3d34b16340 Experimenting with better-sqlite3 2022-02-22 14:06:52 +01:00
Patrik J. Braun
02edfb4963 Improving Autocomplete to show more items from one type if there is not enough. Also list persons first with more photos #improvement 2022-02-22 13:47:41 +01:00
Patrik J. Braun
77767f27b0 fixing preview filling job's logs 2022-02-06 20:01:37 +01:00
Patrik J. Braun
42fd161a66 Making preview manager to first find photo in the same directory then in any subdirectories without any ordering between subdirectories. 2022-02-06 11:36:45 +01:00
Patrik J. Braun
0d519055d5 Fixing dir preview sorting algorithm. 2022-02-05 13:16:16 +01:00
Patrik J. Braun
433d7724ce fixing preview issue: typeorm's parametrized SQL query was overriding each other, lets make them unique. 2022-02-05 12:19:09 +01:00
Patrik J. Braun
b4df99b5ce fixing preview manager ordering 2022-02-05 10:20:10 +01:00
Patrik J. Braun
6c6d77ad34 fixing preview manager ordering 2022-02-02 00:24:16 +01:00
Patrik J. Braun
0cd5e90866 fixing tests 2022-01-27 23:43:34 +01:00
Patrik J. Braun
8f871f31f2 Implementing preview resetting job #80, #381 2022-01-26 23:09:31 +01:00
Patrik J. Braun
1255246b0f implementing preview settings #80, #381 2022-01-26 22:50:49 +01:00
Patrik J. Braun
b169fa67b3 Removing default enforced admin/admin user, only adding it if no admin is present. fixes #408 2022-01-20 19:45:25 +01:00
Patrik J. Braun
a4a9fe2c98 Merge remote-tracking branch 'origin/master' 2022-01-18 20:38:31 +01:00
Patrik J. Braun
3982250d64 Fixing search result to include directory preview fixes #411 2022-01-18 20:38:13 +01:00
Veronika
55f2748cfd Revert "Fix no folder previews on directory search results"
This reverts commit e09d006505.
2022-01-18 14:51:07 +01:00
Veronika
e09d006505
Fix no folder previews on directory search results 2022-01-18 13:41:35 +01:00
Veronika
0431ce67e2
No negative EXIF ratings 2022-01-18 12:48:08 +01:00
Patrik J. Braun
69fedd6c67 Creating thumbnail filling job #381
The job fills, directory, albums and persons' thumbnails
2022-01-17 23:05:10 +01:00
Patrik J. Braun
68e0cdd6f5 fixing isArray dependency fixes #406 2022-01-15 14:39:30 +01:00
Patrik J. Braun
abfe9018c5 replacing ffmpeg and ffprobe to *-static node packages 2022-01-15 11:39:25 +01:00
Patrik J. Braun
9ea2fc5f21 Revert "upgrading to recommend node v16, making min version to be v14"
This reverts commit b72788456b.

# Conflicts:
#	.github/workflows/build.yml
#	.travis.yml
#	package-lock.json
#	package.json
2022-01-15 11:32:46 +01:00
Patrik J. Braun
776c8e83fc Caching preview in the DB to speed up directory querying #381 2022-01-14 20:57:20 +01:00
Patrik J. Braun
b72788456b upgrading to recommend node v16, making min version to be v14 2022-01-14 16:27:08 +01:00
Patrik J. Braun
e607ae810a Forcing mysql to use utf8mb4 fixes #399 2022-01-14 12:14:28 +01:00