Commit graph

174 commits

Author SHA1 Message Date
6e7df85a5f
feat: separate upload method 2024-01-31 02:23:51 +01:00
e622815da3
fix: displayname without underscore 2024-01-30 23:06:40 +01:00
0e26e22785
feat: add get_user method
to check if already registered
2024-01-30 16:41:32 +01:00
b5a6d29ba0
fix: try send avatar all in one go 2024-01-30 16:41:20 +01:00
296c4b423c
fix: invite uses payload not params, logger err 2024-01-29 23:58:50 +01:00
1bc88cc48f
fix: await stream read, don't pass bare mxids 2024-01-29 22:26:37 +01:00
091906683a
fix: use_http field 2024-01-29 22:09:26 +01:00
22d72d631e
feat: add register, avatar and nick apis
also refactored a little requests
2024-01-29 22:01:41 +01:00
075bc52cbe
feat: add invite to room method 2024-01-29 20:41:43 +01:00
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