Krzysztof Klimonda
2ecda33fed
Apply fix from 3b10868
to users tests too
Repeat after me "I'll run a full test suite before pushing changes"
vor 11 Jahren
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.
vor 11 Jahren
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
vor 11 Jahren
Krzysztof Klimonda
aeeae41cd7
Update buildout config to fix some issues
Change the settings module and add eggs to the bin/django script path
vor 11 Jahren
Krzysztof Klimonda
30c4aeaa9a
bin/py setup.py test installs eggs to the root directory
vor 11 Jahren
Krzysztof Klimonda
a89b83c159
make sure that setuptools is available from bin/py interpreter
vor 11 Jahren
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.
vor 11 Jahren
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.
vor 11 Jahren
Krzysztof Klimonda
7817e5d41b
Rewrite .gitignore file a bit and add some rules
vor 11 Jahren
Isaac Bythewood
548deaa2dd
Added screenshot of Pinry to README
vor 11 Jahren
Isaac Bythewood
cc5587c022
Added core contributors to the README
vor 11 Jahren
Isaac Bythewood
b95aae5a97
Added contributors file
vor 11 Jahren
Isaac Bythewood
b722d675d9
Remove unused docs section for now which will be in pinry-static
vor 11 Jahren
Isaac Bythewood
4f2a679411
Merge branch 'master' of github.com:pinry/pinry
vor 11 Jahren
Isaac Bythewood
03d9a3b323
Added link to Codeship from README
vor 11 Jahren
Isaac Bythewood
4f8139f615
Fix bug in sometimes loading the same pins again because the offset is not increased outside of "success"
vor 11 Jahren
Isaac Bythewood
310a89f2fe
Change default pin load limit to 50 instead of 30
vor 11 Jahren
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.
vor 11 Jahren
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.
vor 11 Jahren
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.
vor 11 Jahren
Krzysztof Klimonda
494f7fbd8c
Fix test by mocking requests.get function
vor 11 Jahren
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.
vor 11 Jahren
Krzysztof Klimonda
99d7eba641
Ignore vim swap files
vor 11 Jahren
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
vor 11 Jahren
Isaac Bythewood
20359b886d
Update README with Testing and Requirements sections
vor 11 Jahren
Isaac Bythewood
de9628d863
Added viewport meta tag
vor 11 Jahren
Isaac Bythewood
e07a3aa87b
Add a noscript message
vor 11 Jahren
Krzysztof Klimonda
2f98fc4a57
Change avatar background color to white
vor 11 Jahren
Krzysztof Klimonda
8fa7583b0f
Call tillLayout when adding a new pin
vor 11 Jahren
Isaac Bythewood
026b5dcd88
Now shows messages from django
vor 11 Jahren
Isaac Bythewood
28c791fd1e
Pins are now editable
vor 11 Jahren
Isaac Bythewood
bcf480e639
Add fade to edit buttons and fix queueing of animation
vor 11 Jahren
Isaac Bythewood
6539b41a5c
Merged in rocco_storm/pinry (pull request #1 )
show edit buttons only on mouse over (new)
vor 11 Jahren
Rober Torkuhl
812358e31b
use jQuery.off() instead od deprecated .unbind() function
vor 11 Jahren
Rober Torkuhl
0a5ed2b049
remove doubled event listeners
vor 11 Jahren
Rober Torkuhl
9bbc0d19ce
show edit buttons only on mouse over
vor 11 Jahren
Krzysztof Klimonda
b0d1cb4e19
Create a skeleton for documentation
vor 11 Jahren
Krzysztof Klimonda
6818236893
Create a basic setup.py file
vor 11 Jahren
Krzysztof Klimonda
c267b55d0c
Serve /media/ using Django while in Development
staticfiles_urlpatterns() add only handler for serving /static/ path,
add pattern for /media/.
vor 11 Jahren
Isaac Bythewood
1d8b2b151a
Scroll bookmarklet to the top
vor 11 Jahren
Isaac Bythewood
dedf33183b
Improve bookmarklet form
vor 11 Jahren
Isaac Bythewood
37de6ecb93
Improve error message system and add errors to basic functions
vor 11 Jahren
Isaac Bythewood
1538579fe5
Fix issue with lightbox background not expanding properly and bottom footer being off in lightbox
vor 11 Jahren
Krzysztof Klimonda
0cbd5bdaa1
re-enable asset compression with django_compressor
Finally had time to figure out the problem "caused" by django_compressor,
so we can no re-enable it. Fixes #3
vor 11 Jahren
Krzysztof Klimonda
4580a700ab
Use media/ for files created during tests. Fixes #2
vor 11 Jahren
Krzysztof Klimonda
26b6805b6f
Replace screenshot.png with logo.png in tests
vor 11 Jahren
Krzysztof Klimonda
10c9b35700
Even though not used, import models for Factory Boy
vor 11 Jahren
Isaac Bythewood
ad8a971a2c
Update location of Pinry logo to the BitBucket repo
vor 11 Jahren
Isaac Bythewood
b63544905e
Remove screenshot that is outdated and no longer needed, add full AGPL license and update api.py to use logo image instead of screenshot for testing
vor 11 Jahren
Isaac Bythewood
f64066f277
Update readme to point to getpinry.com, update the license to AGPL
vor 11 Jahren