1. 02 Nov, 2020 2 commits
    • Eric's avatar
      bugfix: fix loading order · d91d609f
      Eric authored
      d91d609f
    • Eric's avatar
      enhancement: overlaping markers "spiderfy" out when clicked on. · 73cca359
      Eric authored
      Overlaping and nearby markers will "spider" out into a circle or spiral when zoom level is 12 or more (pretty zoomed in)
      Overlapping markers have the popup disabled until they are popped out and "spiderfied", after that you can click on the individual markers and get the popup info as normal.
      Click back on the map a second time to disable the spidering effect.
      Current zoom level can be seen in the URL `map_display.php#13/XX.XXXXX/XXX.XXXX` `map_display.php#8/XX.XXXXX/XXX.XXXX` is zoom level 8, etc.
      The "spiderfy" effect is currently constrained to zoom level 12 or greater.
      This option may become configurable in the settings file if needed. 12 seems a good balance for now.
      
      Fixes #19
      73cca359
  2. 19 Jun, 2020 1 commit
    • Eric's avatar
      enhancement/bugfix: Search for and zoom to node · 78b26614
      Eric authored
      Added search for and zoom to node button
      
      needed to move the layer control button out of the way though.
      while working on that found a way to disable the event that caused the layer control to expand when hovered over.
      also forced the layer control popup  to *always* have a scroll bar, which should fix an issue with _some_ browsers...
      
      Fixes #11
      78b26614
  3. 10 Feb, 2020 1 commit
  4. 01 Nov, 2019 1 commit
  5. 02 Oct, 2019 1 commit
  6. 26 Jul, 2019 4 commits
  7. 28 Nov, 2018 2 commits
  8. 27 Nov, 2018 1 commit
  9. 30 Sep, 2018 1 commit
  10. 24 Jul, 2018 1 commit
    • Eric - kg6wxc's avatar
      Enhancement map_display.php · fa265acd
      Eric - kg6wxc authored
      Autorefresh is back!
      There is a new button at upper left on the map.
      (this button can be disabled if needed)
      Now you can toggle the autorefresh on and off now.
      It is set to refresh after 10 minutes.
      fa265acd
  11. 21 Jul, 2018 1 commit
    • Eric - kg6wxc's avatar
      BugFixs/Enhancements/Additions · 6e0fb623
      Eric - kg6wxc authored
      Can change the non mesh markers info without having to recreate now.
      
      The polling script can now find the info for some nodes that it could
      not before, such as firmware 3.15.1.0b4, this was a pleasant side effect
      of trying to remove some of the bunk entries i nthe database.
      
      The polling script will now also try to check and "fix" the database,
      this is due to changes in the newer AREDN firmwares (anything beyond
      3.17RC1)
      Some of those changes were made by me, just for the map. :)
      These DB "fixes" also include removing some columns that were no longer
      and were making the DB much larger than it needs to be, this will also
      help cut down on the memory footprint when loading the webpage.
      
      The numbers at the bottom of the map reflecting nodes and link, should
      be more accurate now (I hope).
      
      The Map legend has been change to use pure HTML5/CSS, the only images
      are the small circle icons, this may cause issues with very old
      browsers...
      
      Removed some files that were no longer needed or forgetten about.
      6e0fb623
  12. 21 Jun, 2018 2 commits
  13. 10 Jun, 2018 1 commit
  14. 28 May, 2018 1 commit
  15. 24 May, 2018 1 commit
    • Eric - kg6wxc's avatar
      Bugfix/Update/Enhancement Admin pages · bfbf4570
      Eric - kg6wxc authored
      Finally finished a rough version of some admin pages that allow for
      maintenance of the DB, fixing node locations, removing nodes, etc...
      Username/Password is required to use the admin pages.
      You must create an intial user/password.
      When you first load the admin page it will ask you to create an initial
      user.
      This initial user is a "super user" and will be able to create other
      users.
      (more info is on the admin pages themselves)
      
      Fixed a stupid mistake in export2csv.php.
      
      Rearranged the columns in the node_info datebase which make the data
      more readable when exported as CSV file.
      
      Removed old DB columns that were now unused.
      
      Changed the *.css-default file(s) to *-default.css so that IE will use
      them without complaints.
      
      More than a few other little changes here and there...
      bfbf4570
  16. 07 May, 2018 1 commit
    • Eric - kg6wxc's avatar
      Enhancement: map_display.php · 12b091b3
      Eric - kg6wxc authored
      The check for internet access was using a POST variable to tell the page
      if the client had access to the internet or not (it just tries to get
      favicon.ico from google).
      The problem with POST was that every time you refreshed the page, the
      POST variable had to be resent, usually resulting in a dialog box from
      the browser ("Do you want to resend this info?")
      
      This drove me crazy, I could not stand that dialog box.
      
      The check for internet access has been changed to use a cookie.
      The cookie contains 1 item and expires after 30 minutes.
      So after 30 minutes, the page will recheck for internet access and act
      accordingly.
      
      There is also a small change to the check for user-settings.ini.
      
      The README.md/html files were slightly updated as well.
      12b091b3
  17. 04 May, 2018 1 commit
    • Eric - kg6wxc's avatar
      Bug Fix: get-map-info.php, map-display.php · c32015e7
      Eric - kg6wxc authored
      Due to commit before this I also noticed non-nodes were being put into
      the database.
      There were over a 100 in my database alone.
      These are most likely non-node devices and will never be able to be
      mapped.
      Initially, I opted for a "save and recheck" style of polling, in the
      hopes that something was just missed and it would get picked up later.
      This is not the case and over time I think can see what is happening.
      
      added a check in get-map-info.php to try and skip these devices if we
      reach one, and due to that change, the numbers of shown and not show
      node and links at the bottom right of the map is more accuate now (I
      hope).
      
      73
      c32015e7
  18. 02 May, 2018 2 commits
    • Eric - kg6wxc's avatar
      whoops missed a quote in the right spot... · 58f8be72
      Eric - kg6wxc authored
      58f8be72
    • Eric - kg6wxc's avatar
      Changed to use default ini and other user editable files. · 8fbe3dfe
      Eric - kg6wxc authored
      There is no longer a user-files.tar.gz file!
      
      The user must remove the "-default" from the file extension, save the
      file and then make their own changes. I have seen many other programs
      use this and it seems to make sense.
      The README has been updated to reflect this change.
      Other ideas are appreciated still! :)
      
      With the exception of user-settings.ini, the code will check for the
      existance of the non "-default" files and use those instead of the
      default ones.
      Also if the user does not create a user-settings.ini file of their own
      an error will be thrown telling them such.
      
      Fixed the Popup for "total number of link" in the attributon bar.
      
      Some new values were added to the meshmap.css file in order to make it
      easier for the user to make customizations to the page if they want.
      More of these will probably be added in the future.
      8fbe3dfe
  19. 22 Apr, 2018 1 commit
  20. 20 Apr, 2018 1 commit
  21. 19 Apr, 2018 9 commits
  22. 16 Apr, 2018 1 commit
    • Eric - kg6wxc's avatar
      get-map-info, map_display and map_functions updated. · 058c1f19
      Eric - kg6wxc authored
      Added "ini_set('memory_limit', '128M') to get-map-info and map_display.
      If you have a large network, you may need to increase the amount of
      memory needed. 128M should be more than enough in most cases, unless you
      have a "Mega Mesh" like N2MH does. :)
      
      Added "last_seen" info to the station popups (map_functions.inc)
      
      Also added (hopefully) a catch in get-map-info to find a "stalled" node
      polling run.
      Sometimes the node polling portion of the script never completes and it
      never gets a chance to unset the "currently_running" bit in the
      database.
      There is now a check so that if the "currently_running" bit is 1 and the
      time the script last polled the node is greater than 3 * the
      "node_polling_interval" (from the ini file), then the script will just
      go out and poll the nodes as normal.
      If it completes, it will unset the "currently_running" bit and will
      update the timestamp.
      
      These changes have all been suggested by N2MH. Thanks Mark! I finally
      got to it!
      058c1f19
  23. 14 Apr, 2018 3 commits
    • Eric - kg6wxc's avatar
      Remove usage of the "wxc_custom.inc" file. · f2b982fb
      Eric - kg6wxc authored
      There is now a new file: "custom.inc" that can allow the user to make
      site specific overrides, keep sql passwords out of the main ini file,
      etc...
      This is completely optional and not required. The file may even be
      safely deleted if wanted.
      
      Also some typo fixing in the README file.
      f2b982fb
    • Eric - kg6wxc's avatar
      Last commit failed, re-commiting · c9e116bc
      Eric - kg6wxc authored
      See previous commit comments
      c9e116bc
    • Eric - kg6wxc's avatar
      Many changes. · 8f0dd53c
      Eric - kg6wxc authored
      Removed user-edited files so they do not get overwritten when updating
      the scripts.
      The user-edited files are now contained in the user-file.tar.gz archive.
      Once decompressed they will not be effected by future "git pull"
      operations.
      
      Made changes to how the scripts find the included files, the whole thing
      can now just live in one directory, allowing for easier future updates.
      
      Added http-meshmap.conf file to plug in to apache configs. This allows
      the <WEBROOT>/meshmap directory to live virtually anywhere on the
      filesystem.
      
      Updated README file to reflect these new instructions.
      8f0dd53c