1
0
Fork 0
Commit Graph

50 Commits (8f9b8f779fb69414fef72a93d569a250fcf5c668)

Author SHA1 Message Date
Mike Gerwitz 8f9b8f779f JsonResponse retain output value on request error 2015-05-28 15:15:41 -04:00
Mike Gerwitz 57886e66d0 JsonResponse test ensure parse error is of type `SyntaxError`
Previously `Error`.
2015-05-28 15:15:41 -04:00
Mike Gerwitz e8344e36bb dapi.format.JsonResponse response text output value on parse failure 2015-05-28 15:15:41 -04:00
Mike Gerwitz 1669f9eeda XhrHttpImpl#request invokes XHR send
This should have always been the case; I am not sure what I was thinking,
considering that the object is encapsulated.
2015-05-28 15:15:39 -04:00
Mike Gerwitz 76280b0cac AutoRetry distinction between predicate truth and request failure 2015-05-28 15:03:50 -04:00
Mike Gerwitz 2b92a2c447 JsonResponse#request must be virtual
To suppor trait stacking.
2015-05-28 15:03:48 -04:00
Mike Gerwitz af4a775155 AutoRetry delay implementation 2015-05-27 15:25:43 -04:00
Mike Gerwitz ca5d064455 AutoRetry trait initial implementation 2015-05-27 15:25:42 -04:00
Mike Gerwitz 8fbd4dd220 XhrHttpImpl#serveError 2015-05-12 16:32:49 -04:00
Mike Gerwitz d4328968e8 XhrHttpImpl considers any 2xx status to be successful 2015-05-12 16:32:49 -04:00
Mike Gerwitz 6cc260b443 XhrHttpImpl#isSuccessful determines HTTP response success
May be overridden by subtypes.
2015-05-12 16:32:48 -04:00
Mike Gerwitz b4ef6439e9 JsonDataApi=>JsonResponse trait
This cuts down on the code significantly and makes more sense, since we
would not want to veil the API of any classes that want to use this.
2015-05-12 16:32:43 -04:00
Mike Gerwitz 0e9c511117 HttpDataApi.request is now virtual
Will support mixins
2015-05-12 13:45:19 -04:00
Mike Gerwitz 0a07ad4982 Added JsonDataApi 2015-05-12 13:45:19 -04:00
Mike Gerwitz 6d0acf5916 Initial XhrHttpImpl implementation 2015-05-12 13:45:19 -04:00
Mike Gerwitz e0f1c600ba Began liberating DataApi
The Data API is being heavily refactored and tested; while moving files into the
Liza repository, I noticed some inefficiencies with the design. These are being
heavily improved upon.
2015-05-12 13:45:19 -04:00
Mike Gerwitz 67c2f04e96 nullglob for gen-index 2015-05-12 13:45:19 -04:00
Mike Gerwitz 0c56d43c13 tags=>keywords in package.json
Was it "tags" years ago?  I'm not sure; that's what I used in GNU ease.js,
and that would explain why it is not working.
2015-05-01 15:51:35 -04:00
Mike Gerwitz fdabf43271 Include README.md in distribution 2015-05-01 15:45:57 -04:00
Mike Gerwitz 5b4beaa89b Version bump v0.0.2 2015-05-01 15:43:52 -04:00
Mike Gerwitz 847704d06f Include all of src/ in distribution 2015-05-01 15:43:51 -04:00
Mike Gerwitz 44b4941c3f GroupUi extraction
This is just the beginning of the work to begin to test integration with
liza.
2015-05-01 15:39:21 -04:00
Mike Gerwitz 6149649327 jQuery dependency injected into GroupUi 2015-05-01 14:20:13 -04:00
Mike Gerwitz 0fe2df4de3 License header added to GroupUi 2015-05-01 14:20:13 -04:00
Mike Gerwitz ab34cc89b0 GroupUi needs love (cleanup, testing, etc) 2015-05-01 14:20:11 -04:00
Mike Gerwitz 35e1494b9c Extract GroupUi from internal repository
Verbatim.
2015-05-01 11:10:49 -04:00
Mike Gerwitz 5ab69153d0 README contents combined into README.md 2015-05-01 10:59:51 -04:00
Mike Gerwitz 80785dbcf4 Version bump 0.0.1
Nothing useful has been merged into master yet
2015-05-01 10:43:41 -04:00
Mike Gerwitz 37e8edfefa package.json and version.js added to distribution 2015-05-01 10:39:38 -04:00
Mike Gerwitz bf6f3a7ca8 GNU ease.js upgrade to 0.2.4 2015-04-09 01:13:33 -04:00
Mike Gerwitz 78a06d2d8e gen-index now uses relative path instead of __dirname 2014-04-23 15:34:57 -04:00
Mike Gerwitz c1c5349385 Build now generates index.js modules 2014-04-18 10:03:40 -04:00
Mike Gerwitz 7d27e83f29 Added gen-index script
This removes the burden of manually creating a namespace object
2014-04-18 10:03:19 -04:00
Mike Gerwitz e815e8a491 Autotools now using build-aux/ instead of tools/
We will use tools/ for our own scripts
2014-04-18 10:02:47 -04:00
Mike Gerwitz a9556b9284 Added TESTARGS for check target
Allows passing arguments to mocha
2014-04-18 10:02:10 -04:00
Mike Gerwitz bc923e4bc4 Added make check and test targets 2014-04-18 10:02:10 -04:00
Mike Gerwitz e44d6453d0 Added Mocha and Chai dev dependencies
When the project that would eventually become Liza was initially developed,
Node.js was still very young and there were no well established testing
frameworks. That has since changed.
2014-04-18 10:02:09 -04:00
Mike Gerwitz d2c22d1691 Added GNU ease.js dependency 2014-04-18 10:02:07 -04:00
Mike Gerwitz c927bf1214 index.js license header reformatting 2014-04-18 08:37:14 -04:00
Mike Gerwitz 6b721b9b43 Initial Travis CI configuration
My understanding is that this should do stuff.
2014-01-17 14:00:26 -05:00
Mike Gerwitz a76fd811ed Added version.js 2014-01-17 01:20:30 -05:00
Mike Gerwitz 50d17c3ad4 package.json is not needed in Makefile
It is generated by the configure script.
2014-01-17 01:16:01 -05:00
Mike Gerwitz 803d861922 Added placeholder index.js
Intended for use with Node.js
2014-01-17 01:10:08 -05:00
Mike Gerwitz 7fe66235f9 Added package.json for npm
It will be a while yet before this appears in npm.

The build no longer fails on `make' by default.
2014-01-17 00:51:53 -05:00
Mike Gerwitz 3abc910a9d Added doc/ to SUBDIRS in Makefile.am 2014-01-17 00:17:23 -05:00
Mike Gerwitz 6e4deacf48 Added README with autoreconf mention 2014-01-16 23:43:23 -05:00
Mike Gerwitz d432985c67 Added placeholder files for Texinfo documentation
Texinfo is the documenation format of the GNU operating system and can
produce output in a variety of useful formats, including info, HTML, and
PDF.

The HTML output is of particular importance here, since Liza is a JavaScript
framework.
2014-01-16 23:35:45 -05:00
Mike Gerwitz 3a93fbb25c Added placeholder files for autotools
``Building'' Liza will not be required to use it; see ease.js for the style
of building that will be used here. In particular: the build process will be
used for minification and the creation of distribution archives, but one can
simply include the source files (using, say, node.js) to use it without
building.
2014-01-16 23:07:42 -05:00
Mike Gerwitz 1d048cc997 Included license and small `About' section in README.md 2014-01-16 22:51:07 -05:00
Mike Gerwitz a78a7da5ac Placeholder README.md and license 2014-01-16 11:44:02 -05:00