Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests #170

Merged
merged 87 commits into from
May 15, 2024
Merged

Tests #170

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
962da73
Add check friend requests test
Piterson25 Apr 5, 2024
a29a63d
Add fetchData function
Piterson25 Apr 7, 2024
7d7f665
Update user CRUD tests
Piterson25 Apr 7, 2024
9d1981c
Add more user update tests
Piterson25 Apr 7, 2024
4b06882
Update user friends tests
Piterson25 Apr 7, 2024
4de8dc1
Update user search tests
Piterson25 Apr 7, 2024
50dfb70
Add repeated page and maxUsers tests
Piterson25 Apr 11, 2024
35a7b01
Remove deprecated tests
Piterson25 Apr 11, 2024
e012ae0
Shorter expected error messages
Piterson25 Apr 11, 2024
25a0daa
Add user meetings tests
Piterson25 Apr 11, 2024
430a4ba
Add chat endpoint tests
Piterson25 Apr 11, 2024
e1d950e
Update friends tests
Piterson25 Apr 11, 2024
ab74603
Remove unnecessary console.log
Piterson25 Apr 11, 2024
63f5c8b
Fix npm security vulnerabilities
gf-rog Apr 12, 2024
596ea98
Fix error when search query contains special characters
gf-rog Apr 12, 2024
b4f32ab
Add friend relations tests
Piterson25 Apr 12, 2024
f11a362
Add verify length method
gf-rog Apr 15, 2024
881e160
Add verify mail method
gf-rog Apr 15, 2024
bd14c45
Verify register user
gf-rog Apr 15, 2024
150a0fd
Merge branch 'backend-fixes' into tests
Piterson25 Apr 15, 2024
2210c00
Set minimum password length to 8
gf-rog Apr 15, 2024
80d64bb
Merge branch 'backend-fixes' into tests
Piterson25 Apr 15, 2024
60835e8
Fix wrong page count in paginated endpoints
gf-rog Apr 15, 2024
56fbb9f
Fix create user with short parameters tests
Piterson25 Apr 15, 2024
8dc0b0a
Fix search with polish characters test
Piterson25 Apr 15, 2024
5b368e4
Fix search system returning logged in user
gf-rog Apr 15, 2024
7dc8b9d
Add zod
gf-rog Apr 16, 2024
d14134e
Improve Errors type
gf-rog Apr 16, 2024
2df8865
Replace verifyRequest with zod
gf-rog Apr 16, 2024
37e7fc7
Move route models to separate directory
gf-rog Apr 16, 2024
dbc0db4
Fix parsing request body instead of query
gf-rog Apr 17, 2024
a3798cb
Allow strings in fields
gf-rog Apr 17, 2024
1d46c28
Fix users not added to the database if they already exist in Keycloak
gf-rog Apr 17, 2024
1709922
Fix empty country string not allowed in search schema
gf-rog Apr 18, 2024
8d4cf16
Refactor friends system
gf-rog Apr 18, 2024
74bee1e
Fix name embedding not updating on name change
gf-rog Apr 18, 2024
55357db
Revert "Change countries in test data"
gf-rog Apr 18, 2024
ce8f8bf
Use country codes instead of country names
gf-rog Apr 18, 2024
e227e21
Fix getting multiple users registered with the same mail
gf-rog Apr 18, 2024
ff5ed46
Fix sending friend request to yourself
gf-rog Apr 18, 2024
16c48a7
Merge branch 'backend-fixes' into tests
Piterson25 Apr 19, 2024
e60c110
Rename usersFriendsRoute to userFriendsRoute
gf-rog Apr 19, 2024
8fe94db
Rename friendshipRouter to friendsRouter
gf-rog Apr 19, 2024
bf6f091
Remove unused userExists function
gf-rog Apr 19, 2024
5db15f0
Move user friends functions to userFriends.ts
gf-rog Apr 19, 2024
3d44021
Fix add friend creating multiple friend relationships
gf-rog Apr 19, 2024
861acc3
Fix required userId in search schema
gf-rog Apr 19, 2024
a97c311
Refactor change password endpoint
gf-rog Apr 19, 2024
b8acba8
Update expected strings in tests
Piterson25 Apr 19, 2024
8266f06
Remove unused Neo4j volume
gf-rog Apr 20, 2024
5aecbb4
Add letter to Kb unit test
Piterson25 Apr 22, 2024
a9ee12c
Add word difference unit test
Piterson25 Apr 22, 2024
a1c526e
Add cosine similarity with sort and keep letters tests
Piterson25 Apr 22, 2024
8e6c777
Merge branch 'backend-fixes' into tests
Piterson25 Apr 22, 2024
71b2902
Make passwords satisfy register user schema
gf-rog Apr 24, 2024
25735e6
Parse user data before registering
gf-rog Apr 24, 2024
b8c5460
Use environment variables for Neo4j username and password
gf-rog Apr 24, 2024
a3fc635
Remove unused import
gf-rog Apr 24, 2024
bf5b7d2
Remove axios
gf-rog Apr 24, 2024
f6c91db
Merge branch 'backend-fixes' into tests
Piterson25 Apr 24, 2024
faed8ff
Show error when importing users
gf-rog Apr 24, 2024
78b135a
Fix one user with too short password
gf-rog Apr 24, 2024
aaac9af
Fix password change test
Piterson25 Apr 24, 2024
fbb4c98
Add mercury-testing client
gf-rog Apr 24, 2024
6168fc3
Add login user script
gf-rog Apr 24, 2024
bc37708
Merge branch 'backend-fixes' into tests
Piterson25 Apr 24, 2024
7c758f2
Fix maxUsers equals 0 tests
Piterson25 Apr 24, 2024
b0ee473
Fix send friend request not successful if users are not friends
gf-rog Apr 24, 2024
7388357
Fix friend requests tests
Piterson25 Apr 24, 2024
41ed63b
Fix friends tests
Piterson25 Apr 24, 2024
45605c0
Merge branch 'backend-fixes' into tests
Piterson25 Apr 24, 2024
1d40345
Fix search tests
Piterson25 Apr 24, 2024
b930153
Fix friend suggestions tests
Piterson25 Apr 24, 2024
2067a3a
Remove unused function
Piterson25 Apr 24, 2024
33f3abc
Add Word to Vec test
Piterson25 Apr 24, 2024
9bfd50f
Move fetchData to misc folder
Piterson25 Apr 28, 2024
f97226d
Merge branch 'dev' into tests
Piterson25 Apr 30, 2024
c60138d
Add lerp unit tests
Piterson25 May 8, 2024
161b71b
Add sum, zip, l2Norm and dot tests
Piterson25 May 8, 2024
32a9ad3
Add WordVecInterp test
Piterson25 May 8, 2024
9de5255
Add removeKeys test
Piterson25 May 8, 2024
c8578d7
Add edit data and search e2e tests
Piterson25 May 10, 2024
7b2a04f
Add friend invitation and chat e2e tests
Piterson25 May 10, 2024
32346ef
Remove duplicated test
Piterson25 May 14, 2024
2aada44
Fix first user may be random
Piterson25 May 14, 2024
dfa7be8
Update vitest to use single thread
Piterson25 May 14, 2024
80ab5e6
Apply formatting
Piterson25 May 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backend/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TOKEN_SECRET=27a0967eed44a78feec1ccd9225343258894288202c0a45a8f93adce6786dbc9ae5a7fc4df716f29eefed7067d9b94fa9f7c2ab7dd7781d36cb22206bf25b886
LINK_SECRET=ijr2iq34rfeiadsfkjq3ew
CLIENT_SECRET=fOP43IDxXavjRogZMQWKW1qmJAz5zeEf
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=password
Loading