├── .bowerrc ├── .gitignore ├── .travis.yml ├── DEPLOYMENT.md ├── README.md ├── behat.yml ├── bin └── console ├── bower.json ├── cli-config.php ├── composer.json ├── composer.lock ├── config └── deploy │ └── tasks │ └── after-symlink.yml ├── deploy.yml ├── doc └── app.js ├── docker-compose.yml ├── hosts ├── package.json ├── phpunit.xml.dist ├── rollback.yml ├── src └── Lw │ ├── Application │ ├── DataTransformer │ │ └── User │ │ │ ├── UserDataTransformer.php │ │ │ └── UserDtoDataTransformer.php │ └── Service │ │ ├── User │ │ ├── AggregateVersion │ │ │ └── ViewWishesService.php │ │ ├── GrantUserWishesService.php │ │ ├── LogInUserService.php │ │ ├── LogOutUserService.php │ │ ├── SignUpUserRequest.php │ │ ├── SignUpUserService.php │ │ ├── ViewBadgesRequest.php │ │ ├── ViewBadgesService.php │ │ ├── ViewWishesRequest.php │ │ └── ViewWishesService.php │ │ └── Wish │ │ ├── AddWishRequest.php │ │ ├── AddWishService.php │ │ ├── AggregateVersion │ │ ├── AddWishService.php │ │ ├── DeleteWishService.php │ │ ├── UpdateWishService.php │ │ ├── ViewWishService.php │ │ └── WishService.php │ │ ├── DeleteWishRequest.php │ │ ├── DeleteWishService.php │ │ ├── UpdateWishRequest.php │ │ ├── UpdateWishService.php │ │ ├── ViewWishRequest.php │ │ ├── ViewWishService.php │ │ ├── WishRequest.php │ │ └── WishService.php │ ├── Domain │ ├── Event │ │ └── LoggerDomainEventSubscriber.php │ └── Model │ │ ├── Authentifier.php │ │ ├── EmailAddress.php │ │ ├── User │ │ ├── FirstWillMadeBadge.php │ │ ├── LogInAttempted.php │ │ ├── NoMoreWishesAllowedException.php │ │ ├── User.php │ │ ├── UserAlreadyExistsException.php │ │ ├── UserDoesNotExistException.php │ │ ├── UserFactory.php │ │ ├── UserId.php │ │ ├── UserRegistered.php │ │ ├── UserRepository.php │ │ ├── UserSecurityToken.php │ │ └── UserService.php │ │ └── Wish │ │ ├── Wish.php │ │ ├── WishDoesNotExistException.php │ │ ├── WishFactory.php │ │ ├── WishGranted.php │ │ ├── WishId.php │ │ ├── WishRepository.php │ │ └── WishWasMade.php │ └── Infrastructure │ ├── Domain │ ├── Model │ │ ├── DoctrineEntityId.php │ │ ├── User │ │ │ ├── DoctrineUserId.php │ │ │ ├── DoctrineUserRepository.php │ │ │ └── FirstWillMadeBadge.php │ │ └── Wish │ │ │ ├── DoctrineWishId.php │ │ │ ├── DoctrineWishRepository.php │ │ │ └── WishEmail.php │ └── SessionAuthentifier.php │ ├── Persistence │ ├── Doctrine │ │ ├── EntityManagerFactory.php │ │ └── Mapping │ │ │ ├── Ddd.Domain.Event.PublishedMessage.dcm.yml │ │ │ ├── Ddd.Domain.Event.StoredEvent.dcm.yml │ │ │ ├── Lw.Domain.Model.User.User.dcm.yml │ │ │ └── Lw.Domain.Model.Wish.Wish.dcm.yml │ ├── InMemory │ │ ├── User │ │ │ └── InMemoryUserRepository.php │ │ └── Wish │ │ │ └── InMemoryWishRepository.php │ └── Test │ │ └── Domain │ │ └── Model │ │ └── User │ │ ├── EmptyUserRepository.php │ │ └── NotAvailableUserRepository.php │ ├── Service │ ├── HttpUserAdapter.php │ ├── TranslatingUserService.php │ ├── UserAdapter.php │ └── UserTranslator.php │ └── Ui │ ├── Console │ ├── Application.php │ └── Command │ │ └── PushNotificationsCommand.php │ ├── Twig │ └── Views │ │ ├── badge-item.html.twig │ │ ├── dashboard.html.twig │ │ ├── layout.html.twig │ │ ├── login.html.twig │ │ ├── signin.html.twig │ │ ├── view-wish.html.twig │ │ ├── wish-form.html.twig │ │ └── wish-item.html.twig │ └── Web │ └── Silex │ ├── Application.php │ └── Public │ ├── assets │ ├── app.css │ └── first_will_made.png │ └── index.php ├── tests └── Lw │ ├── Application │ └── Service │ │ ├── User │ │ └── SignUpUserServiceTest.php │ │ └── Wish │ │ └── DeleteWishServiceTest.php │ └── Domain │ └── Model │ └── UserTest.php └── var └── logs └── .gitkeep /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "src/Lw/Infrastructure/Ui/Web/Silex/Public/components" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/.travis.yml -------------------------------------------------------------------------------- /DEPLOYMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/DEPLOYMENT.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/README.md -------------------------------------------------------------------------------- /behat.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/behat.yml -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/bin/console -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/bower.json -------------------------------------------------------------------------------- /cli-config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/cli-config.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/composer.lock -------------------------------------------------------------------------------- /config/deploy/tasks/after-symlink.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/config/deploy/tasks/after-symlink.yml -------------------------------------------------------------------------------- /deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/deploy.yml -------------------------------------------------------------------------------- /doc/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/doc/app.js -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /hosts: -------------------------------------------------------------------------------- 1 | carlosbuenosvinos.com ansible_ssh_user=root 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/package.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /rollback.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/rollback.yml -------------------------------------------------------------------------------- /src/Lw/Application/DataTransformer/User/UserDataTransformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/DataTransformer/User/UserDataTransformer.php -------------------------------------------------------------------------------- /src/Lw/Application/DataTransformer/User/UserDtoDataTransformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/DataTransformer/User/UserDtoDataTransformer.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/AggregateVersion/ViewWishesService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/AggregateVersion/ViewWishesService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/GrantUserWishesService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/GrantUserWishesService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/LogInUserService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/LogInUserService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/LogOutUserService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/LogOutUserService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/SignUpUserRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/SignUpUserRequest.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/SignUpUserService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/SignUpUserService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/ViewBadgesRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/ViewBadgesRequest.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/ViewBadgesService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/ViewBadgesService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/ViewWishesRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/ViewWishesRequest.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/User/ViewWishesService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/User/ViewWishesService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/AddWishRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/AddWishRequest.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/AddWishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/AddWishService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/AggregateVersion/AddWishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/AggregateVersion/AddWishService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/AggregateVersion/DeleteWishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/AggregateVersion/DeleteWishService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/AggregateVersion/UpdateWishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/AggregateVersion/UpdateWishService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/AggregateVersion/ViewWishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/AggregateVersion/ViewWishService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/AggregateVersion/WishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/AggregateVersion/WishService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/DeleteWishRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/DeleteWishRequest.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/DeleteWishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/DeleteWishService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/UpdateWishRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/UpdateWishRequest.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/UpdateWishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/UpdateWishService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/ViewWishRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/ViewWishRequest.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/ViewWishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/ViewWishService.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/WishRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/WishRequest.php -------------------------------------------------------------------------------- /src/Lw/Application/Service/Wish/WishService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Application/Service/Wish/WishService.php -------------------------------------------------------------------------------- /src/Lw/Domain/Event/LoggerDomainEventSubscriber.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Domain/Event/LoggerDomainEventSubscriber.php -------------------------------------------------------------------------------- /src/Lw/Domain/Model/Authentifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Domain/Model/Authentifier.php -------------------------------------------------------------------------------- /src/Lw/Domain/Model/EmailAddress.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddshelf/last-wishes/HEAD/src/Lw/Domain/Model/EmailAddress.php -------------------------------------------------------------------------------- /src/Lw/Domain/Model/User/FirstWillMadeBadge.php: -------------------------------------------------------------------------------- 1 |