Commit Graph

53 Commits

Author SHA1 Message Date
Tanner Shaw
305616a406 fix(tests/vkey) refactoring tests for new endpoints - changed vkey values 2023-10-24 19:43:49 -05:00
Tanner Shaw
6ed26724c3 fix(idcNullifier) idcNullifier bump 2023-10-24 18:00:49 -05:00
Tanner Shaw
a31b900238 refactor(endpoints) major refactor - implementing express-router 2023-10-24 15:34:25 -05: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
026172c35d fix(tests) generate and verify proof for /api/rooms/:idc 2023-10-23 19:56:17 -05:00
AtHeartEngineer
45f2d2970e Merge branch 'main' into gateways 2023-10-23 19:01:48 -04:00
Tanner Shaw
a8abe4a4e7 feat: added express-rate-limiter middleware to public endpoints 2023-10-20 11:55:21 -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
dependabot[bot]
39c80722ab chore(deps-dev): bump @babel/traverse from 7.22.8 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 12:15:49 +00:00
Tanner Shaw
02a3475a73 feature(eth): db schema and api endpoints for ethereum groups/addresses 2023-10-15 12:44:52 -05:00
682c3fbcc9 feat: support ephemeral and encrypted rooms 2023-10-09 21:08:06 -04:00
Tanner Shaw
7597e8f74d feature(Admin SocketIO) added admin socketio integration 2023-09-07 14:21:36 -05:00
ccda90b2e4 Merge branch 'main' into refactor-claimcodes 2023-09-06 16:31:30 -04: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
AtHeartEngineer
d0ebeec472 updated rlnjs to latest 2023-09-01 17:21:29 -07:00
dependabot[bot]
51ccc6c6f9 chore(deps): bump mongodb from 5.7.0 to 5.8.0
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v5.8.0/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v5.7.0...v5.8.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 23:07:52 +00:00
Tanner Shaw
c3e801148f feature(messages) fixed removing identity from rooms 2023-08-24 16:57:23 -05:00
AtHeartEngineer
71db8c69f5 Update "discreetly-interfaces" to version 0.1.37 and add new message field in room endpoint. 2023-08-23 15:11:03 -04:00
Tanner Shaw
968ac66a3d refactor(identities) rooms now have semaphoreIdentities and hashed identities 2023-08-23 12:26:46 -05:00
ce87d6cb04 fix signal hash 2023-08-22 14:46:04 -04: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
e66619fbe1 feature(messages) Checking internal nullifer collisions on messages 2023-08-15 14:27:29 -05:00
eba1eb60ff feat added Shamir Reocvery 2023-08-15 13:13:57 -04:00
AtHeartEngineer
2353167996 Merge branch 'main' into system-messages 2023-08-14 13:40:23 -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
Tanner Shaw
1ba4bb521f refactor(jest) changed all tests to properly expect responses 2023-08-04 17:59:34 -05:00
cb3f06c27b fixed test conflicts with tsconfig and rollup errors 2023-08-03 18:22:45 -04:00
Tanner Shaw
75bfc23790 refactor(config) fixing ServerID and Name 2023-08-03 14:49:10 -05:00
AtHeartEngineer
e917e1021f Merge branch 'main' into jest 2023-08-03 15:27:21 -04:00
0224256d5c Merge branch 'linting' 2023-08-03 14:56:01 -04:00
1877c9c123 feat(linting) fixed the linting setup and most of the linting errors 2023-08-03 14:50:49 -04:00
AtHeartEngineer
4dce775b19 Merge branch 'main' into jest 2023-08-03 12:02:13 -04:00
Tanner Shaw
942f3a8fee feature(jest) writing tests for express endpoints 2023-08-03 10:55:46 -05:00
226cfee1f9 fix PORT is necessary for heroku to host 2023-08-01 19:14:59 -04:00
66be9c97a3 Merge branch 'main' into create-messages 2023-07-31 14:39:45 -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
1a4398cb52 Merge conflicts for Prisma ORM Branch into main 2023-07-27 18:06:46 -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
AtHeartEngineer
9fd1fa5dbb chore(dependabot.yml): add Dependabot configuration file to enable automated dependency updates 2023-07-26 14:44:40 +00:00
Tanner Shaw
b454bbb03f Starting to migrate to prisma/mongodb 2023-07-24 17:17:15 -05:00
AtHeartEngineer
b91f5f72d6 works with npm run start/dev with a local redis, but not a docker redis 2023-07-14 15:19:09 -04:00
0b99519b60 rollup initial config 2023-07-12 14:51:32 -04:00
AtHeartEngineer
bc05457656 fixed npm run start tsconfig issues 2023-07-12 11:13:15 -04:00
AtHeartEngineer
a8e8e78edb repo work 2023-07-12 00:30:44 -04:00
5c79291130 claim codes are working 2023-07-11 17:36:37 -04:00
23a89e28ff added automatic test messages 2023-07-10 02:25:41 -04:00
Tanner Shaw
44be99fd3c .nvmrc added, added util to find room by a roomID 2023-07-09 12:39:12 -05:00