313 Commits

Author SHA1 Message Date
Tanner Shaw
becf9bc1b9 feat(theword): verifier and endpoint for the-word. changed endpoints for gateways 2023-10-24 13:08:19 -05:00
1309a4bdfd the word vkey 2023-10-23 21:18:16 -04:00
Tanner Shaw
026172c35d fix(tests) generate and verify proof for /api/rooms/:idc 2023-10-23 19:56:17 -05:00
087a6471d1 return message as MessageI 2023-10-23 19:43:41 -04:00
Tanner Shaw
76b500ddd5 Pushing branch 2023-10-23 18:42:49 -05:00
Tanner Shaw
2d69316ff6 fix(cors): hopefully fixing cors origin error 2023-10-23 17:30:10 -05:00
Tanner Shaw
1d75ddddd6 refactor(join): /join now gives more explicit errors and status 2023-10-23 17:24:34 -05:00
Tanner Shaw
7d3a5019e2 feat(messages) messages model and createMessages now has type and title options 2023-10-23 16:11:35 -05:00
Tanner Shaw
861a21e62c feat: ETH addresses for genesis depositors and genesis funders 2023-10-20 16:24:53 -05:00
Tanner Shaw
a8abe4a4e7 feat: added express-rate-limiter middleware to public endpoints 2023-10-20 11:55:21 -05:00
Tanner Shaw
2ef8e80390 feat: added verifier to /rooms/:idc to verify a users identity before retrieving rooms 2023-10-19 13:54:32 -05:00
Tanner Shaw
628213f2a4 feature: endpoint for /change-identity to verify a users identity and change their identity for CK 2023-10-19 13:49:27 -05:00
Tanner Shaw
7c3ce906b3 feat(documentation): adding documentation to ethereum address endpoints 2023-10-19 12:10:12 -05:00
fbc8c4239c fix: don't add messages to ephemeral store if they aren't ephemeral 2023-10-17 14:57:38 -04:00
3e5817708e delete old ephemeral messages, sane defaults 2023-10-17 14:51:36 -04:00
1ccaeff0a5 tightened "Epoch Error Range" to 1 2023-10-17 14:43:54 -04:00
239729a153 ephemeral store "complete" but not tested 2023-10-17 14:40:28 -04:00
Tanner Shaw
18f1b71baf addMessageToEphemeralStore func 2023-10-17 13:28:12 -05:00
c6d612a2e4 checkEmphemeralMessageStore 2023-10-17 14:13:57 -04:00
5550b1d949 ephemeral message type 2023-10-17 14:08:30 -04:00
Tanner Shaw
16b4171272 feature(eth): Eth message signing to join ethereum groups 2023-10-15 15:17:52 -05:00
Tanner Shaw
02a3475a73 feature(eth): db schema and api endpoints for ethereum groups/addresses 2023-10-15 12:44:52 -05:00
Tanner Shaw
217b1b03f3 refactor(gateways/discord): major refactor for discord endpoints, /join, and claimcodes 2023-10-14 16:06:36 -05:00
Tanner Shaw
8a3d609d6c refactor(gateways): joining rooms now adds a discordId if the code is from discord 2023-10-14 14:35:18 -05:00
Tanner Shaw
abdee0d522 chore(gateways): discordId and steamId64 both optional in schema now 2023-10-13 19:14:32 -05:00
Tanner Shaw
d0b733694f refactor(gateways) updateRoomIdentities and updateClaimCodes fixed and refactored for gateways 2023-10-13 19:07:11 -05:00
Tanner Shaw
ff729259b6 refactor(gateways): updateRoomIdentities works properly with gateways now 2023-10-13 18:04:12 -05:00
Tanner Shaw
254b935d96 refactor(gateways): updateRoomIdentities works properly with gateways now 2023-10-13 17:56:10 -05:00
Tanner Shaw
9d0768f01b refactor(gateways): updateRoomIdentities updated for gateways 2023-10-13 16:37:30 -05:00
Tanner Shaw
00ac360f4a refactor(gateways): removeIdentityFromRoom refactored for gateways 2023-10-13 16:23:04 -05:00
Tanner Shaw
e8d7a533b2 refactor(gateways): findRoomsByIdentity refactored for gateways 2023-10-13 15:56:43 -05:00
Tanner Shaw
1f422fdf83 refactor(prisma-db): Adding gateways for identities 2023-10-13 14:56:14 -05:00
AtHeartEngineer
2ec6d78889 Merge branch 'main' into encryption-ephemeral 2023-10-09 21:08:46 -04:00
682c3fbcc9 feat: support ephemeral and encrypted rooms 2023-10-09 21:08:06 -04:00
06d8f7d4d6 Merge branch 'main' into invalid-claimcode 2023-10-09 20:51:57 -04:00
Tanner Shaw
f8268694b2 chore(documentation) added and updated inline documentation for new and or updated endpoints/functions 2023-10-04 12:58:38 -05:00
Tanner Shaw
bfccb8174f fix(createRoom): changed default parameter values 2023-10-03 22:46:28 -05:00
Tanner Shaw
6821d32a82 feature(discord-api): implemented endpoints for discord bot usage 2023-10-03 22:42:09 -05:00
Tanner Shaw
be172e4eac merged main, fixed conflicts 2023-09-28 16:53:42 -05:00
Tanner Shaw
c204e44580 refactor(createRoom) createRoom now returns the roomId and claimCodes for the created room 2023-09-28 16:45:06 -05:00
AtHeartEngineer
49d81c5afb fix: invalid claim code instead of claim code used 2023-09-25 22:16:12 -04:00
Tanner Shaw
e4982ca436 feat(createRoom) create room now takes an array of adminIdentities 2023-09-23 16:13:41 -05:00
Tanner Shaw
07b68ba9bb fix(add room endpoint): /room/add now checks if the roomId passed already exists and throws a 400 if so 2023-09-23 13:26:44 -05:00
Tanner Shaw
241cbadd5c fix(tests) fixed bug in tests and createRoom 2023-09-22 16:29:53 -05:00
AtHeartEngineer
f6d9ec9147 Merge branch 'main' into fixing-tests 2023-09-22 13:56:09 -04:00
AtHeartEngineer
7d11017a2d Merge branch 'main' into ban-appeals 2023-09-22 13:52:47 -04:00
AtHeartEngineer
3f70b563b5 Merge branch 'main' into remove-endpoints 2023-09-22 13:51:04 -04:00
AtHeartEngineer
2c3d949325 Update src/endpoints/index.ts
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-22 13:49:56 -04:00
Tanner Shaw
2198d31552 feature(discord-bot) added endpoints for adding and checking for discord-id's
also added discordIds to prisma schema in rooms
2023-09-21 19:12:23 -05:00
a57b6ddb7d feat(create room) updated create room to hande unique room id and started building the tests out 2023-09-20 19:32:56 -04:00