Commit graph

177 commits

Author SHA1 Message Date
git-bruh
3a526f8767
try fix for webhook edits edge case 2021-06-06 15:26:05 +05:30
git-bruh
fac23476e4
Clear up README 2021-06-06 13:30:37 +05:30
git-bruh
67db7b1be0
fix synapse again 2021-06-05 20:14:44 +05:30
git-bruh
31b7c0dba8
fix synapse 2021-06-05 18:18:31 +05:30
git-bruh
f1ef46d37c
try fixing nested replies 2021-05-18 15:00:48 +05:30
git-bruh
eef7721153
try reconnecting, remove useless stuff 2021-05-18 13:34:42 +05:30
git-bruh
a3ee85d955
fix messages > 2000 chars, fix fetching channel names in messages, fix newlines 2021-05-17 21:08:35 +05:30
git-bruh
4713a00016
cleanup
* Use websocket events to sync usernames/avatars instead of periodic syncing.

* Use caches for fetched room_ids, room state (for usernames and avatars). Also switch to using a single cache with locks.

* Don't store full message objects in cache, just store the relation of matrix event IDs to discord message IDs and vice-versa. Content can be fetched from the server instead.

* Don't rely on websocket events for mentioning Discord users, mentions are now done by mentioning the dummy matrix user. The ID to be mentioned is extracted from the MXID instead.

* General clean-ups.
2021-05-13 15:51:58 +05:30
git-bruh
b21c82ccd0
fix code injection in queries 2021-05-05 10:30:10 +05:30
git-bruh
b9e5409300
fix blank message detection 2021-05-03 18:12:41 +05:30
git-bruh
6b20650503
appservice: fix attachments (message content can be empty) 2021-04-25 10:36:35 +05:30
git-bruh
a481efeee3
appservice: send links for matrix attachment 2021-04-20 18:37:43 +05:30
git-bruh
a14efadfd6
appservice: update README.md 2021-04-18 18:15:44 +05:30
git-bruh
78d85a2374
appservice: support messages from other webhooks 2021-04-18 18:14:18 +05:30
git-bruh
7e454a14a5
minor refactors, embeds 2021-04-18 07:53:21 +00:00
git-bruh
2958b1b90e
Update README.md 2021-04-17 10:16:17 +05:30
git-bruh
d6740b4bd3
Appservice (#4) 2021-04-17 10:15:51 +05:30
git-bruh
4b876734bb
Update README.md 2021-03-26 18:19:46 +05:30
git-bruh
8062ba36c6
refactor (#5)
* separate dir

* lint

* config

* log unhandled exceptions

* refactor

* refactor webhook check

* cogs cannnot be loaded from another dir

* fix

* fix

* use logger.exception

* Update README.md

* Update README.md

* fix

* Update README.md

* Create README.md

* rm basedir

* cogs

* Update README.md

* bold
2021-03-25 10:48:04 +05:30
git-bruh
96ef420f28
dont escape <,> 2021-02-08 14:51:05 +05:30
git-bruh
9936b5cec8
use set for webhook ids 2021-02-06 20:03:10 +05:30
git-bruh
abef3a122d
dont ignore other webhooks 2021-02-06 12:50:03 +05:30
git-bruh
d81fe7199d
log 2021-02-06 12:26:36 +05:30
git-bruh
cd7967a225
add script to migrate emotes 2021-02-01 11:52:56 +05:30
git-bruh
d4cbcb7f61
wait for better screenshots 2021-02-01 11:46:45 +05:30
git-bruh
eb3d5dc273
update README.md 2021-02-01 11:44:17 +05:30
git-bruh
6aa1d541df
Better exception handling and stuff 2021-02-01 11:33:27 +05:30
git-bruh
c742a0bd55
update 2021-01-27 17:48:09 +05:30
git-bruh
4eb73aa87f
fmt 2021-01-24 13:46:50 +05:30
git-bruh
333e670e0e
update 2021-01-24 13:44:41 +05:30
git-bruh
2e65c7acae
readme 2021-01-24 12:05:45 +05:30
git-bruh
930627613f
requirements 2021-01-24 11:59:15 +05:30
git-bruh
37bdb2409c
escape '<' and '>' 2021-01-24 11:57:23 +05:30
git-bruh
fa97d4fc97
fix 2021-01-24 11:29:49 +05:30
git-bruh
83ce183d18
logout the matrix bot, comments 2021-01-21 16:08:04 +05:30
git-bruh
032e996aa3
Handle unknown exceptions in matrix bot 2021-01-21 14:14:15 +05:30
git-bruh
3dcc56c3a2
strikethrough 2021-01-21 13:34:42 +05:30
git-bruh
7c0d9da36c
screenshots 2021-01-21 13:28:40 +05:30
git-bruh
397c579a27
update 2021-01-21 12:50:58 +05:30
git-bruh
23f341df1c
use nicknames 2021-01-21 12:42:05 +05:30
git-bruh
dc8d45818e
spoiler 2021-01-15 16:51:04 +05:30
git-bruh
e8482b8d3e
Revert
This reverts commit 5838afffee.
2021-01-12 17:20:27 +05:30
git-bruh
5838afffee
Send larger emojis if no other content in message 2021-01-12 10:28:10 +05:30
git-bruh
61a60ea4c7
Convert discord markdown code blocks 2021-01-11 20:20:20 +05:30
git-bruh
8ce7c7b3f3
lint 2021-01-11 18:31:56 +05:30
git-bruh
fdbed6ec12
fix 2021-01-11 12:06:19 +05:30
git-bruh
d1a280bab8
update 2021-01-11 12:05:14 +05:30
git-bruh
ec472f92bb
update 2021-01-11 10:28:48 +05:30
git-bruh
52731baaca
fix requirements 2021-01-11 10:22:33 +05:30
git-bruh
7a31decfe4
Bridge discord emotes to matrix (#2) 2021-01-10 23:10:11 +05:30