Commit Graph

256 Commits

Author SHA1 Message Date
saxmatt
99ea3245af Siteurl autoupdate now requires RELOCATE flag - http://mosquito.wordpress.org/view.php?id=602
git-svn-id: http://svn.automattic.com/wordpress/trunk@2130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 07:30:49 +00:00
rboren
4b699a0a34 Try to fix some of the siteurl stomping. Bug 678.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 23:44:57 +00:00
rboren
122c114cd6 wp_setcookie() and wp_clearcookie(). Set cookies for both siteurl and home if they are not the same. Update cookies whenever home or siteurl change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 04:56:24 +00:00
saxmatt
8de73e88b2 Sometimes PATH_INFO is in there anyway, so this gives us SCRIPT_NAME without relying on mod_rewrite, should be cross-platform.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-05 02:06:16 +00:00
rboren
a8fa06212e Make sure redirect_to gets set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-31 01:22:42 +00:00
rboren
880b1b2495 Do not get user level for empty user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-26 17:45:47 +00:00
saxmatt
fd72d4e4d9 Make reset passwords use the same randomness we do in install.php. Hat tip: swoolley.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-22 02:41:32 +00:00
saxmatt
7727b00596 Don't cache. No, really. Hat tip: Kimmo Suominen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 18:43:45 +00:00
saxmatt
90c90b336f New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 02:30:40 +00:00
saxmatt
fef86c9964 Some code cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 20:56:26 +00:00
saxmatt
65bbec71d0 Comments refactoring and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 02:57:05 +00:00
saxmatt
0563f1101c Don't take parts of the URI after the script name when updating the siteurl.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 00:18:01 +00:00
rboren
75804fd8ab Login cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 22:54:23 +00:00
rboren
f192cfe5c8 Double hash password in cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 02:21:37 +00:00
rboren
39e9a6d942 Login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 07:00:22 +00:00
saxmatt
d8722745ad Minor header cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-10 18:07:33 +00:00
saxmatt
587429f358 Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-10 18:02:30 +00:00
saxmatt
6337530119 Automatic login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:31:52 +00:00
saxmatt
c1f391ae7e Better redirect cleaning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 16:22:31 +00:00
saxmatt
c59a8a8119 Changes to how we do redirects.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:35:22 +00:00
saxmatt
e4e021901d Allow tildes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 06:45:10 +00:00
saxmatt
551e52ff91 Code cleanup and some fixes from the WP Japan folks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 08:03:52 +00:00
saxmatt
ec34fb1d80 Use mb_mail_send if available.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 07:44:04 +00:00
saxmatt
d4050c29e9 Better errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 06:45:01 +00:00
saxmatt
ee921221b7 New login system.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 06:23:53 +00:00
saxmatt
db093a6020 Move functions out of switch statement, PHP5 fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@1730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 04:30:45 +00:00
saxmatt
9fe8ff24e2 Fix for people who move.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-09 09:29:25 +00:00
rboren
1c803e1f58 stripslashes() from $pwd before performing the md5. Otherwise, we will not match the database password which had its slashes stripped before the MD5.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-05 15:54:15 +00:00
jverber
83844c9b8b More special chars encoding fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-30 02:02:49 +00:00
saxmatt
c5841b82a4 Use DOM to focus from Idan Sofer
git-svn-id: http://svn.automattic.com/wordpress/trunk@1445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-22 23:33:05 +00:00
rboren
314209054d String translation fixups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-14 23:44:00 +00:00
rboren
25bdc0791c Mark some strings for translation and improve string consistency. From Albert. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000024
git-svn-id: http://svn.automattic.com/wordpress/trunk@1420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-13 16:14:58 +00:00
saxmatt
45745f1bd0 Typo fix from Patrick Marie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-30 08:24:24 +00:00
saxmatt
25ae03ee65 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
michelvaldrighi
ac06c1e31e redefining user_login fixes the case insensitive issue with password retrieval
git-svn-id: http://svn.automattic.com/wordpress/trunk@1302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 01:29:29 +00:00
rboren
b5e7e0da79 Cookie patch from rread. http://wordpress.org/support/6/5327
git-svn-id: http://svn.automattic.com/wordpress/trunk@1296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-17 19:15:45 +00:00
saxmatt
ba407ff5b3 E_ALL fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:56:33 +00:00
saxmatt
4e4cb4e004 Allow WordPress installation URI and blog URI to be different.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 07:27:03 +00:00
rboren
bd369e3899 Fix grammar and markup errors. Thanks eke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 15:45:42 +00:00
rboren
d56aae211c Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-25 19:45:22 +00:00
saxmatt
10c6b7ea9c Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
emc3
dda1e539d1 Update to use get_settings (via Otsukare in http://wordpress.org/support/6/3213#post-3)
git-svn-id: http://svn.automattic.com/wordpress/trunk@966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-09 20:23:57 +00:00
saxmatt
a0867db6ed Migration to get_settings and away from globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 19:55:45 +00:00
saxmatt
b6aa1f6807 Migration to get_settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 06:13:32 +00:00
saxmatt
9e718aff7a Migrating more of the global options to get_settings().
git-svn-id: http://svn.automattic.com/wordpress/trunk@955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-29 08:43:36 +00:00
saxmatt
8927968849 Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:15:48 +00:00
michelvaldrighi
0d178ed361 now using instead of iso-8859-1
git-svn-id: http://svn.automattic.com/wordpress/trunk@880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 02:29:20 +00:00
jverber
e2ddf1efe1 Replaced hardcoded wp_users table
git-svn-id: http://svn.automattic.com/wordpress/trunk@857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 19:43:21 +00:00
saxmatt
51231afb16 Correctly generate new passwords, added check for email address to slow down jerks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 10:07:27 +00:00
saxmatt
bb09ce7e76 MD5 passwords, including code from Robert Hartman and John Gray.
git-svn-id: http://svn.automattic.com/wordpress/trunk@850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 09:56:57 +00:00
saxmatt
d46cb28736 If it's a 0 level user direct to profile page instead of post page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-01 11:48:34 +00:00
saxmatt
5624ca0f6c Fix ups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-13 09:23:41 +00:00
saxmatt
62f2eccb79 Blog name in password reminder.
git-svn-id: http://svn.automattic.com/wordpress/trunk@743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-09 03:02:55 +00:00
saxmatt
8f7d04c773 Don't send out password if account doesn't exist, error out. We should improve error handling in this script.
git-svn-id: http://svn.automattic.com/wordpress/trunk@645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 21:19:30 +00:00
saxmatt
99a7358baf Renaming Reloaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:36:13 +00:00
saxmatt
43e4a8a930 The great renaming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 00:22:36 +00:00