- 09 Feb, 2013 3 commits
-
-
Raphael Lullis committed
-
Returning to QueryManager eliminated the need to copy_method. Updated README. Added a more friendlt repr method for Object and Users
Raphael Lullis committed -
Reverting handling of queries through QueryManagers, instead of simply using Querysets. Added a the _fetch method on QueryManager to eliminate the dependency of querysets on model_class. Added a method to Queryset. Installation objects now are able to be imported. (Still need test cases, though.)
Raphael Lullis committed
-
- 07 Feb, 2013 2 commits
-
-
Small typo correction in parameter name
David Robinson committed -
Uri Kogan committed
-
- 06 Feb, 2013 2 commits
-
-
Fixed #9 by allowing ParseResources to be converted into Pointers and back, such as when one object is set as an attribute of another. This required: - ParseResource now inherits Pointer - All values are now converted to ParseType in the initialization of a ParseResource - The `_to_native` method of ParseResource was changed to `_to_dict`, which allows `_to_native()` to construct a Pointer when one object is an attribute of another. Also: - Added test coverage and example to README - Fixed bug where many `from_native` methods used `self` instead of `cls` - `class_name` is converted to a string before being assigned to `DerivedClass.__name__` (necessary because it is unicode when returned from Parse) - Changed TestUser to rely on parse_user.User instead of parse_user.user.User
David Robinson committed -
Many changes: - Removed the QueryManager class- all querying is now handled by the Queryset class. This was necessary to manage chained query lines like GameScore.Query.gte("score", 1000).lt("score", 2000).order("playerName") - Queryset methods for comparison and options are now added programatically (makes it easier to change their operation all at once). - Added test coverage of querying methods, including comparison operators and limit/skip options. - Removed user.py, moving its classes into `__init__.py`. The reason is that lines like import parse_rest from parse_rest.user import User parse_rest.APPLICATION_ID = "something" meant the module attribute APPLICATION_ID was actually not accessible from the User class. Perhaps there's a way to make this work- I just couldn't find it yet. - Set up createdAt and updatedAt to return date time objects rather than stringsDavid Robinson committed
-
- 04 Feb, 2013 3 commits
-
-
Brought README.mkd up to date with new version (pull request #8). Also removed >>> in each of the example Python code snippets- they end up being confusing since they make it harder to cut-and-paste code. Incremented version.
David Robinson committed -
David Robinson committed
-
Set up the QueryManager in a metaclass instead of in the __new__ method, which means one doesn't have to instantiate an instance of the class before querying it. Fixed the __iter__ method of Queryset, which yielded only the first object from the query. Put back test cases for CloudCode functions.
David Robinson committed
-
- 03 Feb, 2013 1 commit
-
-
David Robinson committed
-
- 31 Jan, 2013 2 commits
-
-
Lots of changes. Too many to put in a single commit message. In short, transformed Query objects into a method that belongs to ResourceClass. Also, added classes to represent ParseTypes. It should be possible to use these transparently. Added tests\!
Raphael Lullis committed -
David Robinson committed
-
- 29 Jan, 2013 1 commit
-
-
Added ability to access a parse_rest.Object like a dictionary or an iterable, along with test cases for that functionality.
David Robinson committed
-
- 26 Jan, 2013 1 commit
-
-
Added details of User class to README.mkd. Added exception if APPLICATION_ID or REST_API_KEY is not set. Changed parse to parse_rest in a few lines of the docs.
David Robinson committed
-
- 25 Jan, 2013 1 commit
-
-
Redesigned User class so that it could work as an object (adding and saving attributes, added delete method, and lets it save a session token). Required changing UserQuery as well. Added a few appropriate test cases in TestUser class. Finally, added ParseError exception class. Addresses issue in #5.
David Robinson committed
-
- 23 Jan, 2013 3 commits
-
-
David Robinson committed
-
Incorrect usage of string join method
David Robinson committed -
Uri Kogan committed
-
- 19 Jan, 2013 2 commits
-
-
David Robinson committed
-
Added Function class to handle calling CloudCode functions. Also added test cases for hello and averageStars functions, which necessitated adding a cloudcode directory to upload those functions to the test application, as well as requiring MASTER_KEY in the settings_local.py file. Added CloudCode documentation to README.mkd.
David Robinson committed
-
- 15 Jan, 2013 1 commit
-
-
David Robinson committed
-
- 14 Jan, 2013 4 commits
-
-
David Robinson committed
-
David Robinson committed
-
Made changes consistent between commits (REST_API_KEY), also changed README to refer to parse_rest, and changed contact email to mine.
David Robinson committed -
Changed name and folder of package to 'parse_rest' to conform with pep8 standards, along with associated tests.
David Robinson committed
-
- 11 Jan, 2013 1 commit
-
-
David Robinson committed
-
- 10 Jan, 2013 2 commits
-
-
Rename MASTER_KEY to REST_API_KEY
David Robinson committed -
Adam Awan committed
-
- 09 Jan, 2013 3 commits
-
-
Raphael Lullis committed
-
Removing all the Parse prefix name from classes (except for ParseBase and ParseResource, which are classes that are just base classes). Also, adding a very basic Push class.
Raphael Lullis committed -
Adding support to ParseUser handling, account creation, login, and querying (through ParseUserQuery class)
Raphael Lullis committed
-
- 24 Dec, 2012 3 commits
-
-
Raphael Lullis committed
-
Raphael Lullis committed
-
The code was doing request using the master key as a parameter for the request. This was completely wrong. The correct key is API_KEY. Fixed.
Raphael Lullis committed
-
- 17 Dec, 2012 5 commits
-
-
Cleaning up the code a little bit, and removing all print statements from code (WSGI does not accept them)
Raphael Lullis committed -
Raphael Lullis committed
-
Raphael Lullis committed
-
Raphael Lullis committed
-
Raphael Lullis committed
-