1. 28 Mar, 2016 1 commit
    • Robert Foss's avatar
      Improved overall enduser_setup user experience. · 2d4f8f8e
      Robert Foss authored
      A single bug is fixed, a few features are added and overall the codebase has been worked through.
      
       - Added support for calls to /generate_204 that let's android know that the internet is accessible.
       - Added 10 second delay to the shutdown call to allow a final status update to be fetched by the client.
       - Added iframe to html to avoid having a form submission change the page.
       - Added support for dynamic /status responses.
       - Improved HTML appearance by removing AP-list button.
       - Improved CSS to center form, even when list of access points have loaded.
       - Improved debug prints to contain line numbers and not require lua_State*.
       - Fixed broken failure check when calling wifi_station_connect().
       - Fixed unguarded malloc().
      2d4f8f8e
  2. 06 Mar, 2016 1 commit
  3. 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
  4. 16 Jan, 2016 1 commit
  5. 10 Jan, 2016 1 commit