This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ce9c8b
commit 139a597
Showing
23 changed files
with
1,746 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,5 +29,5 @@ APP_SECRET=1cfb268791faa36148b27cf29db67cbe | |
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" | ||
# For a PostgreSQL database, use: "postgresql://db_user:[email protected]:5432/db_name?serverVersion=11&charset=utf8" | ||
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml | ||
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7 | ||
DATABASE_URL=mysql://root:nopassword@127.0.0.1:3306/cua?serverVersion=mariadb-10.5.0 | ||
###< doctrine/doctrine-bundle ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,5 @@ | |
.phpunit.result.cache | ||
/phpunit.xml | ||
###< symfony/phpunit-bridge ### | ||
|
||
/mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
easy_admin: | ||
list: | ||
max_results: 30 | ||
entities: | ||
# List the entity class name you want to manage | ||
Customer: | ||
class: App\Entity\Customer | ||
label: Customers | ||
form: | ||
fields: | ||
- property: 'name' | ||
|
||
- property: 'contacts' | ||
type: 'collection' | ||
type_options: | ||
entry_type: App\Form\ContactEmbeddedFormType | ||
allow_delete: true | ||
allow_add: true | ||
by_reference: false | ||
Project: | ||
class: App\Entity\Project | ||
list: | ||
fields: ['code', 'customer', 'name', 'enabled', 'checkDependencies', 'checkSecurity', 'contacts'] | ||
form: | ||
fields: | ||
- | ||
property: 'code' | ||
help: 'Need unique. Max 10 char' | ||
- | ||
property: 'customer' | ||
help: 'Customer owner of this project' | ||
- | ||
property: 'name' | ||
- | ||
property: 'path' | ||
help: 'Path of the project on server' | ||
- | ||
property: 'lockPath' | ||
help: 'Project composer.lock path. relativ to the path project.' | ||
- | ||
property: 'phpPath' | ||
help: 'PHP executable name or absolute path.' | ||
- | ||
property: 'privateDependencies' | ||
help: 'List here (one per line) all private depdendencies included in this project.' | ||
- | ||
property: 'privateDependenciesStrategy' | ||
type: 'choice' | ||
type_options: | ||
choices: {'Remove': 'remove', 'Hash': 'hash'} | ||
help: 'Select the strategy to proccess the private dependencies before send composer.lock to the security check service.' | ||
- | ||
property: 'checkDependencies' | ||
- | ||
property: 'checkSecurity' | ||
- | ||
property: 'enabled' | ||
- | ||
property: 'contacts' | ||
type: 'entity' | ||
type_options: { class: 'App\Entity\Contact', multiple: true, attr: { data-widget: 'select2'} } | ||
Dependency: | ||
class: App\Entity\Dependency | ||
list: | ||
fields: ['id', 'project', 'library', 'version', 'state', 'toVersion', 'deprecated', 'updatedAt'] | ||
actions: ['-edit', '-remove', '-new'] | ||
SecurityIssue: | ||
class: App\Entity\SecurityIssue | ||
list: | ||
fields: ['id', 'project', 'library', 'version', 'state', 'updatedAt'] | ||
actions: ['-edit', '-remove', '-new', 'show'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
easy_admin_bundle: | ||
resource: '@EasyAdminBundle/Controller/EasyAdminController.php' | ||
prefix: / | ||
type: annotation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: '3.1' | ||
|
||
services: | ||
db: | ||
image: library/mariadb:10.5 | ||
environment: | ||
MYSQL_ROOT_PASSWORD: nopassword | ||
volumes: | ||
- ./mysql/data:/var/lib/mysql | ||
ports: | ||
- "3306:3306" | ||
|
Oops, something went wrong.