70 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
Lu Fei
9635a7a0ba Optimize applySlug (#1684)
* Optimize applySlug

* optimize code

* fix: more rigorous judgment

* improve slug generating

---------

Co-authored-by: joyqi <joyqi@segmentfault.com>
2024-01-05 15:55:34 +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
cf9776ee43 replace underscore with backslash 2021-08-24 14:19:14 +08:00
joyqi
44aef6c707 reformat code 2021-08-18 18:41:39 +08:00
joyqi
4861a40b9e fix #1100 2021-06-08 11:47:03 +08:00
joyqi
8045a0d403 fix #821 2019-01-10 00:24:38 +08:00
joyqi
0b1096c588 Now you can paste an image from clicpboard into the editor directly. 2018-10-23 16:29:48 +08:00
joyqi
1d56948c4d fix img load event 2018-07-25 10:56:09 +08:00
joyqi
2ff40c4869 fix textarea focus 2017-12-14 18:56:07 +08:00
joyqi
72ebc723b7 双向滚动绑定 2017-12-14 02:27:51 +08:00
joyqi
88b1aa465c 编辑器同步跟随功能 2017-12-13 16:55:08 +08:00
joyqi
c57f34b3eb detect editor change event 2017-11-20 12:51:15 +08:00
joyqi
d70998ac81 finish preview 2017-11-19 21:58:11 +08:00
joyqi
72c236f651 fix #653
fix #655
2017-11-07 23:13:38 +08:00
joyqi
adfbc6ca28 fix #641 2017-10-30 20:57:04 +08:00
joyqi
da1e1b8d3b fix #624 2017-10-27 00:43:08 +08:00
joyqi
909145058f enable super html mode 2017-03-30 17:00:30 +08:00
joyqi
f2ebf4b10a add some useful html tag to markdown whitelist 2017-01-25 12:12:25 +08:00
joyqi
627e5cf54e minor bugs 2016-11-30 10:58:30 +08:00
joyqi
cc8449b67e * add Hyperdown.js
* add Mysqli
2016-11-30 10:50:51 +08:00
祁宁
9d84c8f596 fix for php 5.2 2014-10-21 17:25:56 +08:00
祁宁
2b2a7e907b fix #319
使用pagedown原生解析器替换markdown-extra
2014-10-20 23:29:02 +08:00
祁宁
04b1ef83d2 更换为MarkdownExtraExtended解析引擎 2014-10-11 16:25:56 +08:00
祁宁
493eb47af3 fix #291
给token字符串加上扰码机制
2014-10-10 14:17:25 +08:00
祁宁
29c55b43f4 fix editor css 2014-09-29 00:02:53 +08:00
祁宁
3e5a01637b update to CommonMark support 2014-09-26 21:40:55 +08:00
祁宁
25c768a630 fix markdown preview 2014-09-03 00:07:46 +08:00
祁宁
d1fd4b2b9c 更换Markdown解析引擎为更准确的Parsedown
统一前后端的Markdown解析
更新Jquery 到2.1.1

fix #267
2014-09-02 13:11:57 +08:00
祁宁
5e32925a94 clean some unused widgets 2014-04-23 10:50:12 +08:00
祁宁
ea3d5585a8 修正一些细节 2014-03-20 23:54:57 +08:00
joyqi
78760beeea 更加优秀的预览cache 2014-03-03 15:25:10 +08:00
joyqi
64db5b53da fix #161
为何有这么多人没有json支持,我都不知道你们是怎么装的php,算了,还是加上这个库吧
2014-01-08 15:03:37 +08:00
fen
2f1624b71b Merge branch 'master' of https://github.com/typecho/typecho
Conflicts:
	admin/editor-js.php
2014-01-07 23:46:22 +08:00
fen
c22ecae58a 改进 Issue #145 上传页面 2014-01-07 23:41:29 +08:00
joyqi
a21d13d4ed fix #166 2014-01-07 22:54:25 +08:00
joyqi
9788c44819 修正全屏上传按钮 2014-01-07 14:49:34 +08:00
joyqi
66626508f0 修正上传用户体验
当用户的附件上传完毕后,直接弹出插入图片或者链接对话框,让用户选择插入还是取消
2013-12-24 22:52:31 +08:00
joyqi
da5fa61414 给markdown编辑器的js脚本中增加插件挂载点
让用户可以通过js扩展编辑器的功能,比如增加其他按钮等等
2013-12-20 15:52:49 +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
08bccb90fc fixed #138
修正判断不全面导致的撰写新文章页面也会出现提示的bug
2013-12-19 12:36:37 +08:00
joyqi
bfd97b3a51 增加强制使用Markdown编辑的功能
当用户编辑一个没有使用Markdown发布的内容时,会弹出提示让用户选择是否强制使用Markdown来编辑它
2013-12-19 11:24:51 +08:00
joyqi
4bc3e9d97b 修正遗漏的语言项
修正GetText库无法读取mo文件的bug
2013-12-18 00:19:52 +08:00
joyqi
511f475bdd fixed #107 2013-12-08 18:49:19 +08:00
joyqi
8ba71ee6ac fixed #96 2013-12-02 10:18:01 +08:00
joyqi
8b5119dca4 fixed #94 2013-11-30 16:45:31 +08:00
joyqi
6b4ac97135 fixed #89 2013-11-29 21:02:10 +08:00
fen
baa324c639 Merge branch 'master' of https://github.com/typecho/typecho-replica 2013-11-26 17:25:05 +08:00
fen
ce63d7b8c3 优化编辑器展示 2013-11-26 17:24:57 +08:00
joyqi
cdad2e9ec0 fix preview height 2013-11-26 17:15:48 +08:00