Commit Graph

62 Commits

Author SHA1 Message Date
westi 7201bc515e Add some hooks to wp-app.php to allow a plugin to extend the data returned. Fixes #8826 props znarfor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 15:57:33 +00:00
westi e5bf2656db Remove unnecessary and dead code from wp-app.php. Fixes #10938.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 10:32:15 +00:00
ryan 8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
westi cf552e9b1e Fix two more notices in the APP implementation. This time in the root /service page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 20:52:41 +00:00
westi 48aa373714 Enable the APP attachment file download to work correctly rather than just returning a lot of php notices. Fixes #10372 for trunk props mysz.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 20:31:12 +00:00
westi 6fb4ff0ebe Fix notice in APP server if no authentication credentials supplied.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-13 20:11:52 +00:00
azaozz 39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
ryan 8815dd60c2 Use get_the_author_meta(). Props sivel. see #9393
git-svn-id: http://svn.automattic.com/wordpress/trunk@11416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-20 21:32:39 +00:00
ryan 1354d0660a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 02:00:32 +00:00
ryan c383ff7450 Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: http://svn.automattic.com/wordpress/trunk@11318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 22:28:56 +00:00
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan 430a8cb2cf Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: http://svn.automattic.com/wordpress/trunk@11108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:42:30 +00:00
ryan 53cb41fc3c Always wp_authenticate in wp-app. Props wnorris. fixes #9320
git-svn-id: http://svn.automattic.com/wordpress/trunk@10771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-11 22:49:30 +00:00
westi 447298f038 Attachment metadata is stored in the summary field in AtomPub requests. Fixes #9148 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:35:20 +00:00
westi 0abd25b516 Add hooks to allow plugins to extend AtomPub support. Fixes #8827 props znarfor and josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:17:56 +00:00
ryan e89d747f7a Use 'the_category_rss' template function in Atompub backend. Props znarfor, josephscott. fixes #8829
git-svn-id: http://svn.automattic.com/wordpress/trunk@10727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 02:07:55 +00:00
westi 1629f412ab Ensure that updating an uploaded file using AtomPub works correct. Fixes #9233 for trunk props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@10663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-27 18:37:02 +00:00
ryan db7632bbf0 Return correct edit link. Props josephscott. fixes #9147
git-svn-id: http://svn.automattic.com/wordpress/trunk@10651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-26 00:03:53 +00:00
ryan c62e75c601 Allow use of REMOTE_USER/REDIRECT_REMOTE_USER for authentication. Props yonosoytu. fixes #7361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 21:04:48 +00:00
ryan a587695265 Send correct status. Props yonosoytu. see #7361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-24 20:21:09 +00:00
azaozz 1c6afd1892 Complete inline documentation for AtomPub, props jacobsantos, fixes #7777
git-svn-id: http://svn.automattic.com/wordpress/trunk@8954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 08:06:48 +00:00
azaozz eb3e916086 Completion and fixes for wp-app, wp-login and xmlrpc inline documentation, props jacobsantos, fixes #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@8952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-22 05:15:41 +00:00
ryan 35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan d320f6f879 Update AtomPub auth to use latest API
git-svn-id: http://svn.automattic.com/wordpress/trunk@8390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 17:27:27 +00:00
westi 1832ab2c52 Ensure that AtomPub does not auto-publish draft posts when they are edited. Fixes #7299 for trunk props redsweater.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-19 15:29:31 +00:00
ryan 96c00ed1c3 Send 403 if publishing is disabled. Props AlanJCastonguay. see #7157
git-svn-id: http://svn.automattic.com/wordpress/trunk@8267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-07 19:19:47 +00:00
markjaquith 9772330eb6 Pass AtomPub disabled messaged through translation. props josephscott. see #7157
git-svn-id: http://svn.automattic.com/wordpress/trunk@8234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-02 01:58:38 +00:00
ryan 3f90dc2f58 More informative error message when remote publishing is disabled. Don't disable if upgrading. Props josephscott. see #7157
git-svn-id: http://svn.automattic.com/wordpress/trunk@8202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 22:39:57 +00:00
ryan 282cb020ea Use ORIG_PATH_INFO, if available. Props singpolyma. fixes #6995
git-svn-id: http://svn.automattic.com/wordpress/trunk@8031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-02 20:38:39 +00:00
ryan a6a1522a8d File file level phpdoc from jacobsantos. see #7037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 15:50:15 +00:00
ryan 5b8113578d Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:59:27 +00:00
ryan 7afb7b63ac Better phrasing. Props kichu and MtDewVirus. fixes #6259
git-svn-id: http://svn.automattic.com/wordpress/trunk@7351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 21:18:03 +00:00
westi fdda0c30d3 Use blog name in atom service document. Fixes #5667 props tvachon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 20:01:08 +00:00
ryan d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
westi 839ea6c294 Fix the updated times when publishing/editing with APP. See #5680 props rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-23 20:25:08 +00:00
westi 48344f94b5 Ensure APP clients can update timestamps on publish. Fixes #5680 props tvachon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-18 07:59:09 +00:00
ryan 1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan 0aa5bf4862 Some cap checks for app from josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 00:46:18 +00:00
ryan ebdaaae6d3 Don't show email.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-27 22:31:13 +00:00
ryan e6080b4926 Check attachment link when deleting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 01:40:26 +00:00
matt de1014dbb0 Allow numbers in content type to allow for types like 3gp. Fixes #5449. Hat tip: meledin, DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:44:48 +00:00
ryan 028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
westi b296c5f19e Ensure that we offer https access to atom if it is available. Fixes #5298 props rubys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-17 11:21:34 +00:00
westi 4c7bfb6a4f Refactor atom support to share code. Fixes #5181 props rubys
git-svn-id: http://svn.automattic.com/wordpress/trunk@6273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 15:42:30 +00:00
ryan 62d3a12280 Eliminate , , and . see #5182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 21:12:34 +00:00
westi e9cfb43133 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 06:55:24 +00:00
ryan 9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
ryan 40527f6ac2 APP taxonomy fixes from rubys. fixes #4904
git-svn-id: http://svn.automattic.com/wordpress/trunk@6032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 17:09:57 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00