1
0
Fork 0
Commit Graph

307 Commits (1bb5191e3e41a60547c3c81bd286e4fdd4e06236)

Author SHA1 Message Date
Mike Gerwitz 0b6e916924 v0.0.3 version bump 2015-05-31 22:39:44 -04:00
Mike Gerwitz af96012acd Data API introduction
This is a heavily refactored and much improved version of LoVullo's Data API
and request handling system for its framework.  More to come.

The API is still potentially volatile.
2015-05-31 22:30:24 -04:00
Mike Gerwitz a383a36bfc HttpDataApi#request permits null data 2015-05-29 12:45:02 -04:00
Mike Gerwitz 0599acc23a Key-value param encoding moved from XhrHttpImpl to HttpDataApi 2015-05-29 12:22:26 -04:00
Mike Gerwitz f122d85938 XhrHttpImpl modify URL for GET request params and encode key-value
Some of this may be more appropriate to move out of XhrHttpImpl into
something like HttpDataApi...
2015-05-29 09:35:21 -04:00
Mike Gerwitz 881e740bb9 JsonResponse returns parse error or combined request/parse on failure 2015-05-28 15:15:41 -04:00
Mike Gerwitz ca68d12370 XhrHttpImpl no longer modifying response text
Status code included with error object
2015-05-28 15:15:41 -04:00
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