Skip to content

Commit dc84ca4

Browse files
committed
Finish user templates refacto
1 parent 64051aa commit dc84ca4

70 files changed

Lines changed: 1510 additions & 282 deletions

File tree

Some content is hidden

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

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Get the version
2323
id: vars
2424
run: |
25-
echo ::set-output name=BUILD_TAG::$(git describe --tags)
25+
echo ::set-output name=BUILD_TAG::$(git describe --tags --always)
2626
echo ::set-output name=CI_COMMIT_REF_SLUG::${GITHUB_REF#refs/*/}
2727
2828
- name: Pull existing Docker image

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
if: always()
7979

8080
- name: Install composer dependencies
81-
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
81+
run: composer install --no-progress --prefer-dist --optimize-autoloader
8282

8383
- name: Cache node_modules
8484
uses: actions/cache@v1

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 => user1@resop.com : 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/\nuser102@resop.com : covid19\nadmin101@resop.com : covid19\nsuper_admin1@resop.com : 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)