55 Commits

Author SHA1 Message Date
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
77aebcbd0e fix #1674 (#1676) 2024-01-02 11:16:44 +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
沈唁
f34d14280d Fix compatibility with PHP 8.1 (#1324)
* Fix compatibility with PHP 8.1

PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in typecho/var/Widget/Archive.php on line 1292

* Fix login

* Fix write

* Fix manage

* Fix PHP Deprecated
2022-02-15 11:10:47 +08:00
joyqi
7bd37f7d8c fix options 2021-09-02 11:34:12 +08:00
joyqi
ba0bfd3551 replace with new namespace rule 2021-09-01 17:08:57 +08:00
joyqi
cf9776ee43 replace underscore with backslash 2021-08-24 14:19:14 +08:00
joyqi
b6626e42d8 fix error 2018-11-26 13:28:19 +08:00
joyqi
6fbb65487c Remove auto complete for some input elements. 2018-09-26 11:11:44 +08:00
joyqi
d70998ac81 finish preview 2017-11-19 21:58:11 +08:00
joyqi
ab180aa385 add preview function 2017-11-19 18:51:27 +08:00
joyqi
972e65d02b 全面增加security安全模块,保护免受跨站攻击 2014-02-27 23:13:09 +08:00
fen
c22ecae58a 改进 Issue #145 上传页面 2014-01-07 23:41:29 +08:00
joyqi
9788c44819 修正全屏上传按钮 2014-01-07 14:49:34 +08:00
qt06
76c9e7fd23 add the for attribute fto the visibility label. 2013-12-29 14:36:34 +08:00
fen
e74abeedd6 修复栅格历史遗留问题 2013-12-25 20:32:04 +08:00
fen
7c4da04be1 添加全屏撰写时附件上传,还不完美 fixed Issue #145 2013-12-25 20:16:25 +08:00
fen
4af6b4ad21 修改page hidden 2013-12-25 13:10:03 +08:00
joyqi
6b38b7f541 fixed #137
在撰写页面输出文章标题时,被htmlspecialchars函数转义了两次导致了这个错误
2013-12-19 10:48:40 +08:00
fen
a97266df06 减少代码量 2013-12-09 21:27:03 +08:00
joyqi
9875a00221 修剪撰写侧边栏 2013-12-03 11:57:48 +08:00
joyqi
ee9958def5 给页面增加自定义字段 2013-11-27 11:12:59 +08:00
joyqi
d15d054363 修正文件上传 2013-11-26 12:30:01 +08:00
fen
a383331155 调整附件上传 2013-11-26 11:16:44 +08:00
fen
b2681975be 将撰写页的附件上传移动到侧栏
移除 jQuery ui 里的 tabs
2013-11-25 21:53:15 +08:00
fen
8e68b2da2e Merge branch 'master' of https://github.com/typecho/typecho-replica
Conflicts:
	admin/custom-fields.php
2013-11-25 12:07:07 +08:00
fen
cc57832b8f 修改字段布局
增加字段的可用性
2013-11-25 12:05:20 +08:00
joyqi
b68e261a62 fix bugs 2013-11-25 11:41:31 +08:00
fen
5545ce286a 修改自定义字段布局 2013-11-24 21:14:02 +08:00
joyqi
b7d24401f0 fixed #80 2013-11-21 21:42:01 +08:00
fen
3873bff06e fixed responsive with issue #74
update grid system
2013-11-18 14:57:48 +08:00
fen
1870eee501 issue #56 好多改进 2013-11-06 13:02:04 +08:00
fen
290195b982 添加按钮 type 2013-11-06 11:48:50 +08:00
fen
260fda92db 修复 Issue #56 部分内容 2013-11-06 11:41:52 +08:00
fen
adcacca579 fix part of Issue #56 2013-11-05 21:55:12 +08:00
joyqi
d77810e3cb Update write-page.php
其实是个口误
2013-10-27 23:58:37 +08:00
joyqi
770a75b3a1 fix fullscreen 2013-10-25 12:17:40 +08:00
joyqi
6706355138 编辑器拖动调整大小 2013-10-21 19:15:07 +08:00
fen
6f9c585fcc 增加 resize 按钮高度 2013-10-21 12:20:04 +08:00
joyqi
96d072bbdb 修正撰写slug 2013-10-20 14:06:20 +08:00
joyqi
6c3ef6da05 修正撰写页识别错误 2013-10-20 01:53:35 +08:00
joyqi
b8c0313ef0 上传文件插入搞定 2013-10-19 19:19:03 +08:00
fen
fed32152f3 Merge branch 'master' of https://github.com/typecho/typecho-replica 2013-10-18 23:07:42 +08:00
joyqi
c32477433c 修正markdown编辑器 2013-10-18 22:50:07 +08:00
fen
834daad9f5 添加预览样式 2013-10-18 22:33:08 +08:00
joyqi
e6697248ac 升级markdown 2013-10-18 15:44:02 +08:00
fen
ca155fce44 添加错误页面 2013-10-17 14:11:14 +08:00
joyqi
3bc77e9a52 创建页面搞定 2013-10-17 11:39:42 +08:00
joyqi
f8340044ae 修正一堆bug 2013-10-15 14:51:53 +08:00
joyqi
62d1b08264 fix edit 2013-10-15 14:10:03 +08:00