Commit Graph

348 Commits

Author SHA1 Message Date
Jeremy Ellison
378aaac12b Topic and post creating, editing, and deleting 2011-01-11 12:32:18 -05:00
Jeremy Ellison
b01805384d list view for posts 2011-01-07 20:09:23 -05:00
Jeremy Ellison
1a40644ad7 Get example working. requires three20 to be in projects directory (at the same level as RestKit.) 2011-01-07 19:50:25 -05:00
daniel
7231fed8d2 Merge branch 'new-example' of github.com:twotoasters/RestKit into new-example 2011-01-07 17:44:38 -05:00
daniel
dba50c4381 Removing three20 submodule 2011-01-07 13:59:46 -05:00
Jeremy Ellison
52409a9231 add user_id to payload 2011-01-07 13:29:33 -05:00
daniel
16ff63976e Switched base url to heroku 2011-01-07 13:19:06 -05:00
daniel
6e09251be4 Added DBTopic 2011-01-07 13:18:10 -05:00
daniel
f4f6b862cd Created DBTopic model and mapped attributes 2011-01-07 13:17:13 -05:00
Jeremy Ellison
693741f1d6 don't add redundant source 2011-01-07 13:13:30 -05:00
daniel
4518543858 Merge branch 'new-example' of github.com:twotoasters/RestKit into new-example 2011-01-07 13:06:35 -05:00
daniel
6b85b62702 added DBEnvironment to xcode project 2011-01-07 13:04:07 -05:00
daniel
dd62a2b94a imported environment and restkit into prefix 2011-01-07 13:03:33 -05:00
Jeremy Ellison
c613d0b653 add posts 2011-01-07 13:02:59 -05:00
daniel
3d402a2c75 Created and included constants file 2011-01-07 12:54:00 -05:00
daniel
d531efc4b3 Merge branch 'new-example' of github.com:twotoasters/RestKit into new-example 2011-01-07 12:29:43 -05:00
Jeremy Ellison
f6b7122b02 CRUD for Topics 2011-01-07 12:28:51 -05:00
daniel
6fb393a672 added RestKit 2011-01-07 12:24:48 -05:00
daniel
3219f22b74 Configured project for three20 2011-01-07 12:16:40 -05:00
daniel
e5ea08b7af Pulled in three20 2011-01-07 12:06:52 -05:00
daniel
7cb37bcced iPhone project init 2011-01-07 12:03:51 -05:00
Jeremy Ellison
142ad1b7d3 move examples around 2011-01-07 11:59:33 -05:00
Jeremy Ellison
ddd5d52c4a add rails backend scaffold to new example 2011-01-07 11:56:07 -05:00
Jeremy Ellison
a4c3fc9dae Merge branch 'master' of github.com:twotoasters/RestKit 2011-01-06 15:48:31 -05:00
Jeremy Ellison
f690fa19f3 The RKRailsRouter no longer sends params with delete requests.
The RKObjectLoader will now clean up deleted objects inside of processLoadModelsInBackground:
2011-01-06 15:47:09 -05:00
Jeff Arena
c20062cb4e fixed a memory leak associated with the new 503 alert strings on the client 2011-01-06 12:09:42 -08:00
Jeff Arena
13c431d8c4 Merge branch 'master' of git://github.com/twotoasters/RestKit
Conflicts:
	Code/Network/RKRequest.m
	Code/Network/RKRequestQueue.m
