Zoltán Bedi
7fd7c98540
MySql: Fix reset button on config page ( #39988 )
...
* MySql: Fix reset button on config page
* Use button instead of anchor
* Add aria labels
2021-10-06 12:41:34 +02:00
ying-jeanne
c57047a420
Postgres: allow providing TLS/SSL certificates as text in addition to file paths ( #30353 )
...
* postgres SSL certification
* add back the UI to configure SSL Authentication files by file path
* add backend logic
* correct unittest
* mini changes
* Update public/app/plugins/datasource/postgres/config_ctrl.ts
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* mutex
* check file exist before remove
* change permission
* change default configuremethod to file-path
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* rename sslconfiguremethod to sslconfigurationmethod
* frontend update
* solve comments
* Postgres: Convert tests to stdlib
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Postgres: Be consistent about TLS/SSL terminology
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* fix init inconsistancy
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* naming convention
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Undo change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix TLS issue
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* change permissions
* Fix data source field names
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Clean up HTML
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve popover text
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix SSL input bug
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Undo unnecessary change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Clean up backend code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix build
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* More consistent naming
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Clean up code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Enforce certificate file permissions
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* add settings
* Undo changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* fix windows file path
* PostgresDataSource: Fix mutex usage
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/postgres/postgres.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* fix compilation
* fix unittest
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* mock function
* change kmutex package
* add kmutex into middleware
* lock connection file per datasource
* add unittest regarding concurrency
* version should be equal
* adding unittest
* fix the loop
* fix unitest
* fix postgres unittst
* remove comments
* move dataPath from arg to tlsManager struct field
* Use DecryptedValues method
Use cached decrypted values instead of
using secure json data decrypt which will
decrypt unchanged values over and over again.
* remove unneeded mutex in tests and cleanup tests
* fix the lint
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-02-23 22:10:55 +01:00
Peter Holmberg
d3d595a776
MySql: Fix tls auth settings in config page ( #20501 )
2019-11-20 14:33:10 +01:00
Dominik Prokop
c9b11bfc7a
ReactMigration: Migrate DataSource HTTP Settings to React ( #19452 )
...
* Basic components for HTTP settings migration WIP
* Add secureJsonFields to DataSourceSettings
* Introduce datasource-http-settings-next directive for backward compatibility
* fix lint
* renames
* rename fix
* TagsInput component
* move tags from app to grafana/ui
* implement tagsinput on datasourcesettings
* capitalize
* new file for react directive for testing
* some layout touch ups
* FormField story
* Minor touch ups
* add url validation
* using prevent default to prevent updating datasource when adding tag
* using Stylefactory and fix tslint issue on MouseEvent
* only show tlsauthsettings if tls or ca cert
* fix url input length
* fix for showAccessOptions
* Implemented CertTextArea, removed commented code
* removed commented / not used code
* Rename and add more elements to Certification component
* fixing newSecureJsonData
* spelling
* Fix issue with checkboxes being undefined
* Removed old partials and minor fix
* removed unused props from story
2019-10-18 12:09:53 +02:00
Marcus Efraimsson
7df5e3cebf
extract tls auth settings directive from datasource http settings directive
2019-01-28 19:37:19 +01:00