Commit Graph

311 Commits

Author SHA1 Message Date
joyqi f206d852bd Merge commit 'e143be0036b91a6ec4bfc5e8d3ad7c19edbfa6e8' into dev 2023-09-22 11:08:55 +08:00
joyqi 91ae56484d fix the source to get content type (#1622) 2023-09-22 10:50:39 +08:00
Lu Fei 9910a9cddc Optimize checkVersion,feed code (#1605) 2023-09-22 10:49:51 +08:00
joyqi 38562bab48 Merge commit '9d1b01a8736ab1ce39e9e2e666a2f992eba28b0f' into dev 2023-07-07 16:56:26 +08:00
logdd 206880ba71 重复执行判断的优化 (#1586)
使用$isNamespace变量,避免重复判断
2023-06-05 15:15:24 +08:00
joyqi 596d117210 fix: when setting CheckBox's default value to null [ref #1568] 2023-05-16 12:33:49 +08:00
joyqi 98e4c1d16d fix url validate 2023-05-15 21:44:12 +08:00
joyqi 7a41f0d013 fix email validate 2023-05-15 19:55:36 +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
Patrick SAMA 83d4d020ed Fix an XSS vulnerability in v1.2.1-rc (#1561)
* fix #1560

* Update var/Typecho/Validate.php

Co-authored-by: 沈唁 <52o@qq52o.cn>

---------

Co-authored-by: joyqi <joyqi@users.noreply.github.com>
Co-authored-by: 沈唁 <52o@qq52o.cn>
2023-05-15 18:29:47 +08:00
joyqi 6de71129a4 Merge commit 'daef17d7eb250419ff84f499e87d25ee71daac87' into dev
# Conflicts:
#	var/Utils/Upgrade.php
2023-03-29 16:20:01 +08:00
沈唁 daef17d7eb Support ssl for pdo_mysql and mysqli (#1525)
* Support ssl for pdo_mysql and mysqli

* Improve config name for mysql ssl mode, and fix some minor bugs.

* Fix typo

---------

Co-authored-by: joyqi <joyqi@segmentfault.com>
2023-03-29 14:33:23 +08:00
joyqi 65f5974e17 Replace the protocol of backend remote checking url from http to https. 2023-03-28 12:07:33 +08:00
joyqi a609b149e9 fix #1539 2023-03-03 16:37:32 +08:00
joyqi d4a5f765a3 Merge branch 'master' into dev
# Conflicts:
#	admin/css/style.css
#	var/Widget/Archive.php
2023-01-29 14:28:43 +08:00
沈唁 16d21f03ef Fix htmlspecialchars error for feed (#1522) 2023-01-11 00:45:28 +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
MBRjun Duplicate 02937dc51c Fix QUIC/https Mixed Content (#1423) 2022-05-04 09:31:59 +08:00
沈唁 f31e6daf7b Fix notice not clear (#1416) 2022-04-26 10:29:26 +08:00
沈唁 3512fd41bf Enhancement of Typecho\Cookie (#1399) 2022-04-14 15:49:04 +08:00
joyqi a74206a89e Add CommentPage widget 2022-04-07 12:55:19 +08:00
joyqi 22a8ad362e add feed render 2022-04-07 01:53:33 +08:00
joyqi 61606a9069 fix #1380 2022-04-05 22:53:39 +08:00
joyqi 34e5bf2861 fix #1375 2022-04-04 00:01:33 +08:00
joyqi d4068b1661 fix #1363, close #1364
Add json request & response. Perform async service via json request.
2022-04-02 15:33:17 +08:00
沈唁 4be93f2741 Fix missing mysqli_connect_errno (#1346) 2022-03-28 12:11:24 +08:00
joyqi 6100695d87 fix db exception 2022-03-25 15:31:57 +08:00
joyqi 1b673e06ff fix typecho/Dockerfile#9 2022-03-22 14:24:14 +08:00
沈唁 17fcb2f08b Fix undefined Typecho\Db\Adapter_Exception (#1334) 2022-03-15 16:09:32 +08:00
joyqi b23277267a fix #1328 2022-02-24 23:21:35 +08:00
沈唁 b0d78a81dc Fix #1326 (#1327) 2022-02-21 21:51:13 +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
沈唁 13dc5e87dd Fix #1322 (#1323)
Great work!
2022-02-15 11:10:15 +08:00
joyqi 75899e287d fix #1268 2022-01-28 23:58:31 +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 9c075dcdf0 fix #1279 2022-01-13 14:04:58 +08:00
joyqi 157fc05265 fix #1268 2021-12-13 11:58:35 +08:00
joyqi c047669900 fix #1257 2021-12-06 22:09:17 +08:00
joyqi eee0228fed Refactor HttpClient, fix #1246 2021-11-18 00:20:24 +08:00
joyqi 919911e288 fix redirect 2021-11-17 00:33:05 +08:00
joyqi dd4bf889de fix #1222 2021-11-04 16:37:29 +08:00
joyqi ceaa545c7d fix #1212 2021-10-28 19:53:18 +08:00
joyqi 01d9d0c3f5 fix #1207 2021-10-28 12:04:00 +08:00
joyqi 6b46dd9c50 Merge branch 'master' of github.com:typecho/typecho 2021-10-21 22:09:05 +08:00
joyqi cb4457ab52 fix #1201 2021-10-21 22:08:53 +08:00
joyqi 8a57b91343 fix #1203 2021-10-21 18:49:05 +08:00
joyqi c66b6e20ec fix #1187 2021-10-21 11:10:34 +08:00
joyqi fc9aaf66f3 Use TypechoPlugin\ for plugin namespace 2021-09-16 17:53:59 +08:00
joyqi ec495d7e24 Add magic method to native request object 2021-09-16 17:05:43 +08:00