Commit graph

496 commits

Author SHA1 Message Date
Brion Vibber
c6a91a002d Revert r45450, r45451 "(bug 2242) Introduce expiry time for temporary passwords."
<b>Notice</b>:  Undefined variable: wgNewPasswordExpiry in <b>/Library/WebServer/Documents/trunk/includes/User.php</b> on line <b>2710</b><br />
2009-01-07 03:54:29 +00:00
Chad Horohoe
b4f1376fc2 (bug 2242) Introduce expiry time for temporary passwords. 2009-01-06 16:21:44 +00:00
Aaron Schulz
d5ff477372 (bug 16579) Check if session is set 2009-01-03 16:40:21 +00:00
Aaron Schulz
1f3f314609 (bug 14737) Allow the autoconfirmed timer to run from the first edit 2009-01-03 12:53:08 +00:00
Alexandre Emsenhuber
1da88add83 Fix for r45238: remove interwiki right from User::$mCoreRights 2009-01-01 14:46:32 +00:00
Victor Vasiliev
3753eb574e * Put restricted image moving back, with Brion's permission 2009-01-01 02:03:09 +00:00
Brion Vibber
be53330439 Revert r45197 "* Enable image moving by default. All known serious issues seem to be fixed."
Don't want to do this just yet, we're in the middle of testing things.
2008-12-31 22:12:09 +00:00
Brion Vibber
2190984466 Revert r45231, r45235 "* (bug 674) Allow users to be blocked from editing a specific article"
Unexpected schema changes in the middle of code review and run-up to 1.14 freeze
2008-12-31 18:56:16 +00:00
Victor Vasiliev
1f67478d1f * (bug 674) Allow users to be blocked from editing a specific article
** Also supports blocking user from editing whole namespace
** Fixed most issues which were found before
2008-12-31 17:25:47 +00:00
Victor Vasiliev
e3ea7d63e8 * Enable image moving by default. All known serious issues seem to be fixed.
* Create "movefile" permission
* Restrict image moving to sysops till we are absolutely sure it works correctly.
2008-12-30 19:02:51 +00:00
Alexandre Emsenhuber
6b21abd4f5 Missing rights: move-rootuserpages, move-subpages 2008-12-28 21:24:51 +00:00
Alexandre Emsenhuber
c05f2b86e9 Tweaks to Special:Interwiki:
* Splitted SpecialInterwiki::execute() in multiple functions
* using OutputPage::addWikiMsg() and OutputPage::wrapWikiMsg() when possible
* using $res->fetchObject() and $res->free() rather than $dbr->fetchObject() and $dbr->freeResult()
* Removed 'interwiki' restrict passed to parent::__construct() so that it appears in Special:SpecialPages for everybody
* Added missing 'interwiki' entry to User::$mCoreRights
2008-12-27 13:35:55 +00:00
Ryan Schmidt
d6a2ba6f34 * adding two hooks UserCryptPassword and UserComparePasswords to allow extensions to change how passwords are hashed in the database 2008-12-19 23:18:44 +00:00
Brion Vibber
0b8a3cceec Reverting r44681 "Throw in quick hack $wgRateLimitsExcludedIPs so we don't have to do a live hack every time somebody runs an exciting event where they're going to register a lot of accounts."
r44592 (bug 7492) seems to cover this case with an extension to autopromote settings. Future on-wiki stuff still would be nice...
2008-12-17 00:05:55 +00:00
Brion Vibber
4bf384a4df Throw in quick hack $wgRateLimitsExcludedIPs so we don't have to do a live hack
every time somebody runs an exciting event where they're going to register
a lot of accounts.
Should be killed and replaced with an on-wiki system for approvals or temporary lifting of limits as a sort of anti-block.
2008-12-16 18:43:42 +00:00
Alexandre Emsenhuber
eb9f8877cb * Fixed doxygen warning in Article.php and User.php
* fix in Doxyfile
2008-11-30 10:10:15 +00:00
Alexandre Emsenhuber
7bb2cada63 * fixed Doxygen errors in Database.php, DatabasePostgres.php, DatabaseOracle.php and DatabaseMssql.php
* renamed \2types and \3types both to \types (with different number of param), Doxygen doesn't seem to like numbers in aliases
* Added aliases for @private, @protected and @public
2008-11-29 18:50:39 +00:00
Roan Kattouw
70e0646bf0 API: (bug 16421) Actually do user name normalization in list=logevents. Also fix up User::idFromName so it doesn't think "Talk:Catrope" isn't the same user as "Catrope" 2008-11-22 15:46:36 +00:00
Aaron Schulz
a34dd23265 Remove duplicate group rights 2008-11-21 00:45:43 +00:00
Brion Vibber
a9fb7a25b9 Reverting r43581 "Added a new user right called "alwaysuseskin" that allows the user to use and set their configured skin even if the wiki administrator has
chosen to disable user skins for the rest of the wiki. Req. by Alexfusco5."

Seems a little weird to me; I'm not quite sure the use case. :)