2011-01-06 12:00:26 -08:00
Jeff Arena
88489747e8 add additional response convenience method for checking for a 503 response code; quiet a compiler warning regarding depracated client class method; add default support for generating a uialertview when restkit encounters a 503 response; added ability to turn 503 error on/off, as well as ability to customize the alert 2011-01-06 11:55:43 -08:00
Blake Watters
0449380476 Fix deprecation warning in earlier change. Fixed a sequencing problem with the overloaded accessors on RKRequest 2011-01-06 14:51:44 -05:00
Jeremy Ellison
b31e6426a5 Add new RKReachabilityState, RKReachabilityIndeterminate.
Make RKRequestQueue smart, don't start dequeuing requests until reachability state has been determined.
Simplify examples.
2011-01-06 14:12:14 -05:00
Blake Watters
46974bb4c7 Removing extraneous logging from previous commit 2011-01-03 15:34:49 -05:00
Blake Watters
8fc71f0fb0 Introduced new missing element mapping policy for controlling whether or not nil values will be set for missing elements from payloads. 2011-01-03 15:31:24 -05:00
Blake Watters
e49d8462a9 Yield to the run loop for a tenth of a second to allow the network reachability observer to be scheduled. This prevents issues where requests dispatched from an app delegate are denied access to the network. 2011-01-03 13:23:14 -05:00
Blake Watters
e7ac2b4577 Merge branch 'master' of github.com:twotoasters/RestKit 2011-01-03 12:52:25 -05:00
Blake Watters
f1db54c156 Introduced RKMakeURL and RKMakeURLPath convenience methods for generating NSURL and NSString URL's quickly against the sharedClient's base URL. This can be useful if you have some web content in your app that loads off of sub-paths and want the convenience & flexibility of working off of resourcePath's instead of full URL's. 2011-01-03 12:49:31 -05:00
Jeremy Ellison
340e587704 Refactor JSONRepresentation to stringFromObject: on RKParser. Fixes https://github.com/twotoasters/RestKit/issues/#issue/6 2011-01-03 12:40:20 -05:00
Jeff Arena
058e55242c replace use of NSString method stringByAddingPercentEscapesUsingEncoding with CFString flavor CFURLCreateStringByReplacingPercentEscapesUsingEncoding, to ensure we do not miss any characters that should be escaped when performing RFC3875 percent escaping 2010-12-30 14:59:30 -08:00
Jeff Arena
716ecb4f26 added RKResponse property exposing the cookies available from the RKResponse headers 2010-12-30 13:29:11 -08:00
Jeff Arena
29f82dff77 fix for bug introduced in commit df05be1cbb8c08fe0dd6; now that we are checking the request method in the params setter, we need to ensure we set the method before setting the params when creating and preparing to send an RKRequest object from RKClient, otherwise we will lose all params for all methods other than GET 2010-12-30 13:28:01 -08:00
Blake Watters
394ebb307f Don't pass a URL into Reachability 2010-12-30 14:28:41 -05:00
Jeremy Ellison
2367ba4293 Make SCNetworkReachability use just the hostname.
Fix examples to check for network connectivity.
2010-12-30 14:22:22 -05:00
Jeff Arena
df62bce0dd add unauthorized convenience method on rkresponse 2010-12-29 17:04:37 -08:00
Blake Watters
a61728aa28 Fix incorrect comments about retaining object loaders. Fixed deprecated references to globalManager/globalClient 2010-12-27 21:56:38 -05:00
Blake Watters
979d79d414 Updated example project Base SDK 2010-12-27 21:23:57 -05:00
Blake Watters
667dcd51c8 Fixed incorrect mention about Core Data being optional. 2010-12-27 15:36:14 -05:00
Blake Watters
7283f19e43 Merge branch 'reachability-queue-three20'
Conflicts:
	Code/Network/RKResponse.m
2010-12-23 14:10:17 -05:00
Blake Watters
df05be1cbb Merge branch 'master' of https://github.com/pashields/RestKit into pashields-master 2010-12-13 17:49:04 -05:00
Jeff Arena
cf03116f54 fix for posting online/offline notifications 2010-12-11 01:55:21 -08:00
Jeff Arena
2b4a95df3c added caching for filteredObject on the filterable model class to prevent expensive filtering operations every time we grab the objects from the model; added code to prevent an automatic load in offline mode when we have no cached objects, as our use of an error condition to signal a request failed in offline mode triggers a three20 error overlay that we likely do not want in what should be considered a normal operating mode (e.g. app offline with no objects for a view is not an error) 2010-12-09 11:47:20 -08:00
Jeff Arena
e991ad7033 change RKRequest delegate didfinishload method signature to be a bit cleaner; added code to turn off the reachability observer when the app becomes inactive; changed online/offline state code to support an undetermined state at initial launch, so as to ensure we get all our proper notifications during first run; remove unnecessary debug logging from rkrequestqueue; removed three20 model code that was triggering a forced offline state, which currently does not have a recovery path (e.g. if the app is forced offline, we currently have no built-in mechanism to allow a force back online) 2010-12-08 09:45:26 -08:00