winkidney
3d56663d8b
Fix: Use new migration file for Board
5 anni fa
winkidney
be00941281
Feature: Add board support in backend
5 anni fa
Will Stott
510966633a
Only load Image once when creating all three Thumbnail sizes.
5 anni fa
Will Stott
cb24cebd94
Avoid 2 queries per pin in the main endpoint.
5 anni fa
Will Stott
d871180cdf
Use caller's Image object when fetching or creating a thumbnail.
5 anni fa
Will Stott
6cb00dfc37
flake8
5 anni fa
Will Stott
a6569cb8ff
Use Django's standard field rendering. Create filter for custom attrs.
5 anni fa
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 anni fa
winkidney
8f7eab9b2b
Fix: Add migrations for Pin
5 anni fa
winkidney
0d60075f28
flake8
5 anni fa
winkidney
4fb2d8fff7
Refactor: Remove unuse import in models.py
5 anni fa
winkidney
de652846b6
Doc: Add warnning to remove origin field
5 anni fa
winkidney
f3f9975ca0
Fix: Fix syntax erro on python 3.4
5 anni fa
winkidney
814782f5ef
Fix: Use rsponse.json() to fix test-failure on json-3.5
5 anni fa
winkidney
ef05e4ad8e
Feature: Remove unused tests and add tests for DRF-api
5 anni fa
winkidney
d9b5a78b36
Refactor: Allow only the user-data fetching
5 anni fa
winkidney
a5a876b1aa
Fix: Fix context name-conflicts for user-page
5 anni fa
winkidney
40e2f0b254
Feature: Remove unused django-tastypie
5 anni fa
winkidney
a2e63f05d7
Fix: Correct the name for specified pin
5 anni fa
winkidney
00d9a854ef
Feature: Use more restful url for user-filter and tag-filter
5 anni fa
winkidney
e1720921fb
Feature: Support filter by tags and user for Pins
5 anni fa
winkidney
fbbe4d8c2e
Fix: Should use image_by_id as image-field name / add pagination
5 anni fa
winkidney
6f6d858f8c
Fix: Should allow null-valur for some field
5 anni fa
winkidney
9741f0311a
Feature: Update Pin via drf-api
5 anni fa
winkidney
da8bac1491
Feature: Use v2-api for pin-detail page
5 anni fa
winkidney
153dc0daef
Fix: Should ignore error caused by pins which reference same image
5 anni fa
winkidney
274134444d
Fix: Image should be both readable and writable
5 anni fa
winkidney
e0a074fd9f
Feature: Allow auto-creation for tags for pin / fix admin format
5 anni fa
winkidney
33d9aeee48
Feature: Use new image-creation api instead of the old
5 anni fa
winkidney
ec6d444759
Feature: Move viewsets to views.py
5 anni fa
winkidney
32dc00fa34
Feature: Add image creation api and api-docs of DRF api
5 anni fa
winkidney
220c49a725
Feature: add basic drf-api for user/pin
5 anni fa
winkidney
fe1439b2a2
Fix: Fix permission check for tastypie / update to 0.14.1
6 anni fa
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 anni fa
winkidney
fadb898804
Fix: Add test for extra referer field
6 anni fa
winkidney
5ed61913a1
Feature: Add UA and referer to fetch pictures from more sites
6 anni fa
winkidney
b7135b64aa
Feature: Add referer field for Pin
6 anni fa
winkidney
701b4dd581
Fix: Add workaround for image object deletion after pin deleted
6 anni fa
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 anni fa
Isaac Bythewood
da853fad92
Updating tests for new app organization
6 anni fa
Isaac Bythewood
1fcdf2a9a3
Refactor apps to be in repo folder
6 anni fa