Commit Graph

708 Commits

Author SHA1 Message Date
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
Isaac Bythewood
1d8b2b151a Scroll bookmarklet to the top 2013-03-05 22:05:04 +00:00
Isaac Bythewood
dedf33183b Improve bookmarklet form 2013-03-05 22:02:35 +00:00
Isaac Bythewood
37de6ecb93 Improve error message system and add errors to basic functions 2013-03-05 21:25:08 +00:00
Isaac Bythewood
1538579fe5 Fix issue with lightbox background not expanding properly and bottom footer being off in lightbox 2013-03-05 20:44:23 +00:00
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
2013-03-05 02:42:20 -08:00
Krzysztof Klimonda
4580a700ab Use media/ for files created during tests. Fixes #2 2013-03-05 01:58:11 -08:00
Krzysztof Klimonda
26b6805b6f Replace screenshot.png with logo.png in tests 2013-03-05 01:32:57 -08:00
Krzysztof Klimonda
10c9b35700 Even though not used, import models for Factory Boy 2013-03-05 01:28:39 -08:00
Isaac Bythewood
ad8a971a2c Update location of Pinry logo to the BitBucket repo 2013-03-05 02:08:07 +00:00
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 2013-03-05 01:53:46 +00:00
Isaac Bythewood
f64066f277 Update readme to point to getpinry.com, update the license to AGPL 2013-03-05 01:49:51 +00:00
Krzysztof Klimonda
26f9c76988 Don't use FACTORY_FOR when not needed 2013-03-04 15:33:09 -08:00
Krzysztof Klimonda
7a85f1b514 Use post_generation hooks to populate models with some data
Factory Boy provides us with a better way of populating complicated
fields (like M2M relations) than overriding _prepare class method,
so we should be using them.
2013-03-04 14:58:54 -08:00
Krzysztof Klimonda
ef818b7f82 Rewrite tests to use a Model mocker library
There has been issues when running a full test suite (for pinry and
the entire Django stack), and test fixtures are hard to maintain anyway,
so rewrite tests to use a Model mocker library (Factory Boy) to populate
database.
2013-03-04 12:06:00 -08:00
Isaac Bythewood
0f9b1639ad Improve the loading of pins and overall speed 2013-03-04 00:50:59 +00:00
Isaac Bythewood
339ea08c3a Improve the look of the uploader 2013-03-03 23:40:00 +00:00
Krzysztof Klimonda
856d2d1e87 Allow filtering pins over submitter.username 2013-03-03 14:51:19 -08:00
Isaac Bythewood
c7e1e1cd83 Move location of users middleware 2013-03-03 22:50:29 +00:00
Isaac Bythewood
9a6d540a86 Bug fix submitter filter 2013-03-03 22:48:30 +00:00
Isaac Bythewood
248bd25a04 Move private to users, add user filtering to JS 2013-03-03 22:47:25 +00:00
Isaac Bythewood
3420608730 CSS refactors to improve readability 2013-03-03 22:32:22 +00:00
Isaac Bythewood
32b5eafe67 Fix template locations to match app name 2013-03-03 21:19:07 +00:00
Krzysztof Klimonda
cae9fa96be Write some more tests for all code 2013-03-03 10:09:33 -08:00