Changes for version 0.26 - 2016-10-25

  • functionality adddition and bug fix beta release (next release will have some proper documentation)
  • DB::auth() now returns a hashref of the username sent in with a blank password field if the user doesn't exist (added tests)
  • added light_on() and light_off(), each return a DateTime object with with the respective times for each operation
  • action_light() now uses proper DateTime objects for on/off checking
  • _config_light('on_hours') will die if hours is not an integer, is less than 0 or more than 24
  • added numerous new tests for new internal functionality and existing
  • cleanup after profiling, shaved startup from 10.7 seconds to ~700ms (closes #20)
  • added new drop-down menu system
  • added time to top-right of UI, beside menu, with the same style as the menu
  • UI now has a basic, alpha set of "draggable" widgets
  • reworked light_off(), it now uses the set 'on_since' flag as it's base time, which we simply add 'on_hours' to it
  • added _reset_light() called by _parse_config() after _reset(), resets the light 'on_since' flag. If the Pi crashed, the light would be deemed already on no matter what, and if it was lights-on time, the light would not be re-enabled (fixes #21)
  • extensive work on the authentication mechanisms (the set route requires a user to be logged in, or on localhost. Also, jquery disables buttons if not logged in)
  • major work on UI enhancements; objects are drag/droppable, and graph functionality is well on its way (fixes #24)(new graph_data() methods in DB and API, and new /graph_data route)

Documentation

Configuration options for App::RPi::EnvUI

Modules

One-page asynchronous grow room environment control web application
Core API abstraction class for the App::RPi::EnvUI web app
Database manager for App::RPi::EnvUI environment control sysytem
Asynchronous events for the Perl portion of App::RPi::EnvUI

Provides

in lib/App/RPi/EnvUI/Auth.pm