Commit graph

134 commits

Author SHA1 Message Date
Tim Starling
7e0484fb87 Support for SORBS DNSBL 2005-03-28 15:19:24 +00:00
Tim Starling
f21b45c57e moved call to spreadBlock() to getBlockedStatus(). This means one less query per logged-in page view. It also means blocked users will only have their IP address blocked if they edit, rather than just viewing pages. 2005-03-27 16:30:00 +00:00
Brion Vibber
fad4b5928d * Move editsectiononrightclick setup to JavaScript (it requires JS anyway)
This lets us use the same parser cache for both settings of this option.
2005-03-25 12:37:19 +00:00
Brion Vibber
e69fe0c5a2 * do showtoc option via CSS hiding of toc when it's off.
This lets us use the same parser cache for either setting.
2005-03-25 09:35:59 +00:00
Brion Vibber
a9ec0acd3d * remove 'hover' option; always put in the title attribute on links
* convert 'hightlightbroken' to use CSS switching so we don't need a separate parser cache copy of each page depending on this setting
  ?-mode falls back to normal rendering in IE 6/win
  ?-mode looks crappy in IE 5.2/mac :(
2005-03-25 07:25:49 +00:00
Tim Starling
dcc59642de removed commented-out sections 2005-03-20 06:05:43 +00:00
Tim Starling
82bb4aaab6 Making the secret key source a bit more robust for existing installations 2005-03-16 07:41:58 +00:00
Tim Starling
a8eccc7d40 Stronger user token generation 2005-03-16 07:36:02 +00:00
Brion Vibber
1bfd766b2d * (bug 1370) e-notif correction 2005-03-15 07:27:48 +00:00
Brion Vibber
388d95d7b8 De-cruftification continues.
* Replacing Namespace:: functions with NS_ constants
* Replacing make*Link() on strings with make*LinkObj() on Title objects
* Using more legible convenience methods on User and Title
* Start using a common Linker::commentBlock() to wrap the formatComment() bits in the surrounding formatting
2005-02-21 12:23:52 +00:00
Brion Vibber
ca38c848f8 Remove some cruft from skins... sooooo much cruft yet to go 2005-02-21 11:28:07 +00:00
Brion Vibber
5a9e8c8c62 Audit tweaks: extra post checks, markup fixes. 2005-02-21 01:56:50 +00:00
Brion Vibber
6ada6c1f06 variable.... not constant 2005-02-18 12:29:31 +00:00
Nicolas Weeger
ee1fc77f73 Patch for bug #1138 (ipblock-related) 2005-02-17 22:56:51 +00:00
Brion Vibber
ea0ce16090 Revert last checkin by Nicolas Weeger which caused massive corruption of the file. 2005-02-15 00:28:55 +00:00
Nicolas Weeger
4d11f7c2d3 Fix for bug http://bugzilla.wikimedia.org/show_bug.cgi?id=1138 (ip block related).
New behaviour: check slave when user asks for the edit page, nothing when previewing, master when saving the page. Don't use memcache, as apparently it was causing issues.
2005-02-14 23:21:07 +00:00
Brion Vibber
7030f69a1a Security tweaks:
* Leave user CSS/JS off by default
* Tighten user CSS/JS preview activation
* Require logged-in edits to include an extra session credential
* ogg removed from default upload whitelist
2005-02-04 06:19:37 +00:00
Jens Frank
fa7c01d9b1 BUG#1389 i18n for proxy blocker message 2005-01-23 16:42:06 +00:00
Tom Gilder
8249f225d0 Much more graceful way of not showing logged-in pages to logged-out users 2005-01-18 03:06:20 +00:00
Tom Gilder
cc586b28c8 Don't show cached logged-in pages to logged-out users (bug 63) 2005-01-18 02:24:19 +00:00
Tim Starling
26eba2d1f8 Allowing user functions to work in command-line scripts, this will probably break one of them, not sure which one 2005-01-08 09:17:33 +00:00
Domas Mituzas
feba73feb1 not too many of enotif errors or cleanup involved here, just unbreaking wiki
* do not update watchlist table on every anon hit
* use database timestamps instead of '0'es, will obviously break some parts of enotif *shrug*
2005-01-05 14:06:00 +00:00
Tim Starling
62462e492d uncommenting ISO8859-1 converted password fix 2005-01-04 10:49:20 +00:00
Zheng Zhu
63d232acf4 Merged my changes from REL1_4 2004-12-24 02:47:38 +00:00
Brion Vibber
64ac6b8e77 Merge SCHEMA_WORK into HEAD. Lots of changes, some things are probably broken:
* Page moves/overwrites are a little iffy
* Compression might not be working right
* Profit!
2004-12-19 08:00:50 +00:00
Brion Vibber
87a120e06e Add User::getTitleKey() to encapsulate the user name -> title DB key conversions being performed everywhere.
Code cleanup and style tweaks on new enotif-changed code.
2004-12-18 10:21:03 +00:00
Brion Vibber
6f926c59df Refactor a bit; move a couple methods from UserMailer (?!) to User. Use the proper $wgRequest for checking reset var, avoid notice warning. 2004-12-18 07:16:11 +00:00
Brion Vibber
798270581d (bug 454) Merge e-notif 2.00
From http://bugzilla.wikipedia.org/attachment.cgi?id=171&action=view
and extra files from http://www.tgries.de/mw/cvs15+enea200-minus-cvs.tgz

Undid a couple minor bits like the broken changing of minoreditletter.
Have not yet made general corrections/reworkings. Since this changes
the user and watchlist tables, you must run the updaters (installer or
update.php) on an existing database.
2004-12-18 03:47:11 +00:00
Zheng Zhu
405b543112 added user option to disable Chinese language conversion 2004-12-07 22:23:21 +00:00
Brion Vibber
b525086012 1014 fix from REL1_4 2004-12-06 14:51:18 +00:00
Evan Prodromou
2d2d5805bc Make User::newFromName set the user object's ID attribute, so it can
be used for other methods and lazy loading. Previously, you had to use
the class method idForName and assign its value using setId(). Since
all the code that was using newFromName was doing this, it seems like
client programs want a "real" User returned from newFromName. Replaced
client code that was doing newFromName, idForName, setId with just
newFromName. This doesn't seem to break newFromName's semantics; it
seems intuitive (to me) that the user object returned from newFromName
should be usable as returned.
2004-11-29 17:58:28 +00:00
Evan Prodromou
bcc5c346ad Another step in removing deferred updates. Removed the UserTalkUpdate
module and moved user talk modification code to User (it's read in
User, should probably be written in User, too). Changed calling code
in Article to update the user directly, rather than using the
UserTalkUpdate class. Tested with logged-in and not-logged-in users.
2004-11-29 17:36:13 +00:00
Brion Vibber
8e1cd3312f Don't use setOption() in loadDefaultFromLanguage, as this triggers some slow reloading.
Code style tweaks and profiling points.
2004-11-22 05:12:50 +00:00
Brion Vibber
77653c7df3 (bug 924) $wgDefaultUserOptions to set the preference defaults from LocalSettings 2004-11-21 07:51:41 +00:00
Brion Vibber
0749c4f315 Convert MonoBook to pure PHP, not requiring PHPTAL.
Right now the code is ugly, pretty much a straight convert. Will pretty up later.
2004-11-19 04:14:59 +00:00
Brion Vibber
f5a1ac6798 Experimental authentication plugin interface. Will require a little bit more work to nail down all requirements. 2004-11-16 05:28:47 +00:00
Domas Mituzas
23e44883dc add ugly notice asking to populate groups data, if anonymous group is not loaded 2004-11-15 08:56:43 +00:00
Brion Vibber
132fb571c1 Use correct names of fields 2004-10-24 21:58:19 +00:00
Antoine Musso
28ea816fba Implementing user levels management. This is only a very basic interface and several things need to be done! A tracking bug is at http://bugzilla.wikipedia.org/show_bug.cgi?id=767 2004-10-24 19:14:48 +00:00
Jens Frank
421829d4e7 Renaming columns:
ug_gid => ug_group
ug_uid => ug_user
ur_uid => ur_user
as proposed by Mr Vibber.
2004-10-24 09:51:13 +00:00
Jens Frank
bbfc760c1f Rename fields of user_rights and user_groups table to tablename_columnname schema 2004-10-24 09:21:53 +00:00
Tim Starling
7604ffd560 Moved user_newtalk fetch to later in execution, i.e. on demand. This should reduce total query count, and also allows connection errors to work again. 2004-10-23 08:26:48 +00:00
Zheng Zhu
dcde7e0a92 Adding the interface language to the page rendering hash; also fixed some formatting errors from my previous commits. 2004-10-11 02:46:31 +00:00
Antoine Musso
fc11eaedaa New userlevel feature. Sysop only, for testing. NO FORM IS VALIDATED : use at your own risks 2004-10-01 15:57:09 +00:00
Tim Starling
1b085b5017 Improved security: don't send out password hashes or store them in the session, use random tokens instead (from REL1_3A) 2004-09-26 08:25:12 +00:00
Zheng Zhu
382e2b0b34 Setting default user option using the content language rather than the UI language 2004-09-24 00:10:34 +00:00
Tim Starling
8ceee070ad More consistent method for immediate logout, means that the IP rather than the username is displayed at the top of the logout confirmation page. 2004-09-23 15:43:25 +00:00
Brion Vibber
a91c84bc1c One more time... :P shouldn't commit this late at night. 2004-09-22 11:37:16 +00:00
Brion Vibber
b80ecd2110 Whoops, typo in making variable name legible. ;)
But at least it *ran*. ;)
2004-09-22 11:33:56 +00:00
Brion Vibber
9547377138 Undo fatal mistake added in revision 1.82.
DO NOT die if the skin class isn't found! This breaks maintenance
scripts and can cause a user account to be unrecoverable
except by SQL manipulation if a previously valid skin name
is no longer valid.
2004-09-22 11:30:43 +00:00