Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | webui: configs.py: Re-implement using AJAX instead of WebSocket | Aaron LI | 2016-11-16 | 1 | -103/+110 |
| | |||||
* | webui: websocket.py: Do not handle "configs" and "console" messages | Aaron LI | 2016-11-16 | 1 | -32/+6 |
| | | | | | | | | | | | | | | | | | | | The handling of "configs" and "console" types of messages, will be changed to implement using the AJAX techniques. The basic WebSocket communication is too low-level, and there is no easy way to relate each received message to the corresponding sent message. There are high-level sub-protocols exists (e.g., WAMP [1]) to allow the RPC (remote procedure call) and publish/subscribe operations, however, the Tornado web framework current does not support them, and another client JavaScript library is also required. Using the more traditional AJAX techniques allow the request-response model and sequential operations (e.g., jQuery deferred and promises) be easily implemented. Therefore better operation interaction and reflection and error handling is achieved. [1]: WAMP: Web Application Messaging Protocl, http://wamp-proto.org/ | ||||
* | webui: Add AJAX handlers "ConfigsAJAXHandler" & "ConsoleAJAXHandler" | Aaron LI | 2016-11-16 | 1 | -0/+2 |
| | | | | | NOTE: These two AJAX handlers are currently not finished! | ||||
* | webui: WSHandler: Remove the "name" attribute | Aaron LI | 2016-11-15 | 1 | -24/+17 |
| | |||||
* | webui: Push current configs to client when opened WebSocket connection | Aaron LI | 2016-11-15 | 1 | -1/+20 |
| | |||||
* | webui: Rename "FG21simWSHandler" to "WSHandler" | Aaron LI | 2016-11-15 | 2 | -2/+2 |
| | |||||
* | webui: Save connected WebSocket clients and allow broadcast | Aaron LI | 2016-11-15 | 1 | -11/+19 |
| | |||||
* | webui: Split "handers/configs.py" from "handlers/websocket.py" | Aaron LI | 2016-11-15 | 2 | -246/+268 |
| | | | | Split "ConfigsHandler" from "FG21simWSHandler" as "handlers/configs.py" | ||||
* | webui: Place handlers under the directory "hnadlers/" | Aaron LI | 2016-11-15 | 4 | -0/+773 |
| | |||||
* | webui: Implement login support (password authentication) | Aaron LI | 2016-11-15 | 3 | -0/+75 |
| | |||||
* | webui: To support password authentication | Aaron LI | 2016-11-15 | 1 | -0/+19 |
Move the "IndexHandler" to separate module located at the "handlers/" directory. |