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