From 5a0fa1564cbddd22f55debb18e3936c6f4edd1fb Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 12:35:47 +0100 Subject: [PATCH 01/20] version bump, dist update --- dist/reste-commonjs-1.4.0.zip | Bin 0 -> 15237 bytes package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 dist/reste-commonjs-1.4.0.zip diff --git a/dist/reste-commonjs-1.4.0.zip b/dist/reste-commonjs-1.4.0.zip new file mode 100644 index 0000000000000000000000000000000000000000..70f8eac06e260f8f42e39ae64dbdb139f247c1ce GIT binary patch literal 15237 zcma*OV~{98w`ke+Y3sCY+qP}nwr$(CZQHhO+db#b#EUogi1dZN5A4F7Bs4gYtsy!X33v8$_OBtPErGsoKs;-6+d04Wcv^}b>SMcrI z-+A=Y_XN+&nPdtyowS>+>0?HA5(SzN=Ei7sOrJ2b=d=O=n1@O8sy&612Ha51sbGoI z2Sj*B@oj2qGwyj6BC`e7BDaM1zvsyFjthkq2moLfo5LHU=t+5u4=aT~=+uKMR$Sp`1NX3KTx68A@c7P2&Wf)>BE^5(6**xXiYZVYzyTG=O zT8c^Tp{q6nWql`@QQduTYoCfptJ&k|2{2YUVO8&`sDMzM@vkkGin=DYEvZ~^HXw1> zOpeGiBXWAWsLMov!r$QQ0nBflW0~1eBD2`Ao zb5SS&)McQ2HdlEm3V3I31kPUcFR52acg`>#XKW!h-_iA8r?g zYsCfnrm!F#=;)%k`)$MNg0SOaJ3u2@yUQT{+rmzP^_{cgcY#r&jBDBo8>^V5ys?_b z88a_Rw{Q+LMYR)calJj#TVi}=>%9?{JT;~B7QEZs z;Dj|5bl~>N2Ksea^hSH(Fe84#8Z2%&%0L0{`?wzScCyQ`3Di^fQ$ZgOtwMJ()@o%ywlb1x^ z#)VOoSd%DU9bx+nr_OB^r(eq4qG~i+qeX^{8eks?>Px!`Q=hR?>Q8YlXXV~>W8O!+ zeJW9MJ%mCGM7xO4n%1lh*@I4JRu_|k$HhRjMt4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ukwTq(8FFLJ=#XN1Nl#T~fCS#lHZSoG+ z+Y9Wz)l@&IwB7GQ@vVX&>Gy$u!Ddb!=^Z?smS^`qi5t(Hwi{|gdoT{DO3UAd>w`uS zyNc)otSC>uh(_05oNTm9TTO`R=8nA+9;V5(kA>9@(`IImWSae0{}|a3s@w~}8=y(R-tci ztdJ=)1^1ohl+@_}a^P0c!PGnT=xz2=eWusuJ~#J7@h8+urS=rfxDv4@i3=*^`;^vtAj|fE)+a1yn z5HamHJ+O5hlJK(p8r1EGqL-P6dU7FhVSAl~E>WgVSv4uCQY1Jc^hVni_Rn_s2mPO_ z+CWty2!T_RI5i&qm98MH>%dH`U9E|8X)83FX*78}&jUu8vmM*`1qa(Zoh9xd=OGr4 zSDQN9S^@K}hE=$NV%_4Ah{U(Ug92fxw}o;MR^8)8~6kd5$3{Il}o+Cnz3wKVpv2%EOK?P5CZ}p zo#1hnTzwE;?(hU-;wT(B0)O~mA5J#x^bi}Zt0e)E1M`3_{@AKMeNHVDK0Zcsdf_A4 zfZT-3qp&I6qiwz$b5?bq@bVgfIBDcXwjP=I0idYyo6m3{mWS(WwAvPzf{N0{zjN52 zUtqRN7|I0lS5%`m?Ffk02%Q?!b=FA^j^I#bgOD_=oT8lIg!v%Diqe1W7a}@qQoHKy$nN2tZ5@+uOiBuUGcS0+(Ht^D;V) zhYa`_ Date: Tue, 4 Apr 2017 12:58:30 +0100 Subject: [PATCH 02/20] Transform support when creating models on-the-fly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now when you use reste.createModel, it will add a default transform (toJSON) — this can be overridden if the model is defined in config and has a transform function there. --- reste.js | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/reste.js b/reste.js index 768cead..cf45339 100644 --- a/reste.js +++ b/reste.js @@ -90,6 +90,7 @@ var main = function() { // open the url and check if we're overrding with // a local http based url + if (args.url.indexOf("http") >= 0) { http.open(args.method, args.url); } else { @@ -354,6 +355,29 @@ var main = function() { reste.createModel = function(name, attributes) { var model = new Backbone.Model(attributes); + + // if we have a config based transfor for th emodel + // then attach this to the model, or create a default + if (reste.modelConfig && reste.modelConfig[name].transform) { + model.transform = function(model, transform) { + if (transform) { + this.__transform = transform(this); + } else { + this.__transform = reste.modelConfig[name].transform(this); + } + return this.__transform; + }; + } else { + model.transform = function(model, transform) { + if (transform) { + this.__transform = transform(this); + } else { + this.__transform = this.toJSON(); + } + return this.__transform; + }; + } + model._type = name; return model; }; @@ -390,7 +414,7 @@ var main = function() { } else if (args.transform) { this.__transform = args.transform(this); } else { - this.__transform = this.toJSON() + this.__transform = this.toJSON(); } return this.__transform; } From 06de7d033c90d1a31d9992c4331f1d6715fc601b Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 12:58:56 +0100 Subject: [PATCH 03/20] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a1e7381..5bbbabe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reste", - "version": "1.4.0", + "version": "1.4.1", "description": "A JavaScript REST / API helper for Titanium with Alloy Models/Collections support", "titaniumManifest": { "guid": "afafe8b0-b93b-771c-a9e5-4e71db81b9ff" From 18387c0cfcaa9cdafc8923f884eb914e663f2ca0 Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 12:59:49 +0100 Subject: [PATCH 04/20] dist update --- dist/reste-commonjs-1.4.1.zip | Bin 0 -> 15342 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dist/reste-commonjs-1.4.1.zip diff --git a/dist/reste-commonjs-1.4.1.zip b/dist/reste-commonjs-1.4.1.zip new file mode 100644 index 0000000000000000000000000000000000000000..9bb7fc0ec1cfbcebdc624fbdb36980d0c50b8bf2 GIT binary patch literal 15342 zcma*OV~{REx2V~+ZSA&g+qP}nwr$(pyYaSd+jjTfZM$cmnYeN1d=WF}W<~y3KkB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_#8 literal 0 HcmV?d00001 From 8db830cdf4a13be2fcd092555814bb3aab92291d Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 15:02:32 +0100 Subject: [PATCH 05/20] Removed spurious code from a merged PR that broke stuff! --- reste.js | 1 - 1 file changed, 1 deletion(-) diff --git a/reste.js b/reste.js index b8a72fb..03ed529 100644 --- a/reste.js +++ b/reste.js @@ -66,7 +66,6 @@ var main = function() { // debug the url if (args.url.indexOf("http") >= 0) { - http.open(args.method, ); log("::RESTE:: " + args.url); } else { log("::RESTE:: " + (config.url ? config.url + args.url : args.url)); From 7b7a900b81ba267390317d12505caf902531c6ec Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 15:02:48 +0100 Subject: [PATCH 06/20] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5bbbabe..1f28899 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reste", - "version": "1.4.1", + "version": "1.4.2", "description": "A JavaScript REST / API helper for Titanium with Alloy Models/Collections support", "titaniumManifest": { "guid": "afafe8b0-b93b-771c-a9e5-4e71db81b9ff" From ea45e262a37bf1810ea645e6b7d0da69b4dcb979 Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 15:03:06 +0100 Subject: [PATCH 07/20] dist update --- dist/reste-commonjs-1.4.2.zip | Bin 0 -> 15339 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dist/reste-commonjs-1.4.2.zip diff --git a/dist/reste-commonjs-1.4.2.zip b/dist/reste-commonjs-1.4.2.zip new file mode 100644 index 0000000000000000000000000000000000000000..4821baab31e2ad01b59c8d21b39f95260c3e402e GIT binary patch literal 15339 zcma*Ob8u(D->4bewr$(VH<{SBZQItwHYc`i8xz~MlRNKj-MV{!Tf6V=Q(blXkAAxA zQ+-;e9tCMoFc=^pASfUMk07b^c<>J7e zy$lqjNFbkDf!7)3K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`># zYGqKV2!yQvd;X0mkA>`-M+lz+=o51f(5lh=gfIVm$JlXpSoZSj!IYk#V@-$_1*AXF z%IxOnnY-d);5 z@9$ArTwa-Fe4DZbd-Qs+a>By6q?Lxh>VIRPVbXd(ku`(gd{3WAa`7CVP(nWT+zakK z==V68&{J4^fs?egB%i+)cp3uJR`+ru+5o6C{qvIn(HNYLE8K*=C-w`jdIz%lSiB?qVv$HtL18+D z`vpSQIS5`w75vcZTRXnt@X|C@ZYkzW*vdyh!&&IMmy<}d2T^@~?Bw>|PEI-DV&6ND z2OxyV#SS9!2-R#_dTd^xZTxP!Bzt?vZEwW~8N7i~;2`As3xk^e1>y#`w!9g!Q7m9}NuN`^AD!j(Q3~{Ks5{)yuvaf#W=C^G$7^hgp%6qp=UpJf0*l*bd;8U4g<6%#{ADML!+kaOTX;NqcR}f+4j4$vZk!?;>iNuQtY$8 z6|Yt#M;V@Rx=h6-p2w)KT!z~ar{;9e58%n(b!v2Oa%Mu2Qs7%oMy9N8yYL!^Jv|dA z+E0*9ot}v$g-JOIw-+J~h7p2z?SHpg6VtpMhourR;K+^ku3NQ(k7LpBRR^#5qb)}V z!3GNLrV=Iy5qT^d<5QT%D?$3vn5aGcctZ|SsR1^=gTa`XMo14IX`;GVa^oen3nFm2 z_PKcix=kPdr7moY=wnZ5w~DyrcB8t$^Hibd9w%UEYXqNR#*jsUQsu0t58_ z?V Date: Tue, 4 Apr 2017 15:15:07 +0100 Subject: [PATCH 08/20] bug fix --- reste.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reste.js b/reste.js index 03ed529..7912b52 100644 --- a/reste.js +++ b/reste.js @@ -368,7 +368,8 @@ var main = function() { // if we have a config based transfor for th emodel // then attach this to the model, or create a default - if (reste.modelConfig && reste.modelConfig[name].transform) { + if (reste.modelConfig && reste.modelConfig[name] && reste.modelConfig[name].transform) { + alert("here") model.transform = function(model, transform) { if (transform) { this.__transform = transform(this); From 0d9cbe9e18cf3e57b0ea0cf176586a296a55e752 Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 15:15:29 +0100 Subject: [PATCH 09/20] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1f28899..ed5613a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reste", - "version": "1.4.2", + "version": "1.4.3", "description": "A JavaScript REST / API helper for Titanium with Alloy Models/Collections support", "titaniumManifest": { "guid": "afafe8b0-b93b-771c-a9e5-4e71db81b9ff" From 8b1c7bbd5860e72c479c7538bb64aaf1665c743a Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 15:15:41 +0100 Subject: [PATCH 10/20] dist update --- dist/reste-commonjs-1.4.3.zip | Bin 0 -> 15353 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dist/reste-commonjs-1.4.3.zip diff --git a/dist/reste-commonjs-1.4.3.zip b/dist/reste-commonjs-1.4.3.zip new file mode 100644 index 0000000000000000000000000000000000000000..489f7dbe8e5157b69de132fb8b1fdac905ce455d GIT binary patch literal 15353 zcma*OW2|UFw`jR-+qUhqZQFaFZQHhO+qP}nwr!)&?as^V`z77?)k^)SA8S-)X0Dl) z${g}iz#vcn000mG_wE6bX|bRki2qjb|0c=5X>DudY-Q|7Z)j_6ZEIuUNbg|m=wwXK zNXJ6QOfM}VBqFOM0zExBGf6+IbT=+7J54PM3LyXAkV2Qdp$Gp^lz;#Lr2iArTHnUp z0ND#aCcfTKQyHr9NT_*5}VmQO~k;xrwZnC3p{ zFbav-dHdKqOu-6Z*NZw>`vi0cZs>c5?`{F8QMaDzb8avUN`8s51Ls!zTBV?(hG$T= zMRP;TF;N2UQV|G^uP8{!oU|w*3E1QPl|oKaX5n-O<&T1N5SF^k5Fh+w z+%5nTD+!-bQx@pUs{pk0fp3#<;Qu{HE_aa`96$g7vmpNh^*;s4PT$Z{-_)4S!qL_y zT1iIkkO86lk-7?p!#c|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 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 18:04:16 +0100 Subject: [PATCH 11/20] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ed5613a..d9f7b9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reste", - "version": "1.4.3", + "version": "1.4.4", "description": "A JavaScript REST / API helper for Titanium with Alloy Models/Collections support", "titaniumManifest": { "guid": "afafe8b0-b93b-771c-a9e5-4e71db81b9ff" From dfad9198a5dda28296d12c6341f18bd2b0fab226 Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Tue, 4 Apr 2017 18:04:21 +0100 Subject: [PATCH 12/20] dist updated --- dist/reste-commonjs-1.4.4.zip | Bin 0 -> 15353 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dist/reste-commonjs-1.4.4.zip diff --git a/dist/reste-commonjs-1.4.4.zip b/dist/reste-commonjs-1.4.4.zip new file mode 100644 index 0000000000000000000000000000000000000000..cf8dd9bdcef91c66ada33b39d8be5de1f69ad0ce GIT binary patch literal 15353 zcma*OW2|UFw`jR-+qP}nw$8S3wr$(CZQHhO+g6|3otM}5OS#+FrH669F2aAGCCryX7eBV3u8q~25-fS;FF<@5r-i?TWe^YT@YjxOZdCWt33@LRO zjUgD*a>$L>ye{~{GEhzxe4cy)|L;LsfdnJr00ID*1^E}K|0zg+4UDV|%uMJk9qnwR zl_zaC84$WosUdJ3DvHXS_tw}8$MY$HQ0#4G4HXuo3}xa$@Li(&es@Tpt?8yk3C!9X z8yhQMp@oP9wZm3O7W8RE{_r>f*rcK0O(%#poXsK0p(eW8Ht|Twqb7a*9iqaiNWe(m1n6k$6}SAZ+OqHhdQA{Pi!F zl*7}Sl;6P9edjuM6Tnf)R8c;wn9^g{0V$#wLlU96qw*} zyEuF+KF~LnCHX){m)`!bJ+B+$p4;CcdYQU?R%s?{M-`3_-fF;QR+&n^8CzVuQjW@| zT1Ho#!dU&HM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{nXkU1~A*Jn(Bbni+cY+Q9EsS;q`Fyo#khW5}L|1e1EnZ zeOGqGcPD$@5)JGsi_JQv>2rSeWS@=?yAAj(8~%XU<2FWSk*A)AU1Q#U$0eV6ug-!8 z4cH}k8nT8GmdEZ4v!Y9%V7}R`N;4QY#ag0>uzvNMI$7!M&SoLXpseDiY6uGN=ke>m{ptGSO8^GZJO!G&4(?Hk$Rn4mxy9iYi_fQ!!p(`juDX`Xsr zeO25TEdTMtAFiO>kma{s+)f&0V4q%{^R&qm!d?$_m{o-pZUiwlhaW&eX}+dK!E8BO z7%cwW1)DEar_}#@q?jQ)3GbEp$jo&QvJX$$-q<7S@O5vQ^7yCq?eO$H$v1BLV)+Zm z7pJ(9p(ZSMpIhb)BPev8^=C~!)QLD4euD=-FI4~2-R{%G?lj%Q5g@spsXfCvOM@d} zO)TbtT`7OaKbHWF!u?zx(>ySnq9SHM&5b+fKzMPo0;d>bI#~6CX#GjZhLMLw$cSat-eIG;nGbInEBdFyqY}_e>P`n{t z^dl|T#zv|VPIhLV78r}9-vK|GpF`9q?ftM{z^+evOai1+VB8XO1!i}v7C5%E=#3Y# zeH_NV#P|U-3iACul}yV!$iH7>$s`(TgC{>E$RLWR&HnQ-7Nw>hAd*=ugG<_MD-B^^mcso0O z&-P|yRo?7rzZ;4@cDL%4GNf=rGftPu=s5GpwPni?o5G|_ZUq5cxxek}oEw}Nkfanj zmJ?x#YFp0TN1#tm#0d9eq?4wnBZ$Eh4}XKSA=}X!$3U{@3_Faa8}4_@7eh|3msOqVoSl{9lUdeJvzp<~t{{!}aiFyjspkV*?8pyv#{@+=Wxc+PPe*qIG BJNf_s literal 0 HcmV?d00001 From edbf5e33578a51f7d6e5317c7892afd0c2f6958f Mon Sep 17 00:00:00 2001 From: Jason Kneen Date: Wed, 5 Apr 2017 19:29:34 +0100 Subject: [PATCH 13/20] Update readme.md --- readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.md b/readme.md index 9e4aacd..1e181cc 100644 --- a/readme.md +++ b/readme.md @@ -307,6 +307,8 @@ api.clearCookies(); RESTe supports collection and model generation. So it supports creating and managing collections and models, binding, and CRUD methods to Create, Update and Delete models. +**NOTE**: If you are using the Alloy Collections and Model Support of RESTe, you should **not** use the Alloy Model / Collection definitions -- so you shouldn't have an app/models folder with models defined. You must also **not** use the notation in the XML -- you *just* use the dataCollection binding in a repeater. + You can also now perform transform functions at a global (config) level or locally in a controller / view -- this is really useful if you use Alloy and pass models to views using **$model** In the following example, we've defined a method called **getExpenseQueueFull** elsewhere in the config that gets expense details, and then defined a **transform** function in the config: From 012f7acbec40e1afa407f775cbc6ac53fe60ca43 Mon Sep 17 00:00:00 2001 From: Jason Kneen Date: Wed, 5 Apr 2017 19:32:16 +0100 Subject: [PATCH 14/20] Update readme.md --- readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.md b/readme.md index 1e181cc..e1f97f2 100644 --- a/readme.md +++ b/readme.md @@ -4,6 +4,8 @@ RESTe tries to make sense of the data that comes back but currently it will have problems with invalid JSON data. If you're having any issues with data not being rendered / bound, check it's valid JSON so everything is wrapped as a string. JSON has real issues with numbers -- if it's a normal number it's fine but putting in say 000000 for a property can cause issues in parsing. +Also, make sure you're not using the **app/models** folder or the **** tags -- you *only* need to define your models in the RESTe config, and then use the **dataCollection** property in the repeater. + ## Why? I build a lot of apps that integrate with APIs. These could be written using the open-source Parse Server or a hosted service, but more often they are custom APIs written by another developer. I used to use a basic api.js library to handle the API integration, but this typically involved writing my own module for the API in question, requiring the api.js module, and writing specific methods for the app. From 0b56c4fcc117d95a72720f4bded06e2207dd9bc7 Mon Sep 17 00:00:00 2001 From: Jason Kneen Date: Wed, 5 Apr 2017 19:44:22 +0100 Subject: [PATCH 15/20] Update readme.md --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index e1f97f2..45f34b1 100644 --- a/readme.md +++ b/readme.md @@ -65,7 +65,7 @@ The main things I wanted to achieve were:- or * [Download the latest version](https://github.com/jasonkneen/reste) and place in your project (lib folder for Alloy). -Wherever you want to initialise the API interface, put this (ideally this should go in your alloy.js or index.js file):- +Wherever you want to initialise the API interface, put this (ideally this should go in your alloy.js directly or create a config file in the app/lib folder and require from alloy.js):- ```javascript var reste = require("reste"); @@ -117,6 +117,8 @@ api.config({ }); ``` +**NOTE:** You can't put the config in the same file as one that is using any bindings to the models/collections define *in* the config. This is because Alloy will attempt to resolve any references for **dataCollection** before the config is ready -- so for best results put the config into alloy.js directly OR as a require to a config file in the app/lib folder. + ### onError() and onLoad() You can pass the _optional_ **onError** and **onLoad** handlers, which will intercept the error or retrieved data before it's passed to the calling function's callback. This way you can change, test, do-what-you-want-with-it before passing it on. From 0e79ca35654845a66e12825afa80fbeed6c40414 Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Thu, 6 Apr 2017 17:34:08 +0100 Subject: [PATCH 16/20] added a warn function Will be set for debug only in the future but needed to warn of future breaking changes --- reste.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reste.js b/reste.js index 1f83553..bcf430b 100644 --- a/reste.js +++ b/reste.js @@ -13,6 +13,11 @@ var main = function() { } } + // generic log handler in DEV mode + function warn(message) { + console.warn(message); + } + // sets up the config, headers, adds methods reste.config = function(args) { From 489eca67e96442b741aa8f8656ce45014900b4ea Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Thu, 6 Apr 2017 17:35:56 +0100 Subject: [PATCH 17/20] added new object errors; warn of future breaking change By default, a parsed responseText will be returned for errors to maintain compatibility with current apps. Using config.errorsAsObjects = true will turn on error objects that return codes and more. Update your apps to support object based errors! --- reste.js | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/reste.js b/reste.js index bcf430b..6e7d63d 100644 --- a/reste.js +++ b/reste.js @@ -160,20 +160,30 @@ var main = function() { makeHttpRequest(args, onLoad, onError); } + var error; + + if (config.errorsAsObjects){ + error = e; + warn("RESTE:: Errors will be returned as objects."); + } else { + error = parseJSON(http.responseText); + warn("RESTE:: Future versions of RESTe will return errors as objects. Use config.errorsAsObjects = true to support this now and update your apps!"); + } + // if we have an onError method, use it if (onError) { // if we have a global onError, we'll pass it on too do we can still use it locally if we want to if (config.onError) { - onError(parseJSON(http.responseText), retry, config.onError); + onError(error, retry, config.onError); } else { - onError(parseJSON(http.responseText), retry); + onError(error, retry); } } else if (config.onError) { // otherwise fallback to the one specified in config - config.onError(parseJSON(http.responseText), retry); + config.onError(error, retry); } else if (onLoad) { // otherwise revert to the onLoad callback - onLoad(parseJSON(http.responseText), retry); + onLoad(error, retry); } else { // and if reste's not specified, error! throw "RESTe :: No error handler / callback for: " + args.url; From b176ad99528b6f39f739de9e633a871ee1b59892 Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Thu, 6 Apr 2017 17:36:01 +0100 Subject: [PATCH 18/20] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d9f7b9d..93001a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reste", - "version": "1.4.4", + "version": "1.4.5", "description": "A JavaScript REST / API helper for Titanium with Alloy Models/Collections support", "titaniumManifest": { "guid": "afafe8b0-b93b-771c-a9e5-4e71db81b9ff" From 7f92fce0908ce0d6c1562bdd435cd72bb6a90059 Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Thu, 6 Apr 2017 17:40:08 +0100 Subject: [PATCH 19/20] readme update --- readme.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 45f34b1..88e101c 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,15 @@ # RESTe -## Important note +## FUTURE BREAKING CHANGE + +In 1.4.5, a new option to support error objects is available. It's off by default and can be switched on by setting: + +```JS +.errorsAsObjects = true +``` +in the RESTe config. This will ensure you get full objects back for errors so you can access status codes, the http object itself. For legacy support this is off by default but will be the default in future versions so please, update your apps! + +## Important note on JSON data RESTe tries to make sense of the data that comes back but currently it will have problems with invalid JSON data. If you're having any issues with data not being rendered / bound, check it's valid JSON so everything is wrapped as a string. JSON has real issues with numbers -- if it's a normal number it's fine but putting in say 000000 for a property can cause issues in parsing. @@ -74,6 +83,7 @@ var api = new reste(); // now we can do our one-time configure api.config({ debug: true, // allows logging to console of ::REST:: messages + errorsAsObjects: true, // new in 1.4.5, will break 1.4.4 apps that handle errors autoValidateParams: false, // set to true to throw errors if url properties are not passed validatesSecureCertificate: false, // Optional: If not specified, default behaviour from http://goo.gl/sJvxzS is kept. timeout: 4000, From 3715d2b6e6cb9c95ca9c20f1e472933568a43cf0 Mon Sep 17 00:00:00 2001 From: jasonkneen Date: Thu, 6 Apr 2017 17:40:32 +0100 Subject: [PATCH 20/20] dist update --- dist/reste-commonjs-1.4.5.zip | Bin 0 -> 15506 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 dist/reste-commonjs-1.4.5.zip diff --git a/dist/reste-commonjs-1.4.5.zip b/dist/reste-commonjs-1.4.5.zip new file mode 100644 index 0000000000000000000000000000000000000000..34bf05f43916bc756d0a341d5849064abe22830a GIT binary patch literal 15506 zcma*OW2`7JyQsNr+qP}nwr$(CZQHi7mu+J&+ve;ulbbu|OJ>e((;xlOr_GzUO`G&l zkOl^U0ssJj0Dy@Nk;;e%?Lz$5ga6k^{xw^B6IUBkXL@6MTU&cOD`$EqQ)d@bdPX`H zI#zlaNnuerWl`vvso5#|Ipw$7pVU!NDhX^)`sS$bXLyxcCpI5 z_FD`HJCD?GSWK!ZD`XB=GZsuNq5(v+t0Z8gxg?_~k_jog#CQJmlD=%x%@9Z2yWQ@$ za<}LJi3PA?))6dN(F^GCxC+>0q2kI;qIKLY0?F28HuxI@yu9r|;(Iddq}C!c$8FWA zhI-QOaCR(dpRqzf@BxY$%t?n2ID@972l%IjurhS2l17;fX^yvp*y8506BvxOSd!seZ4?%u_%r#h+JqDf#xcQAPw{xS z{UDyIE3^?;k6jsm@PTpQywm^p-1El06M10+ z0H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