Commit Graph
64 Commits
Author SHA1 Message Date
rxi f7578fe07e Changed env.json to ignore keys which arn't strings or numbers 2014-04-14 00:10:34 +01:00
rxi 3b2e834711 Changed JS updateDivContent() to check against its own cache
updateDivContent() now checks against its own cache to assure the
content has actually changed before updating the innerHTML of the div.
2014-04-13 17:03:44 +01:00
rxi b4e007b035 Changed server to accept all waiting requests that frame
Previously the server would have only handled the most recent connection
on a frame, it now handles all waiting connections.
2014-04-13 16:56:22 +01:00
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
rxi aa7c37791b Changed buffer to use lines, replaced maxbuffer -> maxlines 2014-04-10 18:23:04 +01:00
rxi a370307e8d Increased padding on page's header bar 2014-04-10 18:13:24 +01:00
rxi 8b14de4217 Added lib's version number to header's title 2014-04-10 18:12:08 +01:00
rxi e4aaf12024 Made the header title a link to the project's github page 2014-04-10 18:07:53 +01:00
rxi 1eb7b3c710 Added status text updating to page 2014-04-10 12:48:08 +01:00
rxi 8fd17e36eb Added LICENSE; added license header to lovebird.lua 2014-04-10 12:36:09 +01:00
rxi 6eb8ff0bd8 Renamed var overrideprint -> wrapprint 2014-04-10 12:34:30 +01:00
rxi b1f6294222 Improved page template 2014-04-10 12:33:18 +01:00
rxi 82d2afc1f4 Added assert to input's loaded string 2014-04-10 00:22:24 +01:00
rxi 9e2f65acff Renamed field req.header -> req.headers 2014-04-09 23:41:08 +01:00
rxi 962019f0de First commit 2014-04-09 23:29:50 +01:00