Commit Graph

71 Commits

Author SHA1 Message Date
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
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
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
8f66cd719c Reimplement image uploading 2016-02-25 02:26:45 +00:00
Isaac Bythewood
5cda896eed Fix error message classes 2016-02-04 19:29:48 +00:00
Isaac Bythewood
9185e946ac Fix height of lightbox 2016-02-04 19:26:09 +00:00
Isaac Bythewood
69ccee06cc Merge pull request #83 from lapo-luchini/bookmarklet2
bookmarklet improvements to the image preview
2016-02-03 20:36:24 -05:00
Isaac Bythewood
51c6e58fc5 Use bower to handle js vendor dependencies 2016-02-04 01:28:39 +00:00
Isaac Bythewood
db34087da8 Merge pull request #76 from lapo-luchini/description
Improve description text rendering
2016-02-03 19:34:09 -05:00
Jens Gutermuth
58ea025c03 Case insensitive sorting of tags in javascript 2015-03-22 23:59:42 +01:00
Lapo Luchini
ac8419d749 Improvements to the image preview:
- show the image size on top of the preview.
- scale down the preview to view (most) of the image instead of just the center.
2015-01-20 10:24:27 +01:00
Lapo Luchini
9e901485ee Allow closing pinry with ESC or clicking on header.
On close, remove the script as well as the images.
2015-01-20 10:18:58 +01:00
Lapo Luchini
259d699551 Remove race condition waiting for proper event instead of fixed time. 2014-11-23 20:25:59 +01:00
Lapo Luchini
212dd7f819 Make links clickable and only show the domain in the text. 2014-11-23 20:14:20 +01:00
Lapo Luchini
e2f61176dd Properly encode query string parameters. 2014-05-28 16:10:08 +02:00
Lapo Luchini
e1e2c07f2b getUrlParameter fixes as in http://stackoverflow.com/a/8764051/166524 2014-05-28 16:09:22 +02:00
Lapo Luchini
a2ab9a2b8c Use .src to get absolute URL as calculated by the browser. 2014-05-28 15:58:00 +02:00
Lapo Luchini
0549bb5113 Use jQuery as soon as it is loaded. 2014-05-28 15:47:55 +02:00
Tyler Stalder
c3d998654f Use jQuery because you're checking for window.jQuery
Some sites put jQuery into noConflict mode and don't bind to $. One example is http://shop.timberland.com/ so the pinry bookmarklet would not work. It will throw a 'document does not have a method ready' error. This change just wraps all of the jQuery specific code to use the current jQuery as $.

http://api.jquery.com/jQuery.noConflict/
2013-11-24 17:51:08 -08:00
Isaac Bythewood
50d61af22a Move to bootstrap 3, better design, move all vendor items local. 2013-09-24 23:02:00 +00:00
Isaac Bythewood
795a905596 Added Original URL and Pin URL to lightbox of items. 2013-09-24 19:24:12 +00:00
Krzysztof Klimonda
defbd50445 Don't load Pins "in background" when lightbox is active.
Remove the scroll event handler when lightbox is active, so pins are
not loaded in background breaking the page layout.
2013-04-14 15:51:39 +02:00
Isaac Bythewood
cecc88f068 Refactor loading pins part of pinry.js to fix some bugs 2013-04-05 18:50:06 +00:00
Isaac Bythewood
c8f0d6b1d6 Fix bug of multiple of same images loading sometimes 2013-04-05 18:30:14 +00:00
Isaac Bythewood
4f8139f615 Fix bug in sometimes loading the same pins again because the offset is not increased outside of "success" 2013-03-20 21:02:28 -03:00
Krzysztof Klimonda
51ba441af5 Call lightbox() when new pin is created
We have to call lightbox() when new pin is created so its
onClick listener is registered.
2013-03-19 19:23:50 +01:00
Krzysztof Klimonda
8fa7583b0f Call tillLayout when adding a new pin 2013-03-12 15:01:22 -07:00
Isaac Bythewood
026b5dcd88 Now shows messages from django 2013-03-12 06:38:47 +00:00
Isaac Bythewood
28c791fd1e Pins are now editable 2013-03-12 06:12:09 +00:00
Isaac Bythewood
bcf480e639 Add fade to edit buttons and fix queueing of animation 2013-03-12 05:05:43 +00:00
Rober Torkuhl
812358e31b use jQuery.off() instead od deprecated .unbind() function 2013-03-09 21:59:39 +01:00
Rober Torkuhl
0a5ed2b049 remove doubled event listeners 2013-03-09 21:39:40 +01:00
Rober Torkuhl
9bbc0d19ce show edit buttons only on mouse over 2013-03-09 21:39:01 +01:00
Isaac Bythewood
1d8b2b151a Scroll bookmarklet to the top 2013-03-05 22:05:04 +00:00
Isaac Bythewood
dedf33183b Improve bookmarklet form 2013-03-05 22:02:35 +00:00
Isaac Bythewood
37de6ecb93 Improve error message system and add errors to basic functions 2013-03-05 21:25:08 +00:00
Isaac Bythewood
1538579fe5 Fix issue with lightbox background not expanding properly and bottom footer being off in lightbox 2013-03-05 20:44:23 +00:00
Isaac Bythewood
0f9b1639ad Improve the loading of pins and overall speed 2013-03-04 00:50:59 +00:00
Isaac Bythewood
9a6d540a86 Bug fix submitter filter 2013-03-03 22:48:30 +00:00
Isaac Bythewood
248bd25a04 Move private to users, add user filtering to JS 2013-03-03 22:47:25 +00:00
Isaac Bythewood
3420608730 CSS refactors to improve readability 2013-03-03 22:32:22 +00:00
Isaac Bythewood
13829866d1 Fix bug in appending jQuery if needed. 2013-03-03 11:06:22 -05:00
Isaac Bythewood
08410ba50d Spinner doesn't show if there are no more pins to load 2013-03-03 14:34:33 +00:00
Isaac Bythewood
6abb1ffe88 Allow pin deleting from interface 2013-03-03 14:30:13 +00:00
Isaac Bythewood
39aa6818f2 Tags sends [] instead of null 2013-03-03 13:56:06 +00:00