Commit Graph

708 Commits

Author SHA1 Message Date
winkidney
0c6c7f4a26 Feature: Add heart js event 2019-12-08 12:58:50 -05:00
winkidney
9b592ebac6 Feature: Add star button for specified pin 2019-12-08 12:58:50 -05:00
winkidney
be00941281 Feature: Add board support in backend 2019-12-08 12:58:50 -05:00
Isaac Bythewood
ffe999f405 Update flake8 configuration 2019-12-08 17:48:23 +00:00
Isaac Bythewood
1a413d9a56 Update license year and swap to markdown 2019-12-08 17:47:17 +00:00
Isaac Bythewood
25b18694e9 Update contributors section of README 2019-12-05 12:10:58 -05:00
Ji Qu
948b0c44d3 Merge pull request #157 from lapo-luchini/patch-1
Remove references to jQuery in bookmarklet
2019-12-04 11:28:22 +08:00
Lapo Luchini
9356824b9b Remove references to jQuery
Actual dependency was already removed in ddf2891480.
2019-12-02 19:34:28 +01:00
Ji Qu
4f3cb74ee9 Merge pull request #154 from willstott101/perf1
Various performance improvements.
2019-07-22 11:33:33 +08: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
Ji Qu
209076339a Merge pull request #153 from willstott101/favicon
Add a default Pinry favicon
2019-07-17 22:00:04 +08: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
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