Comments on the revision note that it needs documentation as well, and the name is a bit weird. If it is needed/desireable it might be better to just replace $wgAllowUserSkin with a right 'useskin' or something.
2008-11-17 19:51:53 +00:00
Charles Melbye
ae59bad3d8 Added a new user right called "alwaysuseskin" that allows the user to
use and set their configured skin even if the wiki administrator has
chosen to disable user skins for the rest of the wiki. Req. by Alexfusco5.
2008-11-16 20:57:21 +00:00
Siebrand Mazeland
5fd152f7dc (bug 15761) Add user toggle to omit diff after rollback. Patch by FunPika. 2008-11-02 23:44:18 +00:00
Charles Melbye
3eeefca79a Made it so that users can't test out skins if user skins are disabled (per
Werdna), and user skin selection has now been disabled on the preferences
special page, with a notice on top telling why that happened.
2008-11-01 06:09:08 +00:00
Charles Melbye
f94d44dfe9 Added a new configuration option: $wgAllowUserSkin 2008-11-01 04:39:31 +00:00
Andrew Garrett
aae9d4aa02 Revert r38686, per comments on CodeReview (in brief, the backslashes and such are very annoying. This is not LaTeX!). Took quite a bit of conflict resolution. 2008-10-20 04:24:39 +00:00
Brion Vibber
65bbc14783 * (bug 1306) 'Email user' link no longer shown on user page when emailing
is not available due to lack of confirmed address or disabled preference
2008-10-17 22:20:07 +00:00
Jason Richey
366b80bc3e added a check for a null value when adding session values 2008-10-15 22:12:46 +00:00
Ryan Lane
d1aea11ffd Removing $result from UserLoadAfterLoadFromSession hook, as it was unused. 2008-10-13 19:23:27 +00:00
Aaron Schulz
588e9233b5 Add debug log item for r42040 2008-10-13 19:13:54 +00:00
Ryan Lane
ff4aab04c5 Adding hook UserLoadAfterLoadFromSession to fix bug 14178 2008-10-13 19:00:54 +00:00
Aaron Schulz
03724e14a3 (bug 6464) Check for session id collisions by checking cookie user ID against session user ID 2008-10-13 18:41:09 +00:00
Aaron Schulz
cb7647fce8 Comment out accidentally committed code from r42020; didn't mean to commit just yet 2008-10-13 15:02:02 +00:00
Aaron Schulz
daefe66096 Refactor sendToUDP() some more 2008-10-13 06:17:42 +00:00
Aaron Schulz
fc0a7303cd * Make $user->invalidateCache() get the Id if needed
* Remove redundant cache clearing in renameuser
2008-10-11 21:06:21 +00:00
Aaron Schulz
5e326c34b5 Partial revert of r41527. Do this in a cleaner way. 2008-10-05 02:45:12 +00:00
Aaron Schulz
326e4d86c4 * Pull isLocked() and isHidden() up to User using callbacks
* Add quick globalblock check function to User
* Add 'locked'/'globally blocked' notices to checkuser (bug 15272) (bug 15792)
2008-10-02 01:12:07 +00:00
Brion Vibber
5127e19626 Revert r41352-41355, r41362-41363: unauthorized schema change breaks parser tests 2008-09-30 00:07:04 +00:00
Matt Johnston
cf0521a6b0 Fix r41248 (bug 8440) - Default should be 1 to allow for previous behaviour to continue. 2008-09-29 23:16:34 +00:00
Victor Vasiliev
bd915073f9 * Fix caching
* Fix messages
2008-09-28 19:34:14 +00:00
Victor Vasiliev
bec6903108 * (bug 674) Allow users to be blocked from editing a specific article
** Also supports blocking user from editing whole namespace
* Replace ugly ipboptions parsing code in Title.php with a simple message

Requires schema change (I showed it to Tim Starling).
2008-09-28 16:08:18 +00:00
Aaron Schulz
047a74e175 Remove validation step that removes prefix if validation is off (for bug 12654) 2008-09-28 01:41:59 +00:00
Matt Johnston
08e561abb9 (bug 8440) Allow preventing blocked users from editing their talk pages
* Adds database field to ipblocks table, ipb_allow_usertalk, storing whether or not the user can edit their own talk page. Defaults to 0 to coincide with the default value of $wgBlockAllowsUTEdit.
* Recommended to update all current blocks to have a allow_usertalk value of whatever the current setting is
* Retasks $wgBlockAllowsUTEdit to be the default value of the field in the blocking screen - unless a sysop changes the checkbox, will use whatever that variable is set to.
2008-09-25 11:45:26 +00:00
Tim Starling
6f6d09b0e4 Fix docs for r41150, remove commented-out code, remove superfluous brackets in "new" expressions. 2008-09-24 08:46:18 +00:00
Aaron Schulz
9f5955b76b Apply account creation blocks to users (bug 13611) 2008-09-22 13:21:53 +00:00
Tim Starling
68d860de56 Fix fatal error, addNewUserLogEntryAutoCreate is invoked non-statically from CentralAuth and uses $this 2008-09-20 05:32:30 +00:00
Tim Starling
2c383293c6 Remove rage, looks unprofessional. 2008-09-20 03:49:48 +00:00
Aaron Schulz
56011425fd Clean up inDnsBlacklist() 2008-09-19 11:42:24 +00:00
Alexandre Emsenhuber
b7d18e82a5 Fix for r40937 (and per talk with brion): merge the RenderHash extension in core 2008-09-17 18:36:49 +00:00
Andrew Garrett
ddee87204e Work around misconfiguration by requiring strict comparisons for in_array in User::isAllowed(). See wikitech-l. 2008-09-17 07:26:34 +00:00
Fran Rogers
a4d2cca85c Reverted r40771 for now - causes problems with CentralAuth 2008-09-15 05:04:16 +00:00