Commit Graph

117 Commits (2965846ef28e1be6f99e476d723a14fe98dd0977)

Author SHA1 Message Date
Joey Hess 9ff9088636
Remove openid provider icons from login selector
Remove openid provider icons from login selector, since openid providers
are increasingly not working. Verisign retired theirs, and aol and
yahoo/flickr are not commonly used for openid. Any users who still  clicked
those icons to login will need to instead enter their openid url.

This commit was sponsored by andrea rota.
2018-01-05 12:27:46 -04:00
Simon McVittie fc02c7fb69 Add license info to javascript underlay 2016-01-19 11:24:18 +00:00
Simon McVittie 2f6f51cd66 rename icon instead of changing the Javascript
That can take effect on Branchable without rebuilding ikiwiki.deb, and
the shorter name is perhaps nicer anyway.
2015-05-27 09:03:34 +01:00
Simon McVittie f99a4b3545 correct name of emailauth icon 2015-05-27 08:58:21 +01:00
Joey Hess f8add0adb3 rename openid selector files to login-selector 2015-05-13 17:58:59 -04:00
Joey Hess 7765941011 further generalization of openid selector
Now template variables can be set to control which login methods are shown
2015-05-13 17:51:29 -04:00
Joey Hess ab4d9a5467 generalized the openid selector to a login selector
This includes some CSS changes to names of elements.

