336 Commits

Author SHA1 Message Date
Lapo Luchini
e664475bbd Add "sort by size" function to bookmarklet.
Closes #337.
2022-04-23 09:29:22 +02:00
winkidney
69667006d8 Fix: Fix test failure caused http error code(from 403 to 401) 2022-02-18 21:48:44 -08:00
winkidney
18bda6dfd1 Fix: Should enable token auth in DRF 2022-02-18 21:37:18 -08:00
winkidney
2892ebb333 Feature: Add token creation for auth 2022-02-18 20:27:19 -08:00
Lapo Luchini
24d54d5dbb Fix bookmarklet layout to work on more pages.
`display: block` is needed on some pages that have local CSS overrides that happen to apply to our elements as well.
`z-index: 2147483647` seems to be the maximum allowed values, as per http://web.archive.org/web/20160502062529/http://www.puidokas.com/max-z-index

Fixes #273 on GitHub upstream.
2021-05-30 18:24:16 +08:00
winkidney
58d2bf184b Fix: Fix path error in bookmarketlet.js 2020-07-23 16:44:52 +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
7398bc11f8 Fix: Should use MIDDLEWARE instead of MIDDLEWARE_CLASSES 2020-07-17 13:33:07 +08:00
winkidney
e8d15badd2 Feature: Correct url and include format for django2 2020-07-17 13:28:59 +08:00
winkidney
bfc48c028e Fix: try to fix urls 2020-07-10 21:01:54 +08:00
Lapo Luchini
ee6c2eb291 Add bookmarklet support for background images
On many websites (just as in the page generated by our bookmarklet) images are put in CSS as background images; add support for those as well.
2020-06-22 10:42:07 +08:00
winkidney
5a102dfce4 Feature: Add Pinry plugin config to local_settings.py 2020-05-08 11:01:10 +08:00
winkidney
5c44869647 Feature: Add naive plugin support for pinry 2020-05-08 11:01:10 +08:00
winkidney
8d7ddf48c1 Fix: Fix 500 error while trying to access /api/v2/docs 2020-03-05 12:28:45 +08:00
winkidney
db538c7c84 Feature: Should allow registration by default 2019-12-20 00:22:08 +08:00
winkidney
312db13171 Feature: Should not ignore local_settings in gunicorn 2019-12-20 00:22:08 +08:00
winkidney
26934dae71 Doc: Add ignore info for secret-key env-test 2019-12-20 00:22:08 +08:00
winkidney
2a2f65c437 Feature: Move local_settings.py 2019-12-20 00:22:08 +08:00
winkidney
7406e2fdcc Feature: Allow JsonRender only in production mode 2019-12-08 12:58:50 -05:00
winkidney
2458ad295c Fix: Add initial secret key for docker-pinry 2019-12-08 12:58:50 -05:00
winkidney
0f456538b5 Refactor: Remove old views and templates 2019-12-08 12:58:50 -05:00
winkidney
b4841f8ca8 Feature: Change bookmarklet's default fetching url 2019-12-08 12:58:50 -05:00
winkidney
bb24ed3ecf Feature: Add pin-creation from remote-url
+ Add CSRF protection for every request
2019-12-08 12:58:50 -05:00
winkidney
54c245b6ef Feature: Add django_extensions to development version 2019-12-08 12:58:50 -05:00
winkidney
7956c93846 Feature: Add login api by reading json data 2019-12-08 12:58:50 -05:00
winkidney
5890a02807 Feature: Add loading spinner for pins 2019-12-08 12:58:50 -05:00
winkidney
05fc620642 Feature: Add Favicon 2019-12-08 12:58:50 -05:00
winkidney
bbab5b8858 Feature: Add header for Pinry Page 2019-12-08 12:58:50 -05:00
winkidney
c594c4ecc6 Feature: Add function to open pin-form 2019-12-08 12:58:50 -05:00
winkidney
35d1add735 Refactor: Remove lightbox html 2019-12-08 12:58:50 -05:00
winkidney
9b066771a9 Feature: Try to add initial structure for pin-form 2019-12-08 12:58:50 -05:00
winkidney
897d80170f Refactor: Make getDocumentScrollTop a standalone function 2019-12-08 12:58:50 -05:00
winkidney
b155f806bc Refactor: Reformat helpers.js 2019-12-08 12:58:50 -05:00
winkidney
b44bc9f12a Fix: Bug fix for tags existence prediction 2019-12-08 12:58:50 -05:00
winkidney
e0bc2e759f Fix: Fix url for tags, refer, url, and id 2019-12-08 12:58:50 -05:00
winkidney
d7ba05103a Feature: Closing for pin-preview works well with auto-close 2019-12-08 12:58:50 -05:00
winkidney
9777c9bd73 Feature: Correct the style for light-box to the center of screen 2019-12-08 12:58:50 -05:00
winkidney
d6e63c19c3 Fix: Should display by default / fix image src property 2019-12-08 12:58:50 -05:00
winkidney
a4ecb0c66f Feature: Add basic framework for light-box-vue 2019-12-08 12:58:50 -05:00
winkidney
5622525bf2 Feature: Remove handlebars as deps 2019-12-08 12:58:50 -05:00
winkidney
99ab3433ef Feature: Remove original pins.html 2019-12-08 12:58:50 -05:00
winkidney
3ee4dc7424 Feature: Add padding for the-end 2019-12-08 12:58:50 -05:00
winkidney
e280c0e6ca Feature: Now the-end and container-height display correctlly 2019-12-08 12:58:50 -05:00
winkidney
765a188717 Fix: Should use newPin's length instead of the old length of pin 2019-12-08 12:58:50 -05:00
winkidney
e1d245f531 Fix: Should not set null if height does not exist 2019-12-08 12:58:50 -05:00
winkidney
5488927222 Feature: Add all pin rendered event to trigger container event 2019-12-08 12:58:50 -05:00
winkidney
78fa0c7e16 Feature: Add on-no-more method to enable "end" display 2019-12-08 12:58:50 -05:00
winkidney
dfcd3f64d5 Feature: hasNext works for pin-loading 2019-12-08 12:58:50 -05:00
winkidney
106c6879e2 Feature: Add scroll-handler for pins 2019-12-08 12:58:50 -05:00