Pull request #17: Feature/operations endpointsMerge in IO25WIS/wisisz.me from feature/operations-endpoints to master
* commit 'eae8571778aeb8943ef6c58b3ff58cdf7a199d2d':
[REFACTOR] /api/me/teams/{teamId}/operations/summary returns currencyCode POST and PUT for /api/me/teams/{teamId}/operations take "paidAmount" instead of "share" /api/me/teams returns "members" Removed share calculation
[FEATURE] Added PUT /api/me/teams/{teamId}/opera...
[REFACTOR] /api/me/teams/{teamId}/operations/summary returns currencyCodePOST and PUT for /api/me/teams/{teamId}/operations take "paidAmount" instead of "share"
/api/me/teams returns "members"
Removed share calculation
[FEATURE] Added PUT /api/me/teams/{teamId}/operations/{operationId}Added DELETE /api/me/teams/{teamId}/operations/{operationId}
Added share calculation in GET for specific operations
TeamMember can no longer be removed if the balance is not settled
Pull request #16: [FIX] GET /api/me/teams/{teamId}/operations/{operationId} returns categoryNameMerge in IO25WIS/wisisz.me from feature/operations-endpoints to master
* commit '4d92554b6e0e6986df20006033c96997f8a7a89d':
[FIX] GET /api/me/teams/{teamId}/operations/{operationId} returns categoryName
Pull request #15: [FEATURE] Added operation endpointsMerge in IO25WIS/wisisz.me from feature/operations-endpoints to master
* commit '92d36cbb9c8524b529cdb4cdf8f6eef6e595d23a':
[REFACTOR] Changed exception handling
[FEATURE] Implemented additional GET operations endpoints GET /api/me/teams/{teamId}/operations/{operationId} GET /api/me/teams/{teamId}/operations/summary
[FEATURE] Implemented additional GET operations endpoints GET /api/me/teams/{teamId}/operations/{operationId} GET /api/me/teams/{teamId}/operations/summaryUpdated model Operation
[FEATURE] Added joining via an invite code
POST /api/me/join/{inviteCode}
GET /api/me/teams now also returns newest operation for each team
GET /api/me/teams/{teamId} now also returns newest operation of the user for that team
[REFACTOR] changed POST /teams/{id}/operations and POST /api/me/join/{inviteCode}
Pull request #14: feat: add a title column to the operation tableMerge in IO25WIS/wisisz.me from feature/operation-title to master
* commit '6b1487a1ca5cda12b52a4145c9b48b119e852892':
feat: add a title column to the operation table
Pull request #12: [CHORE] Add documentation to endpointsMerge in IO25WIS/wisisz.me from chore/document-endpoints to master
* commit '122627421f40657cd15938754adcf8a92eb821de':
[CHORE] Add documentation to endpoints
Pull request #10: [CHORE] Update modelMerge in IO25WIS/wisisz.me from chore/update-model to master
* commit '5108e2345e88aceb2464498b840bbbecd3e70691':
[CHORE] Update model
Pull request #9: feat: generate team invite codes based on the hashed value of team_idMerge in IO25WIS/wisisz.me from feature/database-invite-code to master
* commit '9fbf6919037b527b168e1cda1b43ac7d2fb13590':
feat: generate team invite codes based on the hashed value of team_id
Pull request #7: IO25WM-2: [FEATURE] Add support for TeamMemberBalance read-only entity and related classesMerge in IO25WIS/wisisz.me from teams_balances_database to master
* commit 'eb477b3f54b4648d467f7b1ea1eaa7e758c3f779':
Add balance calculation
Move everything to me controller
Fix serialization, query by teamId
Fix compilation: add id to member balances view
feat: add sample insertions to db
[FIX] general debugging; it compiles now
IO25WM-2: [FEATURE] Add support for TeamMemberBa...
Pull request #5: Feature/database schemaMerge in IO25WIS/wisisz.me from feature/database-schema to master
* commit '55b3473fa0a0a5a6a10f411d369707ead5279657':
feat: add sample insertions to db
fix: change type of person.email_addr to text
[FEATURE] - Implemented end-points: create team, add team member, remove team member[REFACTOR] /auth end-points refactored to return Map<string, string>
<-------------------------------------->
/api/me/teams
Request:
- Method: POST
- Header (JSON):
{
"Authorization": "<valid access token>"
}
- Body (JSON):
{
"teamName": name of the team
}
Response:
(on success)
- Status: 200 OK
(on fail)
- Status: 500 INTERNAL SERVER ERROR
<----------------------------------...
[FEATURE] Implemented endpoint for adding team operations and operationEntries<-------------------------------------->
/api/me/teams/{teamId}/operations
Request:
- Method: POST
- Header (JSON):
{
"Authorization": "<valid access token>"
}
- Body (JSON):
{
"totalAmount": amount to be paid in an operation
"cathegoryId": ID of operation cathegory
"currencyCode": code of operation currency
"description": operation description
"operationType": "ex...
Pull request #6: Feature/authentication endpointsMerge in IO25WIS/wisisz.me from feature/authentication-endpoints to master
* commit 'bb43211e80c11ddba544dcaad707a8d9a574790f':
[FEATURE] - RefreshToken is now stored in the database - During each validation, JWT are re-generated with Refresh Token being updated in the database
[FEATURE] - Created /auth/register endpoint - Created /auth/logout endpoint - Refresh Tokens are saved in databas...
[FEATURE] - Created /auth/register endpoint - Created /auth/logout endpoint - Refresh Tokens are saved in database[REFACTOR]
- Changed /auth/login endpoint to send tokens through header
- Refactored JwtUtil to rid of deprecated methods
Notes:
.env requires variable JWT_SECRET_KEY
Passwords are yet to be hashed
<-------------------------------------->
/auth/login
Request:
- Method: POST
- Body (JSON):
{
"emailAddr": "valid email",
"password": "valid password"
}
Response:
(on success)
- Status...
Pull request #4: [FEATURE] Setup Hibernate, implement API endpoints for reading dataMerge in IO25WIS/wisisz.me from feature/setup-hibernate to master
* commit '7b932425f8b3c16d335b020066c49a9dde8298ca':
[FEATURE]: Add team delete
[FEATURE] Implement endpoints for reading expenses
[FEATURE] Implement controller for person, +some bug fixes
[FEATURE] Database model with Hibernate, tested briefly with a simple controller for the category table