Wiki: Difference between revisions

From NURDspace
Line 20: Line 20:
* <s>Migrate current users to [[LDAP]] (including password [http://www.gossamer-threads.com/lists/wiki/mediawiki/101789 if possible] and use LDAP for [http://www.mediawiki.org/wiki/Extension:LDAP_Authentication authentication] from then on.</s>
* <s>Migrate current users to [[LDAP]] (including password [http://www.gossamer-threads.com/lists/wiki/mediawiki/101789 if possible] and use LDAP for [http://www.mediawiki.org/wiki/Extension:LDAP_Authentication authentication] from then on.</s>
* Build a todo scraper to summarize all todo's on different pages
* Build a todo scraper to summarize all todo's on different pages
* Fix space status updates. It is now cached and will update on refresh (and possibly on other triggers???). It looks like it's impossible to turn off caching on a single page :<


== Status ==
== Status ==

Revision as of 03:36, 30 March 2014

This page is about the very wiki you're currently reading. It can hold ideas, thoughts, discussions, and feature requests.

Tips

Feature requests

  • http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks
  • Single sign-on for this wiki and future stuff
  • Ajax support for space state
  • Keep edits marked as 'minor edit' out of the RSS to reduce spam on IRC 'hideminor' => 1 in ~/includes/DefaultSettings.php
  • Use http://www.mediawiki.org/wiki/Extension:Include to get rid of the iframe for the PingScan (ExternalData and converting the pingscan output to JSON could also work) and the homepage. The security risks can be controlled now that users can only be created in the LDAP and the use of the Include extension can be limited to certain URL's/domains in LocalSettings.php.
  • Make spaceapi output available as XML as well to include it on the homepage with ExternalData.
  • "Watch"-link on pages does nothing: pages don't appear on the Special:Watchlist. (it does work when you open the "watch" link in another tab/window)
  • CSS tweaking so H2 (==) doesn't look bigger than H1 (=). Same for H3 vs H2.
  • http://www.mediawiki.org/wiki/Extension:MsUpload for nice inplace uploads with drag&drop
  • Remove the captcha, new users are impossibru now

Todo

  • SSL
  • Migrate current users to LDAP (including password if possible and use LDAP for authentication from then on.
  • Build a todo scraper to summarize all todo's on different pages
  • Fix space status updates. It is now cached and will update on refresh (and possibly on other triggers???). It looks like it's impossible to turn off caching on a single page :<

Status

The wiki can read information from the LDAP through the External Data extension. This is in the LocalSettings.php:

#LDAP lookups
$edgLDAPServer['ldap.nurdspace.nl'] = "ldaps://ldap.nurdspace.nl/";
$edgLDAPBaseDN['ldap.nurdspace.nl'] = "dc=nurdspace,dc=lan";
$edgLDAPUser['ldap.nurdspace.nl'] = "cn=read-user,ou=systems,dc=nurdspace,dc=lan";
$edgLDAPPass['ldap.nurdspace.nl'] = "xxxxxxx";

You can list information from a single entry like so:

{{#get_ldap_data:
domain=ldap.nurdspace.nl
|filter=(uid=username)
|data=CommonName=cn
}}

{{#external_value:CommonName}}

Here "cn" is the name of the attribute in the LDAP for the entry where attribute "uid" has value "username". This gives the attribute the local variable name "CommonName" which is then displayed by the template.