Archived
1
0
Fork 0
Commit graph

152 commits

Author SHA1 Message Date
95736eea91
fix(matrix): always ignore unverified devices
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 12:45:47 +08:00
6345bb7c77
fix(matrix/e2ee): set user_id properly
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:50:00 +08:00
4332d54dd7
fix(matrix): specify correct device_id
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:48:14 +08:00
093315ce35
feat(matrix/e2e): add warnings about megolm backup
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:34:13 +08:00
0d00b83e8c
feat(matrix): export megolm backup
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:25:11 +08:00
22b97d997e
feat(matrix): upload E2EE keys if needed
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:24:41 +08:00
a62f45311e
feat(matrix): restore nio store
Signed-off-by: xtex <xtexchooser@duck.com>
2023-09-11 11:24:13 +08:00
yzhh
12a97e68a1 update 2023-09-08 14:49:09 +08:00
yzhh
96b297f327 Update bot.py 2023-09-08 13:19:28 +08:00
yzhh
45a5f7b1af Update bot.py 2023-09-07 22:58:05 +08:00
yzhh
73f2cb52ce Update message.py 2023-09-05 23:14:26 +08:00
yzhh
88951d9a17 fix 2023-09-05 23:10:48 +08:00
yzhh
a9d22b7e94 compatible with old API 2023-09-04 15:04:28 +08:00
yzhh
20eb6ea51a ttt 2023-09-04 01:21:01 +08:00
yzhh
a17f6818a2 update 2023-09-03 19:49:14 +08:00
yzhh
df9cffa319 fix 2023-09-03 17:02:34 +08:00
yzhh
f9ecd0f987 autoformat code 2023-09-03 16:50:12 +08:00
yzhh
ac20635a81 Update message.py 2023-09-03 16:44:19 +08:00
yzhh
55b075c56e update 2023-09-01 22:38:32 +08:00
yzhh
0300583965 #939 2023-09-01 19:42:33 +08:00
yzhh
91685c5957 Update message.py 2023-08-30 20:43:29 +08:00
yzhh
46ea2715d9 update 2023-08-30 19:30:45 +08:00
yzhh
73bdb07608
Merge branch 'master' into dev/jobqueue 2023-08-30 19:19:59 +08:00
yzhh
4d7b16a54b split ip fetch 2023-08-30 17:49:45 +08:00
yzhh
9609807dea oof 2023-08-30 17:24:24 +08:00
yzhh
409af54f49 auto clear overdue queue 2023-08-30 14:32:02 +08:00
yzhh
07ed3c1c8c split mcv_rss module to scheduler and hooks
HOO!K
2023-08-30 13:56:00 +08:00
yzhh
523b38a1b8 Revert "reduce duplication of code"
This reverts commit 87dc9b7bf7.
2023-08-30 13:15:33 +08:00
yzhh
5e9ce79aac move client name to separate files 2023-08-30 02:13:34 +08:00
yzhh
92cbfecc1c Temporary fix for log spam 2023-08-30 00:29:11 +08:00
yzhh
87dc9b7bf7 reduce duplication of code 2023-08-29 23:33:17 +08:00
yzhh
2da8f7a20d fix validate_permission action behavior 2023-08-29 00:24:38 +08:00
yzhh
b7ad50082f update 2023-08-27 22:51:16 +08:00
Dianliang233
6a64874f9e Add /module and /locale 2023-08-26 15:06:41 +08:00
Dianliang233
2cd45da332 Add API bot 2023-08-23 16:01:54 +08:00
yzhh
06e8da1369 Update tweet.py 2023-08-12 01:35:11 +08:00
yzhh
e6aa0a76d2 bugfix 2023-08-07 13:04:13 +08:00
yzhh
62783da02e update 2023-08-04 00:18:47 +08:00
yzhh
fe745a6b35 add permission level for base superuser; auto resume sending group message 2023-08-02 23:59:24 +08:00
yzhh
6affd9906a Update message.py 2023-08-02 23:07:30 +08:00
yzhh
b901101b48 fix forward msg 2023-07-30 19:45:42 +08:00
23ae1fb5f2
feat: partial matrix support (#680)
* build(deps): add matrix-nio

* build(deps): update requirements.txt for matrix-nio

* feat: add example config for matrix

* feat: init matrix support

* feat: do init sync to avoid receiving old messages

* feat: store next sync batch with file

* feat: parse matrix message

* feat: check moderator permission

* feat: redacting message

* feat: toMessageChain for m.text and m.image

* feat: drop m.notice messages

* feat: sending messages

* fix: power level fetching

* fix: rich reply fallback stripping

* style: less log

* feat: guess image content type

* fix: image upload

* feat: sending audio

* chore: add todo

* chore: add todo

* fix: use FinS.result to store room id

As the spec, room_id is an opaque identifier, and at least all valid ASCII characters except '/' and ':' can be included in room_id. This means in some servers, '|' may be included in room_id.

* fix: print RoomSendError

* fix: public rooms with two user are regarded as DM

* feat: resolving pm

* fix: nio.ErrorResponse

* feat: add post test

* feat: pm post test

* Revert "feat: pm post test"

This reverts commit 3688213c80.

* Revert "feat: add post test"

This reverts commit 259fcf54ca.

* feat: create TPM room

* feat: send typing notifications

* feat: leave empty room

* feat: rich reply formatted fallback support

* fix: import

* fix: include body in formatted rich reply fallbacks

* fix: escape line breaks in html

* fix: <br/> tag

* feat: improve matrix direct messaging

* feat: parse m.emote as m.text

* fix: command run blockingly

* fix: message send error handle

* fix: keep DM room

* fix: reuse of DM rooms

* feat: add error log

* docs: add deploy guide for matrix

* docs: add matrix to readme

* docs: add more warning

* style: remove explictly type declartion  (poljar/matrix-nio#417)

* feat: receive audio message

* feat: standard rich-reply fallback for m.emote

* chore: add matrix to bug report issues template
2023-07-30 17:41:01 +08:00
yzhh
70a7e206f6 e 2023-07-30 00:26:34 +08:00
yzhh
df472f6114 update 2023-07-30 00:24:35 +08:00
多羅狼
265b2ab15e
update rickroll 2023-07-28 03:31:53 +08:00
多羅狼
d37ab55035
Create tweet.py 2023-07-28 02:21:31 +08:00
多羅狼
c88762ef4a
Update 2023-07-23 16:22:30 +08:00
yzhh
7ea05299e9 #710 2023-07-22 16:32:38 +08:00
yzhh
9a632bfab1 im bored 2023-07-14 19:07:30 +08:00
多羅狼
fb10f3bf11
update 2023-07-14 15:59:01 +08:00