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 2 commits
  3. 17 Jun, 2018 1 commit
    • Eric - kg6wxc's avatar
      BugFix get-map-info wxc_functions · e8947ee9
      Eric - kg6wxc authored
      Fixed the "ignored nodes" check. Nodes and devices that get ignored due
      to 404/no route to host/connection refused errors, will now be properly,
      and temporarily skipped over by the polling script.
      e8947ee9
  4. 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
  5. 09 Jun, 2018 1 commit
  6. 08 Jun, 2018 1 commit
  7. 05 Jun, 2018 1 commit
  8. 30 May, 2018 1 commit
    • Eric - kg6wxc's avatar
      BugFix/Enhancement export2csv admin-default.css · 1690d7a6
      Eric - kg6wxc authored
      Fixed export2csv to deal with the json data better.
      I still cannot get the exported CSV file to cleanly import back into
      SQL, but it's *way* better than it was before.
      Still working on this.
      
      admin-default.css has had the header are set to fixed height.
      Hopefully things will be visiable for all browsers/screens now.
      
      Also updates to the readme file from earlier.
      1690d7a6
  9. 29 May, 2018 1 commit
    • Eric - kg6wxc's avatar
      Enhancement/BugFix - L.Control.SlideMenu.js README · 74201e34
      Eric - kg6wxc authored
      Fixed typo in README and added info about mysqlnd requirement
      (mysqlnd requirement may be eliminated in the future, but for now it is
      needed)
      
      Hacked L.Control.SlideMenu to show another "close" link at the bottom of
      the text instead of just at the top.
      74201e34
  10. 28 May, 2018 2 commits
  11. 24 May, 2018 3 commits
    • Eric - kg6wxc's avatar
      Bugfix - otherAdmin.php · ad45ebfd
      Eric - kg6wxc authored
      Removed a "/n" from a java pop up alert.
      Not sure why I thought that would work...
      
      fixed now
      ad45ebfd
    • Eric - kg6wxc's avatar
      Bugfix get-map-info.php · 47b93eea
      Eric - kg6wxc authored
      (I knew I would miss something!!)
      
      Missed removing a deleted column from the sql query.
      
      Also changed some comments on a function in wxc_function file.
      47b93eea
    • 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
  12. 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
  13. 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
  14. 02 May, 2018 5 commits
    • Eric - kg6wxc's avatar
      Fixed some issues in the README file · 874f0104
      Eric - kg6wxc authored
      874f0104
    • Eric - kg6wxc's avatar
      fixed my stupid error in admin.php page. · f8d524bf
      Eric - kg6wxc authored
      f8d524bf
    • Eric - kg6wxc's avatar
      changed default cronscript to use /bin/bash · e24346c2
      Eric - kg6wxc authored
      it used /bin/sh before and for some reason just recently developed a
      problem running get-map-info on my RPi.
      Using /bin/sh caused an SQL error, /bin/bash doesnt...
      Not sure why yet.
      e24346c2
    • 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
  15. 30 Apr, 2018 9 commits
  16. 22 Apr, 2018 1 commit
  17. 20 Apr, 2018 6 commits