Commit Graph

108 Commits

Author SHA1 Message Date
Henrik Hüttemann
4a54b63cc0
Fix error for duplicate room memberships 2023-06-13 12:32:11 +02:00
Henrik Hüttemann
5d5c751de8
Fix promises to be awaited 2023-06-12 17:39:31 +02:00
Henrik Hüttemann
e706451d90
Add createMembership function 2023-06-12 16:51:56 +02:00
Henrik Hüttemann
f4891fdc83
Update reset instructions 2023-06-12 15:28:59 +02:00
Henrik Hüttemann
997ebf3ebb
Add public room visibility to public chats 2023-06-12 15:23:28 +02:00
Henrik Hüttemann
ef86d6e369 --wip-- [skip ci] 2023-06-12 14:54:39 +02:00
Henrik Hüttemann
91fa37f82d
Make accessTokens nullable in storage 2023-06-12 14:54:24 +02:00
Henrik Hüttemann
4692c7edea
Move handlers and clean up 2023-06-07 18:49:14 +02:00
Henrik Hüttemann
ae3353c6cb
Add room handler 2023-06-07 18:10:55 +02:00
Henrik Hüttemann
98fe90264f
Move helper modules 2023-06-07 18:09:59 +02:00
Henrik Hüttemann
ce5a668f1c
Add Storage helper 2023-06-07 18:07:36 +02:00
Henrik Hüttemann
870128dd6e
Update entities to have more options 2023-06-07 16:36:06 +02:00
Henrik Hüttemann
b02db837cb
Update run instructions to be clearer 2023-06-07 16:36:06 +02:00
Henrik HerHde Huettemann
ac5da7dd01 Merge pull request 'Save user access token' (#18) from store-access-token into main
Reviewed-on: https://git.verdigado.com/NB-Public/rocketchat2matrix/pulls/18
2023-06-07 16:35:30 +02:00
Henrik Hüttemann
ad034d0343
Save user access token 2023-06-07 16:33:07 +02:00
Henrik HerHde Huettemann
5e59481e35 Merge pull request 'Upgrade dependencies' (#15) from updates into main
Reviewed-on: https://git.verdigado.com/NB-Public/rocketchat2matrix/pulls/15
2023-06-05 14:33:43 +02:00
Henrik Hüttemann
889947228d
Add WIP warning 2023-06-05 14:31:21 +02:00
Henrik Hüttemann
ec368273ab
Update dependencies 2023-06-05 14:23:01 +02:00
Henrik Hüttemann
48c1bd7753
Add clean up instructions 2023-06-05 14:22:40 +02:00
Henrik HerHde Huettemann
81b092cc7b Merge pull request 'Implement User Workflow' (#14) from implement-workflow into main
Reviewed-on: https://git.verdigado.com/NB-Public/rocketchat2matrix/pulls/14
2023-06-05 14:01:41 +02:00
Henrik Hüttemann
dc2617c218
Add cSpell workspace-specific dictionary 2023-06-05 13:57:38 +02:00
Henrik Hüttemann
567fe7233f
Remove newline chars from token creation command variable 2023-06-05 13:43:59 +02:00
Henrik Hüttemann
dd7c9c10d5
Update CI config to DRY in token creation 2023-06-05 13:41:40 +02:00
Henrik Hüttemann
f041d9584e
Sort imports 2023-06-05 13:28:56 +02:00
Henrik Hüttemann
f414326737
Add test for HMAC generation 2023-06-05 13:27:40 +02:00
Henrik Hüttemann
7560d76c4b
Add test running section to README 2023-06-05 13:26:04 +02:00
Henrik Hüttemann
4f9bde109f
Add user creation test 2023-05-26 19:41:57 +02:00
Henrik Hüttemann
d07bade46b
Add tests to CI 2023-05-26 17:45:09 +02:00
Henrik Hüttemann
ed2b206f18
Add user mapping test 2023-05-26 17:42:03 +02:00
Henrik Hüttemann
f81cf1e1fb
Read input files synchronously line by line 2023-05-26 17:00:41 +02:00
Henrik Hüttemann
414ad0ea4e
Add config to exclude users 2023-05-26 15:40:19 +02:00
Henrik Hüttemann
0dceec826e
Remove mock storage 2023-05-26 15:27:38 +02:00
Henrik Hüttemann
a93b2c68e0
Add memberships to db 2023-05-26 15:20:40 +02:00
Henrik Hüttemann
c9537ab909
Add sqlite database for ID mappings 2023-05-26 14:56:16 +02:00
Henrik Hüttemann
3d0f505961
Add dotenv and config instructions 2023-05-25 17:35:21 +02:00
Henrik Hüttemann
efdd2c933f
Add user creation to workflow 2023-05-25 16:31:06 +02:00
Henrik Hüttemann
62d6b5b30b
Implement user registration functions 2023-05-25 16:31:06 +02:00
Henrik Hüttemann
a1a50d44e9
Fix linter warning 2023-05-25 16:31:05 +02:00
Henrik Hüttemann
82bb59d6f9
Move User type to own module 2023-05-25 16:31:05 +02:00
Henrik Hüttemann
59dbce5672
Draft user workflow 2023-05-25 16:31:04 +02:00
Henrik Hüttemann
15697f3897
Add storage dummy 2023-05-25 16:31:03 +02:00
Henrik Hüttemann
3edc835deb
Add switch for rc entity type 2023-05-25 16:31:03 +02:00
Henrik HerHde Huettemann
d32a2c76bb Merge pull request 'Add lint-staged' (#13) from add-lint-stages into main
Reviewed-on: https://git.verdigado.com/NB-Public/rocketchat2matrix/pulls/13
2023-05-25 16:27:05 +02:00
Henrik Hüttemann
e241fa7491
Add lint-staged
This prevents unstaged files and unstaged changes to staged files from being checked.
2023-05-23 13:40:40 +02:00
Henrik Hüttemann
18985caab8
Run pre-commit via husky hook 2023-05-22 16:12:41 +02:00
Henrik Hüttemann
a06ed05011
Move synapse connection and logger to separate modules 2023-05-22 16:02:52 +02:00
Henrik Hüttemann
b138df0dac
Read rc entities from filesystem 2023-05-20 18:21:11 +02:00
Henrik Hüttemann
cf3e26de8d
Add dummy synapse access token for CI 2023-05-20 11:27:58 +02:00
Henrik Hüttemann
5810f3e237
Run checks and compilation in CI 2023-05-20 11:22:15 +02:00
Henrik Hüttemann
09d5f1c806
Add husky for pre-commit checks 2023-05-20 10:58:04 +02:00