Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Feature: Add Postgres SSLMODE connection option#283

Merged
corpsee merged 14 commits into
php-censor:masterphp-censor/php-censor:masterfrom
mikebronner:masterCopy head branch name to clipboard
Feb 24, 2019
Merged

Feature: Add Postgres SSLMODE connection option#283
corpsee merged 14 commits into
php-censor:masterphp-censor/php-censor:masterfrom
mikebronner:masterCopy head branch name to clipboard

Conversation

@mikebronner
Copy link
Copy Markdown
Contributor

@mikebronner mikebronner commented Feb 21, 2019

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
Copy link
Copy Markdown
Member

corpsee commented Feb 21, 2019

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
Copy link
Copy Markdown
Member

corpsee commented Feb 23, 2019

@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
Copy link
Copy Markdown
Member

corpsee commented Feb 23, 2019

@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
Copy link
Copy Markdown
Member

corpsee commented Feb 24, 2019

@mikebronner Good. Thanks!

@corpsee
Copy link
Copy Markdown
Member

corpsee commented Feb 24, 2019

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.