From 00753ec6f8bf2d7352f2b0e56694771d1728a470 Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 19 Jun 2018 13:18:21 +0200 Subject: [PATCH] Experiment to allow OAuth authentication to run via getgreenshot.org, this makes it possible to leave out the embedded browser in Greenshot and use the default browser, solving a lot of issues. --- _includes/oauth-out-of-bounds.html | 8 ++++++++ _layouts/oauth.html | 7 +++++++ pages/oauth-imgur.html | 13 +++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 _includes/oauth-out-of-bounds.html create mode 100644 _layouts/oauth.html create mode 100644 pages/oauth-imgur.html diff --git a/_includes/oauth-out-of-bounds.html b/_includes/oauth-out-of-bounds.html new file mode 100644 index 000000000..57b58ca87 --- /dev/null +++ b/_includes/oauth-out-of-bounds.html @@ -0,0 +1,8 @@ + diff --git a/_layouts/oauth.html b/_layouts/oauth.html new file mode 100644 index 000000000..979179c49 --- /dev/null +++ b/_layouts/oauth.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +

{{ page.title }}

+ +{{ content }} \ No newline at end of file diff --git a/pages/oauth-imgur.html b/pages/oauth-imgur.html new file mode 100644 index 000000000..0f6b00d46 --- /dev/null +++ b/pages/oauth-imgur.html @@ -0,0 +1,13 @@ +--- +layout: oauth +title: Greenshot authenticated with Imgur | +permalink: /oauth/imgur +categories: [oauth] +comments: [] +--- +{% include oauth-out-of-bounds.html %} +

+Greenshot should now be authenticated to use Imgur, you can close this window. +

+We are happy that you use Greenshot. If you like it, please consider to support the development of this open source screenshot tool with a donation.

+{% include donate.html %}