Commit Graph

185 Commits

Author SHA1 Message Date
Dejan Filipovic
8698009c30 Records entries should not required database requests for domain listing page
Create a new class just for storing records entries, without the Setting lookup
otherwise for each record it will make 4 SQL queries to retrieve something that
is not used.
2019-03-28 08:25:07 +01:00
Tim Jacomb
334878d75d
Use display name of role 2019-03-03 15:08:01 +00:00
Tim Jacomb
292aaddaee
Improve SAML support
- Make SAML_WANT_MESSAGE_SIGNED configurable, AzureAD signs the assertion but wouldn't sign the message
- Add support for a name attribute, i.e. 'Tim Jacomb' using `SAML_ATTRIBUTE_NAME`, which will be mapped into the given and surname fields, AzureAD only has displayname
- Add support for group based admin `SAML_ATTRIBUTE_GROUP` and `SAML_GROUP_ADMIN_NAME`
- Add support for group based accounts `SAML_GROUP_TO_ACCOUNT_MAPPING`
- Don't fail if cert and key aren't present
2019-03-03 07:58:01 +00:00
Pavol Ipoth
1feb77e2f3 Add Api to PowerDNS-Admin 2019-03-01 23:50:04 +01:00
Andreas Oberritter
98f1e96d1a dyndns: accept and validate both A and AAAA records; default to client address 2019-02-12 16:27:08 +01:00
Rama
287d171d83 Separate Tabs for Reverse Zones (IP4 & IP6)
Separate Tabs for Reverse Zones (IP4 & IP6)
2019-01-23 12:00:26 +01:00
Khanh Ngo
458826bc77
Fix account deletion. Add more info in Account table 2019-01-11 09:00:51 +07:00
Khanh Ngo
7da6bd5f99
Prevent non-administrator user from editing admin users 2019-01-09 13:03:27 +07:00
Khanh Ngo
082969de72
Fix #427. JSON parse error on history detail 2018-12-20 15:26:14 +07:00
Khanh Ngo
b56d1154cc
Fix disabling the user registration form 2018-12-11 10:56:37 +07:00
Khanh Ngo
9e14c3eb39
Merge pull request #409 from rkerr/ttl_config
Add ttl_options setting
2018-11-29 09:54:05 +07:00
Robert Kerr
976742c54e Add ttl_options to templates 2018-11-28 20:09:33 +00:00
Ymage
d16abb9f81 Fix login redirection when submounted
Fix #411 to use with APPLICATION_ROOT Flask config variable
2018-11-26 14:54:20 +01:00
Robert Kerr
c456aa2e7a Add ttl_options setting
Adds a new setting to define the options in the TTL dropdown when
editing a record. The setting is a comma separated string with the
valid options.
2018-11-24 12:45:14 +00:00
Ymage
0b9c58971c Remove forgotten decorator 2018-11-24 12:15:49 +01:00
Ymage
9e6822bcdb Make a redirection to previous page after logged in
Fix #403
2018-11-24 11:53:27 +01:00
Khanh Ngo
5f049debe5 Adding Flask-SeaSurf module for CSRF protection. 2018-11-21 10:24:33 +07:00
Khanh Ngo
e4c8f5e100 Use SvgPathImage in QR Code generation to remove white lines. #388 2018-11-12 16:00:38 +07:00
Khanh Ngo
d3972b659a Add record helper for TXT type. #380 2018-10-30 09:55:31 +07:00
Khanh Ngo
3fea57fca1 Update README. Fix warning from PR #387 2018-10-26 08:43:25 +07:00
Khanh Ngo
e273921195 Merge remote-tracking branch 'chriscpritchard/master' 2018-10-25 15:26:42 +07:00
Chris Pritchard
8a20d3f2d8
migrated to authlib 2018-10-22 02:33:46 +01:00
Chris Pritchard
396ce14b9f
OIDC (#1)
Implemented OIDC using authlib
2018-10-21 23:38:12 +01:00
odumasFR
de3d1b3665
Merge branch 'master' into activedirectory_authent 2018-10-09 08:31:18 +02:00
Khanh Ngo
4540d9a293
Merge pull request #379 from jsoref/spelling
Spelling
2018-10-02 14:56:25 +07:00
Josh Soref
3c7da371d2 spelling: privilege 2018-10-02 07:23:41 +00:00
Josh Soref
aced23db97 spelling: initialize 2018-10-02 07:22:15 +00:00
Josh Soref
d9d3add093 spelling: cannot 2018-10-02 07:04:07 +00:00
odumasFR
dabc324c52
Adjust basic settings list
Added the new 'session_timeout' setting to the list of rendered basic settings
2018-10-02 08:01:04 +02:00
Olivier DUMAS
4cd422ee54 Added a session_timeout setting to manage session lifetime 2018-10-01 19:15:09 +02:00
Olivier DUMAS
bee6d1560f Do not use service login/password for AD authentication 2018-09-12 17:28:05 +02:00
Khanh Ngo
ccd2d8c31a Code adjustment as LGTM.com 2018-09-06 11:35:54 +07:00
Khanh Ngo
67dd626c65
Fix the user role checking in History routes 2018-09-04 17:58:13 +07:00
Khanh Ngo
902e63a64e
Fixing typo 2018-09-04 13:10:55 +07:00
Khanh Ngo
fe07030487
Only Administrator users can remove the history 2018-09-04 13:02:19 +07:00
Khanh Ngo
26c2b5e169
Adjustment in setting handler to work without initial DB. Discussed in #350 2018-09-03 17:27:09 +07:00
Khanh Ngo
c7689e7ce7
Fix domain template record modification #346 2018-09-02 17:01:43 +07:00
Khanh Ngo
615413ae90
Add record_quick_edit config to DB 2018-09-02 08:03:01 +07:00
Khanh Ngo
3481af149b
Add option to allow user to create domain 2018-09-01 17:53:05 +07:00
Khanh Ngo
e6f82160c1
Fix python code as suggestion from LGTM 2018-08-31 18:00:41 +07:00
Khanh Ngo
3457d9214a Adding Operator role 2018-08-31 11:57:06 +07:00
Khanh Ngo
5e6806cc0f Fix domain account setting 2018-08-30 11:36:54 +07:00
Khanh Ngo
07e1bcdc47
Bug fixes. Adjustment in user input validation 2018-08-25 14:53:10 +07:00
Khanh Ngo
32dcc6482f
Fix db migration issue 2018-08-23 09:23:21 +07:00
Khanh Ngo
421ea627d8
#237. Allow LDAP user to use OTP 2018-08-22 09:43:33 +07:00
Khanh Ngo
9506315a46 manage records_allow_to_edit setting in DB 2018-08-22 08:36:53 +07:00
Khanh Ngo
74a7b5a3b7 Migrate more config values to db 2018-08-21 13:26:27 +07:00
Khanh Ngo
0b7580c82f
Read powerdns api setting from DB 2018-08-20 09:59:19 +07:00
Khanh Ngo
f8f4ddcc85
Add validation for authentication setting form 2018-08-19 22:08:14 +07:00
Khanh Ngo
babf62bae0
Fix Github/Google oAuth 2018-08-19 15:29:50 +07:00