1. 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
  2. 04 May, 2018 2 commits
    • 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
    • Eric - kg6wxc's avatar
      Bug fix: get-map-info.php · 8837d7fd
      Eric - kg6wxc authored
      Some nodes returned a blank lat,lon and grid_square differently than
      others that were also blank.
      
      This was causing issues when writing to the SQL database.
      get-map-info would throw this error when it would happen:
      "Could not send to SQL. Incorrect double value: '' for column 'lat' at
      row 1"
      
      Fix:
      Any blank lat || lon now get converted to a single "0".
      Any blank grid_square now gets converted to a NULL.
      8837d7fd
  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. 20 Apr, 2018 2 commits
  5. 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
  6. 14 Apr, 2018 9 commits
  7. 07 Apr, 2018 5 commits
  8. 05 Apr, 2018 1 commit
  9. 29 Mar, 2018 2 commits
  10. 25 Mar, 2018 1 commit