Isaac Bythewood
e8c69c0fb5
Add CONTRIBUTORS to README and delete CONTRIBUTORS file, cleanup README links
8 jaren geleden
Isaac Bythewood
251dbb84a7
Remove broken chrome extension from README
8 jaren geleden
Isaac Bythewood
5b8f22acf2
Remove outdated ci from README
8 jaren geleden
Isaac Bythewood
d2b4cbc8c6
Setup development allowed hosts to be a wildcard, move wsgi and delete bootstrap
8 jaren geleden
Isaac Bythewood
9111ef1ef4
Delete unused files and start cleanup project
8 jaren geleden
Isaac Bythewood
8f66cd719c
Reimplement image uploading
8 jaren geleden
Isaac Bythewood
5cb59746df
Fixes issue #37
8 jaren geleden
Isaac Bythewood
5cda896eed
Fix error message classes
8 jaren geleden
Isaac Bythewood
9185e946ac
Fix height of lightbox
8 jaren geleden
Isaac Bythewood
fc4806af07
Use latest version of bootstrap
8 jaren geleden
Isaac Bythewood
69ccee06cc
Merge pull request #83 from lapo-luchini/bookmarklet2
bookmarklet improvements to the image preview
8 jaren geleden
Isaac Bythewood
5802167b72
Fix bug in API now allowing delete or edit of pins
8 jaren geleden
Isaac Bythewood
51c6e58fc5
Use bower to handle js vendor dependencies
8 jaren geleden
Isaac Bythewood
50ad4c6a89
Pinry breaks with Django 1.9, not allowing till fixed.
8 jaren geleden
Isaac Bythewood
db34087da8
Merge pull request #76 from lapo-luchini/description
Improve description text rendering
8 jaren geleden
Isaac Bythewood
3e0e3fc7bc
Merge pull request #91 from supervacuo/master
Update to Django 1.8 and tastypie 0.12
9 jaren geleden
Carl van Tonder
1114edc11a
Update to Django 1.8 and tastypie 0.12
Closes #38 , closes #88
9 jaren geleden
Isaac Bythewood
a7aef9be91
Merge pull request #86 from Delphinator/fix-n+1-queries
Fix N+1 queries in pin loading
9 jaren geleden
Isaac Bythewood
2baf58e550
Merge pull request #84 from Delphinator/feature-sort-tags
Case insensitive sorting of tags in javascript
9 jaren geleden
Jens Gutermuth
deb04500c5
Only use prefetched thumbnails if there are there
The optimization broke image uploading, this fixes it again.
9 jaren geleden
Jens Gutermuth
9d4791b65a
image can be loaded with a join as well (saves another query)
9 jaren geleden
Jens Gutermuth
e4b8769168
DoesNotExist should be ObjectDoesNotExist, oops!
9 jaren geleden
Jens Gutermuth
3bcc6d3152
Loanding pins does no N+1 queries anymore
This saves another three queries per pin, bringing to total query count
down to 8.
See issue #85 .
9 jaren geleden
Jens Gutermuth
60cf2dcbd7
Fix three N+1 queries in pin loading
Fetch the submitter with a join and get all the images and tags in one
query each. This reduces the total query count for loading 50 pins from
304 to 158.
See issue #85 .
9 jaren geleden
Jens Gutermuth
58ea025c03
Case insensitive sorting of tags in javascript
9 jaren geleden
Isaac Bythewood
613db5c505
Merge pull request #82 from lapo-luchini/bookmarklet
[bookmarklet] allow closing with ESC or clicking on header.
9 jaren geleden
Lapo Luchini
ac8419d749
Improvements to the image preview:
- show the image size on top of the preview.
- scale down the preview to view (most) of the image instead of just the center.
10 jaren geleden
Lapo Luchini
9e901485ee
Allow closing pinry with ESC or clicking on header.
On close, remove the script as well as the images.
10 jaren geleden
Isaac Bythewood
c1ea33bae0
Merge pull request #77 from lapo-luchini/fix_modal
Remove race condition waiting for proper event instead of fixed time
10 jaren geleden
Lapo Luchini
259d699551
Remove race condition waiting for proper event instead of fixed time.
10 jaren geleden
Lapo Luchini
212dd7f819
Make links clickable and only show the domain in the text.
10 jaren geleden
Lapo Luchini
0f62f70f79
Fix long descriptions from overflowing the area.
10 jaren geleden
Isaac Bythewood
355084daeb
Merge pull request #72 from birdsarah/patch-1
Pin to latest version of django 1.5
10 jaren geleden
Sarah Bird
a942c289d9
Pin to latest version of django 1.5
Just a suggestion, so that users get the latest django security release (currently 1.5.9).
10 jaren geleden
Isaac Bythewood
2d7b0970ce
Merge pull request #69 from lapo-luchini/add_contributor
Add to contributors and reference the Chrome extension
10 jaren geleden
Isaac Bythewood
00955887d1
Merge pull request #68 from razzius/master
Remove unused ugettext import
10 jaren geleden
Lapo Luchini
33d2ff0c28
Add me to contriutors and reference the Chrome extension (as suggested in #67 ).
10 jaren geleden
Razzi Abuissa
7c553e2e52
Remove unused ugettext import
10 jaren geleden
Isaac Bythewood
d6c515ed0a
Merge pull request #62 from tomwys/patch-2
Fix url regexp.
10 jaren geleden
Isaac Bythewood
878219574c
Merge pull request #65 from lapo-luchini/bookmarklet
Improve bookmarklet
10 jaren geleden
Lapo Luchini
e2f61176dd
Properly encode query string parameters.
10 jaren geleden
Lapo Luchini
e1e2c07f2b
`getUrlParameter` fixes as in http://stackoverflow.com/a/8764051/166524
10 jaren geleden
Lapo Luchini
a2ab9a2b8c
Use `.src` to get absolute URL as calculated by the browser.
10 jaren geleden
Lapo Luchini
0549bb5113
Use jQuery as soon as it is loaded.
10 jaren geleden
Krzysztof Klimonda
b79e6249ea
Fixed tests not passing on postgresql.
10 jaren geleden
Tomasz Wysocki
bd984f9fd2
Fix url regexp.
\d allows numbers from other digit systems, so urls like: http://demo.getpinry.com/१७/ are possible. This could lead to some nasty security issues in the future (ie. if you try to use pin number without using `int(...)`).
10 jaren geleden
Tomasz Wysocki
25c02407ba
"keys" is optional.
10 jaren geleden
Isaac Bythewood
4240971fd4
Note about database
11 jaren geleden
Isaac Bythewood
ea4beea7c3
Merge pull request #45 from tylerstalder/patch-1
Use jQuery because you're checking for window.jQuery
11 jaren geleden
Tyler Stalder
c3d998654f
Use jQuery because you're checking for window.jQuery
Some sites put jQuery into noConflict mode and don't bind to $. One example is http://shop.timberland.com/ so the pinry bookmarklet would not work. It will throw a 'document does not have a method ready' error. This change just wraps all of the jQuery specific code to use the current jQuery as $.
http://api.jquery.com/jQuery.noConflict/
11 jaren geleden