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

576 Commits

Author SHA1 Message Date
Patrik J. Braun
875d120df8 Improving config UI #569 2022-12-30 23:44:53 +01:00
Patrik J. Braun
36d4641e9d Adding job schedules to config #569 2022-12-30 15:35:07 +01:00
Patrik J. Braun
9ac67ead63 Implementing template config savings #569 2022-12-28 22:12:53 +01:00
Patrik J. Braun
9c4178e508 Rewriting config structure and UI #569 2022-12-28 19:12:18 +01:00
Patrik J. Braun
974182e810
Fixing missing list error 2022-12-24 17:47:07 +01:00
Patrik J. Braun
9fdd732ce5 Making file job load files from DB in batches. #494 2022-12-18 23:47:13 +01:00
Patrik J. Braun
3012bc9908 Saving selected default slideshow speed #571, #570 2022-12-18 22:46:47 +01:00
Patrik J. Braun
2d72649ac6 Reverting: Use tap instead of click for better IOS touch navigation #493
Navigator fix solves the IOS issue
2022-12-18 10:15:57 +01:00
Patrik J. Braun
48a1900fc6 Fixing constantly updating navigator bar. This should fix the button not working problem for IOS #493 2022-12-18 10:09:34 +01:00
Patrik J. Braun
f2504f60d2 Use tap instead of click for better IOS touch navigation #493 2022-12-17 12:28:10 +01:00
Patrik J. Braun
5fe327af0d Fixing navigator style issue when the search query is too long 2022-12-17 10:51:11 +01:00
Patrik J. Braun
14abe72262 Moving slideshow speed to the submenu #571, #570
Also fixing playback issues
2022-12-17 10:45:40 +01:00
crypt-o-warrior
102eb0f411
merge upstream master 2022-12-17 02:10:18 +01:00
crypt-o-warrior
243495147f
playback is paused on dropdown open and resumed on dropdown close to prevent autoclose when next image is loaded 2022-12-17 02:04:48 +01:00
crypt-o-warrior
75c26f8422
merge upstream master 2022-12-17 01:44:18 +01:00
crypt-o-warrior
640aec03dd
added (session) cookie for playback duration; reverted some unnecessary css-changes; 2022-12-17 01:07:39 +01:00
Patrik J. Braun
2aaa362185 Fixing default config TAG issue 2022-12-16 23:26:37 +01:00
crypt-o-warrior
16a7934ace
added controls and logic for changing playback speeds 2022-12-16 23:20:32 +01:00
Patrik J. Braun
751e0dcd57 fixing lightbox controls background 2022-12-15 23:58:41 +01:00
Patrik J. Braun
9ee05c3ada Fixing face orientation on rotated photos. fixes #515 2022-12-15 00:20:58 +01:00
Patrik J. Braun
d65685e592 Creating config for navbar buttons #174 #435, fixes #150 2022-12-11 00:24:20 +01:00
Patrik J. Braun
d209816619 Making jobs and particularly preview filling job non-blocking 2022-12-10 10:14:25 +01:00
Patrik J. Braun
3ac0bb22b2 Code cleanup 2022-12-10 00:33:56 +01:00
Patrik J. Braun
be7937293b Moving /api to /pgapi and making it configurable #214, #519 2022-12-10 00:04:08 +01:00
Patrik J. Braun
f8606df759 Fixing search text position on the navigation bar. 2022-12-09 23:07:50 +01:00
Patrik J. Braun
a5b69dd999 Improving frame design 2022-12-09 23:06:01 +01:00
Patrik J. Braun
839d129e05 Adding missing lightbox.service.ts #544 2022-12-09 22:59:26 +01:00
Patrik J. Braun
594fc2e8b7 Add config to enable video looping fixes #544 2022-12-09 22:48:13 +01:00
Patrik J. Braun
a4cdbc9b1c Adding URL base to language selector. #548 2022-12-09 22:29:15 +01:00
Patrik J. Braun
9b56331f50 Creating def. sorting for search results. fixes #566 2022-12-09 22:17:54 +01:00
Patrik J. Braun
5023299912 Hide controls by default and create menu to force caption and faces to show, fixes #394 2022-12-08 23:54:08 +01:00
Patrik J. Braun
79903c8182 Fixing job progress freshness 2022-12-05 19:37:15 +01:00
Patrik J. Braun
d75a307be6 Adding more indices to fields and improving SQL queries #437 2022-12-04 22:23:51 +01:00
Patrik J. Braun
eea77a5bea Adding more indices to fields and improving SQL queries #437 2022-12-04 21:52:49 +01:00
Patrik J. Braun
07c6340754 further improving json usage #437 2022-11-30 00:14:30 +01:00
Patrik J. Braun
3c910a9d54 improving json usage #437 2022-11-30 00:01:49 +01:00
Patrik J. Braun
9c352ef758 updating server side packages 2022-11-29 21:23:39 +01:00
Patrik J. Braun
acc7b6871e fixing thumbnail generation and temp folder cleaning #558 2022-11-25 23:29:32 +01:00
Patrik J. Braun
8fda60094d fixing rotation with webp #558 2022-11-25 23:06:07 +01:00
Patrik J. Braun
11fffd4a5d moving supported formats to the config #561 #97 2022-11-25 22:56:33 +01:00
Patrik J. Braun
e345da5e05 bumping sharp to 0.32.2 #295 2022-11-23 20:45:31 +01:00
Patrik J. Braun
0d4f0bd5d9 Moving bootstrap switch css to be a local file, fixes #345 2022-11-23 20:03:20 +01:00
Patrik J. Braun
75646a0676 fixing photo name generating #558 2022-11-21 22:54:35 +01:00
Patrik J. Braun
e6774bf689 removing metadata from webp #558 2022-11-21 22:28:13 +01:00
Patrik J. Braun
70d1a04e1b
Merge pull request #558 from sam365724/patch-1
Change from jpg to more efficient webp thumbnails
2022-11-21 22:12:44 +01:00
Patrik J. Braun
9fb5951891 Change Images text to Home #554 2022-11-21 21:49:03 +01:00
Patrik J. Braun
277f50efc4 Increasing possible media count per folder fixes #559 2022-11-21 21:45:43 +01:00
Patrik J. Braun
868d812041 fixing admin UI 2022-11-21 20:49:10 +01:00
Patrik J. Braun
2bb686997e implementing cleaning job for gpx files 2022-11-21 20:37:29 +01:00
Patrik J. Braun
baf426ff76 thumbnail.settings.component.ts should use the same settings as ThumbnailGenerationJob.ts
#534, #458, #552
2022-11-21 19:59:29 +01:00
Patrik J. Braun
4a570efed8
Merge pull request #552 from mrtnbr/master
Update thumbnail.settings.component.ts
2022-11-21 19:54:39 +01:00
Patrik J. Braun
ef439ea87e making remember me to be true by default 2022-11-21 19:51:57 +01:00
sam365724
e6964bbbec
Don't use lossless 2022-11-20 20:51:45 +01:00
sam365724
e2025d3556
Use webp for thumbnails 2022-11-20 14:03:50 +01:00
sam365724
3b6f8d7db1
Use webp for thumbnails 2022-11-20 14:01:29 +01:00
mrtnbr
89cbac99f8
Update thumbnail.settings.component.ts 2022-11-09 11:53:33 +01:00
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
andreas
68f677f63e encoding of question mark character for media path 2022-07-20 22:04:54 +02:00
Patrik J. Braun
3fdc08942a missingThumbnails never can be null. It is not needed to delete it.
#437
2022-06-28 09:32:38 +02:00
Patrik J. Braun
849ebbec9e Smaller performance tweeks to thumbnail reading
#437
2022-06-27 23:46:17 +02:00
Patrik J. Braun
c06620a795 Implementing next photo preloading
#134

