Commit Graph

90 Commits

Author SHA1 Message Date
winkidney
c2050fa76f Feature: Use function instead of logic in mounted function 2019-12-08 12:58:50 -05:00
winkidney
7d4bd51804 Feature: Generate abs-position for pins in row 2019-12-08 12:58:50 -05:00
winkidney
c335a3dcb8 Feature: Add style for image 2019-12-08 12:58:50 -05:00
winkidney
db2d7ce9ef Feature: Render pins by ourself without help of third-party's help 2019-12-08 12:58:50 -05:00
winkidney
5a57cadcf3 Feature: Add basic frame for pin-resize 2019-12-08 12:58:50 -05:00
winkidney
01bac724d6 Feature: Implements FadeIn and Fadeout for specified pin 2019-12-08 12:58:50 -05:00
winkidney
6318500594 Feature: Initial commit for waterfall component by vue 2019-12-08 12:58:50 -05:00
winkidney
c2515542da Feature: Add vendor vue-waterfall 2019-12-08 12:58:50 -05:00
winkidney
0565d9985e Refactor: Use thisPin instead this in pin-event binding 2019-12-08 12:58:50 -05:00
winkidney
1d739aca54 Fix: Use class instead of element name for star action 2019-12-08 12:58:50 -05:00
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
Lapo Luchini
9356824b9b Remove references to jQuery
Actual dependency was already removed in ddf2891480.
2019-12-02 19:34:28 +01:00
winkidney
12d3811af9 Fix: Add currentUser for pin-form creation page 2019-04-28 16:57:56 +08:00
winkidney
a5a876b1aa Fix: Fix context name-conflicts for user-page 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
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
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