Commit Graph

47 Commits

Author SHA1 Message Date
joyqi
13282b5b84 fix undefined array key (#1688)
* fix undefined array key

* fix: change security email
2024-01-07 11:38:39 +08:00
joyqi
a9fa990124 replace str compare (#1685) 2024-01-06 12:20:41 +08:00
joyqi
3caebb3b20 v1.3.0 (#1661)
* Add feed widget

* add feed render

* Add CommentPage widget

* New theme (#1390)

* 调整忽略目录

* add theme

* fix theme scss build

Co-authored-by: fen <f3nb0x@gmail.com>

* s/is_writeable/is_writable/g

* New upgrade method

* merge new fixes from master

* add pgsql ssl mode support (ref #1600) (#1623)

* Feat/code refactor (#1626)

* remove all magic methods, add type for class properties

* refactor codes

* fix all

* refactor code

* fix type

* fix all

* fix request is method

* fix all

* fix router

* fix get page

* fix 1.3.0 upgrade

* [feat] support high resolution avatar

* fix types in i18n component

* Implement Ctrl+S or Command+S for save draft (#1628)

* Implement Ctrl+S or Command+S for save draft

* rename

* add Typecho.savePost

* fix upload file size

* add new uploader

* replace new uploader

* fix textarea change

* fix preview

* refactor post edit

* fix issue

* fix page edit

---------

Co-authored-by: joyqi <joyqi@segmentfault.com>
Co-authored-by: joyqi <magike.net@gmail.com>

* fix #1632

* Add svg to image types

* Feat/tree pages (#1646)

* add tree trait

* finish category tree trait

* support select fields

* fix select fields

* refactor admin trait

* fix draft status

* Add new contents type "revision"

* minor refactor

* add more tree view abstracts

* add tree trait to pages

* get ready for tree view pages

* improve page edit

* fix revision

* fix slug

* add router params delegate

* fix params delegate

* fix

* fix

* fix all

* fix all

* fix tree

* fix page link

* fix feed

* fix page

* fix permalink

* fix permalink input

* fix offset query

* Support IDN (#1629)

* Support IDN

* use js

* Optimize code

* Optimize code

* fix URL script

* remove unnecessary use

---------

Co-authored-by: joyqi <joyqi@segmentfault.com>

* fix input element

* fix #1651, close #1653

* Use json instead of serialize (#1624)

* Use json instead of serialize

* Fix Upgrade code

* add tree trait

* finish category tree trait

* support select fields

* fix select fields

* refactor admin trait

* fix draft status

* Add new contents type "revision"

* minor refactor

* add more tree view abstracts

* add tree trait to pages

* get ready for tree view pages

* improve page edit

* fix revision

* fix slug

* add router params delegate

* fix params delegate

* fix

* fix

* fix all

* fix all

* fix tree

* fix page link

* fix feed

* fix page

* fix permalink

* fix permalink input

* fix offset query

* Fix typo

* remove proxy methods

* remove unnecessary useage

---------

Co-authored-by: joyqi <joyqi@segmentfault.com>
Co-authored-by: joyqi <magike.net@gmail.com>

* Fix Prevent XSS vulnerability in default theme (#1654)

* Fix Prevent XSS vulnerability in default theme

* Update var/Typecho/Db/Adapter/Pdo.php

* fix the getter

---------

Co-authored-by: joyqi <joyqi@segmentfault.com>

* add throwCallback to widget response

* fix: cut down fields when selecting recent posts

* fix typo errors

* fix typo errors

* fix http client cookie

* add throw finish

* fix theme lang

* fix default theme

* fix query

* add open graph and twitter card support
add canonical link

* fix canonical link meta

* fix theme classic-22

* remove unnecessary scss file when packaging

* init plugin signal

* improve: remove feather-icon js file

* fix: typo

* improve: post detail layout

* fix tags saving

* improve: nav search

* fix: theme screenshot

* fix: theme page layout

* remove php 7.2/7.3 env

---------

Co-authored-by: fen <f3nb0x@gmail.com>
Co-authored-by: Lu Fei <52o@qq52o.cn>
2023-12-30 23:02:25 +08:00
沈唁
59a5c8d14d Fix category creation error when using xmlrpc (#1443)
* Fix category creation error when using xmlrpc

* Add use Typecho\Request
2022-05-23 10:44:59 +08:00
joyqi
cac1c650a1 fix #1196 2021-10-13 16:31:15 +08:00
joyqi
bf2cb07e4b fix #1160 2021-09-09 18:20:30 +08:00
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