1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00
Commit Graph

1533 Commits

Author SHA1 Message Date
Patrik J. Braun
346590f651 refactoring map service: Using leaflet's LatLngLiteral interface 2022-03-12 00:00:49 +01:00
Patrik J. Braun
57cf18ec07 removing waypoint (gpx marker) samples from demo directory 2022-03-11 23:57:34 +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
Patrik J. Braun
46be14ca9d updating docks 2022-03-11 23:42:08 +01:00
Patrik J. Braun
8f5b0189f1 Merge remote-tracking branch 'origin/master' 2022-03-11 23:27:24 +01:00
Patrik J. Braun
6768647f11 Removing alpine from armv7. Mixing v15 and edge dependencies did not work. #295 2022-03-11 23:26:21 +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
182eb7d742 fixing dockerfiles for debian 2022-03-11 16:55:35 +01:00
Patrik J. Braun
755e1be53b fixing build file 2022-03-11 13:32:38 +01:00
Patrik J. Braun
26de21c66b
Merge pull request #455 from bpatrik/test/sharp
Test/sharp
2022-03-11 13:30:14 +01:00
Patrik J. Braun
f0fe9a3fa8 updating build file 2022-03-11 13:30:04 +01:00
Patrik J. Braun
3829c23036 replacing stretch with bulsseye 2022-03-11 13:21:29 +01:00
Patrik J. Braun
d0f2344ce7 remove backslash 2022-03-11 10:19:36 +01:00
Patrik J. Braun
89aebfd014 testing if sharp can build on alpine all platforms 2022-03-10 20:35:32 +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
52d34979b1
Added example GPX file with 3 wpt
For testing of wpt markers from GPX file
2022-03-06 22:31:15 +01:00
zigmhount
07a1d99e69
Added gpx file with one single WPT
For testing displaying wpt markers on the gallery map
2022-03-06 22:28:07 +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
Patrik J. Braun
9ef0f5d2b8 Making random-link by-default enabled, and updating the warning note #392 2022-03-05 13:09:24 +01:00
Patrik J. Braun
e01dedae26
Merge pull request #449 from PascalRepond/master
translations: update french translation #438
2022-03-05 12:45:05 +01:00
PascalRepond
e252ccb8a7 translations: update french translation 2022-03-04 21:13:15 +01:00
Patrik J. Braun
8f6f960ee8 deprecating memory based DB 2022-03-04 17:59:50 +01:00
Patrik J. Braun
41b94f11e9 ordering languages alphabetically #438 2022-03-04 17:45:51 +01:00
Patrik J. Braun
c32d625308
Merge pull request #446 from Nriver/master
update chinese translation
2022-03-02 09:18:44 +01:00
Nriver
878ebfad82 update chinese translation 2022-03-01 09:56:38 +08:00
Patrik J. Braun
211a5bd4dd showing gpx tracks in folders without a photo with gps position. #422 2022-02-27 19:07:00 +01:00
Patrik J. Braun
6be727397c
Merge pull request #440 from martadinata666/id-translation
add id-translation #438
2022-02-27 16:57:13 +01:00
Dedy Martadinata Supriyadi
21884ab2d0 add id-translation 2022-02-27 15:25:58 +07:00
Patrik J. Braun
667160f4f8 Adding german language to angular.json. Also adding test to catch these errors in the future fixes #428 2022-02-26 18:38:29 +01:00
Patrik J. Braun
8469903189 Fixing ServerTimingMW #437 2022-02-26 17:33:27 +01:00
Patrik J. Braun
41ad14dffd Updating translations #438 2022-02-26 13:42:34 +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
6cc171c7f5 Updating MANPAGE.md 2022-02-26 12:38:55 +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
2543fd9301 Fixing indexing job UI. 2022-02-25 16:56:28 +01:00
Patrik J. Braun
a33d8bb4d2
Merge pull request #433 from bpatrik/experimental
bumping version
2022-02-24 00:01:03 +01:00
Patrik J. Braun
1ff500a582 bumping version 2022-02-23 23:04:40 +01:00
Patrik J. Braun
69354b2e86
Merge pull request #432 from bpatrik/experimental
Merging better-sqlite3 experiments to master
2022-02-23 22:55:51 +01:00