Lapo Luchini
e1e2c07f2b
`getUrlParameter` fixes as in http://stackoverflow.com/a/8764051/166524
10 years ago
Lapo Luchini
a2ab9a2b8c
Use `.src` to get absolute URL as calculated by the browser.
10 years ago
Lapo Luchini
0549bb5113
Use jQuery as soon as it is loaded.
10 years ago
Krzysztof Klimonda
b79e6249ea
Fixed tests not passing on postgresql.
10 years ago
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 years ago
Tomasz Wysocki
25c02407ba
"keys" is optional.
10 years ago
Isaac Bythewood
4240971fd4
Note about database
11 years ago
Isaac Bythewood
ea4beea7c3
Merge pull request #45 from tylerstalder/patch-1
Use jQuery because you're checking for window.jQuery
11 years ago
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 years ago
Isaac Bythewood
a01975d47d
Use previous version of Django, not compatible with the latest 1.6 yet.
11 years ago
Krzysztof Klimonda
145767393f
Fixed small issues in the setup.py file
11 years ago
Isaac Bythewood
6a755b25b2
Update contributors to include a link to the contributors graph
11 years ago
Isaac Bythewood
c510be3de4
Improved the documentation, bumped the version to 1.3.2, fixed the license in setup.py
11 years ago
Isaac Bythewood
f835018bb6
Moving to RST to be more pythonic
11 years ago
Isaac Bythewood
0a9a277065
Update setup to most recent version and packages
11 years ago
Isaac Bythewood
82ad313120
Bump version in docs.
11 years ago
Isaac Bythewood
8a0b577f16
Fix SITE_URL being used in title when that feature was removed.
11 years ago
Isaac Bythewood
5c68ca1725
Improved formatting of docs
11 years ago
Isaac Bythewood
e29ba90190
Fix formatting issue in getting started docs
11 years ago
Isaac Bythewood
edd0efb6ce
Updating base docs
11 years ago
Isaac Bythewood
14ce634afa
Starting working on the docs...
11 years ago
Isaac Bythewood
a077f33f6a
Merge branch 'develop' and releasing version 1.3.0
11 years ago
Isaac Bythewood
fc39a075e9
Hide passwords from view on forms
11 years ago
Isaac Bythewood
50d61af22a
Move to bootstrap 3, better design, move all vendor items local.
11 years ago
Isaac Bythewood
47a33fb348
Fix logo URL
11 years ago
Isaac Bythewood
795a905596
Added Original URL and Pin URL to lightbox of items.
11 years ago
Isaac Bythewood
a4f3adc2df
Updated requirements and other items in preps of new pinry version
11 years ago
Isaac Bythewood
70a797c5af
Update feeds to meet PEP requirements and minor adjustments to base.html
11 years ago
Isaac Bythewood
7ac128a643
Had to revert tastypie to a previous version due to some issues with
latest.
11 years ago
Isaac Bythewood
50fd227d9f
Updated requirements to use original repos in many cases and pull
everything from pypi instead of pulling from git repos.
11 years ago
Isaac Bythewood
f8d171b3ce
Update to latest requirements including official taggit
11 years ago
Isaac Bythewood
85d099fa94
Finish up feed implementation.
11 years ago
Isaac Bythewood
3affd088fa
Adding rss feed for latest pins.
11 years ago
Isaac Bythewood
670ab91918
A few more minor readme updates.
11 years ago
Isaac Bythewood
034447be59
Updating the readme.
11 years ago
Isaac Bythewood
2d9de51e6d
Change in license back to our roots, Simplified BSD. Updates to Readme pointing to docker, our prefered method of deployment.
11 years ago
Isaac Bythewood
a12a5bd2a4
Fixed missing punctuation in messages css.
11 years ago
Krzysztof Klimonda
6200156adb
Merge branch 'release/1.1.0'
11 years ago
Krzysztof Klimonda
d8f67caed0
Update version to 1.1.0 in preparation for the release
11 years ago
Krzysztof Klimonda
a704cb7297
Pin factory-boy dependency on 1.3.x branch
Factory Boy 2.0 have removed the "extracted_key" keyword argument from
post_generation() hook. Until we can update tests to work with 2.0 make
dependency on 1.3.x branch. In turn, the update got stalled by a bug
in Factory Boy (https://github.com/rbarrois/factory_boy/issues/53 ).
11 years ago
Krzysztof Klimonda
7db42bb075
Generate thumbnails when image is being saved
Too lax unique constraints for Thumbnail coped with "on demand" thumbnail
generation may leave database in inconsistent state where two thumbnail for
the same size are saved. We should be able to prevent that from happening
by generating all thumbnails when we save the image. Should fix #24 , but
I can't figure out a way to actually test it.
11 years ago
Krzysztof Klimonda
defbd50445
Don't load Pins "in background" when lightbox is active.
Remove the scroll event handler when lightbox is active, so pins are
not loaded in background breaking the page layout.
11 years ago
Isaac Bythewood
cecc88f068
Refactor loading pins part of pinry.js to fix some bugs
11 years ago
Isaac Bythewood
c8f0d6b1d6
Fix bug of multiple of same images loading sometimes
11 years ago
Krzysztof Klimonda
ac364e1379
Update setup.py for 1.0 release
It's still not working completely (you can't run tests from it) but it's enough for installing. Fixes #18
11 years ago
Krzysztof Klimonda
2ecda33fed
Apply fix from 3b10868
to users tests too
Repeat after me "I'll run a full test suite before pushing changes"
11 years ago
Krzysztof Klimonda
c0bf9d992e
Make sure that users can't impersonate each other when creating pins
We weren't checking if the Pin submitter is the logged user which made it possible
to pass any submitter to the Pin resource create call. Fix it, and make the submitter
optional.
11 years ago
Krzysztof Klimonda
3b10868832
Open binary files in the binary mode
Make sure that we are using binary mode to read binary files like images, this Fixes #20
11 years ago
Krzysztof Klimonda
aeeae41cd7
Update buildout config to fix some issues
Change the settings module and add eggs to the bin/django script path
11 years ago
Krzysztof Klimonda
30c4aeaa9a
bin/py setup.py test installs eggs to the root directory
11 years ago