48 Commits

Author SHA1 Message Date
AtHeartEngineer
170cb46d07 checkpoint 2024-03-27 13:23:32 -04:00
Tanner Shaw
b908437dd4 feat(router) adding jubmoji router 2023-11-05 12:14:35 -06:00
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
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
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
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
Tanner Shaw
851b8ef4dc feat: functionality and endpoint for removing messages from a room 2023-09-19 15:25:50 -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
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
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
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
5067925c5f feat(auth) added basic auth to admin endpoints 2023-07-28 14:13:38 -04:00
a44abe2e0a feat(Messages) add messageID field (internal nullifier) 2023-07-28 00:08:23 -04:00
Tanner
7e4f8d0fdb Express routes (#15)
* WIP - Starting to refactor routes for prisma

* feat(prisma) remove roomId from ClaimCodes model
refactor(prisma) seed claim codes using ClaimCodeManager
refactor(server) initialize ClaimCodeManager
feat(server) add claimcodes endpoint
refactor(server) claim code in /join endpoint

* chore(claimcodes) updated claim code system

* chore(schema): added rate limiting and epoch tracking

* feature(endpoints) /join /logclaimcodes
refactor(schema) Rooms Claimcodes many-to-many

---------

Co-authored-by: AtHeartEngineer <atheartengineer@gmail.com>
2023-07-27 17:14:26 -04:00
Tanner Shaw
dd116d712f WIP - refactored Rooms model. Added ClaimCodes and Messages models 2023-07-26 17:45:33 -05:00
Tanner Shaw
104d1f5972 WIP m-n identities to rooms for prisma schema 2023-07-26 15:14:44 -05:00
Tanner Shaw
dfc0948b91 refactored prisma schema 2023-07-25 12:55:57 -05:00
Tanner Shaw
b454bbb03f Starting to migrate to prisma/mongodb 2023-07-24 17:17:15 -05:00