Permalink
Switch branches/tags
Nothing to show
Commits on Feb 27, 2013
  1. Merge remote-tracking branch 'upstream/master'

    Miles Tinsley committed Feb 27, 2013
Commits on Feb 19, 2013
  1. Expose information on whether actions will be delayed.

    This change makes it possible to know to observe when save actions actually happen (and not when they're being delayed) with a test such as `[link hasSaveActions] && ![link willDelayAction] && ![link isDelayingAction]`.
    aljungberg committed Feb 19, 2013
Commits on Jan 29, 2013
Commits on Jan 28, 2013
  1. Load only properties.

    aljungberg committed Jan 28, 2013
Commits on Jan 27, 2013
  1. Added support for IE's handling of 204 status codes where it returns …

    …1223 instead of 204.
    Miles Tinsley committed Jan 27, 2013
Commits on Jan 25, 2013
Commits on Jan 22, 2013
  1. Use standard update method for GET responses.

    Previously the code might have overwritten dirty properties.
    
    remoteActionDidReceiveResourceRepresentation takes not to do so. Also this commit removes redundant code.
    aljungberg committed Jan 22, 2013
  2. WLDecimalNumberTransformer.

    aljungberg committed Jan 22, 2013
Commits on Jan 21, 2013
  1. Remove some unused constants.

    aljungberg committed Jan 21, 2013
  2. WLBooleanTransformer.

    aljungberg committed Jan 21, 2013
  3. Cancel pervious Load actions when new is scheduled.

    We're only interested in most recent GET, because requests are queued.
    Kentzo committed Jan 21, 2013
  4. Remove redundant check.

    ContentDownloadAction is checked in -reload.
    Kentzo committed Jan 21, 2013
  5. Fixed: count was never ignited.

    Not sure how this used to work before since the WLRemoteActionTest expect count to be 5.
    aljungberg committed Jan 21, 2013
  6. Add some missing imports.

    aljungberg committed Jan 21, 2013
  7. Fix accidental global.

    aljungberg committed Jan 21, 2013
Commits on Jan 15, 2013
Commits on Jan 12, 2013
  1. Add support for key paths.

    Kentzo committed Jan 12, 2013
Commits on Jan 11, 2013
  1. Fixed: crash reading plain old JS objects such as CGSize.

    Ratatosk would send a CGSize just fine as a {"width": w, "height": h} JSON dictionary. But when receiving the exact same JSON, Ratatosk would crash if the model had a non nil value for the property.
    
    This fix ensures equality tests of POJS don't crash in either direction.
    aljungberg committed Jan 11, 2013
  2. WLURLTransformer.

    aljungberg committed Jan 11, 2013
Commits on Jan 10, 2013
  1. Document CSRF support.

    aljungberg committed Jan 10, 2013
  2. Merge pull request #8 from milestinsley/master

    Fixed a bug where the WLRemoteAction did not have its `connection` property set
    aljungberg committed Jan 10, 2013
  3. Fixed a bug where the WLRemoteAction did not have its `connection` pr…

    …operty set as a result of moving the creation of the CPURLConnection to WLRemoteLink.
    Miles Tinsley committed Jan 10, 2013
  4. Fix error is ignored.

    Kentzo committed Jan 10, 2013
Commits on Jan 8, 2013
  1. Allow a WLRemoteLink delegate to add complex headers.

    Sometimes communication with a server requires more than just a simple fixed Authorisation header. For instance, CSRF tokens might need to be added for certain URLs and methods.
    
    This change adds support for an optional WLRemoteLink delegate which gets a final opportunity to modify outgoing CPURLRequests before they're sent to the server. Such a delegate can easily add (or remove) headers.
    aljungberg committed Jan 8, 2013
Commits on Jan 7, 2013
  1. Fixed: WLForeignObjectByIdTransformer broken in recent revisions.

    Before this fix, WLForeignObjectByIdTransformer only worked for objects with ids which had been seen before. If a new object was required, it was created but not returned by the transformer due to a bug in WLRemoteObject +instanceForPk:create:.
    
    This fix restores WLRemoteObject +instanceForPk:create: functionality.
    aljungberg committed Jan 7, 2013
  2. Fixed bugs with absolute object/action URLs.

    Before this fix, a remote action to an absolute path like "/hello" with a base URL like "http://example.com/api/v1/" would become "http://example.com/api/v1//hello", even that "/hello" was an absolute URL.
    
    This fix supports all three ways to specify a URL: relative, absolute or absolute and fully qualified (with a server).
    aljungberg committed Jan 7, 2013
  3. Make WLDateTransformer a generic iso8601 transformer.

    Before this change WLDateTransformer accepted CPDate initWithString style dates, with or without the ending +0000. This is not generally useful since most APIs use ISO8601 formatted dates.
    
    This change makes WLDateTransformer a general ISO8601 transformer.
    
    If the old behaviour is required, just create a custom transformer containing the code as it was prior to this commit.
    aljungberg committed Jan 7, 2013
Commits on Dec 4, 2012
  1. Merge pull request #5 from milestinsley/master

    Fixed typo
    aljungberg committed Dec 4, 2012