Commit Graph

311 Commits

Author SHA1 Message Date
Will Stott
a6569cb8ff Use Django's standard field rendering. Create filter for custom attrs. 2019-07-17 09:58:24 -04:00
Will Stott
fe2adf1856 Add a default pinry favicon 2019-07-17 14:48:51 +01:00
winkidney
12d3811af9 Fix: Add currentUser for pin-form creation page 2019-04-28 16:57:56 +08:00
winkidney
8ef4f43f3b Refactor: Add some doc string to pin-form-referer
Also change the input type to url.
2019-04-28 11:54:02 +08:00
winkidney
0d60075f28 flake8 2019-02-22 17:47:50 +08:00
winkidney
69ff11b6c6 Fix: Use new url in light-box 2019-02-22 16:57:33 +08:00
winkidney
a5a876b1aa Fix: Fix context name-conflicts for user-page 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
e120af94cf Fix: Use API_LIMIT_PER_PAGE in drs-settings 2019-02-22 16:23:08 +08:00
winkidney
fd0e1d87ba Feature: Fetch pins from drf-api 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
4029107b5d Feature: Use drf-api for Pin-creation 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
852cb0b89d Feature: Replace image upload by DRF-api 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
109c46252a Feature: Use api/v2 instead of drf_api/ 2019-02-20 18:08:10 +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
f9e74f2ef7 Feature: Add url-filed name for DRF 2019-02-20 17:40:06 +08:00
winkidney
220c49a725 Feature: add basic drf-api for user/pin 2019-02-20 17:05:14 +08:00
winkidney
50ffa93d46 Feature: Add basic settings for DRF 2019-02-19 18:28:01 +08:00
winkidney
2ef9df9cfc Fix: Remove http prefix for bookmarklet to adapt to https page 2018-12-29 18:20:13 +08:00
winkidney
322f779617 Enhance: Bookmarklet should tell user to add it to bookmark 2018-12-29 17:17:17 +08:00
winkidney
ddd9f73d21 Feature: Use X-Forwarded-For host in docker version 2018-12-29 15:58:21 +08:00
winkidney
dbbf0d049a Close #137 2018-12-24 12:58:08 +08:00
winkidney
e8bf3d4b30 Refactor: Will not force user to set SECRET_KEY in environ
+ Allow overwrite in local_settings.py (the original implemetation
  will cause an KeyError)
2018-09-08 03:43:52 -07:00
winkidney
2278d6a552 Feature: Support local_settings as optional settings 2018-09-04 13:44:49 +08:00
winkidney
ac469d47f9 Fix: Add a mark 'IS_TEST' to decide if we should load image-urls 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
2d9b952482 Feature: Use page title as default description 2018-08-26 00:31:24 -07:00
winkidney
b7135b64aa Feature: Add referer field for Pin 2018-08-21 19:52:21 +08:00
winkidney
f8268c3a9d Feature: Use original-image url instead in light-box
Also add css to restrict original-image size
2018-08-18 08:49:15 -07:00
winkidney
1089e1f4de Feauture: Add AUTO-DELETE option in settings
For django-images, the AUTO-DELETE mark is required to remove files
automatically.
2018-08-18 08:48:31 -07:00
Isaac Bythewood
eb75175657 Swap to new settings structure and start adding docker files directly to project 2018-02-08 23:07:19 -05:00
Isaac Bythewood
1fcdf2a9a3 Refactor apps to be in repo folder 2018-02-08 21:57:49 -05:00
Isaac Bythewood
3849ee8e5d Swap to pipenv, fix issue with latest versions of python 3, dropping support for python 2 2018-02-06 00:10:51 +00:00
Haoling
2fb830e293 Fix miss tag 2017-12-19 10:34:21 +09:00
Isaac Bythewood
c71fa17aca Updates to support Python 3 2017-09-23 21:12:54 +00:00
Lapo Luchini
cbcd9c5f8b Ease code readability (and be closer to original too). 2017-04-22 15:46:00 +02:00
Lapo Luchini
ddf2891480 Remove the need for jQuery. 2017-04-22 13:27:39 +02:00
Isaac Bythewood
813ab93c11 Change default of user registrations to True since it is a common problem with new users. 2017-02-11 05:41:24 +00:00
Isaac Bythewood
a55644ba76 Start adding basic admin elements 2017-02-11 05:24:01 +00:00
Isaac Bythewood
af4e7437a3 self.url is not always set, return required fields for pin 2017-02-11 05:23:07 +00:00
Isaac Bythewood
0f7bb8cf84 Remove load line in base template 2017-02-11 04:58:09 +00:00
Isaac Bythewood
d0db375d1f Remove unused RSS feed system, we aren't going to update it anymore 2017-02-11 04:57:00 +00:00
Isaac Bythewood
2d8d92b8b7 Add template_settings back to context processors 2017-02-11 04:32:06 +00:00
Isaac Bythewood
9b71a7449c Remove bower.json and swap to using unpkg 2017-02-11 04:28:52 +00:00
Isaac Bythewood
21a67b341d Swap over to unpkg for CSS requirements 2017-02-11 04:18:46 +00:00