Commit Graph

39 Commits

Author SHA1 Message Date
joyqi 7115a30301 fix attachment handle (#1696)
* fix #1694

* fix array dump

* add toColumn method
2024-01-09 14:31:15 +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
joyqi 64b8e68688 fix #1178, change directory permission from 0777 to 0755 2021-09-15 14:59:08 +08:00
joyqi bf2cb07e4b fix #1160 2021-09-09 18:20:30 +08:00
joyqi 4791cd978e fix bug 2021-09-02 16:13:32 +08:00
joyqi 7db5f3c873 change all 2021-09-01 18:27:03 +08:00
joyqi e15c2966a9 still working on it 2021-08-30 14:52:52 +08:00
joyqi 93b5656109 fix action 2021-08-27 18:27:21 +08:00
joyqi 539ef5e111 still working on it 2021-08-27 18:06:57 +08:00
joyqi 3d0b5d5f6c reformat code 2021-08-18 22:29:34 +08:00
joyqi 7f3cd2b9e8 Remove isAppEngine detector 2021-08-18 11:41:52 +08:00
Atom Long 78e2dfbde8 fixed code indent, TAB --> 4 spaces 2020-05-12 17:29:41 +08:00
Atom Long 408cb56ce1 Fix #334: Support uploading pictures using Windows Live Writer or Open Live Writer. 2020-05-09 00:20:50 +08:00
joyqi 9884a2fc76 fix #628 2017-10-29 15:45:47 +08:00
祁宁 bcbb02b81e fix #347
修正多语言支持无法显示语言名称的bug
2015-01-19 14:09:14 +08:00
祁宁 4255076c44 change __TYPECHO_UPLOAD_PREFIX_URL__ to __TYPECHO_UPLOAD_URL__ 2014-04-21 13:36:01 +08:00
祁宁 e6d5d5e7de add __TYPECHO_UPLOAD_ROOT_DIR__, __TYPECHO_UPLOAD_PREFIX_URL__ constants 2014-04-20 18:03:44 +08:00
祁宁 a4f93e0231 为文件上传加入token保护
对文件名做更加严格的过滤
2014-03-11 15:20:54 +08:00
祁宁 0d30d33aa3 修正泄露路径的漏洞 2014-03-10 21:05:20 +08:00
joyqi de7b57c2cb fix #197 2014-02-28 09:53:06 +08:00
joyqi 972e65d02b 全面增加security安全模块,保护免受跨站攻击 2014-02-27 23:13:09 +08:00
joyqi 502cd5f7ca 准备对各应用引擎的存储进行支持 2014-02-17 18:00:29 +08:00
joyqi b6121f8b75 优化文件上传体验,可以上传多个文件,上传更加流畅 2014-02-17 14:38:13 +08:00
joyqi 4ddd293f3d fix #168 2014-01-11 23:29:06 +08:00
joyqi db3bfaa08e 尝试修复 #168 2014-01-11 18:37:23 +08:00
joyqi 68c4f7b912 修改更为准确的字符串处理函数 2014-01-10 19:12:39 +08:00
joyqi daf8e1ee57 尝试修正 #168 2014-01-09 17:04:10 +08:00
joyqi 64db5b53da fix #161
为何有这么多人没有json支持,我都不知道你们是怎么装的php,算了,还是加上这个库吧
2014-01-08 15:03:37 +08:00
joyqi fd20c37c8f 使用兼容性更好的创建目录方式
当mkdir使用递归模式创建多层目录时,它的目录模式参数`mode`只会被设置在第一个目录上,为了保证兼容性,我们要手动设置所有创建的目录
2013-12-25 13:05:16 +08:00
joyqi 51dbbffc6d fixed #143
没有将上传路径的定义放到设置中,这是一个不常用的定义,放在config.inc.php里添加一行`define('__TYPECHO_UPLOAD_DIR__', 'xxxx');`即可
增加jpeg支持
2013-12-24 16:01:37 +08:00
joyqi 12c9df95d4 修正附件上传替换问题
更新创建目录函数
修正markdown组件中对php 5.2的支持问题
提高strip_tags效率
2013-11-26 10:17:12 +08:00
joyqi 6f2e5b8413 经过我的多方研究,你只需要这个接口即可实现第三方存储和本地存储的无缝转换 2013-10-21 22:25:18 +08:00
joyqi f9e50dd7b4 修正上传bug 2013-10-18 22:27:18 +08:00
joyqi 99349b43e7 附件管理完善 2013-10-16 11:35:37 +08:00
joyqi 3ba9e2755e fix upload 2013-10-14 17:14:37 +08:00
joyqi 1b1da9bfd7 增加拖拽上传 2013-10-14 17:03:40 +08:00
joyqi 5cd89d8bcc fix upload 2013-10-14 15:32:46 +08:00
joyqi 815ec91c08 修正插入 2013-10-14 15:19:11 +08:00
joyqi 55379c90df 初始化
修改了上一个版本的一些错误,第一次提交
2013-07-17 13:13:57 +08:00