crazywhalecc
3a57294e48
fix: add SIGHUP/SIGTERM handling, modernize PHP support and CI
...
Signal handling fixes:
- SignalListener: add SIGHUP/SIGTERM handling for both Swoole
and Workerman drivers in master and worker processes
- Prevent 100% CPU when IDE terminal is closed by ensuring
graceful shutdown on terminal hangup
PHP version support:
- Widen PHP constraint to 8.3, 8.4, 8.5
- Bump doctrine/dbal from ^2.13.1 to ^4.4
- Bump php-cs-fixer to ^3.64, phpstan to ^1.12
- Bump swoole/ide-helper to ^5.0
- Drop phpunit ^8.5 (EOL), keep ^9.0
CI updates:
- actions/checkout@v3 → @v4 (Node.js 20 deprecated)
- Bump static analysis/code style PHP from 8.1 to 8.3
2026-06-17 15:19:00 +08:00
crazywhalecc
ef1a9646e4
cs-fix
2024-10-02 20:50:52 +08:00
crazywhalecc
7f0761e545
fix plugin:make autoload bug
2023-05-20 19:32:43 +08:00
crazywhalecc
eeb3481c5a
simplify duplicated composer executable getter
2023-03-29 22:30:27 +08:00
crazywhalecc
d0bbd20acc
add composer metadata writer
2023-03-01 16:07:33 +08:00
crazywhalecc
470b2736b7
set default dir to new
2023-03-01 16:07:33 +08:00
crazywhalecc
13dd7e22f3
refactor plugin generator to new format
2023-03-01 16:07:33 +08:00
crazywhalecc
7cfdbee843
fix workerman select exit fake fatal bug
2023-02-12 19:28:19 +08:00
crazywhalecc
dcce05c019
fix message convert bug
2023-02-11 19:25:08 +08:00
crazywhalecc
707cd97d74
remove debug message
2023-02-10 16:52:21 +08:00
crazywhalecc
77c1d5ab17
some patch for 3.0 release
2023-02-10 16:52:21 +08:00
Jerry
75bd955e0b
fix stan
2023-02-02 09:01:12 +08:00
crazywhalecc
19fd2adeb0
fix ZMRequest array data convert
2023-01-08 16:44:57 +08:00
crazywhalecc
cd4b7df1d7
add onebot file downloader and uploader
2023-01-04 23:21:41 +08:00
crazywhalecc
2a3c953c36
add ZMRequest support
2022-12-31 15:35:19 +08:00
crazywhalecc
dfcb8a4550
separate bot action method to BotActionTrait
2022-12-30 16:13:25 +08:00
crazywhalecc
efda3f4408
enhancement for BotCommand and CommandArgument
2022-12-26 03:19:53 +08:00
crazywhalecc
aab57ce216
add PHPDoc
2022-12-25 23:20:57 +08:00
crazywhalecc
f140784a50
add PHPDoc
2022-12-25 23:19:49 +08:00
crazywhalecc
579269cb5b
add plugin make command
2022-12-25 23:11:10 +08:00
crazywhalecc
4035ffcffb
strict types
2022-12-24 16:19:26 +08:00
crazywhalecc
6e43d4092f
add CatCode text encode options
2022-12-24 01:38:15 +08:00
sunxyw
1d131871f1
add CatCode test
2022-12-23 17:35:19 +08:00
crazywhalecc
257e59b79f
remove debug log
2022-12-20 23:42:29 +08:00
crazywhalecc
c9bf0fb13c
prerelease of beta1
2022-12-20 23:19:55 +08:00
sunxyw
8ff7da4d23
PHP80 小修 ( #187 )
...
* migrate-php80
fix styles
fix static analyse
* fix some bugs
2022-12-19 20:22:47 +08:00
crazywhalecc
39b3a74d34
refactor with php-libonebot factory classes
2022-12-18 18:33:51 +08:00
crazywhalecc
ed4537e5d5
update some strict parameters and separate easter eggs
2022-12-18 00:17:28 +08:00
crazywhalecc
35dec947df
add proxy server command and update lowest version of PHP >= 8.0
2022-11-03 10:18:17 +08:00
sunxyw
eb7e700e7c
replace legacy config
2022-08-23 18:02:00 +08:00
sunxyw
74af1516ac
add get file load type test
2022-08-22 16:12:50 +08:00
crazywhalecc
da6000b4da
fix container and coroutine
2022-08-15 15:06:45 +08:00
crazywhalecc
346be22ea9
change comment
2022-08-14 18:15:45 +08:00
crazywhalecc
b2c95d96b1
refactor all base things
2022-08-14 18:15:45 +08:00
crazywhalecc
41b058aeaf
update to 3.0.0-alpha2 (build 610): refactor driver
2022-08-14 18:15:45 +08:00
sunxyw
4fe74eb5fe
replace console with logger
2022-06-08 23:14:25 +08:00
crazywhalecc
ee6035c59a
add openswoole support
2022-05-14 23:51:17 +08:00
crazywhalecc
a757330788
move process state related function to ProcessManager
2022-05-14 23:43:15 +08:00
crazywhalecc
18ae960f86
refactor ZMConfig
2022-05-10 00:30:33 +08:00
sunxyw
a6401fa9ef
add adapter feature ( #121 )
2022-05-09 16:39:09 +08:00
sunxyw
884f07baa6
add reflection util tests ( #116 )
2022-05-05 22:32:33 +08:00
crazywhalecc
b6742526aa
add Terminal related test
2022-05-04 21:31:38 +08:00
sunxyw
dab91f526e
fix command help format
2022-05-03 16:56:04 +08:00
sunxyw
7df05df48f
fix generate command list events not exists
2022-05-03 16:11:15 +08:00
sunxyw
707a1ae628
fix attribute php74 compatibility
2022-05-03 13:18:09 +08:00
sunxyw
a65fc4076b
update MessageUtilTest
2022-05-03 13:09:58 +08:00
sunxyw
f487897cf2
add arguments list to command info util
2022-05-03 13:06:58 +08:00
sunxyw
8cb6a32341
refactor CommandHelpGenerator to CommandInfoUtil
2022-05-03 13:06:55 +08:00
Jerry Ma
d19d7acedd
add @CommandArgument annotation
...
* add @CommandArgument and relevant event changes
* fix unknown bug
* remove relative constant for CommandArgument
2022-05-03 10:06:57 +08:00
sunxyw
0a7c5f06c6
refactor RouteManager static file routing ( #105 )
2022-04-29 12:23:06 +08:00