Commit Graph

59 Commits

Author SHA1 Message Date
AtHeartEngineer
ce426102e2 sessionId's in database not optional but default blank 2023-11-05 10:54:31 +03:00
AtHeartEngineer
a9fee2f65a minor fixes to casing, optional parameters 2023-11-05 10:34:20 +03:00
AtHeartEngineer
2f01667f7f updated scheme for messages 2023-11-04 16:01:01 +03:00
AtHeartEngineer
4c670711da sessionIds and passing encryption/ephemeral state 2023-11-04 15:46:47 +03:00
Tanner Shaw
becf9bc1b9 feat(theword): verifier and endpoint for the-word. changed endpoints for gateways 2023-10-24 13:08:19 -05:00
Tanner Shaw
76b500ddd5 Pushing branch 2023-10-23 18:42:49 -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
02a3475a73 feature(eth): db schema and api endpoints for ethereum groups/addresses 2023-10-15 12:44:52 -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
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
682c3fbcc9 feat: support ephemeral and encrypted rooms 2023-10-09 21:08:06 -04:00
Tanner Shaw
7b100b5ab1 chore(seeding) changed rateLimit and userMessageLimit on schema, and PUBLIC_CHAT to PUBLIC on the seeds to match schema 2023-10-04 13:07:00 -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
e4982ca436 feat(createRoom) create room now takes an array of adminIdentities 2023-09-23 16:13:41 -05: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
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
3908ba1503 feat(create room) custom room id 2023-09-20 11:27:32 -04:00
Tanner Shaw
851b8ef4dc feat: functionality and endpoint for removing messages from a room 2023-09-19 15:25:50 -05:00
Tanner Shaw
727de56365 feat: added Ban Appeals room to seed list with roomId: 666 2023-09-19 11:11:39 -05:00
Tanner Shaw
9947de0b14 feature(rooms) added adminIdentities to schema and endpoint to add identities to adminIdentities 2023-09-06 17:02:09 -05:00
Tanner Shaw
e87361b8d2 Merge branch 'main' into room-admins 2023-09-06 15:43:09 -05:00
Tanner Shaw
74873004ea feature(rooms) add admins to room 2023-09-06 15:37:09 -05:00
Tanner Shaw
8858dcf7c6 refactor(claimcodes) Refactored /join route to check, update, and delete claimcodes based on UNIX time and or uses left 2023-09-05 19:49:51 -05:00
Tanner Shaw
1609422ff0 feature(claimcodes) claimcodes now have a UNIX time to be claimed and an amount of time they can be used 2023-09-05 16:25:57 -05:00
6446b8edf0 PUBLIC -> PUBLIC_CHAT 2023-08-24 23:02:16 -04:00
AtHeartEngineer
a1dcba49a7 Refactor seed.ts to include additional room creations 2023-08-23 17:49:52 -04:00
Tanner Shaw
968ac66a3d refactor(identities) rooms now have semaphoreIdentities and hashed identities 2023-08-23 12:26:46 -05:00
AtHeartEngineer
1336c21c39 Merge branch 'main' into bandada-integration 2023-08-22 12:57:44 -04:00
Tanner Shaw
452151b990 refactor(bandada) refactored prisma schema to match RoomI interface and routes to match 2023-08-22 11:16:17 -05:00
Tanner Shaw
4f6543b364 feature(bandada) /join route now checks for membership types
chore(crypto) changed some logic in the verifier that was throwing eslint errors
2023-08-21 17:15:54 -05:00
8efefe9ea4 feat(data/db): adjust string conversions and field additions
feat(websockets): emit member count to room on join/leave
refactor(messages): improve typings and method calls
refactor(utils): adjust bigint conversions
refactor(data/db): update import syntax and object formations
refactor(crypto/verifier): adjust proof checks and conditionals
chore(dependecies): upgrade discreetly-interfaces version
2023-08-15 22:14:40 -04:00
Tanner Shaw
934699cc41 refactor(express) refactored system messages into single route 2023-08-15 11:21:30 -05:00
AtHeartEngineer
19b9af169b Merge branch 'main' into bandada-integration 2023-08-14 16:21:03 -04:00
a9e4d29e87 fixed room lookups but createRooms is still broken 2023-08-10 16:58:54 -04:00
840dfb861b RoomI schema updates 2023-08-10 16:10:30 -04:00
8ee75a15d9 test fixes, verifier updates, schema updates 2023-08-03 17:16:29 -04:00
1877c9c123 feat(linting) fixed the linting setup and most of the linting errors 2023-08-03 14:50:49 -04:00
704453794c schema change 2023-08-01 14:22:50 -04:00
66be9c97a3 Merge branch 'main' into create-messages 2023-07-31 14:39:45 -04:00
f5da551ea4 feat(schema) Updated scheme to handle multiple membership types 2023-07-31 14:14:36 -04:00
Tanner Shaw
228a238bad refactor(express) /join route refactored
chore(prisma) changed room to roomId
2023-07-29 15:47:54 -05:00