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
Krzysztof Klimonda
97732c4f45
Use the correct reverse argument
2013-03-03 10:08:46 -08:00
Krzysztof Klimonda
fbfd7e0239
CreateImage.get should always return HttpResponse
2013-03-03 10:08:26 -08:00
Krzysztof Klimonda
d4fc7e1781
Write unit tests for CombinedAuthBackend
2013-03-03 09:11:49 -08:00
Krzysztof Klimonda
e5bd3d577d
Clean-up PinResource.build_filters method
2013-03-03 09:11:26 -08:00
Krzysztof Klimonda
03e05906f8
Reorganize core package tests into modules
2013-03-03 09:10:42 -08:00
Krzysztof Klimonda
5b777b7e14
Move the Authentication backend to the users package
2013-03-03 09:09:13 -08:00
Krzysztof Klimonda
d0d68545ca
Add "origin" field to the Pin model
...
"origin" is an optional field that stores the URI for the site
that the image has been saved from, it's going to be used only from
bookmarklet. Fixes #63
2013-03-03 08:25:42 -08:00
Isaac Bythewood
13829866d1
Fix bug in appending jQuery if needed.
2013-03-03 11:06:22 -05:00
Isaac Bythewood
08410ba50d
Spinner doesn't show if there are no more pins to load
2013-03-03 14:34:33 +00:00
Isaac Bythewood
6abb1ffe88
Allow pin deleting from interface
2013-03-03 14:30:13 +00:00
Krzysztof Klimonda
8c3599911e
In PinResource.save_m2m do nothing when no tags
2013-03-03 06:22:16 -08:00
Isaac Bythewood
39aa6818f2
Tags sends [] instead of null
2013-03-03 13:56:06 +00:00
Krzysztof Klimonda
6e78ce12ea
post-refactor test fixture update
2013-03-03 05:47:35 -08:00
Isaac Bythewood
eba04c177e
Update pinry tag handler and spinner
2013-03-03 13:45:27 +00:00
Krzysztof Klimonda
83f14445bf
Fix reverse urls namespacing issue
2013-03-03 05:38:24 -08:00
Krzysztof Klimonda
995b69168b
use old paths for pin urls
2013-03-03 05:19:19 -08:00
Isaac Bythewood
ec27f1cfb8
Bug fixes to bookmarklet and pin-form
2013-03-03 13:05:38 +00:00
Krzysztof Klimonda
6e41296d57
Move test fixtures to the correct location
2013-03-03 04:59:44 -08:00
Krzysztof Klimonda
559f054985
Write more tests for the ImageResource
2013-03-03 04:59:44 -08:00
Krzysztof Klimonda
53f05dbb6d
A general project refactor
...
Removed pins django app, and moved code to the core. Moved user related
code out of core to the users app.
2013-03-03 04:47:34 -08:00
Krzysztof Klimonda
cf86da266a
Add a very simplistic Pin access control for the API
...
As pointed in issue #75 we should get away with just checking if the pin
submitter is the currently logged in user. Assuming that we can implement
authorization for updating and deleting pins rather easily by subclassing
DjangoAuthorization so it passes the object to the Authorization backend.
2013-03-02 17:00:58 -08:00
Krzysztof Klimonda
a0e11a949e
Add a small (125x125px) square thumbnail
...
This is going to be used by a "similar images" feature #74
2013-03-02 16:12:29 -08:00
Krzysztof Klimonda
e70d9079ec
Login newly registered user
...
Rewritten register view using CBV approach, and added a authenticate/login
call after form has been validated and user created. Fixes #65
2013-03-02 12:26:54 -08:00
Krzysztof Klimonda
68e01b5a39
Rename upload-pin to create-image
...
It didn't make sense to call it upload-pin as it is being used only for
creating the Image object.
2013-03-02 12:01:07 -08:00
Krzysztof Klimonda
435c41e450
Don't raise error 500 on accessing /pins/upload-pin uri
...
Fixes #81
2013-03-02 11:26:07 -08:00
Krzysztof Klimonda
57aefc7d97
Mock out Files using the commited screenshot.png file for tests
2013-03-02 11:06:53 -08:00
Isaac Bythewood
0b58d8349e
Working pin uploader with drag and drop functionality.
2013-02-27 22:44:56 +00:00