38 Commits

Author SHA1 Message Date
6addd5af30 endpoint renaming paths 2023-10-24 22:46:40 -04:00
Tanner Shaw
305616a406 fix(tests/vkey) refactoring tests for new endpoints - changed vkey values 2023-10-24 19:43:49 -05:00
Tanner Shaw
db2896d73f refactor(tests) refactoring tests for new endpoints 2023-10-24 18:38:36 -05:00
Tanner Shaw
026172c35d fix(tests) generate and verify proof for /api/rooms/:idc 2023-10-23 19:56:17 -05:00
Tanner Shaw
07b68ba9bb fix(add room endpoint): /room/add now checks if the roomId passed already exists and throws a 400 if so 2023-09-23 13:26:44 -05:00
Tanner Shaw
241cbadd5c fix(tests) fixed bug in tests and createRoom 2023-09-22 16:29:53 -05:00
AtHeartEngineer
ede497b839 Merge branch 'rln-testing' into fixing-tests 2023-09-22 13:55:36 -04:00
a57b6ddb7d feat(create room) updated create room to hande unique room id and started building the tests out 2023-09-20 19:32:56 -04:00
Tanner Shaw
41bf2b6495 chore: removing commented code 2023-09-20 15:11:26 -05:00
Tanner Shaw
0c308239fa chore: removing extra username/passwords from tests 2023-09-20 15:10:17 -05:00
Tanner Shaw
6776cc44a8 feature (jest tests): Added a test to create a claimcode for testing 2023-09-20 15:09:15 -05:00
5fa2d69279 init message testing 2023-09-20 12:28:19 -04:00
Tanner Shaw
a227c5f9bd fix(express) fixing endpoint misspellings 2023-09-06 18:05:25 -05:00
ccda90b2e4 Merge branch 'main' into refactor-claimcodes 2023-09-06 16:31:30 -04:00
cd70acac03 feat(api): Updated createRoom function to return room ID 2023-09-06 11:55:27 -04:00
Tanner Shaw
ef104a7595 small changes 2023-09-05 23:30:12 -05:00
AtHeartEngineer
ca5116871a refactored db and crypto folders/exports 2023-09-01 17:08:23 -07:00
6446b8edf0 PUBLIC -> PUBLIC_CHAT 2023-08-24 23:02:16 -04:00
Tanner Shaw
d102ee5fe5 chore(cleanup) deleting more console logs 2023-08-22 13:40:22 -05:00
AtHeartEngineer
1336c21c39 Merge branch 'main' into bandada-integration 2023-08-22 12:57:44 -04:00
Tanner Shaw
0fd0a02969 chore(express) fixing eslint errors on routes 2023-08-18 11:58:48 -05:00
c810b310c0 refactor(tests) update tests and close app on afterAll; added coverage 2023-08-15 22:21:35 -04:00
Tanner Shaw
46996ecbc6 chore(utils) added curly brace :) 2023-08-14 12:48:07 -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
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
933a208357 feat: updated random Big Int to be roughly the same length as posiedon hash 2023-08-07 10:44:29 -04: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
43a16865b0 chore(tests) setEnvVars for jest branch 2023-08-04 18:01:08 -05:00
Tanner Shaw
1ba4bb521f refactor(jest) changed all tests to properly expect responses 2023-08-04 17:59:34 -05:00
5bc46cdb6b fix return in test utils 2023-08-04 14:48:39 -04:00
7783fdcf81 test utils 2023-08-04 14:46:59 -04:00
Tanner Shaw
847029cfae chore(merge) fixed merge conflicts 2023-08-04 13:03:30 -05:00
7f55555296 adding jest env 2023-08-04 13:53:04 -04: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
Tanner Shaw
9657d52271 refactor(jest-tests) refactoring tests to make sure theres no false positives 2023-08-03 14:10:57 -05:00
Tanner Shaw
942f3a8fee feature(jest) writing tests for express endpoints 2023-08-03 10:55:46 -05:00