Skip to content

Commit c96c81f

Browse files
committed
Finish user templates refacto
1 parent d913589 commit c96c81f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1250
-189
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,13 @@ build-prod:
3535
docker build -t resop:latest -f docker/php-flex/Dockerfile .
3636

3737
start-db:
38-
$(DOCKER_COMPOSE_UP) traefik postgres adminer
38+
$(DOCKER_COMPOSE_UP) traefik postgres adminer mailcatcher
3939
docker-compose run --rm wait -c postgres:5432
4040

4141
start-php:
4242
$(DOCKER_COMPOSE_UP_RECREATE) traefik nginx fpm
4343
docker-compose run --rm wait -c fpm:9000,nginx:80
44-
@echo -n "\nStack started with success:\nhttp://resop.vcap.me:7500/login => [email protected] : 01/01/1990"
45-
@echo -n "\nhttp://resop.vcap.me:7500/organizations/login => DT75 : covid19\n"
44+
@echo -n "\nStack started with success: http://resop.vcap.me:7500/\[email protected] : covid19\[email protected] : covid19\[email protected] : covid19\n"
4645

4746
start: init-db start-php
4847

@@ -130,6 +129,7 @@ test-coverage:
130129
bin/tools sh -c "COVERAGE=true vendor/bin/behat --format=progress"
131130

132131
move-test-profiler:
132+
@echo "You must set 'profiler: { collect: true }' in config/packages/test/web_profiler.yaml in order to use this command"
133133
bin/tools sh -c "rm -rf var/cache/dev/profiler && mkdir -p var/cache/dev && cp -R var/cache/test/profiler var/cache/dev/profiler"
134134
@echo "Done : http://resop.vcap.me:7500/_profiler/search?limit=10"
135135

assets/css/login.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
$xs: 380px;
44

5-
@media (min-width: 360px) and (max-width: map-get($grid-breakpoints, "sm")) {
6-
.form-inline {
7-
.form-control {
8-
display: inline-block;
9-
width: auto;
10-
vertical-align: middle;
11-
}
12-
}
13-
}
14-
155
body.login {
166
.navbar-and-body {
177
background-image: url(../img/login-background.jpg);

behat.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ default:
22
suites:
33
default:
44
contexts:
5-
- Alex\MailCatcher\Behat\MailCatcherContext
65
- App\Tests\Behat\CoverageContext
76
- App\Tests\Behat\DatabaseContext
87
- App\Tests\Behat\FixturesContext
@@ -11,6 +10,7 @@ default:
1110
- App\Tests\Behat\SecurityContext
1211
- App\Tests\Behat\TraversingContext
1312
- App\Tests\Behat\UserPlanningContext
13+
- App\Tests\Behat\MailsContext
1414
- Behat\MinkExtension\Context\MinkContext
1515
- PantherExtension\Context\PantherContext
1616
- PantherExtension\Context\WaitContext

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"symfony/form": "5.*",
2727
"symfony/framework-bundle": "5.*",
2828
"symfony/intl": "5.*",
29-
"symfony/mailer": "5.0.*",
29+
"symfony/mailer": "5.*",
3030
"symfony/monolog-bundle": "^3.5",
3131
"symfony/security-bundle": "5.*",
3232
"symfony/serializer-pack": "^1.0",
@@ -41,7 +41,7 @@
4141
"twig/intl-extra": "^3.0"
4242
},
4343
"require-dev": {
44-
"alexandresalome/mailcatcher": "dev-master",
44+
"alexandresalome/mailcatcher": "^1.3",
4545
"behat/behat": "^3.6",
4646
"dama/doctrine-test-bundle": "^6.3",
4747
"escapestudios/symfony2-coding-standard": "^3.11",

0 commit comments

Comments
 (0)