Skip to content

Fix bugs#87

Merged
RyanNeTw merged 3 commits into
mainfrom
fixBugs
Apr 20, 2026
Merged

Fix bugs#87
RyanNeTw merged 3 commits into
mainfrom
fixBugs

Conversation

@RyanNeTw
Copy link
Copy Markdown
Member

Ticket

INSERT LINK TO THE TICKET

Description

INSERT DESCRIPTION OF THE THING YOU WORKED ON

Modified environment variable

LIST HERE THE VERCEL ENV VAR YOU MODIFIED

claude added 2 commits April 20, 2026 10:52
- Sécurité: hashage du PIN avec BCrypt dans AuthService et SubAccountService
- Sécurité: vérification PIN null/vide pour PARENT avant comparaison BCrypt
- Sécurité: suppression du HTTP Basic Auth inutile dans SecurityConfig
- Sécurité: endpoint /transactions/goal/{goalId} désormais authentifié avec vérification d'appartenance
- Bug: GoalService.deleteGoal() utilisait extractSubAccountAccountId au lieu de extractSubAccountId
- Bug: Operations.updateProgression() - ajout de RoundingMode.HALF_UP pour éviter ArithmeticException
- Bug: GoalService.confirmSavingMoneyTransfer() - comparaison BigDecimal avec compareTo() au lieu de ==
- Bug: MoneyService.updateMoney() - vérification d'autorisation CHILD utilise désormais l'ID du token
- Bug: AllowanceService.getAll() retourne une liste vide au lieu d'une exception si aucune allocation
- Qualité: @SpringBootApplication remplacé par @component sur les classes CRON, @EnableScheduling dans MoneybuddyApplication
- Typo: restPasswordConfirm renommé resetPasswordConfirm dans AuthService et AuthController

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- AddMoney: @notblank (invalide sur BigDecimal) remplace par @NotNull + @positive
  -> cause directe du UnexpectedTypeException qui generait le 500
- MoneyController: isAdd optionnel avec defaultValue true
- GlobalExceptionHandler: handlers pour MissingServletRequestParameterException
  et UnexpectedTypeException -> retournent un 400 clair

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@RyanNeTw RyanNeTw closed this Apr 20, 2026
@RyanNeTw RyanNeTw reopened this Apr 20, 2026
@RyanNeTw RyanNeTw merged commit c5069e3 into main Apr 20, 2026
1 check passed
@RyanNeTw RyanNeTw deleted the fixBugs branch April 20, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants