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
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
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
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
211a5bd4dd
showing gpx tracks in folders without a photo with gps position. #422
2022-02-27 19:07:00 +01:00
Patrik J. Braun
9c96dba032
Adding slider to filters and blocking filters when no media is available #287 #improvement
2022-02-22 13:19:09 +01:00
Braun Patrik
8665e17deb
Improve filter responsiveness #287 #improvement
2022-02-19 15:16:51 +01:00
Patrik J. Braun
fbae2e77d2
Fixing null reference issue #287
2022-02-19 00:16:39 +01:00
Patrik J. Braun
b24d5f4779
Fixing faces filter #287
2022-02-19 00:10:11 +01:00
Patrik J. Braun
35875b8aad
Adding more filter options #287
2022-02-19 00:02:57 +01:00
Patrik J. Braun
d30c0f5292
Implementing filter pinning #287
2022-02-18 23:58:23 +01:00
Patrik J. Braun
44e7445e0f
replacing mergeMap to switchMap in filter and sorting #287
2022-02-18 22:56:14 +01:00
Patrik J. Braun
a6b14534ee
Implementing filter #287
2022-02-16 22:17:38 +01:00
Patrik J. Braun
169d59fb8e
Refactoring gallery to use observable for soring #287
2022-02-11 19:05:51 +01:00
Patrik J. Braun
4e848fdbed
Adding directory flattening button #174
2022-02-06 16:05:13 +01:00
Patrik J. Braun
1255246b0f
implementing preview settings #80 , #381
2022-01-26 22:50:49 +01:00
Patrik J. Braun
f2cba37d6d
improving markdown design
2022-01-13 23:25:36 +01:00
Patrik J. Braun
f4f22118ab
improving metadata config
2022-01-13 22:41:30 +01:00
Patrik J. Braun
47fec015c1
Implementing basic blogging support
2021-12-31 18:50:21 +01:00
Patrik J. Braun
db9889ed2c
fixing top bar design issues #339
2021-12-11 16:34:30 +01:00
antegs
d8f0a7ff9e
Fix gallery sorting #341
2021-07-20 13:04:22 +09:00
Patrik J. Braun
628bc74226
Refactoring directory interfaces #80
2021-06-27 19:33:37 +02:00
Patrik J. Braun
6bcd8ff33c
Add sorting by rating #80
2021-06-24 23:00:41 +02:00
Patrik J. Braun
404b82e12b
Implementing .saved_searches.pg2conf saving tests
2021-05-30 15:09:47 +02:00
Patrik J. Braun
e26c60d67b
Add .saved_searches.pg2conf
popup #45
2021-05-30 00:02:05 +02:00
Patrik J. Braun
a9e88f1b7d
Reading saved searches from .saved_searches.pg2conf
#45
2021-05-29 23:27:52 +02:00
Patrik J. Braun
682c2e5c11
Making random query builder to use search query builder
2021-05-28 23:21:53 +02:00
Patrik J. Braun
fc854f7295
Implementing add saved search button on the albums page #45
2021-05-28 23:17:29 +02:00
Patrik J. Braun
c31e7b8e3a
Adding save album button to search query builder #45
2021-05-28 22:02:49 +02:00
Patrik J. Braun
1e8ec4e96e
Implementing Album UI #45
2021-05-28 21:01:59 +02:00
Patrik J. Braun
37594f1b88
Replacing local date format with ISO string format as Date.parse only supports that reliably cross browser. #312
2021-05-26 22:07:37 +02:00
Patrik J. Braun
90aff86485
Implementing search returning with directories too, not just media #309 #304
2021-05-23 22:26:27 +02:00
Patrik J. Braun
e41ac5b990
Making inset button always visible on touchscreens #309
2021-05-23 18:10:36 +02:00
Patrik J. Braun
f84f555182
renaming "from" and "to" to "after" and "before" in search query #309
2021-05-23 17:58:58 +02:00
Patrik J. Braun
d0153e58d9
Implementing negatable search query parsing #309
2021-05-23 17:56:58 +02:00
Patrik J. Braun
f59ba6eb98
fixing linting issues
2021-05-16 08:15:42 +02:00
Patrik J. Braun
355df1d022
Fixing url encoding issues #272
...
URLs that contain special characters (got media, face or directory) got parsed the wrong way, this commit fixes it.
2021-05-15 10:33:43 +02:00
Patrik J. Braun
ea3506c388
Clearing cache on reload #285
...
It should help with reducing the confusion as forced reload did not cleared local cache.
2021-05-15 09:51:19 +02:00
Patrik J. Braun
f853efa3c1
fixing tslint issue
2021-05-11 16:35:19 +02:00