Commit Graph

76 Commits

Author SHA1 Message Date
winkidney
d5b366c317 Feature: Add migrations for url and referer length 2020-08-25 16:01:26 +08:00
winkidney
f334e6b3ff Feature: Allow url max length up to 512 2020-08-25 16:01:26 +08:00
winkidney
374be7a03f Fix: Fix test failure cased by new django-test client response
+ Also fix the old middleware
+ Fix MIDDLEWARE name error
2020-07-17 21:49:17 +08:00
winkidney
7608ef928a Fix: Try to migrate middlware to new version 2020-07-17 13:42:35 +08:00
winkidney
91d4dfc290 Fix: Upgrade django version and add CASCADE for forreign-key 2020-07-10 20:51:02 +08:00
winkidney
c9adc0d59c Fix: Fix argument name error caused by drf upgrade 2020-05-17 12:43:13 +08:00
winkidney
8d7ddf48c1 Fix: Fix 500 error while trying to access /api/v2/docs 2020-03-05 12:28:45 +08:00
winkidney
b7734ec232 Feature: Add search function to boards 2020-02-14 15:43:37 +08:00
winkidney
9251df5085 Fix: Fix possible error for board rename 2020-02-11 19:47:50 +08:00
winkidney
e2de094ba0 Fix: no-changes on board name should be allowed 2020-02-11 17:49:18 +08:00
winkidney
dd76375399 Feature: Add private field to board 2020-02-11 17:31:37 +08:00
winkidney
c31d93f797 Feature: Add tests and migrations for board in backend 2020-02-11 17:27:15 +08:00
winkidney
23aacbc7c0 Feature: Add private property for board 2020-02-11 16:42:50 +08:00
winkidney
d303e7aa26 Feature: Add permission tests for pin-pravicy option 2020-02-11 16:24:24 +08:00
winkidney
335cc3a754 Fix: flake8 2020-02-11 15:40:02 +08:00
winkidney
c6253d9712 Feature: Add private field for pin serializer 2020-02-11 14:51:14 +08:00
winkidney
ef72df34a4 Feature: Add migrations for private property of pin 2020-02-11 14:33:42 +08:00
winkidney
56d847aace Feature: Add Private property for Pin and read proection
Now the private pin should only be viewed by owner.
2020-02-11 14:32:58 +08:00
winkidney
acc8293374 Fix: Should pop pins_to_add instead of pins_to_remove 2020-02-11 12:23:31 +08:00
winkidney
ee43fa96ae Refactor: Remove unused origin field from Pin 2020-02-11 12:11:59 +08:00
winkidney
c35423bdbb Fix: flake8 2019-12-10 21:46:18 +08:00
winkidney
28f567aeac Fix: Fix path error for tag-auto-complete api 2019-12-10 21:46:18 +08:00
winkidney
6b7d4e31b6 Feature: Add cached tag-list api for tag-auto-complete 2019-12-10 21:46:18 +08:00
Isaac Bythewood
8b4053a8d9 Update logo location to use docs logos 2019-12-08 21:02:49 +00:00
winkidney
0f456538b5 Refactor: Remove old views and templates 2019-12-08 12:58:50 -05:00
winkidney
bb4522829d Fix: flake8 2019-12-08 12:58:50 -05:00
winkidney
4f4a291925 Feature: Add user detail info in board api 2019-12-08 12:58:50 -05:00
winkidney
d32a66a44d Fix: Add unique-together validation for board-rename 2019-12-08 12:58:50 -05:00
winkidney
067e90fd97 Feature: Add full-board-list api 2019-12-08 12:58:50 -05:00
winkidney
dded2ac016 Feature: Add pin-add and pin-remove at backend 2019-12-08 12:58:50 -05:00
winkidney
ed09a32423 Fix: Fix submitter parse error in url 2019-12-08 12:58:50 -05:00
winkidney
e634c2d4d8 Feature: Add user-creation for UserViewSet 2019-12-08 12:58:50 -05:00
winkidney
c3b0cffea3 Feature: Allow current user to fetch its information 2019-12-08 12:58:50 -05:00
winkidney
c6c9266ec0 Feature: Add board in admin and add id in board serializer 2019-12-08 12:58:50 -05:00
winkidney
161973b337 Fix: Merge migrations file to resolve conflicts 2019-12-08 12:58:50 -05:00
winkidney
3d56663d8b Fix: Use new migration file for Board 2019-12-08 12:58:50 -05:00
winkidney
be00941281 Feature: Add board support in backend 2019-12-08 12:58:50 -05:00
Will Stott
510966633a Only load Image once when creating all three Thumbnail sizes. 2019-07-18 14:42:40 +01:00
Will Stott
cb24cebd94 Avoid 2 queries per pin in the main endpoint. 2019-07-18 14:33:18 +01:00
Will Stott
d871180cdf Use caller's Image object when fetching or creating a thumbnail. 2019-07-17 23:54:18 +01:00
Will Stott
6cb00dfc37 flake8 2019-07-17 09:58:24 -04:00
Will Stott
a6569cb8ff Use Django's standard field rendering. Create filter for custom attrs. 2019-07-17 09:58:24 -04:00
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.
2019-07-15 17:12:18 +08:00
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