Commit Graph

20 Commits

Author SHA1 Message Date
f3db8f4457
add morny's HttpStatus abstract and http:ping better
- add HttpStatus class which set the MornyNotFound REST error result etc.
- add fields `time` and `server` to http:ping result
- fix header errors
2024-04-19 15:27:47 +08:00
7e3588c221
update version tag 2024-03-07 18:27:35 +08:00
d180e7d04f
doc patch and lib upd 2024-02-25 12:42:19 +08:00
4908110c80
add simple/complex error message framework. 2024-02-25 11:30:34 +08:00
025f152417
add debug mode (controls caches) and max cache time limits.
- add coeur config debugMode
  - currently controls if set the cache time in inline queries
  - can be enabled by `--debug-run`
  - change old `--debug -d` startup param (which means enable debug logging) to `--verbose-logging --verbose`
  - set the new `--debug -d` as the combined of `--debug-run` and `--verbose-logging`
  - deprecated `--dbg`, currently, it still works as old behavior (like `--verbose`)
2024-02-18 18:32:01 +08:00
966c4dfa92
add the message thread framework. 2024-02-18 18:01:23 +08:00
8d04d6529c
refactor bot execute method etc.
- change Log.exceptionLog(throwable) to an extension method throwable.toLogString in UseThrowable
- added SimpleCommandManager as the backend of both MornyCommandManager and UniMeowCommandManager
- added Request().execute and Request().unsafeExecute() extensions.
  - change all the request execute using those extensions.
- change some method with infix keyword.
- change MornyTrusted methods using User/Chat object instead of a bare id.
- update scala to 3.4.0-RC4 and fix infix warnings.
2024-02-15 22:26:39 +08:00
9cc8b49459
scaladoc update, and added Update.sourceTime 2024-02-15 18:33:17 +08:00
456273be96
add event sources statistics, 2024-02-07 00:12:13 +08:00
5aa63de2a9 add HTTP server and basic tstickers-api
- add HTTP server backend
  - with configurable listening port
    - default is 30179
    - cannot disable it yet
  - with UI service with a 523 image
  - with simple RESTful API service
- add basic tstickers-api
  - now can only get and output binary content without file-type tagging or converting
-
2024-02-04 23:58:15 +08:00
ee47446900
add core package 2023-12-27 13:14:16 +08:00
2374d39b41
add replyTo support for /get 2023-12-26 19:37:34 +08:00
c5fef1359d
add reporter module, add modules table log on start 2023-12-24 22:55:24 +08:00
083e5d1b2f
uni_meow modularize 2023-12-23 17:00:54 +08:00
9574dd299b
fix EventEnv stackTrack problem, new method for GivenContext 2023-12-22 21:30:03 +08:00
6b961a3de3
add coeur lifecycles, add MornyCoeur.externalContext 2023-12-21 14:19:20 +08:00
341d4cd851
add -t argument for test run 2023-12-20 17:46:02 +08:00
58cf4cc74b
change ISimpleCommand.aliases type to List from Array 2023-12-20 17:28:17 +08:00
20f2a05ee0
fix sbt publish have no maven-metadata 2023-12-12 17:12:02 +08:00
ac828d777d
change build toolchain to sbt 2023-12-11 20:35:39 +08:00