Commit graph

123 commits

Author SHA1 Message Date
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
Zheng Zhu
cc632696ba Adding a wgContLang object to handle message translation for the content of the site; wgLang should be used exclusively for UI messages. 2004-09-22 03:32:56 +00:00
Zheng Zhu
539fc27b10 added a language variant field to the page rendering hash, but only for languages that support multiple variants. 2004-09-20 05:22:45 +00:00
Antoine Musso
7083f65b2e Die horribly if a skin class doesn't exist. Will help skins builders. 2004-09-19 22:59:23 +00:00
Zheng Zhu
fe6ed47578 changed getPreferredLanguage to getPreferredVariant 2004-09-17 19:15:01 +00:00
Zheng Zhu
920c18b2b9 set default language variant according to the http-accept-language header 2004-09-17 19:10:03 +00:00
Brion Vibber
a8d2b993b0 * Sensible error messages when illegal title chars given in username
* Don't double the login form when asked to send pass for no email user
Fixes bug 448: failure message on "mail password" is shown twice
http://bugzilla.wikipedia.org/show_bug.cgi?id=448
2004-09-11 06:58:47 +00:00
Tim Starling
cd0b4da07a Nicer database wrapper names 2004-09-09 11:54:01 +00:00
Antoine Musso
f62712647b Registered user can set their own language for the interface. See http://bugzilla.wikipedia.org/show_bug.cgi?id=184 2004-09-08 03:39:32 +00:00
Arne Heizmann
18a49cc7d3 forgot to remove this 2004-09-04 14:25:47 +00:00
Arne Heizmann
73be962431 expand comment for isNewbie(), and spelling corrections 2004-09-04 14:21:45 +00:00
Antoine Musso
bb69541c77 Phpdoc comments 2004-09-04 13:06:25 +00:00