Commit Graph

708 Commits

Author SHA1 Message Date
Krzysztof Klimonda
634442dc25 Fix a small styling error in the lazy_resolve definition 2013-02-24 18:18:22 +01:00
Krzysztof Klimonda
4ad6f599cd Move ValidationError messages to a dictionary that can be accessed from PinForm.clean 2013-02-24 18:10:44 +01:00
Krzysztof Klimonda
4b2fc75286 Simplify the PinForm.clean method
I have a gut feeling that we could refactor some code out of this method, but for now I'll just clean it up a bit.
2013-02-24 17:20:20 +01:00
Krzysztof Klimonda
98bdbfd900 Rewrite new_pin into a Class Based View 2013-02-24 16:56:03 +01:00
Krzysztof Klimonda
b349c0e3ff Move custom ModelManagers to the managers.py module 2013-02-24 15:58:11 +01:00
Krzysztof Klimonda
2b5ae4829d Delete Pin.__init__ as we are not doing anything special 2013-02-23 23:54:49 +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
Isaac Bythewood
513827e128 Some lightbox improvements 2013-02-23 06:28:02 +00:00
Isaac Bythewood
2264d96528 Have a working custom lightbox plugin now 2013-02-23 04:42:22 +00:00
Isaac Bythewood
5a74253bf8 Better design implemented that removes a lot of white space 2013-02-23 03:42:47 +00:00
Isaac Bythewood
a7d571a509 Remove a bunch of old vender files, refactor locations of static and template files, force api limit on calls 2013-02-23 02:23:58 +00:00
Krzysztof Klimonda
92b54799da Allow authentication with both Username and Email 2013-02-22 15:26:43 +01:00
Isaac Bythewood
899de27165 Now using gravatars on the interface under posts beside names 2013-02-22 02:54:04 +00:00
Krzysztof Klimonda
7420e8eea1 Use the proxy model for Pin.submitter so Tastypie uses a correct model for its FKs
Tastypie's ModelResource makes use of the underlying Model class to figure out its fields. It obviously
breaks when there is inconsistency with models, which is rather rare, but possible to accomplish (which I've
proven with the previous commit).
2013-02-22 01:53:18 +01:00
Krzysztof Klimonda
270cfb7ee7 Expose a gravatar hash for account via the Rest API 2013-02-22 01:28:56 +01:00
Krzysztof Klimonda
254b628200 Disable Travis integration for now, as it's too noisy with all rewrites that are being done 2013-02-21 22:13:37 +01:00
Krzysztof Klimonda
ba8a8ca7c6 Remove a backported verbatim tag now that we are using Django 1.5 2013-02-21 22:02:11 +01:00
Krzysztof Klimonda
cf816abcda remove -e from the Django tarball url
-e should be used only with repositories apparently
2013-02-21 21:23:19 +01:00
Krzysztof Klimonda
35487b7c12 Update project dependencies and remove fixed versioning when not needed
The previous commit uses url syntax from Django 1.5, which is incompatible with earlier versions. Bump the Django version
and use the stable/1.5.x git branch until it's officially released.
2013-02-21 21:17:13 +01:00
Krzysztof Klimonda
9b20671fac Properly quote url template tag arguments
A version of url introduced in Django 1.3 requires the view argument to be quoted. This change
has taken effect in Django 1.5 so the code needs updating to work with it.
2013-02-21 21:01:04 +01:00
Isaac Bythewood
537c246fc4 Merge pull request #54 from rossturk/patch-1
Update README.md
2013-02-20 23:53:34 -08: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
e467a83683 Remove admin which was a temporary fix 2013-02-20 05:35:10 +00:00
Isaac Bythewood
3a65f0be21 Bump Django version for security fixes etc 2013-02-20 05:19:11 +00:00
rossturk
9264293bca Update README.md 2012-12-30 01:44:05 -08:00
Isaac Bythewood
491a87b6e4 Merge pull request #53 from alfakini/master
Update Development notes.
2012-11-27 12:00:10 -08:00
Alan Fachini
aa49b8f266 Update README.md
Update Development notes.
2012-11-21 16:16:04 -02:00
Isaac Bythewood
a191f262ef Use pushstate to change URL when swaping to a tag to make tags linkable v0.5.3 2012-11-08 03:00:04 +00:00
Isaac Bythewood
ed4f308144 Fix bug in Palette mode not being supported in JPEG to convert to RGB before JPEG save. v0.5.2 2012-11-01 03:35:57 +00:00
Isaac Bythewood
94d40b7054 Fix CSRF login and register bug v0.5.1 2012-10-02 00:45:06 +00:00
Isaac Bythewood
fde97b05c6 Increase API limit. 2012-09-29 19:42:16 +00:00
Isaac Bythewood
6cdb7c955e Increase page size. 2012-09-29 19:38:54 +00:00
Isaac Bythewood
c1b268312b Removed CSRF temporarily to fix many bugs. 2012-09-29 06:55:49 +00:00
Isaac Bythewood
605c25a561 Added basic admin functionality with pin integration. 2012-09-29 06:36:51 +00:00
Isaac Bythewood
ceda2d2cb0 Allow basic sorting by tag. v0.5.0 2012-09-28 05:28:31 +00:00
Isaac Bythewood
230a6e959f Taggit implemented. 2012-09-28 04:42:13 +00:00
Isaac Bythewood
7df00ebd48 Don't test pins still Django issue gets taken care of, not problem with Pinry. 2012-09-28 04:02:02 +00:00
Isaac Bythewood
6bcc18f65e Removing conf till I can explain futher. 2012-09-28 03:55:56 +00:00
Isaac Bythewood
cf443b6d28 Added conf files directly to project. 2012-09-27 15:21:20 +00:00
Isaac Bythewood
34d327334a Update django release. v0.4.3 2012-08-07 00:15:02 +00:00
Isaac Bythewood
6927c770df Add new compressor release removing git requirement. v0.4.2 2012-08-06 23:43:25 +00:00
Isaac Bythewood
d26d94b784 Only test my apps, django ones are broken in some instances. v0.4.1 2012-08-02 18:59:38 +00:00
Isaac Bythewood
c46ef6d325 Use git pull of django_compressor. 2012-08-02 18:36:09 +00:00
Isaac Bythewood
927fb66479 Fix image resizing. 2012-08-02 01:09:16 +00:00
Isaac Bythewood
6f6bed401a Fix thumbnails. 2012-08-02 00:45:00 +00:00
Isaac Bythewood
0a6b8b77d3 Fixing locations of static resources since we are now using compressor. 2012-08-02 00:30:28 +00:00
Isaac Bythewood
643224d575 Now using compressor and trying to fix test CSRF issue. 2012-08-02 00:22:57 +00:00
Isaac Bythewood
f00e106dfe Add in some new settings. 2012-08-01 21:30:18 +00:00