Commit Graph

41 Commits

Author SHA1 Message Date
joyqi 89649522c7 fix sandbox 2021-09-04 21:27:57 +08:00
joyqi 675efe1e43 add sandbox 2021-09-04 21:12:14 +08:00
joyqi 5a2833c5aa fix xmlrpc 2021-09-03 12:22:22 +08:00
joyqi c279ef1443 fix xmlrpc 2021-09-03 02:27:52 +08:00
joyqi 6cedf6a0a1 fix xmlrpc 2021-09-03 00:15:22 +08:00
joyqi 4f13adcadd replace theme and plugin file 2021-09-01 17:21:58 +08:00
joyqi 2fad7cc398 fix attr 2021-09-01 13:49:32 +08:00
joyqi 49eed7b437 fix xmlrpc 2021-09-01 00:04:05 +08:00
joyqi d72d4ea2ab finish xmlrpc 2021-08-31 18:25:49 +08:00
joyqi 806409496a fix xmlrpc 2021-08-31 00:18:56 +08:00
joyqi e2ca6a1fa7 fix 2021-08-30 17:45:18 +08:00
joyqi 75d5677d7d Make API Typecho_Common::arrayFlatten deprecated, please use array_column instead. 2021-08-20 16:42:40 +08:00
joyqi 3d0b5d5f6c reformat code 2021-08-18 22:29:34 +08:00
joyqi 44aef6c707 reformat code 2021-08-18 18:41:39 +08:00
joyqi 0dbc14da02 fix workflows 2021-05-20 14:46:16 +08:00
Atom Long 029579be4d IXR_Error is a class, not a function. 2020-05-09 00:08:06 +08:00
权那他 5abd915678 解决无法判断该独立页面是否有草稿 2019-08-23 13:20:52 +08:00
权那他 64a66be475 解决无法编辑独立页面 2019-08-23 13:19:51 +08:00
权那他 71c72c7926 修正XMLRPC不能获取文章是否有草稿状态
修正XMLRPC不能获取文章是否有草稿状态
1608行
$this->typechoToWordpressStatus($posts->status, 'post')
改为
$this->typechoToWordpressStatus(($posts->hasSaved || 'post_draft' == $posts->type) ? 'draft' : $posts->status, 'post')
2019-08-18 10:16:54 +08:00
权那他 6d27a24fb8 修正XMLRPC只能发表发布状态的问题,修正后可以发布私密、草稿、等等状态的文章
修正XMLRPC只能发表发布状态的问题,修正后可以发布私密、草稿、等等状态的文章
在1442行
$status = $this->wordpressToTypechoStatus($content["{$type}_status"], $type);
后面增加一行判断
$input['visibility'] = isset($content["visibility"]) ? $content["visibility"] : $status;
2019-08-18 10:14:26 +08:00
权那他 2e2835ce6b 修复用XMLRPC获取评论时无法得到垃圾评论和待审核评论
修复用XMLRPC获取评论时无法得到垃圾评论和待审核评论
1056行
$input['status'] = 'hold' == $input['status'] ? $input['status'] : $this->wordpressToTypechoStatus($struct['status']); 
改为
$input['status'] = $this->wordpressToTypechoStatus($struct['status'], 'comment');
2019-08-18 10:11:17 +08:00
joyqi fee8bcc63c fix #651 2017-11-03 10:19:47 +08:00
joyqi 9884a2fc76 fix #628 2017-10-29 15:45:47 +08:00
joyqi ed0af49767 Add a switch for xmlrpc in general control panel. 2017-10-27 16:42:13 +08:00
joyqi eeedef972a fix pingback's security issue
ref: https://joychou.org/web/typecho-ssrf-analysis-and-exploit.html
2017-10-13 01:01:11 +08:00
joyqi b3ce12c575 fix xmlrpc post 2017-04-25 15:43:46 +08:00
joyqi 93a3229c6d fix user options 2017-04-25 13:54:10 +08:00
joyqi 9122d2ab49 支持在xmlrpc接口中使用原生的markdown语法 2017-04-25 12:44:08 +08:00
joyqi 7cdc244d95 修正xmlrpc 2017-04-24 15:55:47 +08:00
祁宁 11bb981c99 missing pagedonw 2014-10-21 10:38:02 +08:00
祁宁 56d9b46d28 增加持续继承测试支持 2014-10-11 12:18:49 +08:00
祁宁 9daa4237dc fix #248
fix #241
2014-05-27 12:13:28 +08:00
祁宁 13f6adad4d close #246
thanks @loftor-git, but I want to delete the "log" method
2014-05-23 14:44:05 +08:00
祁宁 0d30d33aa3 修正泄露路径的漏洞 2014-03-10 21:05:20 +08:00
joyqi 972e65d02b 全面增加security安全模块,保护免受跨站攻击 2014-02-27 23:13:09 +08:00
ShingChi 8f0125c06c https://github.com/typecho/typecho/pull/148#issuecomment-31201347 2013-12-26 10:45:44 +08:00
joyqi 0970125d25 修改array缩进格式 2013-12-26 00:09:31 +08:00
loftor 4843b2b30a 添加媒体中心列表接口 2013-12-25 23:51:52 +08:00
loftor c5541ff5c3 格式调整 2013-12-25 20:14:31 +08:00
Loftor 8dcb2512d8 wordpress 手机端 2013-12-25 17:13:04 +08:00
joyqi 55379c90df 初始化
修改了上一个版本的一些错误,第一次提交
2013-07-17 13:13:57 +08:00