diff --git a/index.json b/index.json index 2201af7..d604fd6 100644 --- a/index.json +++ b/index.json @@ -27,10 +27,12 @@ "4.1" ], "redant/apps-bundle": [ - "2.0" + "2.0", + "4.0" ], "redant/aws-bundle": [ - "1.0" + "1.0", + "2.0" ], "redant/exact-online-bundle": [ "3.0" @@ -39,7 +41,8 @@ "1.0" ], "redant/security-bundle": [ - "2.0" + "2.0", + "4.0" ], "symfony/security-bundle": [ "3.3" diff --git a/redant.apps-bundle.2.0.json b/redant.apps-bundle.2.0.json index 1f00031..a0865d0 100644 --- a/redant.apps-bundle.2.0.json +++ b/redant.apps-bundle.2.0.json @@ -44,7 +44,7 @@ "contents": [ "redant.apps:", " resource: \"@AppsBundle/Controller\"", - " type: attribute", + " type: annotation", " prefix: /apps" ], "executable": false @@ -53,4 +53,4 @@ "ref": "d4f9c6e64667d03fb6b8cfb6eb31ae2a4245b7db" } } -} +} \ No newline at end of file diff --git a/redant.apps-bundle.4.0.json b/redant.apps-bundle.4.0.json new file mode 100644 index 0000000..1f00031 --- /dev/null +++ b/redant.apps-bundle.4.0.json @@ -0,0 +1,56 @@ +{ + "manifests": { + "redant/apps-bundle": { + "manifest": { + "bundles": { + "RedAnt\\AppsBundle\\AppsBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } + }, + "files": { + "config/packages/apps.yaml": { + "contents": [ + "# RedAnt Apps platform", + "#", + "# This file contains your app and menu configuration.", + "#", + "# Example menu structure:", + "#", + "# apps:", + "# dashboard:", + "# icon: 'block layout'", + "# menu:", + "# dashboard: App\\Dashboard\\Controller\\DashboardController::dashboard", + "# location:", + "# icon: 'map marker alternate'", + "# menu:", + "# dashboard: App\\Location\\Controller\\DashboardController::index", + "# graphs:", + "# page_one: App\\Location\\Controller\\GraphController::one", + "# divider: ---", + "# page_two: App\\Location\\Controller\\GraphController::two", + "# help:", + "# icon: 'help'", + "# menu: [] # This app has an empty menu", + "# route: App\\Help\\Controller\\HelpController::index" + ], + "executable": false + }, + "config/routes/apps.yaml": { + "contents": [ + "redant.apps:", + " resource: \"@AppsBundle/Controller\"", + " type: attribute", + " prefix: /apps" + ], + "executable": false + } + }, + "ref": "d4f9c6e64667d03fb6b8cfb6eb31ae2a4245b7db" + } + } +} diff --git a/redant.aws-bundle.1.0.json b/redant.aws-bundle.1.0.json index 08662c2..aad2121 100644 --- a/redant.aws-bundle.1.0.json +++ b/redant.aws-bundle.1.0.json @@ -45,7 +45,7 @@ "contents": [ "redant_aws:", " resource: \"@RedAntAWSBundle/Controller\"", - " type: attribute", + " type: annotation", " prefix: /" ], "executable": false diff --git a/redant.aws-bundle.2.0.json b/redant.aws-bundle.2.0.json new file mode 100644 index 0000000..08662c2 --- /dev/null +++ b/redant.aws-bundle.2.0.json @@ -0,0 +1,57 @@ +{ + "manifests": { + "redant/aws-bundle": { + "manifest": { + "bundles": { + "RedAnt\\AWSBundle\\RedAntAWSBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } + }, + "files": { + "config/packages/messenger.yaml": { + "contents": [ + "framework:", + " messenger:", + " # Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.", + " failure_transport: failed", + "", + " transports:", + " # https://symfony.com/doc/current/messenger.html#transport-configuration", + " async: '%env(MESSENGER_TRANSPORT_DSN)%'", + " failed: 'doctrine://default?queue_name=failed'", + " # sync: 'sync://'", + "", + " routing:", + " # Route your messages to the transports", + " RedAnt\\AWSBundle\\Message\\CreateInBucketMessage: async", + " RedAnt\\AWSBundle\\Message\\RemoveFromBucketMessage: async", + "" + ], + "executable": false + }, + "config/packages/redant_aws.yaml": { + "contents": [ + "redant_aws:", + " # This delays the removal of the file for a period of time. Value is in millisecconds", + " removal_delay: 0 # Example: 10000" + ], + "executable": false + }, + "config/routes/redant_aws.yaml": { + "contents": [ + "redant_aws:", + " resource: \"@RedAntAWSBundle/Controller\"", + " type: attribute", + " prefix: /" + ], + "executable": false + } + }, + "ref": "4f8855986fe66dbca24ac018696052d3364ff8f1" + } + } +} diff --git a/redant.security-bundle.2.0.json b/redant.security-bundle.2.0.json index 93f348f..bd25595 100644 --- a/redant.security-bundle.2.0.json +++ b/redant.security-bundle.2.0.json @@ -15,16 +15,17 @@ "config/packages/security.yaml": { "contents": [ "security:", - " # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords", - " password_hashers:", - " RedAnt\\SecurityBundle\\Entity\\User: 'auto'", - "", " # SecurityBundle User object authentication", " providers:", " redant.security.user:", " entity:", " class: RedAnt\\SecurityBundle\\Entity\\User", - " property: email", + "", + " # Default encoder for SecurityBundle User objects", + " encoders:", + " RedAnt\\SecurityBundle\\Entity\\User:", + " algorithm: bcrypt", + " cost: 13", "", " firewalls:", " # Disables authentication for assets and the profiler", @@ -33,20 +34,18 @@ " security: false", "", " main:", - " lazy: true", - " provider: redant.security.user", - "", - " form_login:", - " username_parameter: '_email'", - " login_path: redant.security.login", - " check_path: redant.security.login", - " entry_point: form_login", + " anonymous: true", "", " # Register SecurityBundle logout path", " logout:", " path: /logout", " target: redant.security.login", "", + " # Register SecurityBundle authenticator service", + " guard:", + " authenticators:", + " - RedAnt\\SecurityBundle\\Security\\UserAuthenticator", + "", " # SecurityBundle Remember me settings", " remember_me:", " secret: '%kernel.secret%'", @@ -61,10 +60,6 @@ "config/packages/redant_security.yaml": { "contents": [ "redant_security:", - " # You can create a custom form type and define the FQCN to that form here", - " # Add user form class ex. new userType form", - " user_form_class: RedAnt\\AppsBundle\\Form\\UserType", - "", " # Default login template", " login_template: '@RedAntSecurity/login.html.twig' ", "", @@ -83,7 +78,7 @@ "contents": [ "redant_security:", " resource: \"@RedAntSecurityBundle/Controller\"", - " type: attribute", + " type: annotation", " prefix: /" ], "executable": false @@ -92,4 +87,4 @@ "ref": "888de6bfbc42ca58117bfdb3095df459c4ef5fe2" } } -} +} \ No newline at end of file diff --git a/redant.security-bundle.4.0.json b/redant.security-bundle.4.0.json new file mode 100644 index 0000000..93f348f --- /dev/null +++ b/redant.security-bundle.4.0.json @@ -0,0 +1,95 @@ +{ + "manifests": { + "redant/security-bundle": { + "manifest": { + "bundles": { + "RedAnt\\SecurityBundle\\RedAntSecurityBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } + }, + "files": { + "config/packages/security.yaml": { + "contents": [ + "security:", + " # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords", + " password_hashers:", + " RedAnt\\SecurityBundle\\Entity\\User: 'auto'", + "", + " # SecurityBundle User object authentication", + " providers:", + " redant.security.user:", + " entity:", + " class: RedAnt\\SecurityBundle\\Entity\\User", + " property: email", + "", + " firewalls:", + " # Disables authentication for assets and the profiler", + " dev:", + " pattern: ^/(_(profiler|wdt)|css|images|js)/", + " security: false", + "", + " main:", + " lazy: true", + " provider: redant.security.user", + "", + " form_login:", + " username_parameter: '_email'", + " login_path: redant.security.login", + " check_path: redant.security.login", + " entry_point: form_login", + "", + " # Register SecurityBundle logout path", + " logout:", + " path: /logout", + " target: redant.security.login", + "", + " # SecurityBundle Remember me settings", + " remember_me:", + " secret: '%kernel.secret%'", + " lifetime: 604800 # 1 week in seconds", + "", + " # Define your role hierarchy here", + " role_hierarchy:", + " ROLE_ADMIN: ROLE_USER" + ], + "executable": false + }, + "config/packages/redant_security.yaml": { + "contents": [ + "redant_security:", + " # You can create a custom form type and define the FQCN to that form here", + " # Add user form class ex. new userType form", + " user_form_class: RedAnt\\AppsBundle\\Form\\UserType", + "", + " # Default login template", + " login_template: '@RedAntSecurity/login.html.twig' ", + "", + " # Redirect to this route after login", + " redirection_route: 'location.dashboard'", + "", + " # Email address password reset messages are sent from", + " from_email: 'info@redant.nl'", + "", + " # This enables registration for the application. Default: false", + " allow_registration: false" + ], + "executable": false + }, + "config/routes/redant_security.yaml": { + "contents": [ + "redant_security:", + " resource: \"@RedAntSecurityBundle/Controller\"", + " type: attribute", + " prefix: /" + ], + "executable": false + } + }, + "ref": "888de6bfbc42ca58117bfdb3095df459c4ef5fe2" + } + } +}