870a4faa9b
feat: less crude but still raw, also for join
2024-01-29 20:06:36 +01:00
d039f313c6
feat: super crude way to throw errors when sending
2024-01-29 19:59:44 +01:00
eac41d01e6
fix: use base url to compose URLs
2024-01-29 18:57:15 +01:00
5710a71651
feat: added send_message and join_room methods
2024-01-29 18:42:03 +01:00
c3783253e1
fix: python and enums...
2024-01-29 17:57:47 +01:00
a22886334c
fix: log full event
2024-01-29 17:48:36 +01:00
7183358f48
fix: test for callback existance before running it
2024-01-29 17:46:32 +01:00
f570579fb4
fix: pre-3.12 enum check, create _callbacks dict
2024-01-29 17:44:12 +01:00
e63d9434e5
fix: wrong author email
2024-01-29 16:55:17 +01:00
b6c92790d6
feat: initial async appservice rewrite
2024-01-29 16:52:39 +01:00
266a0d558b
build: change deps
2024-01-29 16:52:28 +01:00
25bcf38492
chore: remove unneeded files
2024-01-29 16:52:14 +01:00
1f04e0a88f
chore: add mypy marker
2024-01-29 16:51:50 +01:00
947217abe3
chore: retab, delete discord file
2024-01-29 03:29:16 +01:00
461127a4ac
chore: restructured and packaged
2024-01-29 03:27:13 +01:00
git-bruh
924666ab1d
appservice: HTML fixes
2022-09-28 17:37:23 +05:30
git-bruh
26a8bcffa6
bridge: log on channel failure, update deps
2022-09-23 20:37:49 +05:30
git-bruh
c459bddecd
README.md: add note
2022-09-23 19:06:03 +05:30
git-bruh
79308b6062
fix webhook username/avatar syncing
2022-01-22 20:33:48 +05:30
git-bruh
53e2ef8e99
demo
2022-01-09 17:29:04 +05:30
MarkusRost
865c1eb9f4
Make Discord id length variable and fix webhook hash ( #16 )
...
* prevent duplicate user for interactions
* fix for older discord accounts
* check channel mentions against full channel list
* Fix compatibility for Python 3.7
Replace dict with Dict object from typing module
* remove scary hashing
* always expect guild_id
* change hash to djb2
* Revert "always expect guild_id"
This reverts commit dbcb3d1b9c97f6ceda0cf982b4bd7228926112c3.
* guild_id warning, don't group bot created webhooks
* fmt
Co-authored-by: Friskygote <7283122+Friskygote@users.noreply.github.com>
Co-authored-by: Wolf Gupta <e817509a-8ee9-4332-b0ad-3a6bdf9ab63f@aleeas.com>
2022-01-01 18:40:37 +05:30
MarkusRost
bae2716aef
prevent duplicate user for interactions ( #15 )
2021-12-29 20:28:11 +05:30
git-bruh
84afc8c503
update readmes
2021-12-09 13:43:13 +05:30
git-bruh
c2f3e97611
remove useless search in users query
2021-12-09 13:37:58 +05:30
git-bruh
cef8cb0bbf
pass decoded username to db query when looking for mentions
2021-12-01 11:58:38 +05:30
git-bruh
819e1cdbc1
fix mentions, closes #12
2021-12-01 11:37:54 +05:30
Charlie
7a166da1bb
Update README.md ( #9 )
2021-09-26 06:44:26 +00:00
git-bruh
8607a402fa
send auth token in headers
2021-08-04 17:32:08 +05:30
git-bruh
17ad06c503
todo
2021-07-25 12:56:52 +05:30
git-bruh
fe1486bcec
readme
2021-07-25 12:54:34 +05:30
git-bruh
f83638aef0
Fix formatted body for replies
2021-07-19 21:27:37 +05:30
git-bruh
416bfbe261
don't send empty formatted body of parent event in replies
2021-07-19 20:03:04 +05:30
git-bruh
0ac5faf357
oops
2021-07-19 17:39:43 +05:30
git-bruh
597c82cd88
don't send formatted body needlessly
2021-07-19 17:20:20 +05:30
git-bruh
3b47e5af3f
add (some) sticker support
2021-07-04 15:08:32 +05:30
git-bruh
4db1b48c71
fix reply fallback stripping regex
2021-07-04 12:39:05 +05:30
git-bruh
d864b0cc44
use a proper markdown parser
2021-06-28 15:18:59 +05:30
git-bruh
30688bf5b0
strip reply fallbacks, fixes nested replies rendering
2021-06-27 19:24:22 +05:30
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