powerdns-admin/powerdnsadmin
corubba af902f24a2 Update using only one api call
Starting with the very first commit, the update was always done with
two api calls: one for DELETE and one for REPLACE. It is however
perfectly valid and save to do both at once, which makes it atomic, so
no need for the rollback. Plus it only updates the serial once.
There is no point in sending the full RRset data when deleting it, the
key attributes to identify it are enough. This also make the behaviour
consistent with the api docs [0] where it says "MUST NOT be included
when changetype is set to DELETE."

[0] https://doc.powerdns.com/authoritative/http-api/zone.html#rrset
2022-06-18 18:58:39 +02:00
..
lib feat: Move the account parse calls to a method 2022-06-18 14:30:56 +02:00
models Update using only one api call 2022-06-18 18:58:39 +02:00
routes feat: Move the account parse calls to a method 2022-06-18 14:30:56 +02: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 feat: Add the extra chars as an option 2022-06-18 14:30:56 +02:00
__init__.py PDNS-API: factor in 'dnssec_admins_only' basic setting (#1055) 2021-12-06 22:38:16 +01:00
assets.py Add 'otp_force' basic setting (#1051) 2021-12-17 11:41:51 +01:00
decorators.py enh: Enforce Record Restrictions in API (#1089) 2022-06-18 14:20:49 +02:00
default_config.py default config: add exemplary URL encoding step for SQLA DB URL params 2021-11-30 22:29:00 +01:00
swagger-spec.yaml Updated the unknown state 2022-05-23 16:46:11 +00:00