1. 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
  2. 21 Jun, 2018 1 commit
  3. 10 Jun, 2018 2 commits
    • Eric - kg6wxc's avatar
      BugFix: Mouse clicks no longer propagate through the layer control box · a7d10534
      Eric - kg6wxc authored
      Discovered how to remove an annoying behaviour of the "Grouped Layers"
      control.
      Also fixed a couple other small things so the HTML was proper.
      a7d10534
    • Eric - kg6wxc's avatar
      BugFix: More 5GHz channels, 900MHz nodes now found by 'board_id' · a3dd4c4a
      Eric - kg6wxc authored
      Added 'non-US' 5GHz channel numbers.
      
      Device band was determined by channel, 900MHz and 2.4GHz have some of
      the same channel number and the script had a hard time telling which was
      which.
      This has (hopefully) been fixed now. Since there are only 3 AREDN
      compatible 900MHz devices, it was easier to just find those certain
      board_id's. This also allowed channel #4 to be added back into the list
      for 2.4GHz. (yes it was a hack but mostly worked :) )
      
      Additionally, I've been trying to optimize the map_function.inc file.
      A couple of the functions in that file consume 90%+ of the time it takes
      to render the webpage. (load_LinkedTO() is a beast!)
      On the cloud server this can sometimes completely stall the script(s)
      and fail to load the page at all.
      a3dd4c4a
  4. 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
  5. 02 May, 2018 1 commit
    • 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
  6. 22 Apr, 2018 1 commit
  7. 20 Apr, 2018 1 commit
  8. 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
  9. 10 Apr, 2018 1 commit
  10. 08 Apr, 2018 1 commit
    • Eric - kg6wxc's avatar
      Fixed issues with the station Pop-Ups. · 6bee8703
      Eric - kg6wxc authored
      The array that was fixed for PHP 7.2.3 was not fixed right.
      This resulted in missing/inaccurate info in the station pop-ups.
      
      Part of the array was reinitializing when it should not have, since it
      was already created at that point.
      
      a pretty simple if (is_array()) { ... }else { ... } fixes it.
      6bee8703
  11. 07 Apr, 2018 1 commit
  12. 28 Mar, 2018 3 commits
  13. 26 Mar, 2018 15 commits
  14. 25 Mar, 2018 1 commit