TrackMe's web development and user plugins. Developers welcome!!

Search This thread

OpitZle

New member
Nov 29, 2016
3
4
TrackMeViewer v3.5 is on GitHub (/espinosaluis/TrackMeViewer) now

The v3.5 is a major rework of the TrackMeViewer with many features and function enhancements:

For users:
o Let the user allow to select the colour for the trip line
o Use specified Date and Time formats from config.php in all displays
o Switched to a less complex date and time picker for start and end date/time way point filtering
o Let the user allow to suppress the position markers, if the trip recording provides to many or too dense positions
o Remember last trip seen by the user
o Let the user allow to group trips by choosing proper naming (<groupname>:<tripname>) and display groups of trips together ("[Any]")
o Let the user allow to delete one single Marker Point (position) of a trip from the database
o Show detailed trip data to the side of the map (resizeable). Things such as: max speed, max altitude, min altitude, descent ascent percentage, moving time, full trip time, etc
o Let the user allow to scroll through each point of a trip (backward/forward) from the details pop-up
o Show the latitude and longitude of the Marker Points in the details pop-up in different notations (e.g. 48.86648N, 9°01'30.4"E, 9°5.01304'W)
o Store user options settings in cookies and ask for allow or deny
o Issue a warning once a day, when a user modifies a trip, that it will be overwritten with a resynch from the TrackMe App
o Add a warning when user selects "[Any]" trips
o Changed "Display Options Show/Hide" check box to toggle option settings and make them to work immediately
For Web App owner:
o Let the Web App owner to allow to run Apache2 Web Server on any port (not only 80) or path.
o Let the Web App owner to specify the Web Page title in the config.php
For maintainer:
o Removed no longer necessary "None" trip selection
o Got rid of extra " ... = urldecode($_GET ...". Superglobal $_GET is already decoded
o Consequently and everywhere use PDO for all database access with bound parameters to prohibit data injection
o Got rid of "UNDEFINED INDEX <xyz>" notices issued by php and saved in Apache log file
o Restructured and reformatted code for better readability and maintenance

Note: The translations into French, Italian, Dutch and Slovak were developed via Google Translator. If someone has better translations or wants to provide any edditional language, please feel free to announce here.
 
  • Like
Reactions: _LEM_

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    new web viewer

    Uff, I made it through 10 posts, so I may post here :p

    I wrote a web viewer for TrackMe data. It is a complete rewrite of the original viewer. The only thing that is left of old viewer is interface look and feel.
    It uses Google Maps API v3 but I plan to implement also an OpenLayers/OpenStreetMap alternative.
    My viewer is based on ajax, so everything works dynamically without page reloading.
    I use TrackMe on Android, so I implemented only the functions present in this version. There is no support for photos or comments. I will surely add those features when they become present on Android. Anyway functions missing from previous viewer should be easy to add, if anybody wants it.
    On the other hand I added altitudes graph. I thought about adding other graphs (like speed) and statistics but gps data I get with the Android app often miss info like speed, angle etc. (why?)
    The code is GPL, so everybody can contribute or reuse it. If you make changes to it please contribute your patches back.

    The code is available at github:
    https://github.com/bfabiszewski/phpTrackme

    You can see a simple demo at:
    http://flaa.fabiszewski.net/phptrackme/
    (auto registration of new users from client is blocked on this site)

    ---------- Post added at 09:06 AM ---------- Previous post was at 08:46 AM ----------

    I think it was mentioned in this thread before but I noticed there are still serious security issues in requests.php script from this package.
    Several times in the code strings submitted by users are used in mysql queries without, at least, escaping special characters.
    Like here:
    Code:
    $username = urldecode($_GET["u"]);
    ...
    $result = mysql_query("Select ID FROM users WHERE username = '$username' and password='$password'");
    Inserting single quotation mark into submitted string one may change the query and bypass authentication or even get all password hashes from mysql table, or overwrite all rows with some UPDATE query.
    This should at least be corrected to:
    Code:
    $username = mysql_real_escape_string($_GET["u"]);
    Also note that superglobal $_GET is already decoded. Using urldecode() on it could have unexpected results.
    2
    TrackMeViewer Update to Version 3.1

    As of now, via GitHub and on Luis' TrackMe Server, users can download for own use or access via Browser the

    TrackMeViewer v 3.1

    The new features in this version include:
    1. Support for a wide range of publicly available tile (=map) providers (in addition to the already available Google Maps)
    (some require an API or Access Key - many are totally free - including satellite views)
    2. Support for Web Servers running with php v 7.x
    3. Support for storing you private setting via Cookies
    4. Support for Web Server ports other than 80
    5. Get rid of php warnings in Web Server logs
    The database layout has not changed from V2.0 and therefore V3.1 is backward compatible with your current MySQL database/tables.
    (Btw. Version 3.0 was never released)
    Please have fun and report problems in https://xdaforums.com/showthread.php?t=477394
    2
    Is it possible to display the last trip without select in the pulldown boxes?

    I put new version of phpTrackme on my github. It is marked as version 2.3

    It is mainly a merge of mcampbellsmith's changes.

    I am not sure it is what you meant, but I added a new feature – when there are multiple users' tracks available, the latest one is selected by default.

    Hope it helps!
    1
    TrackMeViewer v3.5 is on GitHub (/espinosaluis/TrackMeViewer) now

    The v3.5 is a major rework of the TrackMeViewer with many features and function enhancements:

    For users:
    o Let the user allow to select the colour for the trip line
    o Use specified Date and Time formats from config.php in all displays
    o Switched to a less complex date and time picker for start and end date/time way point filtering
    o Let the user allow to suppress the position markers, if the trip recording provides to many or too dense positions
    o Remember last trip seen by the user
    o Let the user allow to group trips by choosing proper naming (<groupname>:<tripname>) and display groups of trips together ("[Any]")
    o Let the user allow to delete one single Marker Point (position) of a trip from the database
    o Show detailed trip data to the side of the map (resizeable). Things such as: max speed, max altitude, min altitude, descent ascent percentage, moving time, full trip time, etc
    o Let the user allow to scroll through each point of a trip (backward/forward) from the details pop-up
    o Show the latitude and longitude of the Marker Points in the details pop-up in different notations (e.g. 48.86648N, 9°01'30.4"E, 9°5.01304'W)
    o Store user options settings in cookies and ask for allow or deny
    o Issue a warning once a day, when a user modifies a trip, that it will be overwritten with a resynch from the TrackMe App
    o Add a warning when user selects "[Any]" trips
    o Changed "Display Options Show/Hide" check box to toggle option settings and make them to work immediately
    For Web App owner:
    o Let the Web App owner to allow to run Apache2 Web Server on any port (not only 80) or path.
    o Let the Web App owner to specify the Web Page title in the config.php
    For maintainer:
    o Removed no longer necessary "None" trip selection
    o Got rid of extra " ... = urldecode($_GET ...". Superglobal $_GET is already decoded
    o Consequently and everywhere use PDO for all database access with bound parameters to prohibit data injection
    o Got rid of "UNDEFINED INDEX <xyz>" notices issued by php and saved in Apache log file
    o Restructured and reformatted code for better readability and maintenance

    Note: The translations into French, Italian, Dutch and Slovak were developed via Google Translator. If someone has better translations or wants to provide any edditional language, please feel free to announce here.
    1
    OSM and ajax

    Hello,

    based on this webserver, i've developed a webserver with open streetmaps, openlayer and lifetracking with ajax map update.