aboutsummaryrefslogtreecommitdiffstats
path: root/includes/extauth
Commit message (Collapse)AuthorAgeFilesLines
* Remove ExternalUser authentication codeChad Horohoe2013-04-043-398/+0
| | | | | | | | | | | | | This was an experimental authentication system intoduced a couple of years ago with a pretty narrow use-case. It's been pretty much ignored since introduction, and makes login more complicated than it needs to be. I didn't drop the external_user table on the off-chance someone out there actually has data in it, but they should use AuthPlugin for their external authentication needs. Change-Id: I794338dbb75961ee033d41fa44bb7aa22e54f447
* Remove a bunch of trailing spaces and unneeded newlinesumherirrender2012-10-191-12/+12
| | | | Change-Id: I7db616db8c969567d420c0161fa207b366e292b6
* Update some deprecated codeSam Reed2011-10-141-7/+8
| | | | | | | | | | | Documentation Fix "/*" comments to "/**" Flesh out some missing returns, change some return types Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/99808
* Revert the dbname -> dbName part of r90430. dbname actually dates back to ↵Tim Starling2011-06-202-3/+3
| | | | | | | r32578 and is referenced in the documentation for $wgDBservers, so it can't be easily changed. We can still kill tablename though, it's not too late. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/90435
* Fixes for r80864 for 1.18 backport:Tim Starling2011-06-202-7/+7
| | | | | | | | * Use camel case in tableName and dbName, dontrunallyourwordstogetherlikethis * Call the function factory() instead of newFromType(), for consistency with the rest of MediaWiki Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/90430
* More documentation tweaks/additionsSam Reed2011-05-261-1/+24
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88926
* Use consistent notation for "@todo FIXME". Should update ↵Siebrand Mazeland2011-05-171-2/+2
| | | | | | | http://svn.wikimedia.org/doc/todo.html nicely. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88355
* Fix for r80864, host not server. Like r87498Chad Horohoe2011-05-061-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/87544
* Remove false related to failfunction...Sam Reed2011-02-021-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/81383
* Followup to r79848 (and really, make it useful...)Chad Horohoe2011-01-241-8/+8
| | | | | | | | | Turn DatabaseBase::classFromType() into newFromType() factory function for constructing a new object based on a given type and (optional) params. Documented it fairly clearly. I think it looks nicer :) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/80864
* Follow up r79848. Fix the syntax error.Platonides2011-01-081-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/79853
* Add DatabaseBase::classFromType() to reduce the 'Database' . $type duplicationChad Horohoe2011-01-071-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/79848
* Remove another setting of failFunction in phase3 in a database constructorSam Reed2011-01-041-1/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/79593
* Cleanup r70571, more strict checks for getCookie() return valuesChad Horohoe2010-08-101-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70814
* * standardised file headersAlexandre Emsenhuber2010-08-083-51/+66
| | | | | | | | * added a basic description * added @file Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70684
* Cleanup getCookie() and use it all over the place instead of using $_COOKIE ↵Chad Horohoe2010-08-061-3/+3
| | | | | | | directly Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70571
* More unused globalsSam Reed2010-07-251-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/69880
* * Added new doxygen group "ExternalUser"Alexandre Emsenhuber2010-01-103-0/+6
| | | | | | | * Fixed some doxygen warnings Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60911
* Begin work on allowing extauth login from cookiesAryeh Gregor2009-12-141-14/+53
| | | | | | | | Still need to actually do the user creation, but some more framework is in place for when I want to continue work. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60029
* More convenient format for $wgExternalAuthTypeAryeh Gregor2009-12-133-3/+3
| | | | | | | | | | | | | Now is the whole class name, not a suffix. This allows you to do things like $wgExternalAuthType::someStaticMethod() instead of having to fiddle with temporary variables. This will obviously break anything that has $wgExternalAuthType already configured, so if that's anyone but me, make sure to fix your configs. This is still experimental. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60017
* vB strips whitespace from passwordsAryeh Gregor2009-12-131-0/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60015
* Add rudimentary MediaWiki support to ExternalAuthAryeh Gregor2009-12-101-0/+139
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/59922
* Add new ExternalAuth mechanism, HardcodedAryeh Gregor2009-12-101-0/+77
| | | | | | | | | | This just lets you enter the database by hand in LocalSettings.php, for testing. Now other people can actually test ExternalAuth without having a vBulletin license. 23 lines not counting whitespace/comments/closing braces, and took me ~20 minutes to write. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/59921
* Add experimental new auth framework, ExternalAuthAryeh Gregor2009-07-191-0/+97
This should not affect any existing behavior. (Except that it reorders some error conditions in attemptAutoCreate(), but probably no one cares about that.) It adds a new database table, but it will be unused unless you enable external authentication. An outline of the rationale for this system, and the design planning, is at <http://www.mediawiki.org/wiki/ExternalAuth>. Essentially, AuthPlugin puts too much of a burden on plugin authors, requiring them to write a lot of policy logic instead of just handling the actual interface to the external user database. This system uses a standard framework to decide policy questions, and auth plugins only need to provide some low-level, clearly-specified data. There are lots of features still missing, marked in the code, but basic functionality is present. The commit includes initial support for one type of external authentication, the forum software vBulletin (which I happen to know well, and want to integrate with my MediaWiki). I'm encouraging the inclusion of ExternalAuth plugins in core because in this framework, the amount of code required to add an additional backend is quite small -- well under 100 lines in this case. I'd hope to see a lot more of these, and it seems unreasonable to make an armada of tiny extensions instead of letting them live happily in their own directory out of everyone's way. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/53497