Commit graph

846 commits

Author SHA1 Message Date
Khanh Ngo 978c0b6c62
Merge pull request #711 from terbolous/azure_oauth
Azure oauth fixes
2020-05-01 10:25:27 +07:00
Khanh Ngo 5bd8990a54 Merge remote-tracking branch 'RoeiGanor/master' 2020-05-01 10:07:25 +07:00
Roei Ganor 483c767d26 Offline installation and searchable inputs 2020-04-30 17:20:37 +00:00
Erik Weber b03cbdea65
Azure oauth: Graph api calls it mail, not email 2020-04-30 12:15:19 +02:00
Erik Weber b8442c4c5c
Azure oauth: remove preferredName from query 2020-04-30 12:14:32 +02:00
Khanh Ngo bd1eb3cce9
Merge pull request #709 from saschaludwig/master
fixed typo
2020-04-30 10:24:38 +07:00
Khanh Ngo 27d1de3a34
Merge pull request #703 from kaechele/persistent-sqlite-docker
Use sqlite by default in docker
2020-04-30 10:23:01 +07:00
Khanh Ngo 9e8401ae46
Merge branch 'master' of github.com:ngoduykhanh/PowerDNS-Admin 2020-04-30 10:17:32 +07:00
Khanh Ngo 02692c7759
Code formating 2020-04-30 10:17:08 +07:00
Khanh Ngo de6d8c3dce Merge remote-tracking branch 'ixaustralia/master' 2020-04-30 09:15:26 +07:00
Khanh Ngo bbd00865dc
Merge pull request #681 from eht16/fix_create_template_from_zone_url
Remove $SCRIPT_ROOT from 'admin.create_template_from_zone' URL
2020-04-30 09:12:04 +07:00
Sascha Ludwig ccb27e21b3
fixed typo 2020-04-29 18:20:21 +02:00
Felix Kaechele 06266846ec Use sqlite by default in docker
This allows for easy setup with no extra configuration.
Also update docs to reflect the new and easy way to run PowerDNS-Admin.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2020-04-20 18:32:36 -04:00
Marcus Knight 0e093d4eec Support only having one auth method enabled (which isn't ldap/local) 2020-04-16 16:04:10 +08:00
Khanh Ngo 452c4a02d8
Merge pull request #690 from Atisom/master
SAML debug attributes
2020-04-06 09:40:03 +07:00
Attila DEBRECZENI def06bee41 set SAML wantAssertionsEncrypted from config 2020-04-03 13:44:03 +00:00
Khanh Ngo b2d72d6603
Fix docker bool config value 2020-04-02 09:41:26 +07:00
Khanh Ngo 403f063977
Merge branch 'master' of github.com:ngoduykhanh/PowerDNS-Admin 2020-03-28 10:49:25 +07:00
Khanh Ngo 3ae8fce3b1
Merge pull request #686 from christianbur/master
Update Alpine 3.10 -> 3.11; update pip, tzdata, gunicorn
2020-03-28 10:49:01 +07:00
Khanh Ngo c8490146ed Merge remote-tracking branch 'christianbur/master' 2020-03-28 09:56:24 +07:00
Khanh Ngo ee8ab848e3
Merge pull request #691 from athalonis/feature/secure-files
Add docker secrets support
2020-03-28 09:52:18 +07:00
Attila DEBRECZENI cc26174a48
wantAssertionsEncrypted to false 2020-03-27 02:19:06 +01:00
Benjamin Bässler 7e97bec07f
Add docker secrets support 2020-03-27 00:59:28 +01:00
Attila DEBRECZENI a581aa3cf2 add SAML_ASSERTION_ENCRYPTED envrionment 2020-03-25 21:35:20 +00:00
Attila DEBRECZENI e550b0a109 SAML debug attributes 2020-03-25 21:05:30 +00:00
Christian Burmeister 4b4509d839
Update gunicorn 19.7.1 -> 20.0.4 2020-03-13 00:30:26 +01:00
Christian Burmeister 058d475f05
Update requirements.txt 2020-03-13 00:28:32 +01:00
Christian Burmeister 795896d968
Update alpine 3.10 -> 3.11 2020-03-13 00:27:19 +01:00
Christian Burmeister 6381d87ec3
Update gunicorn 19.7.1 -> 20.0.4 2020-03-13 00:22:32 +01:00
Enrico Tröger bc2e7c9786 Remove $SCRIPT_ROOT from 'admin.create_template_from_zone' URL
As the URL here is contructed from Flask's "url_for" which already
takes the script root into account, we do not need to add it here
explicitly. This would result in a duplicate script root otherwise.
2020-03-09 17:08:27 +01:00
Khanh Ngo f2704649f1
Merge pull request #668 from pprietosanchez/fix_search_API_request
Correct request method
2020-03-06 14:08:39 +07:00
Khanh Ngo 026dcead7f
Merge pull request #671 from eht16/add_missing_format_arguments
Add missing format arguments for error message
2020-03-06 13:58:10 +07:00
Khanh Ngo 7024404f73
Merge pull request #674 from sshipway/patch-1
Corrections to Azure auth service definition after refactor
2020-03-06 13:57:09 +07:00
Khanh Ngo 65a59d2e59
Merge pull request #675 from eht16/fix_openid_update_token_typo
Fix token name in session for OIDC and GitHub authentication
2020-03-06 13:54:59 +07:00
Enrico Tröger b421b9b38a Fix token name in session for OIDC and GitHub authentication 2020-03-05 17:07:13 +01:00
Steve Shipway 7ac6529e0a
Corrections to Azure auth service definition after refactor 2020-03-04 17:34:01 +13:00
Enrico Tröger 2d55832729 Add missing format arguments for error message 2020-03-04 00:27:48 +01:00
pprietosanchez a2d98d38e2 Correct request method 2020-02-28 16:25:19 +01:00
Khanh Ngo 52eb62a911
Fix unit tests
The python float number formatting causes unit tests failed
2020-02-13 16:22:07 +07:00
Khanh Ngo d497fdee8e
Merge pull request #655 from eht16/issue428_sync_performance
Perform domain sync within a single transaction
2020-02-12 09:56:41 +07:00
Khanh Ngo 13aab7f6ee
Merge pull request #645 from eht16/outgoing_request_logging
Add log message after remote server request
2020-02-12 09:45:12 +07:00
Enrico Tröger 81bfde5a79 Add log message after remote server request
This might be handy to detect remote server problems or debugging
timeouts and the like.
2020-02-02 15:23:00 +01:00
Enrico Tröger eabbcedf08 Perform domain sync within a single transaction
This increases data inconsistency and also performance of the whole
update process: SqlAlchemy can use its own caching better with a single
transaction as it does not need to mark already fetched objects as dirty
and so re-fetch them again on later use. So after deleting a domain,
we can still use the previously fetched domain objects for the update
operations afterwards. Otherwise SqlAlchemy had to fetch each domain
object again with single SELECT statements which leads to bad
performance with many domains (>> 1000).

The introduced "do_commit" variable controls whether the database
changes are to be committed by the caller or in the called method
itself. So we can use a single transaction for the Domain.update()
method while still preserving the previous behavior for other callers.

Closes #428.
2020-02-02 15:15:20 +01:00
Khanh Ngo 598397bec1
Merge branch 'master' of github.com:ngoduykhanh/PowerDNS-Admin 2020-01-29 22:37:04 +07:00
Khanh Ngo e2207fd8d7
Merge pull request #644 from eht16/add_ssl_verify_setting
Add new setting to verify outgoing SSL connections
2020-01-29 22:36:47 +07:00
Khanh Ngo 4cfb6ef81f
Merge branch 'master' of github.com:ngoduykhanh/PowerDNS-Admin 2020-01-29 22:33:32 +07:00
Khanh Ngo 31d19b19ab Merge remote-tracking branch 'eht16/add_ssl_verify_setting' 2020-01-29 22:33:24 +07:00
Khanh Ngo faeb8d1f94
Merge pull request #652 from ngoduykhanh/fix_import
Fix logging in models
2020-01-29 22:31:56 +07:00
Khanh Ngo a069fdd8cb
Merge pull request #648 from eht16/adjustable_log_level
Introduce PDNS_ADMIN_LOG_LEVEL to change the log level
2020-01-29 22:28:03 +07:00
Khanh Ngo dbb181d575
Merge pull request #647 from eht16/fix_typos
Fiy typos in logging messages
2020-01-29 22:21:29 +07:00