93 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
81ad2232bf fix #1671 (#1678) 2024-01-04 11:13:36 +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
4f13adcadd replace theme and plugin file 2021-09-01 17:21:58 +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
75d5677d7d Make API Typecho_Common::arrayFlatten deprecated, please use array_column instead. 2021-08-20 16:42:40 +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
祁宁
19251770fd 恢复样式 2014-10-10 15:03:28 +08:00
祁宁
493eb47af3 fix #291
给token字符串加上扰码机制
2014-10-10 14:17:25 +08:00
joyqi
972e65d02b 全面增加security安全模块,保护免受跨站攻击 2014-02-27 23:13:09 +08:00
joyqi
8e7bf64397 修复多级分类后台显示错误 2014-02-25 11:24:48 +08:00
fen
c22ecae58a 改进 Issue #145 上传页面 2014-01-07 23:41:29 +08:00
joyqi
9788c44819 修正全屏上传按钮 2014-01-07 14:49: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
c7f30f0516 改进附件上传文件过大情况 2013-12-25 13:00:22 +08:00
fen
f7eddbaf79 预留全屏附件上传 2013-12-24 16:55:28 +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
fen
376c8869b7 修复自定义区域聚焦 2013-12-06 17:38:04 +08:00
fen
f5b3e92e8a 添加前台 landmark
优化撰写页 label
2013-12-06 17:26:32 +08:00
joyqi
9875a00221 修剪撰写侧边栏 2013-12-03 11:57:48 +08:00
fen
5692ff5cb1 修改编辑预览方式 2013-11-26 16:10:53 +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
joyqi
fa55695621 测试插件中使用默认自定义字段 2013-11-25 10:39:02 +08:00
joyqi
e6bf9e460d 今天就搞到这里,要去陪睡了 2013-11-24 23:35:44 +08:00
fen
5545ce286a 修改自定义字段布局 2013-11-24 21:14:02 +08:00
fen
c1f08101b7 添加扩展字段 2013-11-24 20:46:16 +08:00
fen
3873bff06e fixed responsive with issue #74
update grid system
2013-11-18 14:57:48 +08:00
joyqi
fc5afc23bc 给文章增加一个隐私选项,可以选择让文章不现实出来,而只能通过url访问
增加可以调整分类固定链接样式的选项
2013-11-17 21:22:12 +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
安坚实
42dabf361a 解决因 input name 值错误导致无法给文章加密的问题
设置密码保护的 input 的 name 值是 post-password,但后端期待的却是 $_POST['password'] 导致因取不到密码,而没法把文章的状态设为密码保护。
2013-10-28 15:22:48 +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