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