Jens Gutermuth
9d4791b65a
image can be loaded with a join as well (saves another query)
9 anos atrás
Jens Gutermuth
e4b8769168
DoesNotExist should be ObjectDoesNotExist, oops!
9 anos atrás
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 anos atrás
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 anos atrás
Isaac Bythewood
613db5c505
Merge pull request #82 from lapo-luchini/bookmarklet
[bookmarklet] allow closing with ESC or clicking on header.
9 anos atrás
Lapo Luchini
9e901485ee
Allow closing pinry with ESC or clicking on header.
On close, remove the script as well as the images.
10 anos atrás
Isaac Bythewood
c1ea33bae0
Merge pull request #77 from lapo-luchini/fix_modal
Remove race condition waiting for proper event instead of fixed time
10 anos atrás
Lapo Luchini
259d699551
Remove race condition waiting for proper event instead of fixed time.
10 anos atrás
Isaac Bythewood
355084daeb
Merge pull request #72 from birdsarah/patch-1
Pin to latest version of django 1.5
10 anos atrás
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 anos atrás
Isaac Bythewood
2d7b0970ce
Merge pull request #69 from lapo-luchini/add_contributor
Add to contributors and reference the Chrome extension
10 anos atrás
Isaac Bythewood
00955887d1
Merge pull request #68 from razzius/master
Remove unused ugettext import
10 anos atrás
Lapo Luchini
33d2ff0c28
Add me to contriutors and reference the Chrome extension (as suggested in #67 ).
10 anos atrás
Razzi Abuissa
7c553e2e52
Remove unused ugettext import
10 anos atrás
Isaac Bythewood
d6c515ed0a
Merge pull request #62 from tomwys/patch-2
Fix url regexp.
10 anos atrás
Isaac Bythewood
878219574c
Merge pull request #65 from lapo-luchini/bookmarklet
Improve bookmarklet
10 anos atrás
Lapo Luchini
e2f61176dd
Properly encode query string parameters.
10 anos atrás
Lapo Luchini
e1e2c07f2b
`getUrlParameter` fixes as in http://stackoverflow.com/a/8764051/166524
10 anos atrás
Lapo Luchini
a2ab9a2b8c
Use `.src` to get absolute URL as calculated by the browser.
10 anos atrás
Lapo Luchini
0549bb5113
Use jQuery as soon as it is loaded.
10 anos atrás
Krzysztof Klimonda
b79e6249ea
Fixed tests not passing on postgresql.
10 anos atrás
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 anos atrás
Tomasz Wysocki
25c02407ba
"keys" is optional.
10 anos atrás
Isaac Bythewood
4240971fd4
Note about database
11 anos atrás
Isaac Bythewood
ea4beea7c3
Merge pull request #45 from tylerstalder/patch-1
Use jQuery because you're checking for window.jQuery
11 anos atrás
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 anos atrás
Isaac Bythewood
a01975d47d
Use previous version of Django, not compatible with the latest 1.6 yet.
11 anos atrás
Krzysztof Klimonda
145767393f
Fixed small issues in the setup.py file
11 anos atrás
Isaac Bythewood
6a755b25b2
Update contributors to include a link to the contributors graph
11 anos atrás
Isaac Bythewood
c510be3de4
Improved the documentation, bumped the version to 1.3.2, fixed the license in setup.py
11 anos atrás
Isaac Bythewood
f835018bb6
Moving to RST to be more pythonic
11 anos atrás
Isaac Bythewood
0a9a277065
Update setup to most recent version and packages
11 anos atrás
Isaac Bythewood
82ad313120
Bump version in docs.
11 anos atrás
Isaac Bythewood
8a0b577f16
Fix SITE_URL being used in title when that feature was removed.
11 anos atrás
Isaac Bythewood
5c68ca1725
Improved formatting of docs
11 anos atrás
Isaac Bythewood
e29ba90190
Fix formatting issue in getting started docs
11 anos atrás
Isaac Bythewood
edd0efb6ce
Updating base docs
11 anos atrás
Isaac Bythewood
14ce634afa
Starting working on the docs...
11 anos atrás
Isaac Bythewood
a077f33f6a
Merge branch 'develop' and releasing version 1.3.0
11 anos atrás
Isaac Bythewood
fc39a075e9
Hide passwords from view on forms
11 anos atrás
Isaac Bythewood
50d61af22a
Move to bootstrap 3, better design, move all vendor items local.
11 anos atrás
Isaac Bythewood
47a33fb348
Fix logo URL
11 anos atrás
Isaac Bythewood
795a905596
Added Original URL and Pin URL to lightbox of items.
11 anos atrás
Isaac Bythewood
a4f3adc2df
Updated requirements and other items in preps of new pinry version
11 anos atrás
Isaac Bythewood
70a797c5af
Update feeds to meet PEP requirements and minor adjustments to base.html
11 anos atrás
Isaac Bythewood
7ac128a643
Had to revert tastypie to a previous version due to some issues with
latest.
11 anos atrás
Isaac Bythewood
50fd227d9f
Updated requirements to use original repos in many cases and pull
everything from pypi instead of pulling from git repos.
11 anos atrás
Isaac Bythewood
f8d171b3ce
Update to latest requirements including official taggit
11 anos atrás
Isaac Bythewood
85d099fa94
Finish up feed implementation.
11 anos atrás
Isaac Bythewood
3affd088fa
Adding rss feed for latest pins.
11 anos atrás