47 Commits

Author SHA1 Message Date
joyqi db8a3f7f3e fix nullable parameter error 2025-06-05 14:34:22 +08:00
joyqi 917a763811 Feat/improve styles (#1868)
* improve css

* fix table

* fix write page

* improve header nav

* fix menu

* fix menu

* fix menu

* add flex grid system

* fix

* fix flex

* fix draft version

* using main html element to replace div

* improve css

* add input type number

* fix custom-fields

* fix screen
2025-05-09 16:12:56 +08:00
joyqi f3a5336c1a Remove comment link if status is not approved (#1712)
* remove comment link if status is not approved

* fix stack

* fix: remove link in admin panel when comment status is not approved

* fix: comments page nav

* fix comment redirect url

* fix comment anchor

* fix waiting comment display

* fix: convert waiting to unapproved
2024-01-25 14:24:47 +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 91ae56484d fix the source to get content type (#1622) 2023-09-22 10:50:39 +08:00
joyqi 596d117210 fix: when setting CheckBox's default value to null [ref #1568] 2023-05-16 12:33:49 +08:00
Ryan Lieu c9de1b3b01 fix php 8.1 Deprecated: htmlspecialchars(): Passing null to parameter #1 (#1570)
* Fix multiple calls returning the same object

* fix: strtolower() passing null to parameter #1 ($string) of type string is deprecated

* fix: php 8.1 Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
2023-05-15 18:30:44 +08:00
joyqi a609b149e9 fix #1539 2023-03-03 16:37:32 +08:00
沈唁 c03ee2c8be Fix the error of getting request parameters (#1464) 2022-06-21 13:59:53 +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
jiayx 047bd17f19 Fixes for PHP 8.1 compatibility (#1293)
* Fixes for PHP 8.1 compatibility

* Fixes for PHP 8.1 compatibility

* 优化写法

* remove mixed type

* fix nullable column

* fix query filter

* recover

* recover fileds

* recover

* Update Text.php

* Update Text.php

Co-authored-by: joyqi <joyqi@users.noreply.github.com>
2022-01-28 23:51:24 +08:00
joyqi 919911e288 fix redirect 2021-11-17 00:33:05 +08:00
joyqi 5d20d57be9 fix #1173 2021-09-14 00:24:56 +08:00
joyqi 419183ae2f fix #1167 2021-09-10 23:09:59 +08:00
joyqi 58cb9105d4 fix #1157 2021-09-09 15:06:05 +08:00
joyqi 57106d85c9 fix requestUri 2021-09-08 22:33:26 +08:00
joyqi d24a16ad23 fix sandbox 2021-09-05 11:09:06 +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 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 91a970521c New context layer for widget. Improve backup performance. 2021-08-26 15:00:38 +08:00
joyqi 926ec3e117 fix bug 2021-08-24 18:47:21 +08:00
joyqi a2e784113a new request wrapper 2021-08-24 14:08:58 +08:00
joyqi 82fe09cf52 Finish refactoring widget helper 2021-08-23 12:32:18 +08:00
joyqi 5163c43610 remove old file 2021-08-22 01:27:32 +08:00
joyqi e20e6804e9 Finish router and plugin refactoring 2021-08-22 01:27:04 +08:00
joyqi 0e4391006c Still working on namespace 2021-08-21 21:22:43 +08:00
joyqi 3d0b5d5f6c reformat code 2021-08-18 22:29:34 +08:00
joyqi 147f7ede98 fix #881
Add 'setInputsAttribute' method for all form element classes.
2019-09-03 13:44:16 +08:00
xyuanmu 632ac977ee Update Fake.php
测试发现,这个值是不需要的
2018-12-22 12:05:02 +08:00
xyuanmu 247aa9e043 fix Undefined variable: options in Fake.php 2018-12-14 23:14:57 +08:00
joyqi 3c171785d2 remove session requirement 2017-08-21 12:46:49 +08:00
祁宁 a7bcb93d75 fix #257 2014-06-27 17:57:55 +08:00
祁宁 7ee9b8b60a 修正使用不合法的utf-8字符串导致的数据判断错误 2014-03-12 12:58:44 +08:00
祁宁 0d30d33aa3 修正泄露路径的漏洞 2014-03-10 21:05:20 +08:00
joyqi c056ba70fa fix #188
去掉所有不必要的require_once
2014-02-12 17:51:47 +08:00
joyqi a3f17fbadb 修正class 2014-01-08 15:21:28 +08:00
fen 851eb6b57d 剥离 .btn 样式 2014-01-07 23:53:05 +08:00
joyqi bc7fd3e097 fix #150
fix #163

增加更加多样的分页输出样式选项,包括
wrapTag    外层包裹标签名,默认ol
wrapClass  外层包裹类名
itemTag     内层标签名, 默认li
textTag      直接输出文字的标签名
currentClass  当前聚焦类名
prevClass   上一页类名
nextClass   下一页类名
2014-01-07 10:45:07 +08:00
joyqi ed2b3590a4 改进自定义字段支持 2013-12-02 11:21:16 +08:00
joyqi e6bf9e460d 今天就搞到这里,要去陪睡了 2013-11-24 23:35:44 +08:00
joyqi c86c007dca 更新markdown,加上nofollow,修正链接自动识别
更新消息机制,将后台cookie识别改为前台js cookie识别
更新session机制
2013-11-22 12:34:13 +08:00
joyqi 4fdddab33d fixed #76 2013-11-20 23:24:56 +08:00
joyqi 10ed729f84 用marked.js以及MarkdownExtraExtended替换旧的markdown解析引擎
全面支持表格,以及回车换行
2013-11-20 11:16:25 +08:00
joyqi 5715153532 增加样式 2013-10-08 21:26:23 +08:00
joyqi 55379c90df 初始化
修改了上一个版本的一些错误,第一次提交
2013-07-17 13:13:57 +08:00