Commit Graph

60 Commits

Author SHA1 Message Date
Henrik Hüttemann 2b03b3eee5 Remove functions.js draft 2023-09-14 16:05:12 +02:00
Henrik Hüttemann 1aff3561ae Fix test logs being written to file 2023-09-13 16:52:31 +02:00
Henrik Hüttemann 4fb240b39a Use warning log level for skipped entities 2023-09-13 16:51:58 +02:00
Henrik Hüttemann 29036deb58 Write logs to files 2023-09-13 16:41:41 +02:00
Henrik Hüttemann c4e7659e30 Add event type handling 2023-09-12 15:06:10 +02:00
Henrik Hüttemann a7afe7b570 Add members to channel if they posted a message 2023-09-12 15:05:39 +02:00
Henrik Hüttemann d2543dca2f Storage: add function to get mapping by matrix ID 2023-09-12 15:02:00 +02:00
Henrik Hüttemann bf683e84cf Skip thread replies imported before the thread root 2023-09-01 11:58:56 +02:00
Henrik Hüttemann b5605e64f7 Add ignore other event types and more error logging 2023-09-01 11:58:55 +02:00
Henrik Hüttemann d711b81f23 Add tests for Messages 2023-09-01 11:58:55 +02:00
Henrik Hüttemann 787c0c092f Add Message implementation 2023-09-01 11:58:54 +02:00
Henrik Hüttemann 8ba2ce4cab Edit mapping types to use constants 2023-06-23 15:43:31 +02:00
Henrik Hüttemann 6b723db5a1 Move user and room handling to respective modules 2023-06-23 15:26:39 +02:00
Henrik Hüttemann 3459bbecd3 Move user exclusion test to user handler 2023-06-22 17:18:10 +02:00
Henrik Hüttemann 463daefeda Fix broken and deactivated user creation test 2023-06-22 16:34:03 +02:00
Henrik Hüttemann de87228b8d Move membership creation to users 2023-06-22 16:17:05 +02:00
Henrik Hüttemann 3e1169235c Add helper functions to get ID mappings 2023-06-22 15:43:40 +02:00
Henrik Hüttemann 680ad978ea Add tests for storage helper 2023-06-22 14:42:27 +02:00
Henrik Hüttemann 8dd4e66948 Sort TS imports 2023-06-19 20:43:54 +02:00
Henrik Hüttemann 830cf0b539 Add more explicit type annotations 2023-06-19 20:43:45 +02:00
Henrik Hüttemann 0007577bac Restructure rooms codebase and write tests 2023-06-16 19:58:14 +02:00
Henrik Hüttemann ab597195da Add membership handling 2023-06-14 15:02:10 +02:00
Henrik Hüttemann a06e379531 Move Membership side-effects to own function 2023-06-14 13:07:52 +02:00
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 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 ad034d0343 Save user access token 2023-06-07 16:33:07 +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 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