Commit Graph

531 Commits

Author SHA1 Message Date
Isaac Bythewood
034447be59 Updating the readme. 2013-09-20 22:33:31 -04:00
Isaac Bythewood
2d9de51e6d Change in license back to our roots, Simplified BSD. Updates to Readme pointing to docker, our prefered method of deployment. 2013-09-20 16:01:21 -04:00
Isaac Bythewood
a12a5bd2a4 Fixed missing punctuation in messages css. 2013-09-18 19:10:14 -04:00
Krzysztof Klimonda
6200156adb Merge branch 'release/1.1.0' v1.1.0 2013-04-16 14:18:02 +02:00
Krzysztof Klimonda
d8f67caed0 Update version to 1.1.0 in preparation for the release 2013-04-16 13:52:43 +02:00
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).
2013-04-16 02:23:49 +02:00
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.
2013-04-16 00:30:43 +02:00
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.
2013-04-14 15:51:39 +02:00
Isaac Bythewood
cecc88f068 Refactor loading pins part of pinry.js to fix some bugs v1.0.0 2013-04-05 18:50:06 +00:00
Isaac Bythewood
c8f0d6b1d6 Fix bug of multiple of same images loading sometimes 2013-04-05 18:30:14 +00:00
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
2013-04-05 20:05:10 +02:00
Krzysztof Klimonda
2ecda33fed Apply fix from 3b10868 to users tests too
Repeat after me "I'll run a full test suite before pushing changes"
2013-04-05 19:44:16 +02:00
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.
2013-04-05 19:34:31 +02:00
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
2013-04-05 19:10:17 +02:00
Krzysztof Klimonda
aeeae41cd7 Update buildout config to fix some issues
Change the settings module and add eggs to the bin/django script path
2013-03-30 14:06:10 +01:00
Krzysztof Klimonda
30c4aeaa9a bin/py setup.py test installs eggs to the root directory 2013-03-29 15:40:18 +01:00
Krzysztof Klimonda
a89b83c159 make sure that setuptools is available from bin/py interpreter 2013-03-29 15:39:57 +01:00
Krzysztof Klimonda
e71452c68f Use a relative path for the test image
It's part of the issue #20 (weird path on Windows). Django File class used
a full file path which resulted in path like C:\Example\pinry\static\C:\... which
is obviously invalid.
2013-03-27 21:07:22 +01:00
Krzysztof Klimonda
550c8a4312 Create buildout config
On Windows using virtualenv/buildout combo is easier than using raw virtualenv/pip, commit
files used by buildout to configure environment.
2013-03-27 21:05:02 +01:00
Krzysztof Klimonda
7817e5d41b Rewrite .gitignore file a bit and add some rules 2013-03-27 21:03:07 +01:00
Isaac Bythewood
548deaa2dd Added screenshot of Pinry to README 2013-03-21 01:56:33 +00:00
Isaac Bythewood
cc5587c022 Added core contributors to the README 2013-03-21 01:49:23 +00:00
Isaac Bythewood
b95aae5a97 Added contributors file 2013-03-21 01:46:19 +00:00
Isaac Bythewood
b722d675d9 Remove unused docs section for now which will be in pinry-static 2013-03-21 01:44:00 +00:00
Isaac Bythewood
4f2a679411 Merge branch 'master' of github.com:pinry/pinry 2013-03-21 01:43:35 +00:00
Isaac Bythewood
03d9a3b323 Added link to Codeship from README 2013-03-21 01:43:31 +00:00
Isaac Bythewood
4f8139f615 Fix bug in sometimes loading the same pins again because the offset is not increased outside of "success" 2013-03-20 21:02:28 -03:00
Isaac Bythewood
310a89f2fe Change default pin load limit to 50 instead of 30 2013-03-20 20:37:04 -03:00
Krzysztof Klimonda
fea9ea2f0e Commit an initial South migration.
It is a milestone of sort, from now on we're commited to write
correct two-way migrations for our code. It's one of the last
things to be done before an official v1.0 release.
2013-03-19 20:41:37 +01:00
Krzysztof Klimonda
51ba441af5 Call lightbox() when new pin is created
We have to call lightbox() when new pin is created so its
onClick listener is registered.
2013-03-19 19:23:50 +01:00
Krzysztof Klimonda
98c9df7d1d Fix TastyPie version at 0.9.12
TastyPie 0.9.13 doesn't install (reported upstream at
https://github.com/toastdriven/django-tastypie/issues/873) so use
0.9.12 for now.
2013-03-19 15:46:51 +01:00
Krzysztof Klimonda
494f7fbd8c Fix test by mocking requests.get function 2013-03-19 15:41:55 +01:00
Krzysztof Klimonda
98876bb0bd Use requests library instead of raw urllib2
This commit is a foundation upon a more robust image fetching code
will be built in the future, and it already fixes at least one weird
issue I've seen.
2013-03-19 15:22:20 +01:00
Krzysztof Klimonda
99d7eba641 Ignore vim swap files 2013-03-19 14:43:31 +01:00
Krzysztof Klimonda
e0e0ac1679 Remove /by-md5/ prefix from image paths
Use forked django-images for now, until we can communicate with the
upstream about it. Fixes #4
2013-03-19 14:43:31 +01:00
Isaac Bythewood
20359b886d Update README with Testing and Requirements sections 2013-03-17 19:18:47 +00:00
Isaac Bythewood
de9628d863 Added viewport meta tag 2013-03-17 18:47:12 +00:00
Isaac Bythewood
e07a3aa87b Add a noscript message 2013-03-17 18:38:07 +00:00
Krzysztof Klimonda
2f98fc4a57 Change avatar background color to white 2013-03-13 15:51:00 -07:00
Krzysztof Klimonda
8fa7583b0f Call tillLayout when adding a new pin 2013-03-12 15:01:22 -07:00
Isaac Bythewood
026b5dcd88 Now shows messages from django 2013-03-12 06:38:47 +00:00
Isaac Bythewood
28c791fd1e Pins are now editable 2013-03-12 06:12:09 +00:00
Isaac Bythewood
bcf480e639 Add fade to edit buttons and fix queueing of animation 2013-03-12 05:05:43 +00:00
Isaac Bythewood
6539b41a5c Merged in rocco_storm/pinry (pull request #1)
show edit buttons only on mouse over (new)
2013-03-09 18:04:09 -05:00
Rober Torkuhl
812358e31b use jQuery.off() instead od deprecated .unbind() function 2013-03-09 21:59:39 +01:00
Rober Torkuhl
0a5ed2b049 remove doubled event listeners 2013-03-09 21:39:40 +01:00
Rober Torkuhl
9bbc0d19ce show edit buttons only on mouse over 2013-03-09 21:39:01 +01:00
Krzysztof Klimonda
b0d1cb4e19 Create a skeleton for documentation 2013-03-06 15:24:51 -08:00
Krzysztof Klimonda
6818236893 Create a basic setup.py file 2013-03-06 10:51:33 -08:00
Krzysztof Klimonda
c267b55d0c Serve /media/ using Django while in Development
staticfiles_urlpatterns() add only handler for serving /static/ path,
add pattern for /media/.
2013-03-05 14:24:51 -08:00