Commit Graph

432 Commits

Author SHA1 Message Date
Raymond Tau
0a7cd32b35 Ignore files not related to Docker image during build
To reduce the size of context sent to Docker daemon
2019-03-26 08:07:32 +08:00
Raymond Tau
db133e75db Reduce docker image layers 2019-03-26 08:06:23 +08:00
Ji Qu
0266e82143 Merge pull request #142 from rtau-trial/merge-docker
Enable Docker Hub to build image automatically on push
2019-03-25 19:14:33 +08:00
Raymond Tau
98414fa447 Move the docker related content to a better folder 2019-03-21 22:48:17 +08:00
Raymond Tau
f070c76417 Update scripts and instructions for using/building Docker image 2019-03-21 22:41:23 +08:00
Raymond Tau
99b8058dbf Merge docker-pinry content 2019-03-19 07:54:41 +08:00
winkidney
8f7eab9b2b Fix: Add migrations for Pin 2019-02-22 06:00:08 -08:00
winkidney
9003c02b6e Feature: Enable flake8 check in travis 2019-02-22 17:47:50 +08:00
winkidney
0d60075f28 flake8 2019-02-22 17:47:50 +08:00
winkidney
fb79c2d671 Feature: Add flake8 command in Makefile 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
Ji Qu
eaae8d2dd6 Merge pull request #139 from pinry/feature/upgrade2drf
Upgrade to DjangoRestframework(short as DRF) which is currently under active development support.

Summary:

    * No side effects on Pinry Browser Plugin

    * No side effects on Bookmarklet.

    * All API now working on DRF instead of tastypie.
2019-02-22 17:11:15 +08:00
winkidney
69ff11b6c6 Fix: Use new url in light-box 2019-02-22 16:57:33 +08:00
winkidney
de652846b6 Doc: Add warnning to remove origin field 2019-02-22 16:46:55 +08:00
winkidney
6b3402c9f5 Feature: Use psycopg2-binary as dep instead of psycopg2
Due to the offical warnning from command line.
2019-02-22 16:44:53 +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
47b58e9f9f Feature: Remove django-tastypie and factory-boy in Pipfile 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
e120af94cf Fix: Use API_LIMIT_PER_PAGE in drs-settings 2019-02-22 16:23:08 +08:00
winkidney
22f070ff2b Feature: Add shell command in Makefile 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
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
852cb0b89d Feature: Replace image upload by DRF-api 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
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
19cff1c571 Feature: Add coreapi as dependencies 2019-02-20 17:20:58 +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
e154eb58c8 Feature: Add DRF and its tools as dependencies 2019-02-19 18:09:13 +08:00
winkidney
c285c236e3 Feature: Allow make-migrations in Makefile v2.0.1 2019-01-22 01:35:12 -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
4ec3e20500 Feature: Add bootstrap command in Makefile 2018-12-29 16:18:32 +08:00