Commit graph

94 commits

Author SHA1 Message Date
Mark Schouten
374e03aa43 Add zone to database and fix ownership 2017-11-20 15:56:28 +01:00
Daniel Eiland
1f2225cf6d Added support for CNAME's to zone in templates 2017-07-11 09:24:44 +02:00
Mark Schouten
5787659b07 Add this missing line, this may have broken editing of SPF/TXT records. Closes #140 2017-01-25 09:46:05 +01:00
Mark Schouten
93c88cc196 If we get here, there is a value without dots... So add it 2016-11-18 17:11:22 +01:00
Mark Schouten
5c5f9f7abd Fix sorting 2016-11-18 17:07:49 +01:00
Mark Schouten
6737aa9b83 Fix matching on zonename, we were missing the . 2016-11-18 17:01:48 +01:00
Mark Schouten
ae00aa8ed9 Fix quoting of TXT and SPF records 2016-11-18 17:00:18 +01:00
Mark Schouten
41801a73f6 Try to set soa_edit_api, if it is not yet set 2016-10-25 12:14:07 +02:00
Mark Schouten
77192d84b1 Don't close the database connection and make it global. Also, honour the account that is set in pdns, unless its empty 2016-10-19 17:28:16 +02:00
Mark Schouten
92ac4576ab An empty name is possible 2016-10-14 14:20:07 +02:00
Mark Schouten
b5d7fa8183 Don't forget the dot in between 2016-10-14 14:16:48 +02:00
Mark Schouten
83e8a0eda6 TRAILING DOTSS!!!11eleven!!11!&$W*&@*@!@#& 2016-10-14 14:14:17 +02:00
Mark Schouten
32f0456f21 Fix TXT-record quoting 2016-10-10 14:22:31 +02:00
Richard Underwood
dde58c798c Implemented logs and zone searching. 2016-08-23 15:56:41 +01:00
Mark Schouten
58fab332dc Implement new jquery-ui and fix creation of new zones 2016-08-05 13:08:48 +02:00
Mark Schouten
cbea4778ef Implement logging. Closes #67 2016-08-05 11:57:04 +02:00
Mark Schouten
749478c36a Implement record sorting. Closes #83 2016-08-05 09:15:19 +02:00
Mark Schouten
d103c7b04f Implement set-ptr. Closes #51 . Make 'true/false' prettier 2016-08-04 16:55:03 +02:00
Mark Schouten
5cd225cb43 Implement cloning of zones, closes #81 2016-08-04 16:18:45 +02:00
Mark Schouten
30f43e98a5 Improve readability of function names 2016-08-04 15:31:17 +02:00
Mark Schouten
623fcefc5c Replace 'owner' with account to be consistent with Pdns. Set account upon creating a zone. 2016-08-04 15:01:39 +02:00
Mark Schouten
ef7f47e3f4 Fix creating records without the zonename. Sort the zones. Fix creation of disabled records 2016-08-04 14:46:32 +02:00
Mark Schouten
82819bf33b Remove leftover from copy/paste. Do not replace and check if ['serial'] exists.. 2016-08-04 13:44:39 +02:00
Mark Schouten
3f3c18c21b Missing ; 2016-08-04 13:37:54 +02:00
Mark Schouten
65d6b9afe0 We don't need all these functions anymore 2016-08-04 13:35:49 +02:00
Mark Schouten
8a63698b9f Fix templating 2016-08-04 13:32:18 +02:00
Mark Schouten
337d4ed363 We now have all functionality! 2016-08-04 12:10:19 +02:00
Mark Schouten
5161f7102b Add record and catch Exceptions 2016-08-03 16:57:25 +02:00
Mark Schouten
be9683ef83 Allow saving of zones 2016-08-03 16:08:57 +02:00
Mark Schouten
2cc92e6842 We can now import, create AND delete zones 2016-08-03 15:14:27 +02:00
Mark Schouten
c8774fc05e Implement DELETE 2016-08-03 14:42:49 +02:00
Mark Schouten
a7d3e6e6eb Fix typo and move function to correct class 2016-08-03 14:19:31 +02:00
Mark Schouten
6fd7087dc9 Rebuild listrecords and fake records by merging them with rrsets in Zone.php 2016-08-03 14:16:07 +02:00
Mark Schouten
a94d0e0b31 Fix all kind of development and trying code. 2016-08-03 14:08:33 +02:00
Mark Schouten
ccf90cab61 Include these files 2016-08-03 13:48:30 +02:00
Mark Schouten
db0c7e0b85 Cleanup stuff in zones.php and implement the first part, 'list' 2016-08-03 13:38:21 +02:00
Mark Schouten
22502ae521 Implement an ApiHandler class 2016-08-02 14:16:34 +02:00
Tuxis Internet Engineering V.O.F
8f2290019e Merge pull request #63 from tuxis-ie/allow-pdns-v4
Allow pdns 4.0 users to use nsedit as well, by allowing to set the AP…
2015-12-17 10:07:18 +01:00
Mark Schouten
59f4f1e70f Allow pdns 4.0 users to use nsedit as well, by allowing to set the API version 2015-12-17 10:04:54 +01:00
bfbones
ce46bfc03d add VERFIYPEER option to main api-request 2015-10-28 20:25:06 +01:00
Mark Schouten
a2aba25712 Resolve conflicts and create a converter for old values to the new ones. Also let the user know they should be changing their configuration 2015-10-26 10:11:57 +01:00
Mark Schouten
da932b0820 Merge branch 'master' of github.com:tuxis-ie/nsedit 2015-09-17 21:28:51 +02:00
Mark Schouten
5f4d71698e Use normal sorting for zones, no fancy one. Requested via #52, and I agree 2015-09-17 21:28:30 +02:00
Mark Schouten
c7ae7f5de1 This should fix the duplication of records when changing the recordtype 2015-05-18 13:52:30 +02:00
Mark Schouten
6bbe01a54a We need these vars to be 'global'. Closts #45 2015-04-20 10:42:31 +02:00
Bryan Seitz
0b97e09bb7 added initial https support 2015-04-02 00:20:34 +00:00
bfbones
0a09deb50a - added protocol config parameter and handling for it
- changed nameserver entries in config to be dymanic
- changed display and parsing of NS-entries from config or from template to be dynamic
2015-03-02 10:10:46 +01:00
Mark Schouten
22ae1adf17 Get the nameservers from the template, if any. If we don't have nameservers in the template use the default nameservers.
Also, when appying the template, skip adding records for nameservers that we already added. This fixes and closes issue #15
2015-02-24 11:15:52 +01:00
Christian Hofstaedtler
adcaefda59 Remove priority field
It's gone from PowerDNS 3.4.2 and later.
2015-02-07 21:13:45 +01:00
Mark Schouten
45ed135591 Create a 'save this zone' button 2014-12-05 13:54:09 +01:00