-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[4.0] TLS encryption for database connections: Correct language texts and showon for fields #27320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
richard67
wants to merge
6
commits into
joomla:4.0-dev
from
richard67:4.0-dev-tls-encrypt-db-connections-mod-1
Closed
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
aacd8bd
Change showon for dbsslca and dbsslcapath in application.xml
richard67 4185e83
Merge remote-tracking branch 'upstream/4.0-dev' into 4.0-dev-tls-encr…
richard67 768c1e4
Merge remote-tracking branch 'upstream/4.0-dev' into 4.0-dev-tls-encr…
richard67 a4a0285
Change language texts for one way and two way TLS
richard67 3d997af
Merge remote-tracking branch 'upstream/4.0-dev' into 4.0-dev-tls-encr…
richard67 bb87402
Merge branch '4.0-dev' into 4.0-dev-tls-encrypt-db-connections-mod-1
richard67 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as this is a new string and you are changing the value to authentication then it would be good to update the constant as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How you mean to change it?
COM_CONFIG_FIELD_DATABASE_AUTHENTICATION_ENABLE_VALUE_ONE_WAYwould be wrong, because all the fields with names starting withCOM_CONFIG_FIELD_DATABASE_ENCRYPTIONbelong to the same feature, which is well described with that name prefix.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or how else do you mean it should be changed? I don't understand yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes that was what I was suggesting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well
COM_CONFIG_FIELD_DATABASE_AUTHENTICATION_ENABLE_VALUE_ONE_WAYwould be wrong, because it reads as if it would be related to authentication to database in general, but it is only relevant for connection encryption.What could make sense would be to change the texts
COM_CONFIG_FIELD_DATABASE_ENCRYPTION_ENABLE...toCOM_CONFIG_FIELD_DATABASE_ENCRYPTION_MODE..., or something like that, that would fit more to the values ("Default (server controlled)", "One-way authentication" and "Two-way authentication". The "ENABLE" is a bit misleading and has historically grown when that feadutre was developed by @andrepereiradasilva .Should I change them to
COM_CONFIG_FIELD_DATABASE_ENCRYPTION_MODE...?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brianteeman Please check my comment above. To make it perfect I could change
COM_CONFIG_FIELD_DATABASE_ENCRYPTION_ENABLE_LABELtoCOM_CONFIG_FIELD_DATABASE_ENCRYPTION_MODE_LABEL,COM_CONFIG_FIELD_DATABASE_ENCRYPTION_ENABLE_VALUE_NONEtoCOM_CONFIG_FIELD_DATABASE_ENCRYPTION_MODE_VALUE_DEFAULT,COM_CONFIG_FIELD_DATABASE_ENCRYPTION_ENABLE_VALUE_ONE_WAYtoCOM_CONFIG_FIELD_DATABASE_ENCRYPTION_MODE_VALUE_ONE_WAYandCOM_CONFIG_FIELD_DATABASE_ENCRYPTION_ENABLE_VALUE_TWO_WAYtoCOM_CONFIG_FIELD_DATABASE_ENCRYPTION_MODE_VALUE_TWO_WAY.Let me know your opinion and what you suggest, but your original suggestion was not good in my opinion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or we leave text names like they are.