powerdns-admin/powerdnsadmin/models
corubba cb835978df Fix order of operations in api payload
PDNS checks that when a `CNAME` rrset is created that no other rrset of
the same name but a different rtype exists. When changing a record type
to `CNAME`, PDA will send two operations in one api call to PDNS: A
deletion of the old rrset, and the addition of the new rrset. For the
check in PDNS to pass, the deletion needs to happen before the addition.
Before PR #1201 that was the case, the first api call did deletions and
the second handled additions and changes. Currently the api payload
contains additions first and deletions last. PDNS applies these in the
order they are passed in the payload to the api, so to restore the
original/correct/working behaviour the order of operations in the api
payload has to be reversed.

fixes #1251
2022-09-23 00:19:22 +02:00
..
__init__.py feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
account_user.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
account.py feat: Move the account parse calls to a method 2022-06-18 14:30:56 +02:00
api_key_account.py feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
api_key.py Use secrets module for generating new API keys and passwords 2021-12-04 16:08:07 +01:00
base.py Refactoring the code 2019-12-02 10:32:03 +07:00
domain_setting.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
domain_template_record.py Fix logging in models 2020-01-29 22:18:15 +07:00
domain_template.py Refactoring the code 2019-12-02 10:32:03 +07:00
domain_user.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
domain.py enh: Improve performance of domain update (#1218) 2022-06-18 14:23:05 +02:00
history.py History Tab Overhaul & Domain Record Modifications Changelog (#1042) 2021-11-30 11:02:37 +02:00
record_entry.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
record.py Fix order of operations in api payload 2022-09-23 00:19:22 +02:00
role.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
server.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
setting.py feat: Add the extra chars as an option 2022-06-18 14:30:56 +02:00
user.py fix: Active directory filter is broken 2022-05-24 13:58:45 +02:00