1. 01 Feb, 2016 1 commit
    • Johny Mattsson's avatar
      Fixes and enchancements for enduser_setup module. · 86839d6e
      Johny Mattsson authored
      Fixes:
      
      * Removed spurious \0 bytes being sent to the client in many cases.
      
      * Properly terminated 404 header.
      
      * Now including Content-length: header for index.html (including built-in).
      
        Clients otherwise had to wait for their own timeout before considering
        the page load complete, which resulting in an unpleasant sluggish
        experience.
      
      * Switched form submission to GET, as iOS sometimes does not include the
        body in the same packet as the POST header, which led to the module
        not finding the form values.
      
      * Added redirect after form submission to avoid blank-page-in-browser.
      
      * Moved common "enduser_setup" prefix to a lua_pushfstring() to reduce
        string literal overhead.
      
      * Replaced cached lua_State* with calls to lua_getstate(), as in other
        modules.
      
      * Fixed broken appending of MAC to the SSID.
      
      * Fixed up macro definitions to not break `if` clauses unintentionally.
      
      Enhancements:
      
      * Support for scanning for available WiFi networks, and picking from the list.
      
      * Support for retrieving the current WiFi station status.
      
      * Added "manual" mode, where the module does not (re)configure the AP setup,
        nor shut down automatically. Default is still automatic, as before.
      
      * Updated docs for new `enduser_setup.manual()` function.
      86839d6e
  2. 27 Jan, 2016 1 commit
  3. 26 Jan, 2016 2 commits
  4. 23 Jan, 2016 1 commit
  5. 21 Jan, 2016 1 commit
  6. 20 Jan, 2016 1 commit
  7. 19 Jan, 2016 1 commit
  8. 18 Jan, 2016 1 commit
  9. 15 Jan, 2016 1 commit
  10. 14 Jan, 2016 3 commits
  11. 12 Jan, 2016 1 commit
  12. 10 Jan, 2016 1 commit
  13. 04 Jan, 2016 1 commit
  14. 03 Jan, 2016 2 commits
  15. 02 Jan, 2016 1 commit
  16. 29 Dec, 2015 1 commit
  17. 28 Dec, 2015 1 commit
  18. 23 Dec, 2015 1 commit
  19. 21 Dec, 2015 2 commits
  20. 16 Dec, 2015 3 commits
  21. 12 Dec, 2015 1 commit
    • Johny Mattsson's avatar
      Major cleanup of module registration. · 6b6456be
      Johny Mattsson authored
      As per #810 & #796, only LUA_OPTIMIZE_MEMORY=2 & MIN_OPT_LEVEL=2 are
      supported when building. This commit effects that limitation.
      
      With this change modules/auxmods.h no longer needs to be updated for
      every new module, nor do module writers need to cater for a hypothetical
      LUA_OPTIMIZE_MEMORY < 2 scenario.
      6b6456be
  22. 28 Nov, 2015 1 commit
  23. 19 Nov, 2015 2 commits
  24. 18 Nov, 2015 2 commits
  25. 12 Nov, 2015 1 commit
  26. 11 Nov, 2015 1 commit
  27. 10 Nov, 2015 4 commits
  28. 09 Nov, 2015 1 commit