Permalink
Switch branches/tags
Nothing to show
Commits on Jan 15, 2013
  1. Merge pull request #625 from toranb/master

    wycats committed Jan 15, 2013
    The owner record is now an argument passed to findMany on the adapter
Commits on Jan 13, 2013
  1. The owner record is now an argument passed to findMany on the adapter

    toranb committed Jan 12, 2013
    While writing an adapter for my django backend I was unable to
    build a valid url for my hasMany relationships because the owner
    was not easily accessible. Going forward the owner will now be an
    argument available for custom adapters like the one I ended up writing.
    
    example of how my REST api would lookup hasMany relationships:
    
    If I have a person with many occupations I would look them up like so
    
    /people/1/occupations/
    
    Notice the id 1 above is actually the owner of the occupations (not a
    occupation id from the ids array that is passed into findMany)
    
    Instead of passing each id like the built in RESTAdapter the url above
    just expects the owner will know how to find each occupation
Commits on Jan 12, 2013
  1. Merge pull request #624 from sly7-7/fixtures-must-have-ids

    wycats committed Jan 12, 2013
    Fixtures must have ids
  2. improve error message

    sly7-7 committed Jan 12, 2013
Commits on Jan 11, 2013
  1. Only serialize has-manys that are embedded

    Tom Dale committed Jan 11, 2013
  2. Consider relationship for embedded hasMany records.

    yipdw committed with Tom Dale Jan 4, 2013
    When serializing a relationship, the previous algorithm serialized all
    records in _all_ has-many relationships, not just all records for the
    specified relationship.
  3. Demonstrate unwanted record sharing.

    yipdw committed with Tom Dale Jan 4, 2013
    By adding a pingbacks relationship and not modifying it in any test, we
    should end up with an empty array in all serialized Posts, i.e.
    
        {
            "post": {
                "comments": [
                    {
                        "title": "Wouldn't a more lightweight...",
                        "user": null
                    },
                    {
                        "title": "This does not seem to reflect...",
                        "user": null
                    }
                ],
                "pingbacks": [],
                "title": "A New MVC Framework in Under 100 Lines of Code"
            }
        }
    
    However, what we get is
    
        {
            "post": {
                "comments": [
                    {
                        "title": "Wouldn't a more lightweight...",
                        "user": null
                    },
                    {
                        "title": "This does not seem to reflect...",
                        "user": null
                    }
                ],
                "pingbacks": [
                    {
                        "title": "Wouldn't a more lightweight...",
                        "user": null
                    },
                    {
                        "title": "This does not seem to reflect...",
                        "user": null
                    }
                ],
                "title": "A New MVC Framework in Under 100 Lines of Code"
            }
        }
  4. Merge pull request #580 from ppcano/load-async-error

    tomdale committed Jan 11, 2013
    Trigger didLoad event in the `AdapterPopulatedRecordArray` at the end of the runloop
  5. Merge pull request #605 from sly7-7/fixture-adapter-coerce-ids

    tomdale committed Jan 11, 2013
    Allow to define integer ids in the fixtures, as well as string
  6. Merge pull request #618 from marktheunissen/minor-type-in-assertion

    tomdale committed Jan 11, 2013
    Add a space in the assertion message
Commits on Jan 10, 2013
  1. Merge pull request #615 from Myslik/master

    wycats committed Jan 10, 2013
    Make DS.RESTAdapter default adapter of DS.Store
  2. Merge pull request #538 from yourkarma/ie8-date-transform

    wagenet committed Jan 10, 2013
    Fix issues with parsing ISO 8601 dates in IE8
  3. Merge pull request #521 from mspisars/fix_model_setup

    wagenet committed Jan 10, 2013
    Rename setup() method to _setup() on DS.Model
  4. Merge pull request #613 from Mochaleaf/breaking_changes

    wagenet committed Jan 10, 2013
    Breaking changes.md update
Commits on Jan 9, 2013
  1. Breaking changes.md update

    leepfrog committed Jan 9, 2013
    - Added note about Adapter.configure for side loading
    - Added a note about dirtying record changes
  2. Formatting

    wagenet committed Jan 9, 2013
  3. Merge pull request #564 from jefflab/null-belongsTo

    wagenet committed Jan 9, 2013
    cover null case for belongsTo relationship
  4. Merge pull request #597 from trek/shorten-readme

    wagenet committed Jan 9, 2013
    Remove inaccurate information from README.
  5. Merge pull request #575 from shwoodard/breaking-changes-typo

    lukemelia committed Jan 9, 2013
    fixing documentation typo - missing close array
Commits on Jan 8, 2013
  1. Merge pull request #581 from Mochaleaf/enumTransform

    wycats committed Jan 8, 2013
    Adding support for registering enumerated types in a more straightforward way
  2. Remove inaccurate information from README.

    trek committed Jan 8, 2013
    This truncates the README considerably, but considering the previous
    version was months out of date, it wasn't being helpful to newcomers.
    
    A reference to the guide and its correctness at version 11 is added.
  3. Merge pull request #589 from sly7-7/adapter-remove-dead-code

    wycats committed Jan 8, 2013
    remove dead code in adapter since data extraction is done in the seriali...
  4. Merge pull request #596 from sandstrom/patch-1

    wycats committed Jan 8, 2013
    Use _reference instead of reference for DS.Model
  5. Warn when using `reference` as an attribute name

    sandstrom committed Jan 8, 2013
    It would be much better to use `_reference`, I'll see if I can work that out and add another commit.
  6. AdapterPopulatedRecordArray triggers `didLoad` event at the end of th…

    ppcano committed Jan 8, 2013
    …e runLoooop
    
    - Fixed reported integration tests
    - Add Em.run to some tests which became invalid with this change
Commits on Jan 7, 2013
  1. Inject the store into routes

    tomhuda committed Jan 7, 2013
Commits on Jan 6, 2013
  1. Adding in a values property to the transform so it's easy to obtain t…

    leepfrog committed Jan 6, 2013
    …he list of enumerated values for a transform