Commit Graph

106 Commits

Author SHA1 Message Date
ryan 5939e76b0b DB versioning. fixes #1791
git-svn-id: http://svn.automattic.com/wordpress/trunk@2966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-27 22:04:12 +00:00
matt ba19c859f9 A few CSS polishes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:22:48 +00:00
ryan 9bca3f5db6 Refactor level to cap upgrade code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-19 14:24:06 +00:00
ryan 44644cbb6c Add temporary cap/roles updater. Define RESET_CAPS to enable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 19:57:41 +00:00
ryan 04a3dc4c03 Inverted logic. Should fix problem where user display name is stomped during upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-14 22:53:56 +00:00
ryan 7af36168cb Roles update + UI from Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-12 15:53:13 +00:00
ryan a6ade4a767 Role/capability system. Round one. Props: Owen Winkler
git-svn-id: http://svn.automattic.com/wordpress/trunk@2703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-11 22:39:50 +00:00
matt 13f492ab75 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-09 01:27:46 +00:00
ryan 91efba11ad Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-05 20:47:22 +00:00
ryan f220786deb Set display_name only if the user table still containts id_mode. This prevents multiple upgrades from stomping display_name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-16 06:14:07 +00:00
ryan 06cc5c6677 DB escape fields inserted into usermeta table. Hide errors when dropping old columns from user table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-14 23:22:55 +00:00
matt 0c17753031 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: http://svn.automattic.com/wordpress/trunk@2631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 20:49:13 +00:00
ryan 5534514f39 Tweak to 2487.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 05:39:23 +00:00
ryan c48ebdadd7 Use private, install/upgrade safe version of get_option() in upgrade-functions.php. Fixes http://mosquito.wordpress.org/view.php?id=1165
git-svn-id: http://svn.automattic.com/wordpress/trunk@2487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 05:34:30 +00:00
ryan f88ebc2808 Replace dateYMDhour with user_registered. http://mosquito.wordpress.org/view.php?id=1121 Props: Andy Skelton
git-svn-id: http://svn.automattic.com/wordpress/trunk@2451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-16 22:53:33 +00:00
saxmatt d720a8ef0a Two small tweaks before release
git-svn-id: http://svn.automattic.com/wordpress/trunk@2346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 03:32:43 +00:00
rboren 6a11fa21a2 Load comments-popup template through the index.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 09:17:23 +00:00
rboren 5e68548c89 Copy searchform and images when creating site theme from default theme. http://mosquito.wordpress.org/view.php?id=852
git-svn-id: http://svn.automattic.com/wordpress/trunk@2293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 19:34:50 +00:00
rboren 6dca59bddc Suppress safe mode restriction warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-08 08:01:59 +00:00
rboren 1da65af1e1 Set umask to 0 when creating site theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-08 07:50:24 +00:00
saxmatt c19e40c302 We didn't know how big it'd get :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 09:41:06 +00:00
rboren 48d334e1c0 Get the title for pluggable top level admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-30 07:34:03 +00:00
rboren 1fb563136b Do not include admin-functions from ugrade-functions to avoid circular dependency. Move wp-l10n higher up in the wp-settings include chain. Bug 627.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-15 00:09:25 +00:00
rboren 7ad6f07f87 Update stylesheet and comments references when upgrading old templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-05 21:57:51 +00:00
rboren 5870827adf Recommit disappearing changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-04 22:46:45 +00:00
rboren 22fb2efc85 Automatic site theme generator.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 10:09:16 +00:00
saxmatt 736b9d8bcb Delete duplicate options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 21:21:50 +00:00
saxmatt 15745c2230 Change dateYMDhour to be something more sane, bugfix on edit.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-17 19:27:35 +00:00
saxmatt e72de79fa2 Automatically trigger DB upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 19:49:58 +00:00
saxmatt 3be6575475 Fix GUID generation
git-svn-id: http://svn.automattic.com/wordpress/trunk@1746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 07:36:50 +00:00
michelvaldrighi 877f81d625 convert trackbacks and pingbacks to use comment_type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 13:52:46 +00:00
saxmatt 59b3f55883 Removed some unused code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 10:31:19 +00:00
saxmatt c54f9a539f Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:41:01 +00:00
saxmatt de260e7022 Install and upgrade refactoring complete.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 01:22:17 +00:00
saxmatt c9136856b5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
saxmatt bc229c60fa Missing global.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:22:35 +00:00
saxmatt 009d89ec5b Remove optiongroup_options table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:15:46 +00:00
saxmatt 6b43f65c25 Remove optiongroups table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:09:21 +00:00
saxmatt 7e1cc4c8c0 Remove optiontypes table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:04:19 +00:00
saxmatt 5e87dfc5df Remove optionvalues table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 21:52:00 +00:00
saxmatt 2d78e31a7d Vanquishing the terror of iso-8859-1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-30 07:16:40 +00:00
saxmatt baec4b25a7 Slightly nicer upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-10 19:24:31 +00:00
saxmatt a4aa259156 Use array storage for plugins list.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-09 07:17:54 +00:00
rboren 2a1d84ef82 Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-29 03:34:08 +00:00
rboren e94ffb09b8 Remove extra slashes from link name and link description.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-15 23:31:06 +00:00
saxmatt 23b42b5fc0 Fix for PHP5.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-14 03:11:08 +00:00
rboren 6fd6b1080d stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: http://svn.automattic.com/wordpress/trunk@1435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-18 00:22:09 +00:00
rboren bd114445ef Preserve a 1.2 era version of get_alloptions as get_alloptions_110() so that upgrade_110() does not produce db errors due to version 1.3 specific changes to get_alloptions. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000037
git-svn-id: http://svn.automattic.com/wordpress/trunk@1421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-13 17:02:44 +00:00
saxmatt e2d3bb0acc Changes to options system and query improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 08:42:25 +00:00
rboren 9275cb270d Add default_email_category. Make default category and default email category provisionable via options writing. Credit: Kitten.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 15:43:45 +00:00