jerry
c2d3b5f92a
update to build 406 version
2021-04-06 01:19:56 +08:00
jerry
77e77e9cc3
update to 2.4.4 version (build 405)
...
change requirements: add pcntl as required extension
update docs
2021-03-29 17:12:09 +08:00
jerry
6b872c6f74
update to 2.4.3 version (build 403)
...
add config: swoole.max_wait_time (default 5)
add constant MAIN_WORKER
add getExpireTS() for LightCache
fix savePersistence() bug
add zm_go() to prevent errors
2021-03-29 15:34:24 +08:00
jerry
93a68a5582
update to v2.4.0 (build 400)
...
add systemd:generate command
add check:config command
init command add `--force|-F` option
add MessageUtil function `addShortCommand()`
clear debug message
2021-03-25 16:18:09 +08:00
jerry
6155236d3c
update to v2.4.0 (build 399)
...
add CheckConfigCommand.php
add config update record docs
adjust swoole version to 4.5.0
fix stop and reload bugs
add $_running_annotation
add remote terminal
update global config
add timer tick exception handler
add zm_xxx global functions
add isAtMe(), splitCommand(), matchCommand() function for MessageUtil
add workerAction(), sendActionToWorker(), resumeAllWorkerCoroutines() functions for ProcessManager
optimize CQCommand match function
add custom TerminalCommand annotation
add TuringAPI
add getReloadableFiles() function for ZMUtil
2021-03-24 23:34:46 +08:00
235256d679
rollback and correct to 398(v2.3.5)
2021-03-23 14:49:42 +08:00
jerry
0ff4e52ed3
tmp connect
2021-03-22 07:44:11 +08:00
e77b9d4970
update to 2.3.1 version (build 388)
...
cleanup code and fix a bug
2021-03-18 14:56:35 +08:00
jerry
f908513dca
update to build 385
...
add CQObject for CQ
add after-stop action(set terminal level 0)
update global.php modules, add http_proxy_server
add MessageUtil.php for message parsing
add RouteManager::addStaticFileRoute() for quick handling static file
finish onTask function finally!!
add TaskManager::runTask()
2021-03-15 02:54:16 +08:00
jerry
7dc39e6ada
update to 2.2.11 verion
...
add build version (start from 384)
make 启动中 log as verbose
remove console input
fix pure http server bug
add error handler for zm_timer_tick and zm_timer_after
2021-03-13 15:16:10 +08:00
jerry
a23f3d8f16
update to 2.2.9 version
...
update reply() to support quick operation
fix reload bug
fix reply() bug
2021-03-06 17:22:42 +08:00
jerry
957c69bd1e
update to 2.2.7 version
...
fix reply() bug
fix access_token bug
2021-02-27 16:19:18 +08:00
Wang
faf9f5d988
Update ServerEventHandler.php
...
-When the token is incorrect, repeated connection events occur in the framework
2021-02-27 00:04:02 +08:00
jerry
69521a1f1f
cleanup code, update some features
...
add Hitokoto API
add Closure for access_token
add working_dir() global function
adjust reply() method to .handle_quick_operation
2021-02-24 23:37:00 +08:00
jerry
f677b0e132
update to 2.2.5 version
...
add saveToJson and loadFromJson function for DataProvider.php
fix @OnSave annotation not working
adjust swoole timer tick
add hasKey() for WorkerCache.php
2021-02-15 15:15:26 +08:00
jerry
77c12db31a
reformat code
2021-02-09 17:09:09 +08:00
jerry
0c9f246690
update to 2.2.4 version
...
update docs
fix broken ssh caused cpu overloading
fix WorkerCache bug when no global config
add global function zm_atomic
2021-02-07 11:46:42 +08:00
jerry
517d258d61
update to 2.2.3 version, I am tired
...
fix access_token not working
fix waitMessage() not working in v2.2.2
2021-01-30 00:06:42 +08:00
jerry
61e3818563
update to 2.2.2 version finally
...
clean redundant code
fix API reply in @OnTick for multi-process
fix loop error reporting
2021-01-29 23:34:34 +08:00
jerry
f3e844bb0a
update to 2.2.2 version
...
fix QQBot error
clean code
2021-01-29 22:27:10 +08:00
jerry
b611b4aad6
add DaemonCommand for daemon players
...
adjust http_header available
2021-01-29 20:47:00 +08:00
jerry
b9f973c718
add unset for WorkerCache.php
2021-01-20 18:43:22 +08:00
jerry
c68083484a
update to 2.2.0 version
...
add OnPipeMessageEvent.php
add ProcessManager.php
add WorkerCache component
fix route bug
correct Exception to ZMException
2021-01-20 16:11:04 +08:00
jerry
187a08a621
update to 2.1.6 version
...
优化代码结构
增加更多提示语
修复处理空格消息时的报错
修复上下文的bug
2021-01-18 18:08:29 +08:00
crazywhalecc
1ef8225d10
update to 2.1.5 version
...
change route to Symfony routing
2021-01-13 15:40:27 +08:00
jerry
96ce7b30d0
add InterruptException catcher to onRequest
2021-01-04 01:35:54 +08:00
jerry
076339baec
move warning to framework
2021-01-03 18:16:35 +08:00
jerry
a1ad634926
fix a bug
2021-01-02 20:00:33 +08:00
jerry
ae8b0acdaa
update to 2.1.2 version
2021-01-02 13:35:24 +08:00
jerry
8a6f8f54a5
update composer.json path
2021-01-02 13:19:39 +08:00
jerry
6337b626d6
update to 2.1.0 version
...
add @OnCloseEvent, @OnOpenEvent, @OnMessageEvent, @OnRequestEvent
update EventDispatcher.php and change it to status-based schema
fix @CQBefore bugs
2021-01-02 13:15:50 +08:00
wenhao
775c275288
[MOD] 解决php Notice <PHP Notice: Undefined index: x-self-id>
2020-12-25 16:28:21 +08:00
jerry
4deb814ff2
fix a little bug
2020-12-21 01:43:40 +08:00
jerry
81365173d2
update to 2.0.0-b6 version
...
add interrupt return_value to InterruptException
2020-12-20 18:08:34 +08:00
jerry
ba5b793db7
update to 2.0.0-b5 version
...
set modules config to array
add subdir index.html
update Example of Hello.php
add Exception tester for TimerMiddleware.php
add keyword for @CQCommand
rename OnWorkerStart.php to OnStart.php
remove SwooleEventAfter.php
rename HandleEvent.php to SwooleHandler.php
set ZMRobot callback mode default to true
add getNextArg() and getFullArg()
add EventDispatcher.php logger
set Exception all based from ZMException
fix recursive bug for Response.php
add single_bot_mode
add SingletonTrait.php
add bot() function
2020-12-14 01:24:34 +08:00
jerry
3b90bf6245
initial 2.0.0-b1 commit
2020-11-08 19:40:16 +08:00
jerry
deab5fd921
initial 2.0.0-a5 commit
...
fix waitMessage function
fix CQCommand regexMatch and fullMatch
it just works
2020-11-04 18:43:50 +08:00
jerry
29fa9d8662
initial 2.0.0-a4 commit
2020-11-03 21:02:24 +08:00
jerry
da584e0542
initial 2.0.0-a3 commit
2020-10-03 23:00:18 +08:00
jerry
f91d24aaaa
initial 2.0.0-a2 commit
2020-09-29 15:07:43 +08:00
jerry
beb1f5f063
initial 2.0 commit
2020-08-31 10:11:06 +08:00
whale
504934f057
update to 1.5.8 version
...
add fullMatch to CQCommand.php
2020-06-26 15:53:40 +08:00
whale
e976a96d0b
add auto-reconnect method to terminal_listener.php
...
add short name of ZM_BREAKPOINT (BP)
fix loop error of syntax happened
2020-06-20 14:51:24 +08:00
whale
cebc6fb310
update to 1.5.6 version
...
add CQCommand filter
add ZM_DEFAULT_FETCH_MODE
2020-06-15 19:50:07 +08:00
whale
7d79126c8f
fix stupid bug of rule parsing
2020-06-13 16:19:11 +08:00
whale
a542558503
close ws connection after calling event
2020-06-13 16:05:57 +08:00
whale
6697591a22
fix a bug
2020-06-13 14:09:25 +08:00
whale
3b8aac5d8f
add CQCommand alias
...
switch spl_autoload to psr-4 autoload
2020-06-13 11:28:31 +08:00
whale
af89c1b1f6
fix some sql bugs
2020-06-10 14:39:30 +08:00
whale
1de93b9dc1
update to 1.5.1 version
...
fix a warning bug
2020-06-05 19:31:18 +08:00