1. 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
  2. 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
  3. 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
  4. 22 Apr, 2018 1 commit
  5. 20 Apr, 2018 1 commit
  6. 19 Apr, 2018 9 commits
  7. 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
  8. 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
  9. 07 Apr, 2018 1 commit
  10. 29 Mar, 2018 1 commit
  11. 28 Mar, 2018 1 commit
  12. 25 Mar, 2018 1 commit