powerdns-admin/powerdnsadmin
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
..
lib feat: Move the account parse calls to a method 2022-06-18 14:30:56 +02:00
models Fix order of operations in api payload 2022-09-23 00:19:22 +02:00
routes Merge pull request #1221 from corubba/bugfix/changelog-hyphen 2022-07-01 15:52:44 +03:00
services Use HTTP_X_FORWARDED_PROTO header from reverse proxy to rewrite https:// for SAML request URLs 2022-05-19 19:00:38 -07:00
static Add general modal functions 2022-05-19 00:53:20 +02:00
templates Fix rrset changelog for names with hyphen 2022-06-19 12:16:40 +02:00
__init__.py Fix csrf configuration 2022-06-18 18:51:40 +02:00
assets.py fix: Update JS minifier library 2022-06-24 23:03:01 +02:00
decorators.py enh: Enforce Record Restrictions in API (#1089) 2022-06-18 14:20:49 +02:00
default_config.py Set SameSite on cookies 2022-06-18 18:51:42 +02:00
swagger-spec.yaml Updated the unknown state 2022-05-23 16:46:11 +00:00