winkidney
3d56663d8b
Fix: Use new migration file for Board
5 jaren geleden
winkidney
be00941281
Feature: Add board support in backend
5 jaren geleden
Will Stott
510966633a
Only load Image once when creating all three Thumbnail sizes.
5 jaren geleden
Will Stott
cb24cebd94
Avoid 2 queries per pin in the main endpoint.
5 jaren geleden
Will Stott
d871180cdf
Use caller's Image object when fetching or creating a thumbnail.
5 jaren geleden
Will Stott
6cb00dfc37
flake8
5 jaren geleden
Will Stott
a6569cb8ff
Use Django's standard field rendering. Create filter for custom attrs.
5 jaren geleden
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 jaren geleden
winkidney
8f7eab9b2b
Fix: Add migrations for Pin
5 jaren geleden
winkidney
0d60075f28
flake8
5 jaren geleden
winkidney
4fb2d8fff7
Refactor: Remove unuse import in models.py
5 jaren geleden
winkidney
de652846b6
Doc: Add warnning to remove origin field
5 jaren geleden
winkidney
f3f9975ca0
Fix: Fix syntax erro on python 3.4
5 jaren geleden
winkidney
814782f5ef
Fix: Use rsponse.json() to fix test-failure on json-3.5
5 jaren geleden
winkidney
ef05e4ad8e
Feature: Remove unused tests and add tests for DRF-api
5 jaren geleden
winkidney
d9b5a78b36
Refactor: Allow only the user-data fetching
5 jaren geleden
winkidney
a5a876b1aa
Fix: Fix context name-conflicts for user-page
5 jaren geleden
winkidney
40e2f0b254
Feature: Remove unused django-tastypie
5 jaren geleden
winkidney
a2e63f05d7
Fix: Correct the name for specified pin
5 jaren geleden
winkidney
00d9a854ef
Feature: Use more restful url for user-filter and tag-filter
5 jaren geleden
winkidney
e1720921fb
Feature: Support filter by tags and user for Pins
5 jaren geleden
winkidney
fbbe4d8c2e
Fix: Should use image_by_id as image-field name / add pagination
5 jaren geleden
winkidney
6f6d858f8c
Fix: Should allow null-valur for some field
5 jaren geleden
winkidney
9741f0311a
Feature: Update Pin via drf-api
5 jaren geleden
winkidney
da8bac1491
Feature: Use v2-api for pin-detail page
5 jaren geleden
winkidney
153dc0daef
Fix: Should ignore error caused by pins which reference same image
5 jaren geleden
winkidney
274134444d
Fix: Image should be both readable and writable
5 jaren geleden
winkidney
e0a074fd9f
Feature: Allow auto-creation for tags for pin / fix admin format
5 jaren geleden
winkidney
33d9aeee48
Feature: Use new image-creation api instead of the old
5 jaren geleden
winkidney
ec6d444759
Feature: Move viewsets to views.py
5 jaren geleden
winkidney
32dc00fa34
Feature: Add image creation api and api-docs of DRF api
5 jaren geleden
winkidney
220c49a725
Feature: add basic drf-api for user/pin
5 jaren geleden
winkidney
fe1439b2a2
Fix: Fix permission check for tastypie / update to 0.14.1
6 jaren geleden
winkidney
f85a1e7301
Fix: Upgrade django to 1.11 LTS
New version of django fix the RuntimeError while saving wepb file.
The patch will not be applied to Django 1.8
Ref: https://www.djangoproject.com/download/#supported-versions
Ref: https://github.com/django/django/pull/10331
6 jaren geleden
winkidney
fadb898804
Fix: Add test for extra referer field
6 jaren geleden
winkidney
5ed61913a1
Feature: Add UA and referer to fetch pictures from more sites
6 jaren geleden
winkidney
b7135b64aa
Feature: Add referer field for Pin
6 jaren geleden
winkidney
701b4dd581
Fix: Add workaround for image object deletion after pin deleted
6 jaren geleden
Carey Metcalfe
df4b63de23
Fix tags being serialized as stringified map objects
This commit fixes an issue where the `tags` key of pins in the API response would be serialized as the string `"<map object at 0x...>". This issue would cause a `TypeError: pins.objects[i].tags.sort is not a function` on the frontend and prevent the page from loading.
6 jaren geleden
Isaac Bythewood
da853fad92
Updating tests for new app organization
6 jaren geleden
Isaac Bythewood
1fcdf2a9a3
Refactor apps to be in repo folder
6 jaren geleden