Skip to content

Feature: Add Postgres SSLMODE connection option#283

Merged
corpsee merged 14 commits into
php-censor:masterfrom
mikebronner:master
Feb 24, 2019
Merged

Feature: Add Postgres SSLMODE connection option#283
corpsee merged 14 commits into
php-censor:masterfrom
mikebronner:master

Conversation

@mikebronner

@mikebronner mikebronner commented Feb 21, 2019

Copy link
Copy Markdown
Contributor

Description of change

The goal of this PR is to allow for a Postgres connection over SSL for the main php-censor database.

Next Steps

  • Add steps to install command.
  • Test install command.
  • Add logic for sslmode to regular database connection.
  • Test migration of install command.
  • Test functionality of site once installed.
  • Test non-interactive install command.

Challenges

  • Figure out how to get Phynx to run migrations with sslmode=require in its connection string.

Fixes #282

Comment thread src/Command/InstallCommand.php
Comment thread src/Command/InstallCommand.php
Comment thread src/Command/InstallCommand.php Outdated
@corpsee corpsee self-requested a review February 21, 2019 14:15
@corpsee corpsee added this to the Version 1.x.0 (minor) milestone Feb 21, 2019
@corpsee

corpsee commented Feb 21, 2019

Copy link
Copy Markdown
Member

Issue #282. @mikebronner It isn't clear... Do you want to use SSL connection with main PHP Censor DB or with Postgres plugin? It isn't same.

@mikebronner

Copy link
Copy Markdown
Contributor Author

@corpsee Sorry, and I was looking in the wrong place. I am trying to use it with the main php-censor database.

Comment thread src/Command/InstallCommand.php
@mikebronner mikebronner changed the title [WIP] Add Postgres SSLMODE connection option [WIP] Feature: Add Postgres SSLMODE connection option Feb 21, 2019
Comment thread src/Console/Application.php Outdated
Comment thread src/Console/Application.php
Comment thread src/Console/Application.php Outdated
Comment thread src/Console/Application.php Outdated
@mikebronner

Copy link
Copy Markdown
Contributor Author

@corpsee Would you mind taking a look at this PR? I have it in a functional state at this point. Any feedback welcome. Thanks! :)

@mikebronner mikebronner changed the title [WIP] Feature: Add Postgres SSLMODE connection option Feature: Add Postgres SSLMODE connection option Feb 21, 2019
Comment thread src/Command/InstallCommand.php Outdated
@corpsee

corpsee commented Feb 23, 2019

Copy link
Copy Markdown
Member

@mikebronner Also could you add infotmation about new option to application config documentation?

Comment thread src/Command/InstallCommand.php Outdated
Comment thread src/Command/InstallCommand.php Outdated
@corpsee

corpsee commented Feb 23, 2019

Copy link
Copy Markdown
Member

@mikebronner Thank you for the great work! 👍

@mikebronner

Copy link
Copy Markdown
Contributor Author

@corpsee Thanks for the feedback. I believe I have made all requested changes. Let me know if I missed anything. :)

@corpsee corpsee merged commit fa2aabd into php-censor:master Feb 24, 2019
@corpsee

corpsee commented Feb 24, 2019

Copy link
Copy Markdown
Member

@mikebronner Good. Thanks!

@corpsee

corpsee commented Feb 24, 2019

Copy link
Copy Markdown
Member

PR merged to master branch and will be released with version 1.1.0.

@corpsee corpsee modified the milestones: Version 1.1.0 (minor), 1.1.0 May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Allow Postgres SSL Connections

3 participants