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
Will Stott
fe2adf1856
Add a default pinry favicon
2019-07-17 14:48:51 +01: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
Ji Qu
51c2050c77
Merge pull request #150 from willstott101/patch-1
...
Allow dots in usernames
2019-07-11 20:07:11 +08:00
Will Stott
941911e709
Escape special regex character -
2019-07-04 15:18:56 +01:00
Will Stott
14d2d5f2f6
Allow dots in usernames
2019-07-04 15:16:27 +01:00
Isaac Bythewood
6a86482512
Merge pull request #147 from norweeg/fix_146
...
fixes #146
2019-06-01 11:15:22 -04:00
Brennen Raimer
22b8cb6aee
add clients for mysql, postgresql, and oracle
2019-06-01 11:07:56 -04:00
Brennen Raimer
c3ae58c60b
made build and entrypoint scripts executable
2019-06-01 10:54:07 -04: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
Ji Qu
360d0a3210
Merge pull request #143 from rtau-trial/dockerimage-optimize
...
Try to optimize Docker image
2019-03-28 16:18:26 +08:00
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