20 Commits

Author SHA1 Message Date
Rufus Pollock
bd98d15b61 [#313,backend/memory][xs]: use jquery deferred if we can. 2013-02-08 13:20:38 +00:00
Rufus Pollock
965bf6e9bb [#172,refactor][s]: switch everything to use underscore.deferred rather than jQuery.Deferred - fixes #172.
* In addition reduced pattern of passing in $ to backend modules - instead just use jQuery explicitly (this should make it easier to mock-out jQuery if you waned to
2013-01-04 20:13:16 +00:00
Rufus Pollock
e8ad368347 [backend.memory][s]: rename Store.data attribute to records to be more consistent (and more meaningful). 2013-01-03 21:50:47 +00:00
Rufus Pollock
3610d95e74 [#291,bugfix][s]: memory backend transform function now works even when records do not have id - fixes #291.
* Also simplified (and made more efficient) by removing dependency on (not very useful) recline.Data.Transform.mapDocs function
* As documented in #291 issue was that an id was required in the docs
2012-12-22 19:51:03 +00:00
Rufus Pollock
53a417abde [bugfix,backend/memory][xs]: map 'number' type correctly for filter application. 2012-11-13 12:06:47 +00:00
Rufus Pollock
046ee8c1a0 [#240,bugfix,backend/memory][s]: range filters now work as expected when one end of range is null - fixes #240.
* see ticket and comments for more details
2012-10-12 22:29:55 +01:00
Rufus Pollock
1bcb163ebe [filter,refactor][s]: remove fieldType attribute on filters as can (and should) get fieldType from model if needed.
* fieldType is needed now as we parse values to specific type before doing filters
* needed to correct some tests for this change
2012-10-04 07:01:41 +01:00
John Martin
1d931b9239 Renamed all methods called delete to remove
This is because Internet Explorer <= 8 has `delete` as a reserved keyword that you cannot name your methods
2012-10-02 14:10:25 +01:00
Michael Bauer
4954e442a3 added regex support for query
Added a the regex support for queries - this will also match substrings!
(change from previous behavior).

Also fixed the test vor Custom popups, since this was b0rken.
2012-09-13 16:32:36 +02:00
Michael Bauer
fbea51030b fixes #222
It's quite simple obviously fields can not only be null but also
undefined....
2012-09-13 14:50:25 +02:00
Rufus Pollock
4737d7ecc5 [#218,refactor,query][m]: refactor query object sort attribute structure as described in #218 - fixes #218. 2012-08-21 23:55:03 +01:00
Krzysztof Trzewiczek
d7fc9ba1f8 [#96,closed] Range filter with support for string, number and date data-types 2012-08-09 13:00:41 +02:00
Krzysztof Trzewiczek
b39f858f69 [#209,backend/memory] Code refactored (less side-effects) to be moved from backends 2012-08-08 21:37:11 +02:00
Krzysztof Trzewiczek
e701f11e29 [#96,backend/memory] Simplified types handling in range filter 2012-08-08 18:27:52 +02:00
Krzysztof Trzewiczek
d445629318 Simple range filter added to Memory backend 2012-08-08 17:44:47 +02:00
Rufus Pollock
7546889cf3 [transform,refactor][s]: rename costco.js to data.transform.js and rename module to recline.Data.Transform. 2012-07-15 00:38:16 +01:00
Rufus Pollock
4721f27487 [be/memory][xs]: micro fix for null fields. 2012-07-03 15:46:43 +01:00
Rufus Pollock
bef8f9ff00 [#94,backend/memory,transform][s]: support for doing transforms without depending on an id field.
* Use index into array instead
* Not totally happy with this but still ...
2012-06-29 00:06:54 +01:00
Rufus Pollock
aa1a362bb2 [#94,transform][m]: rework transform functionality and integration extensively (+ its working again!).
* view.transform.js: major refactor
  * general record transform rather than column transform
  * Normal dataset view rather than modal
  * Reworked UI
  * split out css from grid.css and simplify
* model.js + backend.memory.js: transform implemented on Dataset and Memory (Dataset passes off to _store).
* multiview: use new transform view
* _includes/recline-deps - rework to use source files rather than built ones
2012-06-28 23:52:58 +01:00
Rufus Pollock
340fedde0d [refactor][s]: get rid of backend subdirectory and instead have prefix backend when naming files. 2012-06-26 20:38:28 +01:00