Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.19.0 #54

Open
wants to merge 27 commits into
base: develop
Choose a base branch
from
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
0ffe8cb
Refactor based on new core
marioprudhomme Jul 30, 2020
87d38c4
Update api version
marioprudhomme Jul 30, 2020
44b2f12
Update docker image version
marioprudhomme Jul 30, 2020
9ac22b9
Update digitalstate/core dependency
marioprudhomme Aug 2, 2020
91d830b
Update digitalstate/core dependency
marioprudhomme Aug 2, 2020
eebed1d
Refactor based on new core
marioprudhomme Aug 3, 2020
e9bbe5b
Add business unit role entity and related resources
marioprudhomme Aug 3, 2020
2d1e7c9
Update migration 0_19_0 down method
marioprudhomme Aug 3, 2020
86d9935
Fix yaml extension typo
marioprudhomme Aug 3, 2020
2d302dc
Add necessary api filter on business unit role endpoint for security …
marioprudhomme Aug 3, 2020
bbd308f
Update to latest digitalstate/core dependency
marioprudhomme Aug 3, 2020
6434d01
Remove unused entity accessor
marioprudhomme Aug 4, 2020
16a80c1
Add api filters for assigned role entities
marioprudhomme Aug 4, 2020
0732b0e
Refactor role validation and propagation
marioprudhomme Aug 5, 2020
2050bfc
Update digitalstate/core dependency
marioprudhomme Aug 5, 2020
7d920bf
Update to latest digitalstate/core dependency
marioprudhomme Aug 6, 2020
a2348ab
Update to latest digitalstate/core dependency
marioprudhomme Aug 10, 2020
6358021
Update role validation constraints
marioprudhomme Aug 21, 2020
86ad555
Update role validation constraints
marioprudhomme Aug 23, 2020
e6318b1
Enable write on entity created_at properties
marioprudhomme Aug 30, 2020
48ce719
Enable write on entity created_at properties
marioprudhomme Aug 30, 2020
71c3a9e
Enable write on entity created_at properties
marioprudhomme Aug 30, 2020
dd4b43e
Enable write on entity created_at properties
marioprudhomme Aug 30, 2020
1a7b241
Fix var directory permissions
marioprudhomme Aug 31, 2020
cfb6f78
Update composer dependencies
marioprudhomme Sep 16, 2020
a205652
Set composer version in dockerfile
marioprudhomme Oct 31, 2020
a9dd8b2
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 @@ -16,6 +16,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: e5bea38e-ae59-498f-85c3-d7836f45396d # 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