crazywhalecc
d7728ebc25
change test and PHPDoc
2022-05-04 22:25:42 +08:00
crazywhalecc
94d6a51358
fix EventMapIterator bug and add tests
2022-05-04 21:05:10 +08:00
crazywhalecc
d95a5131f6
remove ctx function throw exception
2022-04-30 13:38:15 +08:00
sunxyw
cd42545c7d
refactor match_pattern implementation ( #102 )
...
* refactor match_pattern implementation
* add match_pattern escaped wildcards support
* add match_pattern global function test
2022-04-28 21:50:48 +08:00
sunxyw
97face2406
add chain and stopwatch helper functions ( #99 )
...
* add chain helper function
* add stopwatch helper function
2022-04-15 23:10:29 +08:00
sunxyw
7253a309c7
refactor container injection
2022-04-11 23:42:00 +08:00
sunxyw
721c0834db
inject container into framework
2022-04-11 23:39:10 +08:00
sunxyw
46604293e9
remove unnecessary exceptions hint
2022-04-11 23:39:08 +08:00
sunxyw
1deea5bebc
refactor container type hint
2022-04-11 23:38:29 +08:00
sunxyw
90290bee94
add container generics type hint
2022-04-11 23:37:21 +08:00
sunxyw
60ea2c7e12
add container helper functions
2022-04-11 23:37:16 +08:00
sunxyw
8335cfed69
add implode_when_necessary global function
2022-04-04 00:10:42 +08:00
crazywhalecc
3451434997
strict to phpstan-level-4
2022-04-03 02:17:58 +08:00
crazywhalecc
eecbe49955
fix code to phpstan-level-2
2022-04-03 01:31:04 +08:00
sunxyw
3cfcbaec16
fix mb_strpos empty delimiter
2022-03-27 01:16:44 +08:00
sunxyw
8105892b6e
fix review
2022-03-21 23:28:57 +08:00
sunxyw
680e6a8c5f
refactor global functions
2022-03-21 20:09:28 +08:00
crazywhalecc
7ce3ef41df
fix comment spacing problem (build 443)
2022-03-20 16:23:07 +08:00
crazywhalecc
ce7f2b1765
change ctx return force to ContextInterface (build 437)
2022-03-17 19:42:59 +08:00
crazywhalecc
1706afbcd0
add cs fixer and PHPStan and activate it (build 436)
2022-03-15 18:05:33 +08:00
crazywhalecc
73b6b8045d
enhancement for process state
2022-03-13 22:47:11 +08:00
crazywhalecc
d3c420ec84
update to build 424 (2.6.0-alpha1)
2021-11-02 16:01:24 +08:00
jerry
4ee16d4fc6
update to 2.5.0-b1 (build 408)
2021-06-16 00:17:30 +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
d699a152d5
update to 2.4.2 version (build 402)
...
change WORKING_DIR constant
change logic of savePersistence()
add LightCache addPersistence() and removePersistence() method
add `./zhamao` command
2021-03-27 16:30:15 +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
b6d1f724e9
update to build 389
...
add various global functions
2021-03-18 16:36:28 +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
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
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
c50ae245bd
commitment, nothing
2021-02-21 22:17:34 +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
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
50026be73d
fix a bug
2021-01-03 18:13:44 +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
crazywhalecc
44979c670f
update docs
2020-12-25 16:53:44 +08:00
Whale
f5d5929cb9
Update global_functions.php
2020-12-25 16:41:14 +08:00
Whale
6e866001d6
Update global_functions.php
2020-12-25 16:40:02 +08:00
wenhao
86a0e1a2ca
[MOD] add global function -> getAllFdByConnectType 根据连接类型获取所有fd.
2020-12-25 15:48:41 +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
29fa9d8662
initial 2.0.0-a4 commit
2020-11-03 21:02:24 +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