Commit Graph

16 Commits

Author SHA1 Message Date
Isaac Bythewood
9f5cc2de57 Working new pin form 2013-02-26 01:54:02 +00:00
Krzysztof Klimonda
d462bfb83b A major RESTful API rewrite
Rewritten API to handle creating pins for both urls
and previously-uploaded images. Added some tests for it.
2013-02-25 15:10:15 -08:00
Krzysztof Klimonda
d0a71244b5 Another major Pinry model rewrite
Generate thumbnail and standard image on request, and use
http://github.com/mirumee/django-images for generating them. Also,
remove the CreatePin page as pin creation is going to be done
in JavaScript. Create UploadImage view for uploading images from
computer.
2013-02-25 04:08:35 +01:00
Krzysztof Klimonda
e2a38f8a10 Add image dimensions to the API and the third image size
There has been some refactoring going on in the pinry.pins.models module.
The upload_to code has been refactored into its own function, images
have been moved to their own models - otherwise the number of fields
in the Pin model would skyrocket. Also ModelManagers have been written
to move image fetching and generating outside of models.
2013-02-23 21:12:11 +01:00
Krzysztof Klimonda
270cfb7ee7 Expose a gravatar hash for account via the Rest API 2013-02-22 01:28:56 +01:00
Isaac Bythewood
f66b727072 Working on new design 2013-02-21 07:43:52 +00:00
Isaac Bythewood
3f38458bd8 Removing unused vendor libs, custom tiling works, new design started 2013-02-21 06:26:06 +00:00
Isaac Bythewood
8e8bed0efa Rewrite the display of recent pins without the use of third-party js libs 2013-02-20 07:59:45 +00:00
Isaac Bythewood
ceda2d2cb0 Allow basic sorting by tag. 2012-09-28 05:28:31 +00:00
Isaac Bythewood
230a6e959f Taggit implemented. 2012-09-28 04:42:13 +00:00
Isaac Bythewood
de45705e62 Cleaning up code. 2012-07-25 02:28:01 +00:00
Isaac Bythewood
a178144da4 Removing the dependency of django-thumbs. 2012-07-25 01:50:28 +00:00
Krzysztof Klimonda
6fd0c91fd1 Enable filtering over the published field
Tastypie requires that we define a list of fields that can be used
for filtering; add the "published" to this list so we can query pinry
for the list of images created after some date.
2012-07-16 17:12:59 +02:00
Isaac Bythewood
0bbcba4a6f Started implementation of user auth. 2012-07-06 20:01:33 +00:00
Isaac Bythewood
8e8bcdfb49 Lots of pylint and pep8 fixes in nearly every file. 2012-05-12 00:27:02 +00:00
Isaac Bythewood
10ffd90760 Now using tastypie for all our API needs. 2012-05-11 02:08:46 +00:00