Also fixing play button animation.
2022-06-26 09:56:13 +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
mcdamo
986496786a Use UTC for displaying image timestamps
Fixes #469
2022-04-28 17:44:38 +10: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
864209de4a updating packages 2022-04-02 00:07:16 +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
6745b40241 Removing debug logging 2022-03-26 14:14:05 +01: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
346590f651 refactoring map service: Using leaflet's LatLngLiteral interface 2022-03-12 00:00:49 +01:00
Patrik J. Braun
82aaa614b3 refactoring gpx marker (waypoints) on map 2022-03-11 23:54:55 +01:00
Patrik J. Braun
ec8b287c9f
Merge pull request #456 from zigmhount/gpx_wpt_mappoints
Gpx wpt mappoints with infinite loop fix
2022-03-11 23:51:28 +01:00
zigmhount
cd541e3fe0
Fixed infinite loop
Replaced `i` with `wpt_i` in `wpoints_loop`!
2022-03-11 23:09:14 +01:00
zigmhount
bc7ffb39b5
Dirty fix for infinite loop
Changed back `continue wpoints_loop` to `break wpoints_loop` because it causes an infinite loop once `wpt_i` reaches `wpoints.length` and `wpoints[wpt_i]` is undefined , yet it continues to loop for some reason. Break is not nice because there could be defined values for bigger wpt_i 
Attempt to understand why with `console.log(wpoints.length)`.
2022-03-11 23:01:28 +01:00
Patrik J. Braun
9104db695f
Merge pull request #452 from zigmhount/gpx_wpt_mappoints
Gpx wpt mappoints
2022-03-11 23:00:15 +01:00
zigmhount
92f346b1ca
Cleaned up
Removed unnecessary comments; replaced `break wpoints_loop` with `continue wpoints_loop` which caused infinite loops, let's see if it still happens and if I can fix it...
2022-03-11 22:49:56 +01:00
Patrik J. Braun
6ed0401312 fixing navigation bar dividers 2022-03-10 20:22:27 +01:00
Patrik J. Braun
c1cd10a9d1 updating translation #438 2022-03-10 19:23:20 +01:00
zigmhount
f1a5c6c0ee
Refactor getMapCoordinates
Removed input parameter tagname, hardcoded instead the array tagnames=['trkpt,'wpt'] , and iterated through this array to get elements from the XML file at once and gather them in coordinates[ ] = [ track_path_points[ ], wpoints_points[ ] ].
2022-03-09 20:44:37 +01:00
zigmhount
5e56561576
Refactor loadGPXfiles()
Retrieve directly [path,wpoints] from getMapCoordinates[][]
2022-03-09 20:40:52 +01:00
zigmhount
ffa5ed687d
Replaced getMapPoints() and getMapPath() with getMapCoordinates()
Passing 'trkpt' or 'wpt' to getMapCoordinates() to handle both paths and waypoints from GPX files.
2022-03-09 16:34:57 +01:00
zigmhount
7928a07230
Refactored getMapPoints and getMapPath into getMapCoordinates
Added argument tagname to getMapCoordinates() to accept 'trkpt' or 'wpt';
replaced interfaces MapPoints and MapPath with MapCoordinates.
2022-03-09 16:31:54 +01:00
zigmhount
55c0e98df8
Merge branch 'bpatrik:master' into gpx_wpt_mappoints 2022-03-06 22:22:14 +01:00
zigmhount
7008bc9246
Plot markers for wpoints from MapPoints
In addition to path from getMapPath(), get wpoints from getMapPoints() and plot them on the marker layer.
Somehow the for loop `wpoints_loop` tends to continue infinitely, forcing stop with `break wpoints_loop` for now.
2022-03-06 22:16:23 +01:00
zigmhount
ac4a854917
Add getMapPoints() and MapPoints for GPX waypoints
Store waypoints from GPX files' <wpt> tags into MapPoints, while track points remain in MapPath.
2022-03-06 22:04:59 +01:00
Patrik J. Braun
11ed54669a Merge remote-tracking branch 'origin/master' 2022-03-05 13:09:49 +01:00