Commit Graph

129 Commits

Author SHA1 Message Date
Tanner Shaw
43c48c97a9 fix(RLN) check collision 2023-08-22 13:17:14 -05:00
0ce3ceb8f9 fixed verifier 2023-08-22 13:18:34 -04:00
9407b2cd9a fix types and linting 2023-08-22 13:16:08 -04:00
Tanner Shaw
edd96b4374 Merge branch 'bandada-integration' of github.com:Discreetly/server into bandada-integration 2023-08-22 12:08:45 -05:00
Tanner Shaw
e7a0754975 refactor(bandada) removed unnessecary functionality 2023-08-22 12:08:37 -05:00
AtHeartEngineer
1336c21c39 Merge branch 'main' into bandada-integration 2023-08-22 12:57:44 -04:00
Tanner Shaw
2d376de372 merge conflicts 2023-08-22 11:19:00 -05: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
4ddd6e3d7f feat return more room info depending on membershiptype 2023-08-22 11:39:00 -04:00
Tanner Shaw
52c1ebc9c7 feature(bandada) fetch bandada group by identity commitment 2023-08-22 10:19:46 -05:00
Tanner Shaw
4634bcce7f refactor(bandada) identityCommitments are now also stored in room.identities 2023-08-21 19:05:13 -05:00
Tanner Shaw
1c5b90a21c refactor(bandada) refactored updateRoomIdentities into seperate functions for readability
feature(db utils) added function to ensure an identityCommitment is a valid identityCommitment
2023-08-21 18:20:21 -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
Tanner Shaw
0fd0a02969 chore(express) fixing eslint errors on routes 2023-08-18 11:58:48 -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
20486a5530 exported createMessageResult interface 2023-08-15 17:47:26 -05:00
Tanner Shaw
9e0584f61f feature(db util) function for removing identity from a room 2023-08-15 17:28:17 -05:00
4a47c0a99d feat createMessageResult interface 2023-08-15 17:48:03 -04:00
e371b1ef34 fix .catch + style 2023-08-15 17:43:07 -04:00
AtHeartEngineer
1412c8aac5 Merge branch 'main' into messages 2023-08-15 17:21:26 -04:00
AtHeartEngineer
33b2e042dc Update src/data/messages.ts
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-15 17:20:43 -04:00
AtHeartEngineer
fe9ef4d7f7 Update src/data/messages.ts
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-15 17:20:37 -04:00
AtHeartEngineer
9475263a8c Update src/data/messages.ts
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-15 17:20:32 -04:00
Tanner Shaw
bddd96a46c feature(RLN) implemeting RLN collision checking for messages 2023-08-15 16:17:24 -05:00
Tanner Shaw
e66619fbe1 feature(messages) Checking internal nullifer collisions on messages 2023-08-15 14:27:29 -05:00
9787ad5fc6 feat identity commitment recovery 2023-08-15 14:46:29 -04:00
Tanner Shaw
e3e1c3c578 Merge branch 'main' into messages 2023-08-15 12:28:36 -05:00
eba1eb60ff feat added Shamir Reocvery 2023-08-15 13:13:57 -04:00
Tanner Shaw
934699cc41 refactor(express) refactored system messages into single route 2023-08-15 11:21:30 -05:00
AtHeartEngineer
2353167996 Merge branch 'main' into system-messages 2023-08-14 13:40:23 -04:00
Tanner Shaw
1b2512a73c refactor(express) fixing types in createRoom 2023-08-14 11:47:08 -05:00
Tanner Shaw
f7b829b017 Merge branch 'main' of github.com:Discreetly/server into main 2023-08-14 10:09:47 -05: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
Blake Duncan
14101019aa Cors config for socket io 2023-08-08 17:02:24 -04:00
Tanner Shaw
f528650d4f feature(express) express endpoint for sending system messages to a specific room 2023-08-08 14:38:04 -05:00
Tanner Shaw
83c594b9fb feature(express) endpoint for sending system messages to all rooms
feature(jest) tests for system messages endpoint
2023-08-08 11:37:38 -05:00
Tanner Shaw
5295b4b5c1 refactor(tests) tests refactored
chore(routes) added async/await to /api/rooms/:idc for testing purposes
2023-08-04 18:14:57 -05:00
Tanner Shaw
1ba4bb521f refactor(jest) changed all tests to properly expect responses 2023-08-04 17:59:34 -05:00
Tanner Shaw
847029cfae chore(merge) fixed merge conflicts 2023-08-04 13:03:30 -05:00
df79021f0d fix security bug where admin password was passed to client UI in dev environment 2023-08-04 11:02:23 -04:00
Tanner Shaw
63584389f6 Merge branch 'jest' of github.com:Discreetly/server into jest 2023-08-03 18:12:39 -05:00
Tanner Shaw
c33e8b7bde feature(jest) added POST /join test
refactor(utils) updateRoomIdentities to only add an identity if that identity doesn't exist already.
2023-08-03 18:12:26 -05:00
093dcb0578 fix prettyprint to handle object in table 2023-08-03 18:31:32 -04:00
cb3f06c27b fixed test conflicts with tsconfig and rollup errors 2023-08-03 18:22:45 -04:00
8690544515 fixing typing in linting 2023-08-03 17:42:47 -04:00
4c8cd791d9 fix join typing issues, hopefully 2023-08-03 17:28:14 -04:00
8ee75a15d9 test fixes, verifier updates, schema updates 2023-08-03 17:16:29 -04:00
612058cea0 chore: message testing 2023-08-03 17:05:43 -04:00
9ebdf7030b fix: getRoomByID typing 2023-08-03 15:51:15 -04:00