Commit graph

769 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
Ole Mathias Aa. Heggem 15aeaef2ea Basic LUA record support + formatting cleanup of js in domains.html 2019-03-23 03:21:39 +01:00
genericpenguin 0ad5d46a4c
escape special chars when creating group filter.
The LDAP search filter used for group queries needs to be escaped so that group names with special characters will not break the search filter in queries.
2019-03-18 11:54:31 +11:00
Khanh Ngo 9f29a8e154
Merge pull request #477 from p53/patch-1
Improve README.md
2019-03-09 09:24:41 +07:00
p53 6a606dbe2c
Improve README.md
- add API to features
- make Entity Relationship generation command more generic
2019-03-04 12:27:25 +01:00
Khanh Ngo ee2ed65ff9 Merge branch 'improve-saml-support' 2019-03-04 09:19:20 +07:00
Tim Jacomb 334878d75d
Use display name of role 2019-03-03 15:08:01 +00:00
Tim Jacomb 08de197cff
Sync config templates 2019-03-03 15:07:51 +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
Khanh Ngo 697aba0990
Merge pull request #474 from ngoduykhanh/update_themes
Update adminlte themes version. Fix #473
2019-03-02 11:21:52 +07:00
Khanh Ngo 0333f450f1
Update adminlte themes version 2019-03-02 10:17:11 +07:00
Khanh Ngo ff3b484d84
Merge pull request #440 from p53/create-api
Create api - resolves #416
2019-03-02 09:44:06 +07:00
Pavol Ipoth c4ab5893b4 Add README how to generate ER diagram 2019-03-02 00:51:41 +01:00
Pavol Ipoth 1feb77e2f3 Add Api to PowerDNS-Admin 2019-03-01 23:50:04 +01:00
Khanh Ngo 343190b684
Merge pull request #472 from ngoduykhanh/fix_domain_datatable
Fix domain datatable. #468
2019-03-01 17:15:46 +07:00
Khanh Ngo 3b168047c4
Fix domain datatable. #468 2019-03-01 17:06:32 +07:00
Khanh Ngo 122b9e4dfe
Merge pull request #471 from vipera/typo-qr-code
Fix typo in user profile template
2019-03-01 09:50:39 +07:00
Marin Rukavina 1f1f928a58 Fix typo in user profile template 2019-02-28 20:38:29 +01:00
Khanh Ngo 9bd5225774 Merge remote-tracking branch 'softcat/tlsa' 2019-02-16 16:45:28 +07:00
Nils Sandmann b48809dbdb
Added TLSA Popup 2019-02-14 20:59:42 +01:00
Khanh Ngo 7ba9ad68f8
Fix domain/record table size #463 2019-02-14 14:09:56 +07:00
Khanh Ngo 63b872f627 Merge remote-tracking branch 'mtdcr/master' 2019-02-13 09:50:08 +07: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
Khanh Ngo 5b88ec58ec
Merge pull request #458 from joniw/fix-equality-domain-setting
fix equality check for DomainSetting when "other" is None
2019-02-12 09:05:06 +07:00
Jonathan Westerholt 0c290073ae fix equality check for DomainSetting when "other" is None 2019-02-11 22:00:17 +01:00
Khanh Ngo bc2b57e475 Fix admin_edituser.html template 2019-01-31 09:04:06 +07:00
Khanh Ngo 5ea38a9b6d Merge remote-tracking branch 'Ramalama2/master' 2019-01-24 22:30:23 +07: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 829d556462
Merge pull request #446 from ngoduykhanh/fix_account
Fix account deletion. Add more info in Account table #433
2019-01-23 09:23:07 +07:00
Khanh Ngo 2b17469324
Merge pull request #429 from p53/fix-not-working-logging
Fix logging path, needs absolute path
2019-01-19 14:44:57 +07:00
Khanh Ngo cdb35d27f9
Merge pull request #442 from yasuoza/node-10
Install node v10.x for docker image
2019-01-19 14:43:34 +07:00
Yasuharu Ozaki ce1d511fb2 Install node v10.x 2019-01-16 16:21:11 +09: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
Pavol Ipoth 1ca311e120 Fix logging path, needs absolute path 2018-12-22 13:13:15 +01:00
Khanh Ngo 082969de72
Fix #427. JSON parse error on history detail 2018-12-20 15:26:14 +07:00
Khanh Ngo c1f5d76c6c
Merge pull request #423 from ngoduykhanh/authentication_fix
Fix disabling the user registration form
2018-12-11 15:11:01 +07:00
Khanh Ngo b56d1154cc
Fix disabling the user registration form 2018-12-11 10:56:37 +07:00
Khanh Ngo 1e6b668189
Fix changing user role js event 2018-12-03 09:39:02 +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 017e0c7344 Fix case where TTL not in ttl_options
If PowerDNS-Admin is working on a database created by another tool
or ttl_options is changed the current TTL might be missing from
the valid list, fix this
2018-11-28 21:19:38 +00:00
Robert Kerr 976742c54e Add ttl_options to templates 2018-11-28 20:09:33 +00:00
Khanh Ngo 29b110dd15 Merge branch 'fix-411' 2018-11-28 14:40:25 +07: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
Khanh Ngo 004b211fdc
Merge pull request #405 from ymage/fix-400
Change SOA expiry placeholder value
2018-11-26 10:43:22 +07:00
Khanh Ngo 32c442e083
Merge pull request #406 from ymage/fix-403
Make a redirection to previous page after logged in
2018-11-26 10:35:43 +07:00
Khanh Ngo 6837b1cead
Merge pull request #407 from ymage/fix-sqlite-alter
Support SQLite ALTER with batch feature during alembic migrate
2018-11-26 10:28:53 +07: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 94becb35c6 Support SQLite ALTER with batch feature during alembic migrate
Fix #404
2018-11-24 12:04:23 +01:00