Commit Graph

10 Commits

Author SHA1 Message Date
Krzysztof Klimonda
559f054985 Write more tests for the ImageResource 2013-03-03 04:59:44 -08:00
Krzysztof Klimonda
53f05dbb6d A general project refactor
Removed pins django app, and moved code to the core. Moved user related
code out of core to the users app.
2013-03-03 04:47:34 -08:00
Krzysztof Klimonda
cf86da266a Add a very simplistic Pin access control for the API
As pointed in issue #75 we should get away with just checking if the pin
submitter is the currently logged in user. Assuming that we can implement
authorization for updating and deleting pins rather easily by subclassing
DjangoAuthorization so it passes the object to the Authorization backend.
2013-03-02 17:00:58 -08:00
Krzysztof Klimonda
a0e11a949e Add a small (125x125px) square thumbnail
This is going to be used by a "similar images" feature #74
2013-03-02 16:12:29 -08:00
Krzysztof Klimonda
57aefc7d97 Mock out Files using the commited screenshot.png file for tests 2013-03-02 11:06:53 -08:00
Isaac Bythewood
fa7e8c3b83 Get basic working bookmarklet and refactor API into core 2013-02-26 23:20:50 +00: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
Isaac Bythewood
643224d575 Now using compressor and trying to fix test CSRF issue. 2012-08-02 00:22:57 +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
30985a9efe Added basic core app tests. 2012-05-10 02:34:15 +00:00