From d1ddacd9e8cc3c534a4ec74875e3caf3786e04f3 Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Fri, 29 Mar 2019 14:17:30 +1100 Subject: [PATCH 01/14] Authenticate Bundle Recipe --- .../packages/crayner_authentication.yaml | 43 +++++++++++++++++++ crayner/authenticate-bundle/1.0/manifest.json | 8 ++++ 2 files changed, 51 insertions(+) create mode 100644 crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml create mode 100644 crayner/authenticate-bundle/1.0/manifest.json diff --git a/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml b/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml new file mode 100644 index 000000000..70ede0f65 --- /dev/null +++ b/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml @@ -0,0 +1,43 @@ +crayner_authenticate: + user_class: Crayner\Authenticate\Entity\User + mailer_available: true + highest_available_encoder: + # Argon2i Options + memory_cost: 16384 + time_cost: 2 + threads: 4 + # BCrypt Options + cost: 15 + # SHA256/MD5 Options + iterations_sha256: 1 + iterations_md5: 1 + encode_as_base64: false + password_salt_mask: '{password}{{salt}}' + # Global Options + maximum_available: 'argon2i' + minimum_available: 'md5' + always_upgrade: true + manage_failures: + count: 3 + wait_time: 20 # Minutes + session: true + user: true + password_validation: + min_length: 8 + max_length: 150 + case_difference: true + special_characters: true + use_number: true + error_messages: + min_length: 'Your password needs to be %d characters long.' + max_length: 'Your password needs to be less than %d characters long.' + case_difference: 'Your password must contain upper and lower case characters.' + special_characters: 'Your password must contain a special character. !#@$%^&*)(\][> Date: Fri, 29 Mar 2019 14:36:05 +1100 Subject: [PATCH 02/14] Doctrine Bundle Recipe --- crayner/authenticate-bundle/1.0/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crayner/authenticate-bundle/1.0/manifest.json b/crayner/authenticate-bundle/1.0/manifest.json index 3d9cf4bcd..deb0f779d 100644 --- a/crayner/authenticate-bundle/1.0/manifest.json +++ b/crayner/authenticate-bundle/1.0/manifest.json @@ -1,6 +1,6 @@ { "bundles": { - "Crayner\\Authentication\\CraynerAuthenticationBundle": ["all"] + "Crayner\\Authenticate\\CraynerAuthenticateBundle": ["all"] }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/" From 37cef3604abd15b4c366398a04eb56ec18bfcab2 Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Fri, 29 Mar 2019 14:46:07 +1100 Subject: [PATCH 03/14] Authenticate Bundle - Comment for push --- .../1.0/config/packages/crayner_authentication.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml b/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml index 70ede0f65..6dd502bde 100644 --- a/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml +++ b/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml @@ -17,6 +17,7 @@ crayner_authenticate: maximum_available: 'argon2i' minimum_available: 'md5' always_upgrade: true + # User and Device Lock ... manage_failures: count: 3 wait_time: 20 # Minutes From edacbc1238f2d27d721da353e9ad6665bd3accc9 Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Fri, 29 Mar 2019 15:09:37 +1100 Subject: [PATCH 04/14] Authenticate Bundle Add Routing --- .../1.0/config/routes/crayner_authenticate.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml diff --git a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml new file mode 100644 index 000000000..5652f1cbc --- /dev/null +++ b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml @@ -0,0 +1,3 @@ +controllers: + resource: '@CraynerAuthenticateBundle/Controller' + type: annotation From 9cc528c99f76a21f3aaa9c8f02208f609f6c1619 Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Fri, 29 Mar 2019 15:13:13 +1100 Subject: [PATCH 05/14] Comment for later push. --- .../1.0/config/packages/crayner_authentication.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml b/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml index 6dd502bde..4885a42da 100644 --- a/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml +++ b/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml @@ -23,6 +23,7 @@ crayner_authenticate: wait_time: 20 # Minutes session: true user: true + # Password Validation password_validation: min_length: 8 max_length: 150 From 0339d2b13fa17ee414251741bdb0237175908228 Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Fri, 29 Mar 2019 15:38:23 +1100 Subject: [PATCH 06/14] Crayner Authenticate Bundle Recipe --- .../1.0/config/packages/crayner_authentication.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml b/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml index 4885a42da..ce6486b38 100644 --- a/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml +++ b/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml @@ -37,6 +37,7 @@ crayner_authenticate: special_characters: 'Your password must contain a special character. !#@$%^&*)(\][> Date: Mon, 8 Apr 2019 08:41:09 +1000 Subject: [PATCH 07/14] Remove Config file on request --- .../packages/crayner_authentication.yaml | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml diff --git a/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml b/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml deleted file mode 100644 index ce6486b38..000000000 --- a/crayner/authenticate-bundle/1.0/config/packages/crayner_authentication.yaml +++ /dev/null @@ -1,46 +0,0 @@ -crayner_authenticate: - user_class: Crayner\Authenticate\Entity\User - mailer_available: true - highest_available_encoder: - # Argon2i Options - memory_cost: 16384 - time_cost: 2 - threads: 4 - # BCrypt Options - cost: 15 - # SHA256/MD5 Options - iterations_sha256: 1 - iterations_md5: 1 - encode_as_base64: false - password_salt_mask: '{password}{{salt}}' - # Global Options - maximum_available: 'argon2i' - minimum_available: 'md5' - always_upgrade: true - # User and Device Lock ... - manage_failures: - count: 3 - wait_time: 20 # Minutes - session: true - user: true - # Password Validation - password_validation: - min_length: 8 - max_length: 150 - case_difference: true - special_characters: true - use_number: true - error_messages: - min_length: 'Your password needs to be %d characters long.' - max_length: 'Your password needs to be less than %d characters long.' - case_difference: 'Your password must contain upper and lower case characters.' - special_characters: 'Your password must contain a special character. !#@$%^&*)(\][> Date: Fri, 12 Apr 2019 07:03:38 +1000 Subject: [PATCH 08/14] # Add some crap so I can restart TRAVIS TEST --- .../1.0/config/routes/crayner_authenticate.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml index 5652f1cbc..f7860a3a7 100644 --- a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml +++ b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml @@ -1,3 +1,4 @@ controllers: resource: '@CraynerAuthenticateBundle/Controller' type: annotation +# Add some crap so I can restart TRAVIS TEST \ No newline at end of file From 36395b146c04b30e4ee569e8d60b8d8be9a65f07 Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Fri, 12 Apr 2019 07:09:45 +1000 Subject: [PATCH 09/14] # Remove so I can restart TRAVIS TEST --- .../1.0/config/routes/crayner_authenticate.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml index f7860a3a7..5652f1cbc 100644 --- a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml +++ b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml @@ -1,4 +1,3 @@ controllers: resource: '@CraynerAuthenticateBundle/Controller' type: annotation -# Add some crap so I can restart TRAVIS TEST \ No newline at end of file From 405392127b6af6e0083807075c52b70a6a8c61ba Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Sat, 13 Apr 2019 16:54:47 +1000 Subject: [PATCH 10/14] Change Routing from Annotation to YAML --- .../1.0/config/routes/crayner_authenticate.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml index 5652f1cbc..b619eeb11 100644 --- a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml +++ b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml @@ -1,3 +1,3 @@ -controllers: - resource: '@CraynerAuthenticateBundle/Controller' - type: annotation +crayner_authenticate: + resource: '@CraynerAuthenticateBundle/Resources/config/routes.yaml' + prefix: /security From 6e5f6a10c4e6ff1e97e64f671958a33342842785 Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Thu, 18 Apr 2019 08:15:59 +1000 Subject: [PATCH 11/14] Trigger Recipe Travis --- .../1.0/config/routes/crayner_authenticate.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml index b619eeb11..8d5932050 100644 --- a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml +++ b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml @@ -1,3 +1,4 @@ crayner_authenticate: resource: '@CraynerAuthenticateBundle/Resources/config/routes.yaml' prefix: /security + # Stuff to start Travis \ No newline at end of file From 02448d1a645208643f9f5a0264037ebd400feff0 Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Thu, 18 Apr 2019 08:19:01 +1000 Subject: [PATCH 12/14] Trigger Recipe Travis --- .../1.0/config/routes/crayner_authenticate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml index 8d5932050..ec50194ed 100644 --- a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml +++ b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml @@ -1,4 +1,4 @@ crayner_authenticate: resource: '@CraynerAuthenticateBundle/Resources/config/routes.yaml' prefix: /security - # Stuff to start Travis \ No newline at end of file + From fce785d2504d35ee28e7d6bbdab259010e80235e Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Thu, 18 Apr 2019 08:47:23 +1000 Subject: [PATCH 13/14] Trigger Recipe Travis --- .../1.0/config/routes/crayner_authenticate.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml index ec50194ed..b84927ce9 100644 --- a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml +++ b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml @@ -1,4 +1,5 @@ crayner_authenticate: resource: '@CraynerAuthenticateBundle/Resources/config/routes.yaml' prefix: /security + #Push to Travis From 0aa70d75039821a9ddc53fc9766fce7de2d3c805 Mon Sep 17 00:00:00 2001 From: Craig Rayner Date: Sat, 20 Apr 2019 09:28:08 +1000 Subject: [PATCH 14/14] Trigger Recipe Travis --- .../1.0/config/routes/crayner_authenticate.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml index b84927ce9..ec50194ed 100644 --- a/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml +++ b/crayner/authenticate-bundle/1.0/config/routes/crayner_authenticate.yaml @@ -1,5 +1,4 @@ crayner_authenticate: resource: '@CraynerAuthenticateBundle/Resources/config/routes.yaml' prefix: /security - #Push to Travis