Commit Graph

25 Commits

Author SHA1 Message Date
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
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
c5bfdf440c fix(/join) fixed /join not responding with roomIDs
chore(seed) improved room creation for seeding
2023-07-27 22:24:39 -04:00
b60e49e080 chore(code reorg) segmented code better 2023-07-27 20:43:59 -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