Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9c0bdd7
Refactor based on new core
marioprudhomme Jul 30, 2020
8f7ba41
Update api version
marioprudhomme Jul 30, 2020
e4934b7
Update docker image version
marioprudhomme Jul 30, 2020
876eda9
Update digitalstate/core dependency
marioprudhomme Aug 2, 2020
420a98d
Update digitalstate/core dependency
marioprudhomme Aug 2, 2020
ed0c302
Update to latest digitalstate/core dependency
marioprudhomme Aug 3, 2020
580783e
Update digitalstate/core dependency
marioprudhomme Aug 5, 2020
acc6bb2
Update to latest digitalstate/core dependency
marioprudhomme Aug 6, 2020
c49ff94
Update behat tests
marioprudhomme Aug 9, 2020
b54b662
Update behat tests
marioprudhomme Aug 9, 2020
7b35296
Update behat tests
marioprudhomme Aug 9, 2020
2ba74c2
Update behat tests
marioprudhomme Aug 9, 2020
13c6c9f
Update behat tests
marioprudhomme Aug 9, 2020
3d30de7
Update behat tests
marioprudhomme Aug 9, 2020
0361849
Update to latest digitalstate/core dependency
marioprudhomme Aug 9, 2020
a4799ff
Update to latest digitalstate/core dependency
marioprudhomme Aug 9, 2020
f1a2e42
Update behat tests
marioprudhomme Aug 9, 2020
fb7fa66
Update behat tests
marioprudhomme Aug 9, 2020
ce4b26f
Update behat tests
marioprudhomme Aug 9, 2020
859a776
Update behat tests
marioprudhomme Aug 9, 2020
6c5a590
Update to latest digitalstate/core dependency
marioprudhomme Aug 10, 2020
8b69cc5
Enable write on entity created_at properties
marioprudhomme Aug 30, 2020
86aa4e8
Enable write on entity created_at properties
marioprudhomme Aug 30, 2020
85d5e9a
Fix var directory permissions
marioprudhomme Aug 31, 2020
57981ca
Update composer dependencies
marioprudhomme Sep 16, 2020
a230c1b
Set composer version in dockerfile
marioprudhomme Oct 31, 2020
473115d
Remove deprecated dependency checker service
marioprudhomme Feb 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ before_install:
script:
- docker-compose -f docker-compose.yml -f docker-compose.test.yml up -d
- while true; do output=`docker-compose exec -T php pidof php-fpm | cat`; if [[ ! -z "${output}" ]]; then break; fi; sleep 1; done;
- docker-compose -f docker-compose.yml -f docker-compose.test.yml exec php php bin/console security:check
- docker-compose -f docker-compose.yml -f docker-compose.test.yml exec php php bin/console doctrine:migration:migrate --no-interaction
- docker-compose -f docker-compose.yml -f docker-compose.test.yml exec -e FIXTURES=test php php bin/console doctrine:fixtures:load --no-interaction
- docker-compose -f docker-compose.yml -f docker-compose.test.yml exec php vendor/bin/behat
2 changes: 1 addition & 1 deletion api/Dockerfile-php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN set -eux; \
\
apk del .build-deps

COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
COPY --from=composer:1.10.16 /usr/bin/composer /usr/bin/composer
COPY docker/php/php.ini /usr/local/etc/php/php.ini

# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser
Expand Down
7 changes: 4 additions & 3 deletions api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
"ext-iconv": "*",
"api-platform/api-pack": "^1.1",
"defuse/php-encryption": "^2.2",
"digitalstate/core": "0.18.0",
"digitalstate/core": "0.19.0",
"doctrine/doctrine-fixtures-bundle": "^3.0",
"doctrine/doctrine-migrations-bundle": "^1.3",
"guzzlehttp/guzzle": "^6.3",
"justinrainbow/json-schema": "^5.0",
"knplabs/doctrine-behaviors": "^1.5",
"lexik/jwt-authentication-bundle": "^2.6",
"ramsey/uuid": "^3.8",
"scienta/doctrine-json-functions": "^4.1",
"sensio/framework-extra-bundle": "^5.2",
"sensiolabs/security-checker": "^5.0",
"symfony/console": "^4.0",
Expand Down Expand Up @@ -66,8 +68,7 @@
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"security-checker security:check": "script"
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
Expand Down
216 changes: 141 additions & 75 deletions api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api/config/fixtures/dev/access/anonymous/access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ objects: []

prototype:
uuid: ~
created_at: ~
owner: BusinessUnit
owner_uuid: c11c546e-bd01-47cf-97da-e25388357b5a # Administration
assignee: Anonymous
Expand Down
1 change: 1 addition & 0 deletions api/config/fixtures/dev/access/individual/access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ objects: []

prototype:
uuid: ~
created_at: ~
owner: BusinessUnit
owner_uuid: c11c546e-bd01-47cf-97da-e25388357b5a # Administration
assignee: Individual
Expand Down
1 change: 1 addition & 0 deletions api/config/fixtures/dev/access/organization/access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ objects: []

prototype:
uuid: ~
created_at: ~
owner: BusinessUnit
owner_uuid: c11c546e-bd01-47cf-97da-e25388357b5a # Administration
assignee: Organization
Expand Down
1 change: 1 addition & 0 deletions api/config/fixtures/dev/access/role/access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ objects:

prototype:
uuid: ~
created_at: ~
owner: BusinessUnit
owner_uuid: c11c546e-bd01-47cf-97da-e25388357b5a # Administration
assignee: Role
Expand Down
2 changes: 0 additions & 2 deletions api/config/fixtures/dev/access/role/permission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ objects:
scope:
type: owner
entity: BusinessUnit
entity_uuid: ~ # Any BusinessUnit
key: entity
attributes: [BROWSE, READ, EDIT, ADD, DELETE]

- access: 3bb105c5-9ce8-4be7-a194-7515c8beb7fa # Administrator
scope:
type: owner
entity: BusinessUnit
entity_uuid: ~ # Any BusinessUnit
key: property
attributes: [BROWSE, READ, EDIT]

Expand Down
1 change: 1 addition & 0 deletions api/config/fixtures/dev/access/staff/access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ objects: []

prototype:
uuid: ~
created_at: ~
owner: BusinessUnit
owner_uuid: c11c546e-bd01-47cf-97da-e25388357b5a # Administration
assignee: Staff
Expand Down
Loading