Commit Graph

1078 Commits

Author SHA1 Message Date
462190a913 Fix API key query 2019-12-22 10:06:02 +07:00
9533d8a5aa Adjustment in user profile email
- Don't allow to update to new email address that currently used by another user
- Reset the confirmed status if verify_user_email setting is enabled
2019-12-22 09:19:35 +07:00
d09a645300 Fix migration script and user model 2019-12-22 08:40:05 +07:00
4bdd433079 Fix migration script and LGTM 2019-12-21 22:26:56 +07:00
7739bf7cfc Add user email verification 2019-12-21 21:43:03 +07:00
49908b9039 Merge remote-tracking branch 'chrisss404/master' v0.2.1 2019-12-21 08:35:52 +07:00
451626f4af fixes #619, improve sed replace regex 2019-12-20 17:22:51 +01:00
1ea460fc71 Merge remote-tracking branch 'Neven1986/saml_requested_attrs' 2019-12-20 21:08:06 +07:00
8723b7d56b Fix #529. Update domain serial columns type 2019-12-20 11:36:27 +07:00
3688cec91a Support for SAML metadata Requested Attributes
Enhancements:

- More robust check when creating self-signed certificates
- Added support for SAML Requested Attributes through "SAML_SP_REQUESTED_ATTRIBUTES" parameter
2019-12-20 03:24:26 +01:00
5567886aa3 Fix #614. Can not enable dnssec 2019-12-19 21:50:15 +07:00
93cd64ac75 Fix #613. Create domain from template with SOA record enabled 2019-12-19 21:43:53 +07:00
59110432a0 Merge pull request #612 from Neven1986/saml_certificate_fix
SAML certificate fix and enhancement
v0.2
2019-12-19 09:11:15 +07:00
88991cdde9 Merge pull request #610 from ngoduykhanh/warn_session_timeout
Warn session timeout
2019-12-19 09:07:44 +07:00
567430790c SAML certificate fix and enhancement
Problems resolved:

- Method create_self_signed_cert() was invoked nowhere. This puts parameter "SAML_SIGN_REQUEST" description in configs/development.py as incorrect
- Method create_self_signed_cert() was returning error while trying to write out certificate and private key. File handler was opened for writing out TEXT instead of BINARY data

Enhancements:

- Two new parameters are introduced SAML_CERT_FILE and SAML_KEY_FILE. User can now explicitly define own certificate and key file anywhere on file-system.
- If parameters mentioned in previous bullet aren't explicitly defined, in PowerDNS-Admin root directory self-signed certificate will be created.
- Certificates will be used or generated in any case, because in saml.py there are explicit parameters defined which require certificate/key in order to work normally. If they aren't, exception will be thrown. Examples of parameters defined in saml.py requiring certificate: wantAssertionsEncrypted, signMetadata, wantAssertionsSigned.
2019-12-19 00:40:25 +01:00
33c1f64272 Update mock test 2019-12-18 23:48:46 +07:00
7205b4a01b User session improvement
- Add session handler on other blueprint's before request
- Adjustment in using jTimeout to close warning popup on
other tabs when we extend the session
2019-12-18 15:25:20 +07:00
9a1b92fbc2 Add session timeout warning 2019-12-17 23:46:34 +07:00
ea8531dd3c Merge pull request #609 from ngoduykhanh/domain_sort_fixes
Fix dashboard domain sorting
2019-12-17 13:57:11 +07:00
103bf176ed Fix dashboard domain sorting 2019-12-17 13:34:52 +07:00
4a3f121b02 Merge branch 'master' of github.com:ngoduykhanh/PowerDNS-Admin 2019-12-16 17:23:54 +07:00
691d3045ad Merge pull request #604 from ngoduykhanh/record_adjustment
Adjustment in domain's record applying
2019-12-16 17:23:16 +07:00
3e961d7b21 LGTM fixes 2019-12-16 16:27:18 +07:00
f5b88ebc73 Merge branch 'master' into record_adjustment 2019-12-16 15:54:38 +07:00
3196297f57 Fix domain template. Drop PDNS 3.x support 2019-12-16 14:23:17 +07:00
a891ed38e2 Add more log and history data 2019-12-16 11:01:16 +07:00
6880657367 Merge remote-tracking branch 'chrisss404/master' 2019-12-16 08:47:51 +07:00
452fde17bd #606 update docker base image and employ multi-stage build in order to reduce image size 2019-12-15 16:33:09 +01:00
4263bccbba Format the history popup content 2019-12-15 21:42:08 +07:00
de581e9e1d Yapf code formatting 2019-12-15 09:40:05 +07:00
32236faae8 Merge remote-tracking branch 'Neven1986/saml_fixes' 2019-12-15 08:25:17 +07:00
37f24f9fde Correction of redirect URL after successful SAML login
From my perspective, if agreed, this change can be merged, because the basic SAM auth. functionality is now present
and was tested with "samlidp.io" iDP.

However, there are further improvements which I would like to integrate, but as a separate features in separate pull requests
2019-12-15 01:15:30 +01:00
894756ad96 Invocation of separate threa in get_idp_data() problem resolved 2019-12-14 21:45:51 +01:00
cd3535dcd2 - Variable references inside SAML class were fixed
- Function signatures inside SAML class were fixed
    - Redirect URL for /saml/login path was modified (saml_authorized -> index.saml_authorized)

    Current status is that SAML metadata can be generated under /saml/metadata and communication to SAML iDP is working

    Problems remaining:
        - SAML Response doesn't contain any attributes (There is no AttributeStatement on the Response). It can be that problem is on iDP side
        - Background thread in retrieve_idp_data() cannot be spawned, this part is currently commented out, old code needs to be revisited
2019-12-14 18:59:59 +01:00
5ac58d5503 Re-add pretty_ipv6_ptr. Bug fixes 2019-12-14 23:13:55 +07:00
95fe2a8a85 Update yarn lockfile 2019-12-14 20:47:34 +07:00
14658d797e Adjustment in domain's record applying 2019-12-14 14:47:21 +07:00
ad6b04bd78 LGTM fixes 2019-12-14 08:31:23 +07:00
c0594b2c0b Fix SAML 2019-12-13 21:55:11 +07:00
d90a20f8da Fix #602 domain table with long records 2019-12-13 21:22:58 +07:00
65d4acc6c5 Merge remote-tracking branch 'paepke/history-rrsets' 2019-12-11 21:14:44 +07:00
81869f4cd8 add history entries for rrsets delivered via zone api which is forwarded to pdns 2019-12-11 14:04:18 +01:00
242e31a490 Merge pull request #599 from ngoduykhanh/global_search
Add PDNS global search feature
2019-12-11 16:56:06 +07:00
1d973d1614 Allow update zone kind the domain setting page 2019-12-11 16:02:36 +07:00
798b7abb5b Show actual result on applyChanges(). Remove generated assets files 2019-12-11 13:45:27 +07:00
c62f9f6936 Formatting 2019-12-11 10:32:02 +07:00
2cc73abbe5 Add PDNS global search feature
Remove POST method in global search route

Edit form action
2019-12-11 10:26:17 +07:00
a65b940103 Remove POST method in global search route 2019-12-11 10:02:04 +07:00
de69eaf825 Add PDNS global search feature 2019-12-11 09:55:18 +07:00
67e6df6880 Bug fixes. Adjust logger 2019-12-10 17:08:43 +07:00