Commit Graph
63 Commits
Author SHA1 Message Date
Patrick Quist 68a4e960e5 Update sharing.js 2018-11-20 00:29:03 +01:00
Rubén Rincón Blanco ef64df9d70 Change twitter share via 2018-11-19 23:46:21 +01:00
RabsRincon ea1984391d Improve popover element detection on share window 2018-10-30 16:19:03 +01:00
RabsRincon d43aa2b4cf Add spacing to social sharing icons
As suggested on Twitter by @BobTP
2018-10-21 17:22:52 +02:00
RabsRincon ca276f04f6 Update Share popup 2018-10-07 15:57:32 +02:00
RabsRincon 85250dec67 Upgrade Diff view and fix libraries 2018-10-01 17:09:06 +02:00
RabsRincon e5b1956162 Initial work on bootstrap update
Horrible for now. Most things barely work.
2018-10-01 00:52:20 +02:00
Matt Godbolt 1485206903 Store URL state maps more directly, fix a few comments 2018-08-16 17:31:00 -05:00
RabsRincon b34a6fb5d2 Set current url to last short link & optimize gl 2018-08-13 20:55:00 +02:00
RabsRincon 4d8592935e Fix reset UI link & pending request on error 2018-08-13 14:55:37 +02:00
RabsRincon 420ad7ba95 Make Short links default choice 2018-08-13 09:30:39 +02:00
RabsRincon e31daa71c2 Try to fix page reload behaviour seen in beta 2018-08-12 20:16:35 +02:00
RabsRincon 7c2e678383 Bring back Full urls 2018-08-12 18:36:47 +02:00
RabsRincon 45d6a74788 Simplify /z/ handling 2018-08-12 16:33:37 +02:00
RabsRincon 3be2096775 Fix abnormal size of share icons 2018-08-12 15:46:29 +02:00
Matt Godbolt ff2892031f Shorten links to /z/BLAH 2018-08-11 12:59:57 -05:00
Rubén 93b9db2329 Merge branch 'master' into storage 2018-08-10 10:50:29 +02:00
RabsRincon af14e8a9a0 Rename shortener path from /s to /shortener 2018-08-10 10:49:06 +02:00
RabsRincon a5610c14ee Fix cause for second GET request being sent to / 2018-08-10 09:03:04 +02:00
RabsRincon 418bff35f3 Separate s3 and local. Implement some Matt ideas 2018-08-05 02:48:37 +02:00
RabsRincon 5e131d6009 Add initial own storage work 2018-07-31 14:06:04 +02:00
RabsRincon 9845018823 Fix GA events not properly working 2018-07-28 19:39:54 +02:00
Matthew Webb 68401b6aa7 removed boilerplate toggle for existing toggle for Share dropdown 2018-07-24 13:55:55 -05:00
Matthew Webb 33e7790dbd switched nav-bar Share popover to toggle visibility (following other popover patterns) 2018-07-24 08:44:23 -05:00
Matthew Webb 037e9124ac fixed nav-bar Share overlapping other dropdowns 2018-07-23 23:20:18 -05:00
RabsRincon 7fd8fb7e32 Fix bad require path 2018-07-17 07:51:04 +02:00
RabsRincon ca793a4178 Rename views folder to pane 2018-07-17 07:23:59 +02:00
RabsRincon 79f3e90535 Reestructure static with new views and mode dirs 2018-07-16 07:48:47 +02:00
RabsRincon f6e9c6392f Add some initial GA events 2018-07-15 20:08:00 +02:00
Matt Godbolt ee79919d65 Pop up privacy policy if the user hasn't seen it, or if it's changed 2018-07-14 15:16:49 -05:00
RabsRincon c4b9cd3534 Directly open Privacy pane & link improvements 2018-07-14 21:23:07 +02:00
RabsRincon d402a53275 Add sketch of how we to communicate privacy policy 2018-07-14 20:31:50 +02:00
RabsRincon 68af50300a Address some PR comments
Paths are still broken
2018-07-12 01:40:21 +02:00
RabsRincon 491c6e0dfc Prettify social sharing buttons 2018-07-02 10:38:50 +02:00
RabsRincon d5222ce2ed Tweak dropdown social sharing css
This now makes the Share popup ones even uglier, but that's fixable
2018-07-02 09:14:05 +02:00
RabsRincon f9f61719d4 Move to an own version of social sharing
It looks quite bad right now, but gets the job done
2018-07-02 08:47:03 +02:00
RabsRincon fe13a5477b Move social sharing to Shariff
Content is now statically loaded, no 3rdparty js at all.

This does add Font Awesome, which I do not like as it adds
	an unnecessary amount of icons we don't use at all.

We can either move to a solution that does not use Font Awesome,
	(by maybe forking Shariff?), or switch from glyphycon
	to Font Awesome.

Note that Bootsrap 4 did just that (From Glyphicon to FontAwesome),
	so maybe it's not that bad?
2018-06-28 00:48:11 +02:00
Anders Waldenborg acb7327520 Allow changing url shortening service
This changes so that the name of the module used to do url shortening is
based on an property from configuration.

By default this new 'urlShortenService' property has the value 'none',
which will make it use the 'urlshorten-none.js' module which never
shortens the url. The previous 'urlshorten-google.js' module is
activated by setting it to 'google'.

Hopefully this makes it easy for an standalone compiler-explorer
installation to use an internal url shortening service to avoid leaking
source outside of the organization.
2018-03-19 16:53:04 +01:00
Anders Waldenborg ca8efc4572 Make existence of 'Short' share link clientside decision
Move checking of google api key into urlshorten-google module so it is
entirely decided in that module if it can shorten or not.

If the urlshorten module returns a falselike object the corresponding
like with dynamically be removed.

This refactor will make it easier to drop in an alternative url
shortening service. It also has the side effect that when google url
shortening fails the 'Short' link will not be shown with a non-shortened
url.
2018-03-19 16:53:04 +01:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
RabsRincon 35e4dfc77a Let the user know we're loading the short url 2018-02-16 16:52:45 +01:00
RabsRincon 670afd8921 Move to ESLint
Somewhat compilant!
2018-02-13 14:49:07 +01:00
RabsRincon 62e68304e9 Format files 2018-02-07 23:58:21 +01:00
jaredwy 2e612c4216 Fixing a sharing bug that was including a url from node modules not static 2018-01-31 19:03:37 +11:00
jaredwy 70556a6c65 first pass at using webpack/yarn rather than bower and require.js 2018-01-28 19:09:33 +11:00
RabsRincon fc75208dac New year, new date 2018-01-01 16:44:04 +01:00
jaredwy 2f79045700 Update to use bigint library to be able to properly display greater than 2^53 2017-04-29 10:12:02 +10:00
Rubén Rincón 3a41af0f55 Url Too Long to be shortened (How ironic...) Alert is now a notification. 2017-03-30 20:39:39 +02:00
Matt Godbolt 1c084ea6f4 IntelliJ autoformat 2017-03-15 07:43:01 -05:00
Rubén Rincón 7215153b63 Fixes tests. I tought Javascript was ok with that separation. Well, you learn something new every day 2017-03-14 18:04:31 +01:00