winkidney
23aacbc7c0
Feature: Add private property for board
pirms 4 gadiem
winkidney
56d847aace
Feature: Add Private property for Pin and read proection
Now the private pin should only be viewed by owner.
pirms 4 gadiem
winkidney
ee43fa96ae
Refactor: Remove unused origin field from Pin
pirms 4 gadiem
winkidney
be00941281
Feature: Add board support in backend
pirms 5 gadiem
Will Stott
510966633a
Only load Image once when creating all three Thumbnail sizes.
pirms 5 gadiem
Will Stott
d871180cdf
Use caller's Image object when fetching or creating a thumbnail.
pirms 5 gadiem
winkidney
e216e5a6f2
Feature: Use char-field instead of url-field to fit strange types of url
Now Pinry will not care type of url, if it could be input, it could be
saved.
This may cause xss issue but Pinry is a private pin-board replacement,
so be it.
pirms 5 gadiem
winkidney
4fb2d8fff7
Refactor: Remove unuse import in models.py
pirms 5 gadiem
winkidney
de652846b6
Doc: Add warnning to remove origin field
pirms 5 gadiem
winkidney
153dc0daef
Fix: Should ignore error caused by pins which reference same image
pirms 5 gadiem
winkidney
33d9aeee48
Feature: Use new image-creation api instead of the old
pirms 5 gadiem
winkidney
220c49a725
Feature: add basic drf-api for user/pin
pirms 5 gadiem
winkidney
5ed61913a1
Feature: Add UA and referer to fetch pictures from more sites
pirms 6 gadiem
winkidney
b7135b64aa
Feature: Add referer field for Pin
pirms 6 gadiem
winkidney
701b4dd581
Fix: Add workaround for image object deletion after pin deleted
pirms 6 gadiem
Isaac Bythewood
1fcdf2a9a3
Refactor apps to be in repo folder
pirms 6 gadiem
Isaac Bythewood
3849ee8e5d
Swap to pipenv, fix issue with latest versions of python 3, dropping support for python 2
pirms 6 gadiem
Isaac Bythewood
c71fa17aca
Updates to support Python 3
pirms 7 gadiem
Isaac Bythewood
af4e7437a3
self.url is not always set, return required fields for pin
pirms 7 gadiem
Isaac Bythewood
5cb59746df
Fixes issue #37
pirms 8 gadiem
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.
pirms 11 gadiem
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.
pirms 11 gadiem
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
pirms 11 gadiem
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.
pirms 11 gadiem
Krzysztof Klimonda
270cfb7ee7
Expose a gravatar hash for account via the Rest API
pirms 11 gadiem
Isaac Bythewood
30985a9efe
Added basic core app tests.
pirms 12 gadiem
Isaac Bythewood
644184d0ad
Initial commit.
pirms 12 gadiem