Also, added Email login button (doesn't work yet of course),
and brought back the small openid login buttons. Demoted yahoo and verison
to small buttons. This makes the big buttons be the main login types, and
the small buttons be provider-specific helpers.
2015-05-13 16:50:44 -04:00
Joey Hess b8851008f1 remove the small buttons for livejournal/flickr/wordpress/aol
None of these are commonly used openid providers, and the openid button
can be used to log in with any such openid provider.
2015-05-13 12:40:36 -04:00
Joey Hess 1b79ccc71b promote the other/password item to a large button 2015-05-13 12:36:38 -04:00
Joey Hess ec72b4c95b When openid and passwordauth are the only enabled auth plugins, make the openid selector display "Password" instead of "Other", so users are more likely to click on it when they don't have an openid. 2015-05-13 12:18:22 -04:00
Joey Hess 738a7a4f41 remove icon for google 2015-04-28 12:28:47 -04:00
Joey Hess aefb780eee Re-remove google from openid selector; their openid provider is gone for good. 2015-04-28 12:24:32 -04:00
Joey Hess ff3c38fa2b rename so linitian can find the unminified versions 2014-08-15 13:11:32 -04:00
Joey Hess 6660fd643b Add google back to openid selector. Apparently this has gotten a stay of execution until April 2015. (It may continue to work until 2017.) 2014-07-03 16:21:47 -04:00
Joey Hess 35be483aa2 fix breakage in last commit 2014-04-30 18:46:18 -04:00
Joey Hess 7faffaa968 Remove google from openid selector, per http://xkcd.com/1361/
Replace with Verisign's openid provider.
2014-04-29 16:27:46 -04:00
Simon McVittie 1d3b2674c8 Replace Verisign logo with one done in Inkscape
Basically just U+2714 HEAVY CHECK MARK on a circle.
2014-02-14 12:27:18 +00:00
Simon McVittie d233fd8a3d replace AOL logo with one done in Inkscape
Their new logotype is really, really easy to imitate.
2014-02-14 12:26:15 +00:00
Simon McVittie cb24ba61e2 Replace Livejournal icon with something vaguely similar
Drawn in Inkscape and released under the IkiWiki basewiki license.
2014-02-14 12:06:16 +00:00
Simon McVittie f75d8e09d2 openid-selector: remove ClaimID
claimid.com says "After 7 years, 6 months, and 20 days of service,
ClaimID has ceased operations".
2014-02-14 11:37:07 +00:00
Simon McVittie 0ce8222190 Replace Wordpress icon with one taken from its Debian package
I was unable to determine a specific author or copyright holder
for this icon, and listing every potential Wordpress copyright holder
in debian/copyright seems ridiculous.
2014-02-14 11:33:10 +00:00
Simon McVittie b0b3bebff6 Replace Google, Yahoo, Flickr icons with versions by Jakub Steiner
Taken from gnome-online-accounts under LGPL-2.1+.
2014-02-14 11:31:07 +00:00
Simon McVittie b8e2c5aaef Remove MyOpenID from OpenID selector
According to their website, their service will be (was?) shut down
on 1st February 2014.
2014-02-14 10:56:43 +00:00
Antoine Beaupré 05decdadcb osm: do not override sorting order of layers
(cherry picked from commit 805498bc838218f31d11efac0b02996b11a953d1)
2012-08-25 10:18:19 -04:00
Antoine Beaupré 636e04a13a make layers an array
this simplifies the code, make the configuration more intuitive, at
the cost of making the labels on the layers automatically generated
and therefore less customizable
2012-08-25 08:53:33 -04:00
Antoine Beaupré c7070ddd48 put google layers in parenthesis 2012-08-25 08:20:31 -04:00
Antoine Beaupré 69467738ed openlayers: use the provided layer name and put the source in parenthesis 2012-08-25 08:20:30 -04:00
Antoine Beaupré 081fd38636 make layers completely customizable 2012-08-25 08:20:30 -04:00
Antoine Beaupré 2fb93db1af simplify local tile code, uniform titles 2012-08-25 08:20:30 -04:00
Antoine Beaupré ac775ef8e7 extend default zoom to 19, OSM's maximum, simplify code 2012-08-25 08:20:30 -04:00
Antoine Beaupré acc4d7d7d6 osm: add optional google maps support
for google maps to work, an API key needs to be added to the configuration
2012-08-25 08:20:30 -04:00
Antoine Beaupré b57cad3131 osm: be explicit about projection of data 2012-08-25 08:20:30 -04:00
Geneviève Bastien 8fb42f42f4 OSM plugin: new config option to specify the url to fetch maps from 2012-08-25 08:20:30 -04:00
Joey Hess 917cdb7ade multiple osm fixes
* fix will_render calls to pass proper relative filenames
* fix urls to kml etc files to not assume wiki's top is at /
* avoid building the javascript to display the map in two different
  ways between the cgi and on-page maps
* refactor duplicate code
2012-03-18 17:07:01 -04:00
Joey Hess 4c6e39cb07 Add a few missing jquery UI icons to attachment upload widget underlay. 2012-03-05 16:54:54 -04:00
Joey Hess 2f013cc0c2 move osm.js to osm underlay and osm does not need javascript underlay 2012-03-03 17:39:02 -04:00
Antoine Beaupré 0f7c148494 move js in the right location 2012-03-03 15:54:19 -05:00
Antoine Beaupré 8bc28be4fa split off the javascript in a separate file 2012-03-03 15:19:29 -05:00
Joey Hess 77344163ed add osm.png
Add an underlay for the osm plugin.

Update links to right path to icon. Note that the osm plugin has a
pervasive bug in how it links to icons; it assumes the site is at /.
I did not attempt to fix that; it should be using urlto() to make a correct
relative link.
2012-03-03 12:16:00 -04:00
Paul Menzel 33e712b78e Bug#660549: ikiwiki: [PATCH] openid-jquery.js: Update URL of Wordpress favicon
From a3041e786fe9e09110218e83e996fe688f8376ea Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepanter@users.sourceforge.net>
Date: Sun, 19 Feb 2012 16:05:33 +0100
Subject: [PATCH] openid-jquery.js: Update URL of Wordpress favicon

The URL for the favicon for Wordpress in the OpenID login page [1] is not valid anymore and gives the following access denied error.

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>C2BF55AE9F76A487</RequestId><HostId>FFmvol84V82UR34uxP1N7pDNGSLWS0QDtLBsP5JKj0GcU//C3jm3TftcIcGzFBbh</HostId></Error>

Looking at the Wordpress site I found a different URL for the favicon [2].

The other URLs only use non-secured HTTP access and therefore I only took the http version, although I do not know about the downsides.

[1] https://ddgw.s3.amazonaws.com/wordpress.org.ico
[2] http://s2.wp.com/i/favicon.ico
2012-02-19 19:26:53 -04:00
Joey Hess 73eb892ba2 jquery source cleanup
* Add unminified jquery js and css files to source.
* Update to jquery 1.6.2, and jquery-ui 1.8.14.

The full files are included in the source but not the binary.

I'm not minifying the files as part of build because I don't want ikiwiki
to build depend on a javascript minifier. (Let alone need one at runtime).
Nor do I want to deal with any breakage caused by the minifier. These
files were taken from the debian packages.

The jquery-tmpl full file was taken from revision
66bb852217c49ae8c9a8f2522150354ae80463de of its git repository, which
matches the minified file I already had. I did not want to deal with possible
breakage in newer versions; this thing claims to need an ancient version of
jquery (1.4.2), and is perhaps only working by luck with the newer versions
as it is.
2011-08-24 16:25:03 -04:00
Joey Hess aef8bef8ac a few more jquery icons 2011-06-21 15:22:35 -04:00
Joey Hess 5f0dfdd1ea move images around
jquery-ui expects to find them in a specific place relative to it
2011-06-15 20:12:16 -04:00
Joey Hess 344a2a2582 jquery-ui icons 2011-06-15 20:04:27 -04:00
Joey Hess c901e1e80c move image 2011-06-15 19:48:33 -04:00
Joey Hess c9781b20bf added jquery templates 2011-06-15 19:33:22 -04:00
Joey Hess f3fd7696cf added jquery-ui for attachment interface 2011-06-15 19:30:34 -04:00
Joey Hess a695b5b2f8 updated jquery and made it its own underlay 2011-06-15 19:15:06 -04:00
Joey Hess e2b43578a6 load attachment javascript into template the clean way 2011-06-15 19:08:40 -04:00
Joey Hess f183fed372 deleted a lot of code ikiwiki does not need
removed most of the css, going for standard plain ikiwiki look

Removed support for image previews, file size limits, delete buttons,
maximum number of files, file size display. Ikiwiki handles all that.

Turned on autoupload.
2011-06-15 18:45:32 -04:00