46 Commits

Author SHA1 Message Date
Lu Fei
e306960db4 Fix installation failure (#1664)
* Fix installation failure

* fix missing secret

* Apply suggestions from code review
2023-12-31 16:10:05 +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
b989459d87 fix #1545 and close #1547 2023-03-28 11:36:01 +08:00
joyqi
3119c05e2c fix #1441, fix #1442 2022-05-17 10:24:56 +08:00
joyqi
05e20c0ae5 Fix themeUrl format 2022-05-13 00:46:12 +08:00
joyqi
61606a9069 fix #1380 2022-04-05 22:53:39 +08:00
joyqi
ded268ef59 Pr/1344 (#1360)
* Add missing theme action

* Fix typo

* Optimize code

* Optimize code

* Update themes.php

* Simpler missing theme judgement

Co-authored-by: sy-records <52o@qq52o.cn>
2022-04-01 16:50:23 +08:00
joyqi
432b69f70d fix install detect & error display 2021-09-17 15:06:05 +08:00
joyqi
7ef5fcabd5 fix pingback & request 2021-09-15 01:25:36 +08:00
joyqi
9bd4eaeae8 fix release action 2021-09-08 16:17:55 +08:00
joyqi
ee00fc567f fix #1152 2021-09-07 15:59:09 +08:00
joyqi
74b0f45a72 fix format 2021-09-06 14:16:21 +08:00
joyqi
7068b2bbe1 Refactor method pluginDIr 2021-09-02 17:55:41 +08:00
joyqi
4791cd978e fix bug 2021-09-02 16:13:32 +08:00
joyqi
50dea3fc24 fix plugin namespace 2021-09-01 18:45:59 +08:00
joyqi
7db5f3c873 change all 2021-09-01 18:27:03 +08:00
joyqi
ba0bfd3551 replace with new namespace rule 2021-09-01 17:08:57 +08:00
joyqi
2fad7cc398 fix attr 2021-09-01 13:49:32 +08:00
joyqi
e15c2966a9 still working on it 2021-08-30 14:52:52 +08:00
joyqi
539ef5e111 still working on it 2021-08-27 18:06:57 +08:00
joyqi
1c189588db Reformat code 2021-08-20 15:03:45 +08:00
joyqi
d0cedde7c0 change build target 2021-08-19 16:56:59 +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
0d4299d99e update install 2021-08-17 01:53:47 +08:00
joyqi
bac7340c2a improve installation 2021-08-16 18:34:25 +08:00
joyqi
54af368084 Add more media file types. 2021-05-21 11:30:28 +08:00
joyqi
32c2f8217d fix #845 2019-03-16 14:50:13 +08:00
joyqi
82212edba0 fix #1343 2018-01-22 11:42:59 +08:00
joyqi
97390a2af5 update plupload 2017-11-15 17:51:29 +08:00
joyqi
01d3badc9b Add new constants for dynamic site url
fix #630
2017-10-29 16:11:37 +08:00
joyqi
9884a2fc76 fix #628 2017-10-29 15:45:47 +08:00
joyqi
ed974cd9fe fix #316
fix #390
fix #430

add constants __TYPECHO_URL_PREFIX__ to custom global url prefix
2016-01-26 17:50:26 +08:00
祁宁
cdc3df3890 自动使用default皮肤 2014-10-10 15:51:37 +08:00
祁宁
d9ee03df73 replace hash module with PasswordHash 2014-04-23 14:43:31 +08:00
祁宁
5e32925a94 clean some unused widgets 2014-04-23 10:50:12 +08:00
祁宁
8c3d36d1b2 fix some bugs 2014-04-22 22:42:35 +08:00
祁宁
6a73282e80 add widget dynamic alias method, which allows you hack widget class anywhere 2014-04-22 11:53:54 +08:00
祁宁
e927f47566 add __TYPECHO_SITE_URL__ constant 2014-04-21 12:34:38 +08:00
祁宁
bb1642c95f add __TYPECHO_THEME_URL__ and __TYPECHO_PLUGIN_URL__ constants 2014-04-20 20:59:58 +08:00
祁宁
15927ad775 增加token保护
防垃圾评论
2014-03-14 16:11:28 +08:00
祁宁
0d30d33aa3 修正泄露路径的漏洞 2014-03-10 21:05:20 +08:00
joyqi
972e65d02b 全面增加security安全模块,保护免受跨站攻击 2014-02-27 23:13:09 +08:00
joyqi
51dbbffc6d fixed #143
没有将上传路径的定义放到设置中,这是一个不常用的定义,放在config.inc.php里添加一行`define('__TYPECHO_UPLOAD_DIR__', 'xxxx');`即可
增加jpeg支持
2013-12-24 16:01:37 +08:00
joyqi
2b9cf7755a 增加站点url设置功能,并且当站点url地址发生变化时,可以让用户以新地址正常登录后台并修改站点url
修正http://forum.typecho.org/viewtopic.php?f=4&t=4708 提到的问题
2013-12-20 00:11:34 +08:00
joyqi
55379c90df 初始化
修改了上一个版本的一些错误,第一次提交
2013-07-17 13:13:57 +08:00