Skip to content

🛠️ chore(Structure): réorganisation src/ — Factory/ et Security/ extraits de Service/#142

Merged
ronan-develop merged 1 commit intomainfrom
chore/ReorganizeServiceDir
Mar 16, 2026
Merged

🛠️ chore(Structure): réorganisation src/ — Factory/ et Security/ extraits de Service/#142
ronan-develop merged 1 commit intomainfrom
chore/ReorganizeServiceDir

Conversation

@ronan-develop
Copy link
Owner

Contexte

src/Service/ contenait 16 fichiers mélangeant responsabilités domaine, sécurité, auth et factory. Organisation thématique par nature de responsabilité.

Changements

Nouveau src/Factory/

  • FolderTreeFactory : App\Service → App\Factory

src/Security/ (existait déjà, contient OwnershipChecker)

  • AuthenticationResolver : App\Service → App\Security
  • AuthorizationChecker : App\Service → App\Security
  • ShareAccessChecker : App\Service → App\Security

src/Service/ — uniquement la logique métier et infrastructure

AlbumService, CreateFileService, DefaultFolderService, ExifService, FileActionService, FilenameValidator, FolderMover, FolderService, FolderTreeService, IriExtractor, PasswordResetService, StorageService, ThumbnailService

Mises Ă  jour

  • config/services.yaml : 5 rĂ©fĂ©rences
  • src/State/ : FileProcessor, FolderProvider, FileProvider
  • tests/ : AuthenticationResolverTest, AuthorizationCheckerTest, FolderBrowserComponentTest

Tests

âś… 301/301 passent

@ronan-develop ronan-develop merged commit f468d34 into main Mar 16, 2026
3 checks passed
@ronan-develop ronan-develop deleted the chore/ReorganizeServiceDir branch March 16, 2026 10:51
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.

1 participant