-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Major web interface rehaul #489
Commits on Nov 17, 2013
-
Initial Start of New Version 7 Web Interface
You can test out the web interface by setting the following in your ini file: html_alias2_ia5=<ia7 directory>
Configuration menu - View commit details
-
Copy full SHA for de7dc15 - Browse repository at this point
Copy the full SHA de7dc15View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6f1c39 - Browse repository at this point
Copy the full SHA a6f1c39View commit details -
Ia7: Move Header into Util, Add Sub Category Page
In order to call the header routine from none server-side include pages, header needs to be in code.
Configuration menu - View commit details
-
Copy full SHA for dd399a6 - Browse repository at this point
Copy the full SHA dd399a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c839c8 - Browse repository at this point
Copy the full SHA 9c839c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b51819 - Browse repository at this point
Copy the full SHA 6b51819View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ee112c - Browse repository at this point
Copy the full SHA 1ee112cView commit details -
Ia7: Convert About Audrey Page
I left the images here right now, these can be converted to buttons later, but I thought maybe Audrey users would prefer that these not change?
Configuration menu - View commit details
-
Copy full SHA for b9d1b19 - Browse repository at this point
Copy the full SHA b9d1b19View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2797ce - Browse repository at this point
Copy the full SHA c2797ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2d89fc - Browse repository at this point
Copy the full SHA b2d89fcView commit details
Commits on Nov 19, 2013
-
Ia7: Create AJAX/XML BrowseMisterHouse Page
XML work can likely be expanded for use on many web functions.
Configuration menu - View commit details
-
Copy full SHA for 0acdcaa - Browse repository at this point
Copy the full SHA 0acdcaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe31757 - Browse repository at this point
Copy the full SHA fe31757View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cd00e0 - Browse repository at this point
Copy the full SHA 8cd00e0View commit details -
Ia7: Allow for Listing of All Categories
Remove BrowseMisterHouse page, it is not needed. Move all JS code to ia7_utils, create more JS for listing categories
Configuration menu - View commit details
-
Copy full SHA for 45bcdf8 - Browse repository at this point
Copy the full SHA 45bcdf8View commit details
Commits on Nov 20, 2013
-
JSON/XML/Print_Log: Add Support for Iterative Print Log Updates
New routine returns all print log messages that have occurred since time. Added support to JSON and XML servers to serve print_log messages
Configuration menu - View commit details
-
Copy full SHA for a516491 - Browse repository at this point
Copy the full SHA a516491View commit details -
Configuration menu - View commit details
-
Copy full SHA for c03f688 - Browse repository at this point
Copy the full SHA c03f688View commit details -
Ia7: Add Test AJAX Print Log Page
It works, and seems to work well. This is pretty cool.
Configuration menu - View commit details
-
Copy full SHA for 2e9d407 - Browse repository at this point
Copy the full SHA 2e9d407View commit details -
Configuration menu - View commit details
-
Copy full SHA for 191632b - Browse repository at this point
Copy the full SHA 191632bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80fb082 - Browse repository at this point
Copy the full SHA 80fb082View commit details -
JSON: Remove Global Replacement of Entities in JSON Response
The commit describing the line when added state: ``` Fix to make JSOn vars return without $, %, @ or & Fix to call vars by name e.g. Time_Now instead of $Time_Now ``` This line seems way overbroad to fix the issue described. The line was replacing percent signs within voice commands, resulting in an invalid voice command. Commenting out the line seems to have no effect on any other aspect of the code. calling json(vars) produces variable names without any $ signs, similarly calling json(subs) does not produce any & signs.
Configuration menu - View commit details
-
Copy full SHA for b20c329 - Browse repository at this point
Copy the full SHA b20c329View commit details -
JSON: Tailor Entity Replacement to Keys Only
Move large global replacement so that it affects keys not values. Allows for values to contain protected entities such as in a voice command (e.g. 20%)
Configuration menu - View commit details
-
Copy full SHA for f13a52c - Browse repository at this point
Copy the full SHA f13a52cView commit details -
Ia7: Convert XML Calls to JSON
I didn't realize a JSON server existed in MH. JSON has less overhead and is generally easier to deal with.
Configuration menu - View commit details
-
Copy full SHA for ad757d1 - Browse repository at this point
Copy the full SHA ad757d1View commit details
Commits on Nov 21, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 7296b4f - Browse repository at this point
Copy the full SHA 7296b4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bccc5f0 - Browse repository at this point
Copy the full SHA bccc5f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4bb0ad - Browse repository at this point
Copy the full SHA a4bb0adView commit details
Commits on Nov 24, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 0440236 - Browse repository at this point
Copy the full SHA 0440236View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff94789 - Browse repository at this point
Copy the full SHA ff94789View commit details
Commits on Dec 5, 2013
-
Ia7: Reorganize and Condense Javascript
Attempt to move as much as possible into JavaScript
Configuration menu - View commit details
-
Copy full SHA for daf199d - Browse repository at this point
Copy the full SHA daf199dView commit details
Commits on Dec 8, 2013
-
Ia7: Adopt AJAX-like loading of Pages
Similar to a frame concept that was used in ia5. Partially necessary if we want to have a breadcrumb like navigation. Makes adding new pages a little easier since only need to program the <div></div> content and not a whole page.
Configuration menu - View commit details
-
Copy full SHA for 5a25506 - Browse repository at this point
Copy the full SHA 5a25506View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b3465e - Browse repository at this point
Copy the full SHA 8b3465eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2ed76b - Browse repository at this point
Copy the full SHA c2ed76bView commit details
Commits on Dec 9, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 9c19f09 - Browse repository at this point
Copy the full SHA 9c19f09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10616fb - Browse repository at this point
Copy the full SHA 10616fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6860b9 - Browse repository at this point
Copy the full SHA d6860b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b105bc1 - Browse repository at this point
Copy the full SHA b105bc1View commit details
Commits on Dec 22, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 57af15e - Browse repository at this point
Copy the full SHA 57af15eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75e124d - Browse repository at this point
Copy the full SHA 75e124dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fda270 - Browse repository at this point
Copy the full SHA 9fda270View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c41a87 - Browse repository at this point
Copy the full SHA 4c41a87View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec8997e - Browse repository at this point
Copy the full SHA ec8997eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08690da - Browse repository at this point
Copy the full SHA 08690daView commit details -
Configuration menu - View commit details
-
Copy full SHA for b174794 - Browse repository at this point
Copy the full SHA b174794View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9a20b3 - Browse repository at this point
Copy the full SHA f9a20b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd38873 - Browse repository at this point
Copy the full SHA dd38873View commit details
Commits on Jan 3, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 9b76b91 - Browse repository at this point
Copy the full SHA 9b76b91View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2915cc - Browse repository at this point
Copy the full SHA c2915ccView commit details
Commits on Jan 7, 2014
-
Configuration menu - View commit details
-
Copy full SHA for ec5da68 - Browse repository at this point
Copy the full SHA ec5da68View commit details
Commits on Jul 25, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 6293923 - Browse repository at this point
Copy the full SHA 6293923View commit details
Commits on Aug 12, 2014
-
IA7: Move Last of IA7 Utils Into Other Files
We want to avoid having special web presentation functions. This moved the last of the remaining functions out of the ia7_utils. The print_log function on the JSON server can now properly respond to long_poll requests
Configuration menu - View commit details
-
Copy full SHA for c7008d8 - Browse repository at this point
Copy the full SHA c7008d8View commit details -
HTTP_Server: Properly Handle Quoted Strings in a Sub Request
The prior code could only handle quoted strings if the entire argument was a single quote. This change allows for calls like: ``` /sub?json(groups=Living_Room,"fields=text|type|state|states|label,not_recursive") ``` Note that the second argument is a string joined together by a comma. The prior code clobbered this into two separate arguments. The only potential hiccup, is the new code relies on Text::ParseWords. This is listed as a standard package, but sometime you never know with perl. I am slightly concerned because the http server is a base componet of MisterHouse.
Configuration menu - View commit details
-
Copy full SHA for 30d97d1 - Browse repository at this point
Copy the full SHA 30d97d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6133868 - Browse repository at this point
Copy the full SHA 6133868View commit details -
IA7: Change to Non-Recursive Listing of Groups
This allows for subgroups and an organized display of objects
Configuration menu - View commit details
-
Copy full SHA for 2eba4e8 - Browse repository at this point
Copy the full SHA 2eba4e8View commit details -
IA7/JSON: Properly Return Array in JSON Response
If we have an array, return it, instead of the sequential key hash. Arrays are orded there is no need to be so difficult.
Configuration menu - View commit details
-
Copy full SHA for 931cb02 - Browse repository at this point
Copy the full SHA 931cb02View commit details -
Configuration menu - View commit details
-
Copy full SHA for d87611c - Browse repository at this point
Copy the full SHA d87611cView commit details
Commits on Aug 15, 2014
-
HTTP Server: Fix If Modified Check
An extra unnecessary semicolon in the test was preventing the if modified from properly working at least on chrome. Fixing this cuts down slightly on the amount of data that needs to be transmitted. For most users this probably won't be noticed.
Configuration menu - View commit details
-
Copy full SHA for 207bef2 - Browse repository at this point
Copy the full SHA 207bef2View commit details -
AJAX Server: Send Status Code Response When Closing an Empty Socket
The lack of a status code made it difficult to distinguish empty sockets from an unreachable server on the client end. This adds a trivial, 25 bytes, amount of data to the transmission.
Configuration menu - View commit details
-
Copy full SHA for 2a6a276 - Browse repository at this point
Copy the full SHA 2a6a276View commit details -
IA7/JSON: Change JSON Structure; Enable Updating in IA7
Added request and option to returned json to make recreating the request easier. Added millisecond time to JSON response to allow for long polling. Enable long polling in JSON. If long poll is requested, the routine will return nothing if only an empty JSON would be returned. In addition, the time parameter is used to skip objects which have not changed since time. This used the idle_time value.
Configuration menu - View commit details
-
Copy full SHA for 34790fb - Browse repository at this point
Copy the full SHA 34790fbView commit details
Commits on Aug 19, 2014
-
Generic_Item/Group: Add Function to Store Sort Order of Members
Function simply stores an ordered list of names. The ordered list can be retreived for sorting the members. While this is added to Generic_Item, it is likely only available on Group items because it seems that the general practice was not to call Generic_Item->new on sub items that inherit Generic_Item. This seems wrong to me.
Configuration menu - View commit details
-
Copy full SHA for 7555fd4 - Browse repository at this point
Copy the full SHA 7555fd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b487aee - Browse repository at this point
Copy the full SHA b487aeeView commit details -
IA7: Limit Updates to a Single Thread; Begin Support for Sortable Dat…
…a Input To prevent excess traffic and overloading a web browser, only permit a single update thread. Add initial structure for defining a sort order by dragging and dropping entities. Required adding a custom jquery ui library.
Configuration menu - View commit details
-
Copy full SHA for da74160 - Browse repository at this point
Copy the full SHA da74160View commit details -
JSON: GZIP Compress JSON Output
IO::Compress:GZIP appears to be a standard module in all perl installations. Using GZIP unsuprisingly dramatically decreases the amount of bandwidth necessary to transmit the text JSON output. In a simple test I am seeing a compression from 2.5MB to a few hundred KBs.
Configuration menu - View commit details
-
Copy full SHA for ba3a7de - Browse repository at this point
Copy the full SHA ba3a7deView commit details -
JSON: Dramatically Reorganize the JSON Schema
In the prior schema the same data could appear in different locations depending on the request made. For example, the same object may have been listed under objects->myobject and groups->main->myobject This rewrite attempts to restrict data to a single location. Objects always appear under the object path. The goal was to start migrating towards a RESTful design. Certain special paths exist for listing a list of unique values. These include groups, categories, and types. There was no code inside MH that relied on the JSON server, so this change should not cause drastic problems. I apologize to those users who have user_code specifically relying on the old schema.
Configuration menu - View commit details
-
Copy full SHA for aeafd9a - Browse repository at this point
Copy the full SHA aeafd9aView commit details
Commits on Aug 26, 2014
-
Print Log: Fix Error in Print Log Since Time Function
The prior code was returning both the new lines and the most recent previous line.
Configuration menu - View commit details
-
Copy full SHA for f3fa9f0 - Browse repository at this point
Copy the full SHA f3fa9f0View commit details -
Add Get_Type Function to Various Packages
Get type is a simple function that returns the object type. Object types will serve an important function in the next web interface. Get type is included in the Generic Item package, but a few packages do not inherit from Generic Item, so they need their own functions.
Configuration menu - View commit details
-
Copy full SHA for 8ae3a9c - Browse repository at this point
Copy the full SHA 8ae3a9cView commit details -
IA7: Move Collections Data to Data Directory
Seemed out of place as a perl file in the web directory. In the future, user can add (likely with the help of the interace) their own collections.json file in their user data directory to overide or change the collections.
Configuration menu - View commit details
-
Copy full SHA for 96efa17 - Browse repository at this point
Copy the full SHA 96efa17View commit details -
IA7/JSON: Major Change in JSON Schema; Significant Fixes
Changed the JSON Schema so that data is not duplicated in multiple locations. This make parsing on the front end side much easier. Use the new collections.json file Move Categories and Types into the object path. Make "fake" objects for each category and type. Again this makes parsing on the frontend much easier. Condense all variables to reside within vars path. Add parents and members fields to objects Store JSON complete JSON data on the frontend Perform various fixes and changes.
Configuration menu - View commit details
-
Copy full SHA for b19bb5e - Browse repository at this point
Copy the full SHA b19bb5eView commit details
Commits on Aug 27, 2014
-
JSON: Better Handling of Idle Changed
Idle times are only reported by seconds, so we need to round the current and requested time to seconds in order to avoid detecting mulitple idendical changes in the first 0-second.
Configuration menu - View commit details
-
Copy full SHA for fd0dac5 - Browse repository at this point
Copy the full SHA fd0dac5View commit details -
IA7: Start Implementation of Sortable Interface
Insert Rough UI for sortable interface Move sort logic into its own function so that it can be reused.
Configuration menu - View commit details
-
Copy full SHA for b04b69d - Browse repository at this point
Copy the full SHA b04b69dView commit details
Commits on Sep 5, 2014
-
IA7: Add HTTP Globals; Make URL Link to JSON Sub; Enable Support for …
…PUT Requests Using the /SUB?json() url is both confusing, unfriendly to developers, and would require lots of JSON specific code to be incorporated into the http_server Add a number of global variables to HTTP server, allows for processing of HTTP vars by subroutines in other packages. Could help simplify the http server
Configuration menu - View commit details
-
Copy full SHA for 58d1139 - Browse repository at this point
Copy the full SHA 58d1139View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b0dc7b - Browse repository at this point
Copy the full SHA 6b0dc7bView commit details -
IA7: Add Basic Support for Calling a Function Based on Put Data
It Works! At the moment, the only thing we are prepared to handle is Sort_Order. Although other methods can likely be added very easily too, including 'set'
Configuration menu - View commit details
-
Copy full SHA for 4f6ed1f - Browse repository at this point
Copy the full SHA 4f6ed1fView commit details
Commits on Mar 7, 2015
-
Alpha release with modifications to ia7. Includes
- added print_speaklog* routines to mh, json & xml servers - layout fixes - added in advanced/simple functionality - some random bugfixes
Howard committedMar 7, 2015 Configuration menu - View commit details
-
Copy full SHA for 13d58a5 - Browse repository at this point
Copy the full SHA 13d58a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a37512 - Browse repository at this point
Copy the full SHA 3a37512View commit details
Commits on Mar 17, 2015
-
Almost there with print_speaklog. Just need to figure out why the Spe…
…ak_Log_Time doesn't work.
Configuration menu - View commit details
-
Copy full SHA for 0b89e3c - Browse repository at this point
Copy the full SHA 0b89e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28ccfe7 - Browse repository at this point
Copy the full SHA 28ccfe7View commit details
Commits on Mar 18, 2015
-
changed method to enable ia7 code, ia7_enable=all|mobile in your mh.ini
Big kludge to get print_speaklog to work
Configuration menu - View commit details
-
Copy full SHA for cb66e1f - Browse repository at this point
Copy the full SHA cb66e1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fbff98 - Browse repository at this point
Copy the full SHA 2fbff98View commit details -
Configuration menu - View commit details
-
Copy full SHA for c190edc - Browse repository at this point
Copy the full SHA c190edcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 702f061 - Browse repository at this point
Copy the full SHA 702f061View commit details