Commit Graph

33 Commits

Author SHA1 Message Date
winkidney
8f7eab9b2b Fix: Add migrations for Pin 2019-02-22 06:00:08 -08:00
winkidney
0d60075f28 flake8 2019-02-22 17:47:50 +08:00
winkidney
4fb2d8fff7 Refactor: Remove unuse import in models.py 2019-02-22 17:27:57 +08:00
winkidney
de652846b6 Doc: Add warnning to remove origin field 2019-02-22 16:46:55 +08:00
winkidney
f3f9975ca0 Fix: Fix syntax erro on python 3.4 2019-02-22 16:23:08 +08:00
winkidney
814782f5ef Fix: Use rsponse.json() to fix test-failure on json-3.5 2019-02-22 16:23:08 +08:00
winkidney
ef05e4ad8e Feature: Remove unused tests and add tests for DRF-api 2019-02-22 16:23:08 +08:00
winkidney
d9b5a78b36 Refactor: Allow only the user-data fetching 2019-02-22 16:23:08 +08:00
winkidney
a5a876b1aa Fix: Fix context name-conflicts for user-page 2019-02-22 16:23:08 +08:00
winkidney
40e2f0b254 Feature: Remove unused django-tastypie 2019-02-22 16:23:08 +08:00
winkidney
a2e63f05d7 Fix: Correct the name for specified pin 2019-02-22 16:23:08 +08:00
winkidney
00d9a854ef Feature: Use more restful url for user-filter and tag-filter 2019-02-22 16:23:08 +08:00
winkidney
e1720921fb Feature: Support filter by tags and user for Pins 2019-02-22 16:23:08 +08:00
winkidney
fbbe4d8c2e Fix: Should use image_by_id as image-field name / add pagination 2019-02-22 16:23:08 +08:00
winkidney
6f6d858f8c Fix: Should allow null-valur for some field 2019-02-22 16:23:08 +08:00
winkidney
9741f0311a Feature: Update Pin via drf-api 2019-02-22 16:23:08 +08:00
winkidney
da8bac1491 Feature: Use v2-api for pin-detail page 2019-02-22 16:23:08 +08:00
winkidney
153dc0daef Fix: Should ignore error caused by pins which reference same image 2019-02-22 16:23:08 +08:00
winkidney
274134444d Fix: Image should be both readable and writable 2019-02-22 16:23:08 +08:00
winkidney
e0a074fd9f Feature: Allow auto-creation for tags for pin / fix admin format 2019-02-22 16:23:08 +08:00
winkidney
33d9aeee48 Feature: Use new image-creation api instead of the old 2019-02-22 16:22:59 +08:00
winkidney
ec6d444759 Feature: Move viewsets to views.py 2019-02-20 18:03:27 +08:00
winkidney
32dc00fa34 Feature: Add image creation api and api-docs of DRF api 2019-02-20 17:40:19 +08:00
winkidney
220c49a725 Feature: add basic drf-api for user/pin 2019-02-20 17:05:14 +08:00
winkidney
fe1439b2a2 Fix: Fix permission check for tastypie / update to 0.14.1 2018-08-26 21:30:07 -07:00
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
2018-08-26 21:30:07 -07:00
winkidney
fadb898804 Fix: Add test for extra referer field 2018-08-21 08:14:17 -07:00
winkidney
5ed61913a1 Feature: Add UA and referer to fetch pictures from more sites 2018-08-21 20:08:50 +08:00
winkidney
b7135b64aa Feature: Add referer field for Pin 2018-08-21 19:52:21 +08:00
winkidney
701b4dd581 Fix: Add workaround for image object deletion after pin deleted 2018-08-18 08:49:10 -07:00
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.
2018-04-03 09:08:50 -04:00
Isaac Bythewood
da853fad92 Updating tests for new app organization 2018-02-08 22:44:55 -05:00
Isaac Bythewood
1fcdf2a9a3 Refactor apps to be in repo folder 2018-02-08 21:57:49 -05:00