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