Commit Graph

238 Commits

Author SHA1 Message Date
Ryan Boren c5cb379adf Expose page_status in XML-RPC API.
git-svn-id: https://develop.svn.wordpress.org/trunk@4806 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 18:22:05 +00:00
Ryan Boren a35cbc8387 WP XML-RPC API
git-svn-id: https://develop.svn.wordpress.org/trunk@4793 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-24 01:16:08 +00:00
Ryan Boren c9f49bbbb9 sanitize_file_name(). fixes #3382 #3554
git-svn-id: https://develop.svn.wordpress.org/trunk@4710 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 22:53:14 +00:00
Mark Jaquith 7607c269e6 Pingback excerpt fetching improvements and fixes. fixes #3495
git-svn-id: https://develop.svn.wordpress.org/trunk@4667 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-27 06:10:03 +00:00
Ryan Boren 0829b413b9 Include admin-functions in xmlrpc.
git-svn-id: https://develop.svn.wordpress.org/trunk@4650 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-18 20:11:19 +00:00
Ryan Boren e8184e1027 Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: https://develop.svn.wordpress.org/trunk@4628 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 22:42:22 +00:00
Ryan Boren 32c1d247ac Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: https://develop.svn.wordpress.org/trunk@4612 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 22:37:19 +00:00
Ryan Boren b002e7ce66 Create attachments for xmlrpc uploads. Props donncha. fixes #3400
git-svn-id: https://develop.svn.wordpress.org/trunk@4569 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 04:34:59 +00:00
Ryan Boren 359fa59fb3 xmlrpc filename sanitation. Props donncha. fixes #3395
git-svn-id: https://develop.svn.wordpress.org/trunk@4537 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-28 22:03:19 +00:00
Ryan Boren 3a6e842621 Upload filters in xmlrpc. fixes #3388
git-svn-id: https://develop.svn.wordpress.org/trunk@4526 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 16:39:51 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Mark Jaquith 3e4a8cd907 Cast to array in xmlrpc.php. fixes #3266
git-svn-id: https://develop.svn.wordpress.org/trunk@4412 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-21 10:42:42 +00:00
Mark Jaquith b76635d7c3 avoid $HTTP_RAW_POST_DATA notices. props mgeisler and Nazgul. fixes #1494
git-svn-id: https://develop.svn.wordpress.org/trunk@4305 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 05:23:10 +00:00
Mark Jaquith 721bb66a93 remove unused mkdir_p() function. props Nazgul. fixes #3079
git-svn-id: https://develop.svn.wordpress.org/trunk@4301 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 04:53:48 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren cd766e57e9 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: https://develop.svn.wordpress.org/trunk@4133 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:40:17 +00:00
Ryan Boren 0dab1b7f5b Menu and plugin tweakage.
git-svn-id: https://develop.svn.wordpress.org/trunk@4049 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-26 22:18:36 +00:00
Ryan Boren 53d59dd1f0 Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().
git-svn-id: https://develop.svn.wordpress.org/trunk@3849 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-06 05:04:41 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren 24e69f293f Check if HTTP_RAW_POST_DATA is set to avoid undefined var warning. Props Juergen. fixes #2350
git-svn-id: https://develop.svn.wordpress.org/trunk@3498 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-30 21:19:44 +00:00
Ryan Boren a3d5510774 Remove debug cruft. fixes #2273
git-svn-id: https://develop.svn.wordpress.org/trunk@3431 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 22:08:00 +00:00
Ryan Boren ba8e3e8d47 Make the xmlrpc user the current user. fixes #2273
git-svn-id: https://develop.svn.wordpress.org/trunk@3430 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 19:19:09 +00:00
Ryan Boren dbde443d4a More wp_upload_bits() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3378 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 02:07:10 +00:00
Ryan Boren 44fc04c42e Don't treat a numeric user name as an id.
git-svn-id: https://develop.svn.wordpress.org/trunk@3310 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:45:20 +00:00
Ryan Boren 96a472460d Add wp_upload_bits(). Attempt to fix mw_newMediaObject().
git-svn-id: https://develop.svn.wordpress.org/trunk@3255 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 22:51:40 +00:00
Ryan Boren 065bca2c32 Remove unneeded arg.
git-svn-id: https://develop.svn.wordpress.org/trunk@3180 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:35:05 +00:00
Matt Mullenweg 4b6a074982 Add HTTPS support, fixes #1372
git-svn-id: https://develop.svn.wordpress.org/trunk@3041 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:21:28 +00:00
Matt Mullenweg da3c5f47dc Add RSD support. See http://archipelago.phrasewise.com/rsd
git-svn-id: https://develop.svn.wordpress.org/trunk@3009 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:47:51 +00:00
Ryan Boren 03f7327803 Don't self ping. Props Mark Jaquith fixes #993
git-svn-id: https://develop.svn.wordpress.org/trunk@2983 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-05 16:20:09 +00:00
Ryan Boren 7f5350d345 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: https://develop.svn.wordpress.org/trunk@2957 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 16:38:07 +00:00
Ryan Boren 1d2af63ae8 Capability updates for xmlrpc.
git-svn-id: https://develop.svn.wordpress.org/trunk@2846 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-07 00:20:04 +00:00
Matt Mullenweg 3923ec65e5 Fixes #1541
git-svn-id: https://develop.svn.wordpress.org/trunk@2742 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:30:40 +00:00
Ryan Boren 7e94ba45c5 Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2712 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 01:24:08 +00:00
Ryan Boren b3f7bd726c Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Ryan Boren 31e3ad71be Remove extra logIOs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2694 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 18:34:04 +00:00
Ryan Boren 506091a710 XMLRPC category fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2693 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 18:33:03 +00:00
Ryan Boren 545507c3b6 Default category and pingback check fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2680 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-30 16:07:42 +00:00
Ryan Boren 34808989fb Don't escape image bits.
git-svn-id: https://develop.svn.wordpress.org/trunk@2676 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-30 00:12:18 +00:00
Ryan Boren a2e8b43f54 Don't escape objects.
git-svn-id: https://develop.svn.wordpress.org/trunk@2674 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-29 17:01:11 +00:00
Ryan Boren 12d2d9d0e0 Escape XMLRPC args.
git-svn-id: https://develop.svn.wordpress.org/trunk@2668 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-28 22:16:27 +00:00
Ryan Boren 751ce0f454 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: https://develop.svn.wordpress.org/trunk@2653 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 03:30:46 +00:00
Ryan Boren 6c6763cd3e Use instead of hardcoding 1. Do we really need a separate default category for XMLRPC posting?
git-svn-id: https://develop.svn.wordpress.org/trunk@2649 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:21:37 +00:00
Matt Mullenweg f6ef88773f User data migration should be complete
git-svn-id: https://develop.svn.wordpress.org/trunk@2636 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:32:44 +00:00
Matt Mullenweg 472b800ab4 Better pingback extraction, fixes #1268
git-svn-id: https://develop.svn.wordpress.org/trunk@2619 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-04 10:15:36 +00:00
Matt Mullenweg 7d07dc1201 fclose removed, only use curl if we have to - http://mosquito.wordpress.org/view.php?id=1324 - hat tip: rboren
git-svn-id: https://develop.svn.wordpress.org/trunk@2606 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:53:18 +00:00
Matt Mullenweg 9648173c70 Use CURL if available, possible fix for http://mosquito.wordpress.org/view.php?id=1166
git-svn-id: https://develop.svn.wordpress.org/trunk@2581 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 07:52:11 +00:00
Ryan Boren 3026e1a434 Make sure category list is actually a list. http://mosquito.wordpress.org/view.php?id=988
git-svn-id: https://develop.svn.wordpress.org/trunk@2399 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 15:38:09 +00:00
michelvaldrighi 8eb4e6ed34 fix parse error
git-svn-id: https://develop.svn.wordpress.org/trunk@2349 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 10:04:29 +00:00
Matt Mullenweg b217e56e28 More efficient get_category_link - http://mosquito.wordpress.org/view.php?id=590
git-svn-id: https://develop.svn.wordpress.org/trunk@2316 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 03:27:50 +00:00
Matt Mullenweg 521a1b9707 We weren't getting [...] in front of pingbacks.
git-svn-id: https://develop.svn.wordpress.org/trunk@2188 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 08:11:02 +00:00
Matt Mullenweg f0318fb457 Allow plugins to hook into XML-RPC server.
git-svn-id: https://develop.svn.wordpress.org/trunk@2061 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 23:28:51 +00:00
Matt Mullenweg a4083cd938 Some cleanup patches from Scott: http://www.coffee2code.com/archives/2005/01/06/walking-with-15/
git-svn-id: https://develop.svn.wordpress.org/trunk@2060 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 23:10:28 +00:00
Matt Mullenweg 00d285d0dd Cleaning up filters and format-to-post
git-svn-id: https://develop.svn.wordpress.org/trunk@2059 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 22:51:44 +00:00
Matt Mullenweg cbafeff467 We weren' processing pingbacks right. http://mosquito.wordpress.org/view.php?id=630
git-svn-id: https://develop.svn.wordpress.org/trunk@2058 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 17:40:19 +00:00
Matt Mullenweg 3ebf5a36e2 Cleaning up blogfilename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1997 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 01:34:47 +00:00
Matt Mullenweg b39c4f8273 Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Ryan Boren 15d5b48f70 Fix typo. Bug 540. Patch from Froosh.
git-svn-id: https://develop.svn.wordpress.org/trunk@1942 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-13 14:55:13 +00:00
Matt Mullenweg 953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Matt Mullenweg 387168fec4 Check for dupe trackbacks as well.
git-svn-id: https://develop.svn.wordpress.org/trunk@1939 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 18:27:31 +00:00
Ryan Boren 7a8b254be0 s/logio/logIO/. Remove logio calls from the one function in functions-post.php that uses it. functions-post.php is not used by xmlrpc.php exclusively.
git-svn-id: https://develop.svn.wordpress.org/trunk@1920 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 02:35:53 +00:00
Dougal Campbell 01584c9905 Eliminate double emails. Already sending email in wp_new_comment()
git-svn-id: https://develop.svn.wordpress.org/trunk@1833 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-26 16:41:08 +00:00
Matt Mullenweg b4984a31c2 Trackback and pingback cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1794 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 07:26:41 +00:00
michelvaldrighi 2d58fd7954 remove contextual compatiblity, and require functions-compat instead
git-svn-id: https://develop.svn.wordpress.org/trunk@1777 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 13:22:33 +00:00
michelvaldrighi 4fe532990f ok, I can't believe I forgot to add that in
git-svn-id: https://develop.svn.wordpress.org/trunk@1718 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 12:42:36 +00:00
michelvaldrighi 2b1066d6d7 make pingback.ping use wp_new_comment
git-svn-id: https://develop.svn.wordpress.org/trunk@1706 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-22 19:45:29 +00:00
michelvaldrighi 0115e0cd00 dateCreated typos
git-svn-id: https://develop.svn.wordpress.org/trunk@1704 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-22 12:11:05 +00:00
michelvaldrighi e2200573b9 I was stupidly parsing dateCreated even when it was empty -- hence the crash in mw_newPost
git-svn-id: https://develop.svn.wordpress.org/trunk@1693 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 18:10:16 +00:00
michelvaldrighi 581f1a26d7 whoops, a dot that was removed yesterday came back when restoring the file
git-svn-id: https://develop.svn.wordpress.org/trunk@1692 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 17:03:08 +00:00
michelvaldrighi 0e1a09470b big oopsie related to moving the xmlrpc.php file: somehow it got replaced by the old one. you can ignore version 1.21
git-svn-id: https://develop.svn.wordpress.org/trunk@1685 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 20:53:18 +00:00
michelvaldrighi 38116183dd moved wp-admin/xmlrpc.php to the root dir
git-svn-id: https://develop.svn.wordpress.org/trunk@1684 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 20:48:43 +00:00
michelvaldrighi c2b97cdfec returning actual fault codes in pingback.ping
git-svn-id: https://develop.svn.wordpress.org/trunk@1679 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 10:35:41 +00:00
michelvaldrighi c7f5afd9db added pingback.extensions.getPingbacks
git-svn-id: https://develop.svn.wordpress.org/trunk@1672 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 15:20:39 +00:00
michelvaldrighi e9dd8f6187 now with complete MT API support -- TEST TEST TEST THIS (here it worked fine with Ecto 2)
git-svn-id: https://develop.svn.wordpress.org/trunk@1671 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 14:54:25 +00:00
michelvaldrighi ea193a0f97 added pingback (now with accurate fault codes and more easily readable code), added aliases for metaweblog stuff that mimics blogger api
git-svn-id: https://develop.svn.wordpress.org/trunk@1670 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 13:26:06 +00:00
michelvaldrighi c69ee23851 wtf was I thinking? here comes a bunch of fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1666 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 09:55:00 +00:00
michelvaldrighi 18fc3d77f2 fixed comment_status screwup, removed debug stuff, screwed up big time, ate a cheese sandwich
git-svn-id: https://develop.svn.wordpress.org/trunk@1659 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 17:20:22 +00:00
michelvaldrighi f1715a5250 various fixes, and started MT API support
git-svn-id: https://develop.svn.wordpress.org/trunk@1658 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 16:52:13 +00:00
michelvaldrighi 8ff923a591 added Emmanuel Frecon's fix to create directories in mw.newMediaObject, removed some useless (and/or potentially dangerous) debug strings
git-svn-id: https://develop.svn.wordpress.org/trunk@1580 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-01 16:13:35 +00:00
michelvaldrighi d7f6c89f1b fix0red mw.newMediaObject, added byte-length logging (in which we learn Ecto 1.1.8 sends too many bytes, it seems)
git-svn-id: https://develop.svn.wordpress.org/trunk@1569 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-27 13:31:22 +00:00
michelvaldrighi 1aa3ba1de0 added mw.newMediaObject (not tested yet), fixed local/gmt dates confusion, removed debug edits, ate an apple too and taught a coworker how to use our espresso machine (it only takes a button to press)
git-svn-id: https://develop.svn.wordpress.org/trunk@1568 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-27 08:46:24 +00:00
michelvaldrighi 530f455bfa added mw.getRecentPosts, mw.getCategories, refactored the living shit out of the rest of the file
git-svn-id: https://develop.svn.wordpress.org/trunk@1565 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-26 15:42:43 +00:00
michelvaldrighi 63ab3d066c added metaweblog methods: newPost, editPost, getPost -- UNTESTED (yet)
git-svn-id: https://develop.svn.wordpress.org/trunk@1563 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-25 16:28:20 +00:00
michelvaldrighi d13b1e73bd added blogger.editPost and blogger.deletePost, time to move on to metaWeblog API addition
git-svn-id: https://develop.svn.wordpress.org/trunk@1562 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-25 15:24:09 +00:00
michelvaldrighi 0b1a9970ab database-related functions such as wp_insert_post are now in wp-includes/functions-post.php
git-svn-id: https://develop.svn.wordpress.org/trunk@1359 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 22:07:30 +00:00
Matt Mullenweg 717855f007 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: https://develop.svn.wordpress.org/trunk@1355 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 08:22:18 +00:00
michelvaldrighi a400663927 added blogger.newPost
git-svn-id: https://develop.svn.wordpress.org/trunk@1351 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-23 16:42:23 +00:00
michelvaldrighi 3abc94a5c5 added blogger.getTemplate and blogger.setTemplate
git-svn-id: https://develop.svn.wordpress.org/trunk@1349 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-23 15:46:43 +00:00
michelvaldrighi f96224edb1 work in progress: replacement for xmlrpc.php, using IXR
git-svn-id: https://develop.svn.wordpress.org/trunk@1348 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-23 04:02:53 +00:00