Commit Graph

61 Commits

Author SHA1 Message Date
rxi
62db558f4c Moved compilation of page templates to lovebird.init()
All the page templates are now compiled into functions when lovebird is
inited. This avoids having to interpret a page template each time it is
requested.
2014-04-13 16:37:04 +01:00
rxi
188d052d34 Changed lovebird.template() to return compiled template
lovebird.template() now returns the compiled template as a function
rather than the result of the template. To make this possible the
parameters and usage of the function has also changed.
2014-04-13 15:54:19 +01:00
rxi
fe2e607baa Changed up/down keys on inputbox to always set cursor to end 2014-04-13 12:21:22 +01:00
rxi
8029a07aaa Added support for up/down keys on input box to recall past inputs 2014-04-13 11:13:17 +01:00
rxi
efb683651b Changed lovebird.allowhtml's default to false; updated README 2014-04-13 10:36:24 +01:00
rxi
4d7e15c295 Changed .lines to store metadata; Added repeated-line counter
* The lovebird.lines table now stores metadata for the printed line:
  the time it was printed and the number of consecutive repetitions of
  that line to occur.
* Consecutive duplicate lines now get a little repeat count marker
  instead of having the line print out multiple times.
2014-04-13 10:25:46 +01:00
rxi
e5c47f71f7 Removed brackets from timestamp, added padding 2014-04-12 22:03:52 +01:00
rxi
09203d201e Added support for numerical table keys to env vars browser 2014-04-12 21:02:48 +01:00
rxi
7826ec0a13 Changed trace() to always output to lovebird's console
Regardless of what lovebird.wrapprint is set to, trace() will now always
output to lovebirds console.
2014-04-12 20:10:33 +01:00
rxi
339c0b3852 Version 0.1.0 2014-04-12 19:59:02 +01:00
rxi
24328d5adb Added javascript truncation to long env keys 2014-04-12 19:55:47 +01:00
rxi
c47412b846 Updated README.md to reflected changes and additions 2014-04-12 18:03:54 +01:00
rxi
4492c24366 Added the lovebird.clear() function 2014-04-12 17:56:25 +01:00
rxi
f9485a14cb Removed leading "." in env javascript's fullpath 2014-04-12 17:54:52 +01:00
rxi
f48c77cf95 Renamed lovebird.refreshrate -> lovebird.updateinterval 2014-04-12 17:43:58 +01:00
rxi
250a4e9a83 Changed callback funcs to be lowercase to match everything else 2014-04-12 17:31:51 +01:00
rxi
a670e7da44 Fixed env.json page's indentation, removed default status 2014-04-12 17:28:21 +01:00
rxi
d481a3ff95 Changed dropped connections / invalid requests to fail silently 2014-04-12 16:16:09 +01:00
rxi
23ee7daad6 Added handling for bad paths in env.json and index's JS 2014-04-12 16:06:32 +01:00
rxi
0dbc491f07 Made env.json page clean up extra dots in query path 2014-04-12 15:53:03 +01:00
rxi
571e1489c3 Removed unused local function: find() 2014-04-12 13:39:52 +01:00
rxi
3c799c6eb6 Added lovebird.checkwhitelist(), changed whitelist format 2014-04-12 13:23:06 +01:00
rxi
a772c692a0 Changed inputbox to make POST request without reloading the page 2014-04-12 13:21:40 +01:00
rxi
073b6b3749 Changed env vals to insert their path into the inputbox onclick 2014-04-12 12:43:48 +01:00
rxi
937670a92e Replaced page "tree" with "env.json" + javascript 2014-04-12 12:21:12 +01:00
rxi
2638fa219a Improved CSS: Rounded edges, nicer links 2014-04-12 10:35:22 +01:00
rxi
ea1f15762c Changed overall font-size to 13px 2014-04-12 10:08:39 +01:00
rxi
127f7b46ea Added env tree view as right-panel on index page 2014-04-12 01:13:30 +01:00
rxi
1051c058e3 Added getPage() JS function to index page 2014-04-12 00:08:27 +01:00
rxi
8fa31d7ede Added "tree" page to lovebird.pages 2014-04-12 00:01:55 +01:00
rxi
663ff1fbc2 Added lovebird.htmlescape() function 2014-04-11 23:24:14 +01:00
rxi
291e0b444d Added Internet Explorer compatible autofocus using JS 2014-04-11 20:58:29 +01:00
rxi
785b1ad35a Changed requests to trigger a page template from .pages 2014-04-11 20:37:22 +01:00
rxi
e80439e883 Added request body parsing to .onConnect() 2014-04-11 20:27:09 +01:00
rxi
4df9d773eb Added lovebird.parseurl() and parsing of request urls 2014-04-11 20:11:33 +01:00
rxi
cc0a7f382c Moved lovebird.page -> lovebird.pages.index 2014-04-11 19:42:03 +01:00
rxi
494486824e Added lovebird.allowhtml section to README.md 2014-04-11 19:01:22 +01:00
rxi
4ffe4920e6 Added lovebird.allowhtml option and functionality 2014-04-11 18:58:58 +01:00
rxi
df1fcaf9f6 Fixed req being set to an empty table twice in .onConnect() 2014-04-11 18:54:52 +01:00
rxi
bfda0c207b Changed accidental global "socket" to local 2014-04-11 18:54:15 +01:00
rxi
838e41477d Fixed AJAX caching on IE; fixed response Content-Type; neatened JS 2014-04-11 18:53:22 +01:00
rxi
4e33d43431 Made minor tweaks and added source links to README.md 2014-04-10 23:45:18 +01:00
rxi
44c11ac1dd Updated README.md to include lovebird.page 2014-04-10 23:36:15 +01:00
rxi
8ff1720a31 Moved local pagetemplate -> lovebird.page 2014-04-10 23:33:05 +01:00
rxi
545df1c10c Added connection status indicator circle to page header 2014-04-10 23:23:55 +01:00
rxi
89109780e9 Created README.md 2014-04-10 20:29:17 +01:00
rxi
24952c0ab3 Removed the dt parameter from .update() 2014-04-10 19:16:18 +01:00
rxi
3d74ba45a3 Changed nil whitelist to whitelist everything 2014-04-10 19:10:59 +01:00
rxi
252fe8227b Changed output text to not get cleared on disconnect 2014-04-10 19:06:02 +01:00
rxi
977c5752bd Added timestamp functionality 2014-04-10 19:00:48 +01:00