Isaac Bythewood
fa7e8c3b83
Get basic working bookmarklet and refactor API into core
vor 11 Jahren
Krzysztof Klimonda
af8c0865e0
Define LOGIN_URL in project settings
vor 11 Jahren
Krzysztof Klimonda
d2727aa12c
Use django-braces for CBV Mixins like LoginRequiredMixin
vor 11 Jahren
Krzysztof Klimonda
974d2a8720
In the API, return Pin resource upon creation
Fixes #68
vor 11 Jahren
Krzysztof Klimonda
82352d6980
Make PinResource orderable by id
Update JavaScript so it orders pins, Fixes #69
vor 11 Jahren
Krzysztof Klimonda
c1b23b4dd5
Make sure that the Pin object is created
vor 11 Jahren
Isaac Bythewood
73f35178ca
Improvements to lightbox to get a parallax mode
vor 11 Jahren
Isaac Bythewood
2acdd9609b
Allow for viewing an individual tag
vor 11 Jahren
Isaac Bythewood
12091fda00
Working new pin button that makes use of the API and loads new items in real time
vor 11 Jahren
Isaac Bythewood
4e431e2a88
Refactor templates and and make includes for upcoming python file refactor into core and user. Also making templates easier to edit and read overall.
vor 11 Jahren
Isaac Bythewood
9f5cc2de57
Working new pin form
vor 11 Jahren
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.
vor 11 Jahren
Isaac Bythewood
f5ef3a0c2b
Get bookmarklet mostly setup
vor 11 Jahren
Krzysztof Klimonda
ef44d565d4
Return JSON response from UploadImage when called from JavaScript
vor 11 Jahren
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.
vor 11 Jahren
Krzysztof Klimonda
4f2b94616c
Remove pinry.pins.views.delete_pin
REST API should be used to delete pins anyway, so remove the old code
that is not being used.
vor 11 Jahren
Krzysztof Klimonda
634442dc25
Fix a small styling error in the lazy_resolve definition
vor 11 Jahren
Krzysztof Klimonda
4ad6f599cd
Move ValidationError messages to a dictionary that can be accessed from PinForm.clean
vor 11 Jahren
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.
vor 11 Jahren
Krzysztof Klimonda
98bdbfd900
Rewrite new_pin into a Class Based View
vor 11 Jahren
Krzysztof Klimonda
b349c0e3ff
Move custom ModelManagers to the managers.py module
vor 11 Jahren
Krzysztof Klimonda
2b5ae4829d
Delete Pin.__init__ as we are not doing anything special
vor 11 Jahren
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.
vor 11 Jahren
Isaac Bythewood
513827e128
Some lightbox improvements
vor 11 Jahren
Isaac Bythewood
2264d96528
Have a working custom lightbox plugin now
vor 11 Jahren
Isaac Bythewood
5a74253bf8
Better design implemented that removes a lot of white space
vor 11 Jahren
Isaac Bythewood
a7d571a509
Remove a bunch of old vender files, refactor locations of static and template files, force api limit on calls
vor 11 Jahren
Krzysztof Klimonda
92b54799da
Allow authentication with both Username and Email
vor 11 Jahren
Isaac Bythewood
899de27165
Now using gravatars on the interface under posts beside names
vor 11 Jahren
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).
vor 11 Jahren
Krzysztof Klimonda
270cfb7ee7
Expose a gravatar hash for account via the Rest API
vor 11 Jahren
Krzysztof Klimonda
254b628200
Disable Travis integration for now, as it's too noisy with all rewrites that are being done
vor 11 Jahren
Krzysztof Klimonda
ba8a8ca7c6
Remove a backported verbatim tag now that we are using Django 1.5
vor 11 Jahren
Krzysztof Klimonda
cf816abcda
remove -e from the Django tarball url
-e should be used only with repositories apparently
vor 11 Jahren
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.
vor 11 Jahren
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.
vor 11 Jahren
Isaac Bythewood
537c246fc4
Merge pull request #54 from rossturk/patch-1
Update README.md
vor 11 Jahren
Isaac Bythewood
f66b727072
Working on new design
vor 11 Jahren
Isaac Bythewood
3f38458bd8
Removing unused vendor libs, custom tiling works, new design started
vor 11 Jahren
Isaac Bythewood
8e8bed0efa
Rewrite the display of recent pins without the use of third-party js libs
vor 11 Jahren
Isaac Bythewood
e467a83683
Remove admin which was a temporary fix
vor 11 Jahren
Isaac Bythewood
3a65f0be21
Bump Django version for security fixes etc
vor 11 Jahren
rossturk
9264293bca
Update README.md
vor 12 Jahren
Isaac Bythewood
491a87b6e4
Merge pull request #53 from alfakini/master
Update Development notes.
vor 12 Jahren
Alan Fachini
aa49b8f266
Update README.md
Update Development notes.
vor 12 Jahren
Isaac Bythewood
a191f262ef
Use pushstate to change URL when swaping to a tag to make tags linkable
vor 12 Jahren
Isaac Bythewood
ed4f308144
Fix bug in Palette mode not being supported in JPEG to convert to RGB before JPEG save.
vor 12 Jahren
Isaac Bythewood
94d40b7054
Fix CSRF login and register bug
vor 12 Jahren
Isaac Bythewood
fde97b05c6
Increase API limit.
vor 12 Jahren
Isaac Bythewood
6cdb7c955e
Increase page size.
vor 12 Jahren