Commit Graph

91 Commits

Author SHA1 Message Date
ryan 9bc0cc241e More XML-RPC API enhancements from Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 03:09:58 +00:00
ryan d162935209 WP XML-RPC API enhancements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-26 20:05:53 +00:00
ryan 720df5dcf9 Cast categoryId to string to be compliant. fixes #3662
git-svn-id: http://svn.automattic.com/wordpress/trunk@4807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 18:27:47 +00:00
ryan 54cfb25317 Expose page_status in XML-RPC API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 18:22:05 +00:00
ryan 9af6317d3a WP XML-RPC API
git-svn-id: http://svn.automattic.com/wordpress/trunk@4793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-24 01:16:08 +00:00
ryan 3a87e7bba0 sanitize_file_name(). fixes #3382 #3554
git-svn-id: http://svn.automattic.com/wordpress/trunk@4710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 22:53:14 +00:00
markjaquith 4577ba0f2d Pingback excerpt fetching improvements and fixes. fixes #3495
git-svn-id: http://svn.automattic.com/wordpress/trunk@4667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-27 06:10:03 +00:00
ryan e57369e689 Include admin-functions in xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-18 20:11:19 +00:00
ryan 3b09e48f19 Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: http://svn.automattic.com/wordpress/trunk@4628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 22:42:22 +00:00
ryan 995d839bfb Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: http://svn.automattic.com/wordpress/trunk@4612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:37:19 +00:00
ryan d0e1e744c4 Create attachments for xmlrpc uploads. Props donncha. fixes #3400
git-svn-id: http://svn.automattic.com/wordpress/trunk@4569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 04:34:59 +00:00
ryan cc238cab45 xmlrpc filename sanitation. Props donncha. fixes #3395
git-svn-id: http://svn.automattic.com/wordpress/trunk@4537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 22:03:19 +00:00
ryan 54016999e1 Upload filters in xmlrpc. fixes #3388
git-svn-id: http://svn.automattic.com/wordpress/trunk@4526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 16:39:51 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
markjaquith fa91c7b642 Cast to array in xmlrpc.php. fixes #3266
git-svn-id: http://svn.automattic.com/wordpress/trunk@4412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-21 10:42:42 +00:00
markjaquith 75ec5426d0 avoid $HTTP_RAW_POST_DATA notices. props mgeisler and Nazgul. fixes #1494
git-svn-id: http://svn.automattic.com/wordpress/trunk@4305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 05:23:10 +00:00
markjaquith 48ddfe8613 remove unused mkdir_p() function. props Nazgul. fixes #3079
git-svn-id: http://svn.automattic.com/wordpress/trunk@4301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 04:53:48 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan efcb63ad21 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: http://svn.automattic.com/wordpress/trunk@4133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 16:40:17 +00:00
ryan 4e7aacfc21 Menu and plugin tweakage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-26 22:18:36 +00:00
ryan 0585475e02 Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-06 05:04:41 +00:00
ryan dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan 60ccea94fd Check if HTTP_RAW_POST_DATA is set to avoid undefined var warning. Props Juergen. fixes #2350
git-svn-id: http://svn.automattic.com/wordpress/trunk@3498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-30 21:19:44 +00:00
ryan e762c60a4d Remove debug cruft. fixes #2273
git-svn-id: http://svn.automattic.com/wordpress/trunk@3431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-13 22:08:00 +00:00
ryan cb093369a1 Make the xmlrpc user the current user. fixes #2273
git-svn-id: http://svn.automattic.com/wordpress/trunk@3430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-13 19:19:09 +00:00
ryan 6d40d77615 More wp_upload_bits() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 02:07:10 +00:00
ryan d567007a42 Don't treat a numeric user name as an id.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 16:45:20 +00:00
ryan 30a8b614b2 Add wp_upload_bits(). Attempt to fix mw_newMediaObject().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 22:51:40 +00:00
ryan ab4bbdab05 Remove unneeded arg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:35:05 +00:00
matt 41775561d5 Add HTTPS support, fixes #1372
git-svn-id: http://svn.automattic.com/wordpress/trunk@3041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:21:28 +00:00
matt af8c37fd71 Add RSD support. See http://archipelago.phrasewise.com/rsd
git-svn-id: http://svn.automattic.com/wordpress/trunk@3009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 09:47:51 +00:00
ryan e445ffe7e6 Don't self ping. Props Mark Jaquith fixes #993
git-svn-id: http://svn.automattic.com/wordpress/trunk@2983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-05 16:20:09 +00:00
ryan 183593f333 Fix typo in blogger_editPost(). Don't invoke content_save_pre since that is done by the insert/update functions. fixes #1777
git-svn-id: http://svn.automattic.com/wordpress/trunk@2957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-20 16:38:07 +00:00
ryan c2fd7b83dc Capability updates for xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-07 00:20:04 +00:00
matt 0e15d15f9b Fixes #1541
git-svn-id: http://svn.automattic.com/wordpress/trunk@2742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:30:40 +00:00
ryan 2f6ae330c0 Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 01:24:08 +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 6b0cc52fe1 Remove extra logIOs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 18:34:04 +00:00
ryan 54766eade4 XMLRPC category fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 18:33:03 +00:00
ryan bdfab81fd0 Default category and pingback check fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-30 16:07:42 +00:00
ryan c26724062a Don't escape image bits.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-30 00:12:18 +00:00
ryan 3882320f61 Don't escape objects.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-29 17:01:11 +00:00
ryan 9c9ba0aef8 Escape XMLRPC args.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-28 22:16:27 +00:00
ryan de05283f30 Don't stomp post_ID in mw_editPost(). Pass TB URIs to wp_update_post() and wp_insert_post() instead of directly calling trackback_url_list(). #1452
git-svn-id: http://svn.automattic.com/wordpress/trunk@2653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 03:30:46 +00:00
ryan d1ea1c932e Use instead of hardcoding 1. Do we really need a separate default category for XMLRPC posting?
git-svn-id: http://svn.automattic.com/wordpress/trunk@2649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-18 19:21:37 +00:00
matt 1f9a608be9 User data migration should be complete
git-svn-id: http://svn.automattic.com/wordpress/trunk@2636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 08:32:44 +00:00
matt c65f0168cd Better pingback extraction, fixes #1268
git-svn-id: http://svn.automattic.com/wordpress/trunk@2619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-04 10:15:36 +00:00
matt b6cbe98881 fclose removed, only use curl if we have to - http://mosquito.wordpress.org/view.php?id=1324 - hat tip: rboren
git-svn-id: http://svn.automattic.com/wordpress/trunk@2606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:53:18 +00:00
matt 95883b9211 Use CURL if available, possible fix for http://mosquito.wordpress.org/view.php?id=1166
git-svn-id: http://svn.automattic.com/wordpress/trunk@2581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-03 07:52:11 +00:00
ryan 6ff955829c Make sure category list is actually a list. http://mosquito.wordpress.org/view.php?id=988
git-svn-id: http://svn.automattic.com/wordpress/trunk@2399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-02 15:38:09 +00:00