1522 Commits

Author SHA1 Message Date
Copilot
4079a64a88 修复 PHP 8.5 中 curl_close() 弃用警告 (#1924)
* Initial plan

* 移除 curl_close() 调用以修复 PHP 8.5 弃用警告

Co-authored-by: joyqi <59437+joyqi@users.noreply.github.com>

* 使用 PHP 版本检查兼容 PHP 7.4 的 curl_close 处理

Co-authored-by: joyqi <59437+joyqi@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joyqi <59437+joyqi@users.noreply.github.com>
2025-11-27 11:37:42 +08:00
猫东东
9364388035 修复 PHP 8.4+ 中 PDO::MYSQL_ATTR_USE_BUFFERED_QUERY 的弃用警告 (#1922) 2025-11-27 09:05:18 +08:00
Luffy
7a3c86a110 Support connect to mysql using socket (#1749)
* Support connect to mysql using socket

* pgsql can also use unix_socket

fix Deprecated: pg_escape_string(): Automatic fetching of PostgreSQL connection

* Update install.php

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update var/Typecho/Db/Adapter/Mysqli.php

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix quoteValue method to correctly escape single quotes in strings

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 23:55:43 +08:00
Luffy
15967ea059 Fix login failed when username contains @ (#1894)
* Fix login failed when username contains @

* Update var/Widget/User.php

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 17:17:31 +08:00
Luffy
570f982709 Add 'NOT' to query keywords (#1903) 2025-11-19 22:28:13 +08:00
Luffy
6dbcdf7eae Fix explicitly declare nullable type for $rules parameter (#1908) 2025-08-08 12:09:21 +08:00
joyqi
5e7e10969e fix default theme's i18n problem https://github.com/typecho/languages/issues/49 2025-08-05 11:01:31 +08:00
joyqi
3d261e08b9 fix: don't send ping back to self 2025-08-01 18:04:18 +08:00
joyqi
546470b2de update hyperdown 2025-07-04 15:10:18 +08:00
joyqi
23cdc89441 fix #1882 (#1883) 2025-06-27 11:12:45 +08:00
Luffy
d9d0be334d Update canonical link condition (#1881) 2025-06-11 16:39:39 +08:00
joyqi
ba4e4134ad fix form validate error v1.3.0-rc 2025-06-05 15:10:47 +08:00
joyqi
7ef2c08a96 fix validate error 2025-06-05 15:09:03 +08:00
joyqi
db8a3f7f3e fix nullable parameter error 2025-06-05 14:34:22 +08:00
joyqi
5ef475b73f feat: validate via regexp (#1877) 2025-05-12 23:40:38 +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
Robert Silén
50d572a0af Add MariaDB to README.md (#1827) 2025-02-19 10:50:05 +08:00
Luffy
752fc6b0ad Fix missing nameExists and mailExists (#1854) 2025-02-03 10:47:29 +08:00
Luffy
95f6e7b4f5 Remove debug output from category selection in Archive widget (#1852) 2025-02-03 10:40:12 +08:00
Pomelo_Official
67a830f86b fix typo "稍侯" to "稍候" (#1850)
fix typo "稍侯" to "稍候"
2025-01-31 13:35:15 +08:00
Luffy
8ff55f5266 Fix #1846 (#1847) 2025-01-14 21:56:48 +08:00
joyqi
8035b22347 fix #1843 (#1844)
* fix #1843
Remove categroy name-exists detecting

* detect category-exists only in the same level
2025-01-13 16:48:46 +08:00
joyqi
b989f24c5b Fix/1754 (#1842)
* add deprecated methods

* fix #1754
2025-01-11 17:51:29 +08:00
joyqi
23724c4193 fix #1830 (#1841) 2025-01-10 14:53:47 +08:00
joyqi
6ddf1c1a23 fix #1816 (#1839)
* fix #1816

* fix call stack

* fix typo error
2025-01-07 19:42:15 +08:00
Luffy
7d51b210c9 Fix manage comments failed (#1838) 2025-01-04 12:45:16 +08:00
Mr. Chip
91876b42aa Fix: fix preg_match parameter#2 $subject is null deprecated issue (#1798) 2024-09-23 10:49:47 +08:00
Luffy
5783cb0d01 fix sendPingHandle warning (#1808) 2024-09-23 10:48:19 +08:00
ZShijun
87d479dd57 Update Login.php (#1804)
修复勾选下次自动登录,但重启浏览器不生效的bug
2024-09-11 10:59:32 +08:00
Luffy
ef9ef2ce45 Require PHP 7.4.0 or higher (#1785) 2024-07-24 15:51:19 +08:00
陆之岇
31f5192c9d Fix timezone error in XmlRpc (#1758)
Signed-off-by: Kraity <kraity@krait.cn>
2024-06-20 11:22:51 +08:00
Luffy
4ce9cdefc2 Fix TypeError: Typed property Typecho\Feed::$subTitle must be string (#1779) 2024-06-12 10:47:06 +08:00
Luffy
0b0476e565 Fix missing WidgetException error message (#1730) 2024-04-19 12:11:39 +08:00
Fen
71c6381b15 fix: nav menu active style (#1752) 2024-03-29 11:38:30 +08:00
Fen
fa107ffa51 update picocss to 2.0 (#1751) 2024-03-28 15:37:19 +08:00
Luffy
d84e261f7b Fix missing get date (#1740) 2024-02-28 10:57:47 +08:00
Luffy
3933a23ad7 Fix assign null to property Widget\Archive::$archiveKeywords (#1738)
* Fix assign null to property Widget\Archive::$archiveKeywords

* Fix
2024-02-26 11:52:17 +08:00
fen
0a40b1e7ee improve: comment color 2024-01-29 16:32:38 +08:00
Lu Fei
bda7541682 Limit build execution (#1723) 2024-01-29 12:05:30 +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
Lu Fei
d1e961af90 Upgrade actions/checkout to v4 (#1718) 2024-01-24 02:18:19 +08:00
joyqi
e3bdef645d fix: remove unnecessary DOCTYPE tags (#1715) 2024-01-23 18:30:17 +08:00
joyqi
de53b64880 fix: remove special chars (#1716) 2024-01-23 18:29:59 +08:00
joyqi
d0b62eabe9 fix: xmlrpc message args (#1714) 2024-01-22 14:36:10 +08:00
Fen
99ffd36648 Fix/classic22 (#1708)
* fix: use prefers-color-scheme control dark mode

* update color
2024-01-15 10:56:47 +08:00
电脑星人
4028d7d160 fix: getHeader for Content-Type & Content-Length (#1703)
* fix: Request::getHeader for Content-Type & Content-Length

* fix: get content-type through native api

---------

Co-authored-by: joyqi <joyqi@users.noreply.github.com>
2024-01-13 22:11:38 +08:00
joyqi
a30a6c122d fix: choose the correct key when setting widget value (#1702) 2024-01-10 15:37:05 +08:00
Fen
0d28025bf4 update issue template 2024-01-10 12:58:20 +08:00
Fen
8b75782619 update issue template (#1700) 2024-01-10 12:45:24 +08:00
Fen
c5ab9295f0 Fix/classic 22 (#1698)
* style: move customize color to theme.css
2024-01-09 16:33:40 +08:00