Tim Starling
304fa750a8
Added $wgInvisibleGroups, to hide groups from Special:Listusers
2006-01-25 12:01:26 +00:00
Erik Moeller
c6596a861f
$value never initialized, I presume $val is meant
2006-01-17 00:51:09 +00:00
Ævar Arnfjörð Bjarmason
47bfff1bd8
* New function: User::getBoolOption() that wraps User::getOption, casts its
...
output to bool and returns it
* Documentation: Documented User::getBoolOption() and User::getOption()
2006-01-08 03:40:48 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7
* s~\t+$~~
2006-01-07 13:31:29 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec
* s~ +$~~
2006-01-07 13:09:30 +00:00
Tim Starling
d736a6af69
removed useless line
2006-01-07 00:37:35 +00:00
Rob Church
a54b50803a
Fix a comment glitch and add one that's missing
2006-01-03 15:58:14 +00:00
Brion Vibber
0f3e2091d1
* Remove unused OutputPage::addCookie()
...
* Set cookies to secure mode based on use of HTTPS or $wgCookieSecure
Note; this currently doesn't override the session cookie params. Set separately
2005-12-26 10:29:22 +00:00
Brion Vibber
e69ea9b6d2
* Added 'PageRenderingHash' hook for changing the parser cache hash key
...
from an extension that changes rendering based on nonstandard options.
2005-12-25 11:04:40 +00:00
Brion Vibber
6ca6524664
* Fix autoconfirm check for old accounts
2005-12-23 01:27:27 +00:00
Brion Vibber
a35fcb0bed
* (bug 1735) Revamped protection interface
...
* (bug 675) Add page protection level for unregistered/new accounts
* User::isNewbie now uses the registration date and $wgAutoconfirmAge
* Log views show message when no matches
2005-12-22 05:41:06 +00:00
Ævar Arnfjörð Bjarmason
7a4f7c9b36
* Make User::isAllowed return true if passed an empty string
2005-12-21 05:15:26 +00:00
Brion Vibber
10dbba6ea3
* Upgrade old skin preferences properly at Special:Preferences
...
(used to spontaneously switch to Classic skin for old numeric pref records)
This one keeps biting me when I log in on wikis I haven't been to in a year
or two, then change prefs.
2005-12-19 23:36:43 +00:00
Brion Vibber
5cfddf9a82
* (bug 3407) Fix encoding of subject and from/to headers on notification
...
mails; userMailer() now takes a MailAddress wrapper object instead of
a raw string to abstract things a level.
2005-12-12 06:04:45 +00:00
Ævar Arnfjörð Bjarmason
380a6661a1
* Implemented a cache for User::getMaxID()
2005-12-09 15:28:57 +00:00
Brion Vibber
d815ca352f
* (bug 4201) Fix user-talk mode for Enotif, and general code cleanup
...
- treat NULL properly in watchlist lookup for notification sending
- consolidate a lot of ugly code that fiddles in those tables
- use user_newtalk consistently in enotif mode; watchlist for email notifications, user_newtalk for on-screen message and status check
- clean up handling of other peoples' user_talk pages when in the talk-only limited enotif: only your own will get sent, not other people watching your page
- and others watching your page _will_ work in watchable enotif mode
- add a watch on page + talk page consistently for the auto-add of the user talk page, not just half the page
- don't unwatch the user talk page on view! that's just wacky
- removed UserTalkUpdate, now redundant
- have User::setNewTalk() apply immediately
- clear newtalk from User::clearNotification() and User::clearAllNotifications()
2005-12-07 11:52:34 +00:00
Tim Starling
e3a3e9bafc
Lazy initialisation of wgProxyList
2005-12-06 13:29:07 +00:00
Antoine Musso
2ca68a256d
Clean up unused globals!
2005-12-04 18:27:59 +00:00
Tim Starling
55671d7040
Faster IP blocks. Requires schema change.
2005-12-01 10:37:47 +00:00
Brion Vibber
a0f70f4f02
* (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
...
Patch by Sven Klemm, http://bugzilla.wikimedia.org/attachment.cgi?id=1104&action=view
2005-12-01 08:15:08 +00:00
Tim Starling
cf21f89a4e
Hack to make page rendering hashes for users who have set their preferences the same as for those who haven't. The numberheadings option didn't have a default, which meant it was initialised to false, but it's set to zero when the preferences are saved. Keeping the legacy anon hash format to avoid cache invalidation.
2005-11-16 15:15:23 +00:00
Brion Vibber
7c82730aa2
* Forbid usernames that can be interpreted as titles with namespaces, as that leads to hard-to-manage names.
2005-11-09 07:56:39 +00:00
Ævar Arnfjörð Bjarmason
3020bf7fd9
* Documentation fix for User::isSysop()
2005-10-26 01:02:21 +00:00
Antoine Musso
6a9bca278b
comment
2005-10-22 21:09:14 +00:00
Brion Vibber
219094eb01
Committing various live hacks from Wikimedia servers
2005-10-22 20:52:30 +00:00
Ævar Arnfjörð Bjarmason
d6ffc09d59
* (bug 3631) Fixed a critical security issue
2005-10-08 20:15:36 +00:00
Tim Starling
a7796f3b9e
Committed patch by Ting Chen to fix bug #856 (Auto-IP blocks last past the original block length).
2005-10-08 14:45:51 +00:00
Tom Gilder
c5b8bab5b4
Patch for 3592: unnecessary instantiation of User
2005-10-06 23:16:28 +00:00
Tim Starling
9260c3b7ca
Deferred initialisation of $wgIP, because it's potentially slow, especially if and when we add the 200 NTL proxies to the trusted XFF list. I was hoping to avoid initialisation altogether for anonymous page views, but that turns out to be difficult because of user_newtalk. It is, however, avoided for action=raw. Tested page view, newtalk, IP registration in history and recentchanges, IP block, autoblock and Special:Version.
...
Also moved the old proxy scan code from EditPage.php to a more appropriate location in ProxyTools.php.
2005-09-05 02:22:20 +00:00
Tim Starling
2eda38afac
Function names on queries, some debugging output (latter not by me)
2005-08-23 16:50:39 +00:00
Tim Starling
e509893941
Made BlockCache::loadFromDB() 100x faster. Wasn't an issue before ryo commented out the memcached bits, but since then, it was adding 1100ms to the save time
2005-08-21 06:07:48 +00:00
Brion Vibber
af2177edfd
Code cleanup: normalize case for intval(), strval(), floatval() calls.
2005-08-16 23:36:16 +00:00
Ævar Arnfjörð Bjarmason
74439c759d
* Correct $fname
2005-08-15 09:21:35 +00:00
River Tarnell
b817c0c15f
merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively.
2005-08-02 13:35:19 +00:00
Jens Frank
ae4983dc16
Moved password encryption algorithm to GlobalFunctions.php to make it useable for other parts of the code
2005-07-26 16:09:00 +00:00
Tim Starling
ee423f57a9
committed live hack, we have to make sure MediaWiki does actually work out of the box
2005-07-25 07:06:46 +00:00
Brion Vibber
e4480a80af
* (bug 2943) AuthPlugin::getCanonicalName() name canonicalization hook, patch from robla
...
http://bugzilla.wikimedia.org/show_bug.cgi?id=2943
http://bugzilla.wikimedia.org/attachment.cgi?id=739
2005-07-24 09:48:14 +00:00
River Tarnell
a14ffdcfb9
allow 'uselang' and 'useskin' to be specified in the URL parameters, with
...
some obvious effect.
2005-07-24 06:55:45 +00:00
Brion Vibber
a29a30b15e
Revert commit 1.171. This is extension code, I'm not sure why it's checked in to core. Also uses wrong syntax for database fields.
2005-07-16 00:06:51 +00:00
Ævar Arnfjörð Bjarmason
d173521144
* A new function: editsByNs( $uid ) that uses the SQL from Kate's edit counter
2005-07-14 17:56:30 +00:00
Ævar Arnfjörð Bjarmason
503cdc1080
* Added a new function, edits(), for counting contributions.
2005-07-09 16:59:00 +00:00
Tim Starling
6e6e0ae540
new feature: $wgBlockAllowsUTEdit
2005-07-07 21:40:25 +00:00
Niklas Laxström
22b7e7c831
* (bug 2534) Hide edit sections with CSS to make right click to edit section work
...
* Remove some unneeded stuff!?
2005-07-05 19:15:13 +00:00
Brion Vibber
74fd7962bf
* (bug 2629) Automatically capitalize usernames again instead of
...
rejecting lowercase with a useless error message
2005-07-01 21:47:23 +00:00
Brion Vibber
a67c0fc809
fix notice warning in some configs
2005-07-01 21:05:39 +00:00
River Tarnell
d31536de0e
initialised variable
2005-07-01 09:35:51 +00:00
Ævar Arnfjörð Bjarmason
7666ef1c37
* Fixed a bug that would occour if $wgCapitalLinks was set to false, a user
...
agent could create a username that began with a lower case letter that was
not in the ASCII character set ( now user $wgContLang->ucfirst() instead of
PHP ucfirst() )
* Moved the user name / password validity checking from
LoginForm::addNewAccountInternal() to two new functions,
User::isValidUserName() and User::isValidPassword(), extensions can now do
these checks without rewriting code.
2005-06-27 06:33:45 +00:00
Brion Vibber
d4cd932fcb
* (bug 2538) Suppress notice on user serialized checks
2005-06-26 18:58:51 +00:00
Brion Vibber
ed80f7e10f
Serliazed version check on user records in memcached
2005-06-26 07:00:09 +00:00
Tim Starling
3470dee2f5
__sleep() function, just like in 1.4, for the same reasons (i.e. caching bug)
2005-06-25 13:41:59 +00:00