Commit graph

263 commits

Author SHA1 Message Date
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
c7b36d7d7d Implement deleteRecord and fix some small errors 2016-08-04 12:09:56 +02:00
Mark Schouten
475bbca87b Switch from zone.name to zone.id 2016-08-04 12:07:45 +02:00
Mark Schouten
d94d1da445 Implement exportzone 2016-08-04 12:07:14 +02:00
Mark Schouten
5161f7102b Add record and catch Exceptions 2016-08-03 16:57:25 +02:00
Mark Schouten
e2034c5861 * Implement getrrset() and use it where we can
* addrecord() should just add the record, even if the rrset does not yet exist
* Make addrecord() return the created record
* Implement getrecord()
2016-08-03 16:54:58 +02:00
Mark Schouten
be9683ef83 Allow saving of zones 2016-08-03 16:08:57 +02:00
Mark Schouten
4d6ecb612e Fix a erasemasters() for a zone 2016-08-03 16:08:40 +02:00
Mark Schouten
cf754d0135 Check if serial is an integer, so we know if it's a new zone. Also, return the new zone upon saving it. 2016-08-03 16:07:48 +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
4ac1e6e767 We can now view zones. Yay! 2016-08-03 14:29:35 +02:00
Mark Schouten
a8ccbeb10a Switch from zoneurl to zoneid 2016-08-03 14:25:25 +02:00
Mark Schouten
1c3e5cfc99 Cannot use object of type RRSet as array 2016-08-03 14:21:56 +02:00
Mark Schouten
d5ef95e711 Make functions public 2016-08-03 14:21:01 +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
fcdba74c14 Also export keyinfo 2016-08-03 13:37:22 +02:00
Mark Schouten
d02889a918 Allow setting a string 'keyinfo' 2016-08-03 13:35:54 +02:00
Mark Schouten
f61f52a14d Add getzonekeys() to PdnsApi 2016-08-03 13:33:44 +02:00
Mark Schouten
367dde6f19 Add new classes to handle zones and pdns-api v4.0 2016-08-03 13:16:30 +02:00
Mark Schouten
22502ae521 Implement an ApiHandler class 2016-08-02 14:16:34 +02:00
Mark Schouten
574db00d94 Cleanup. We don't need this stuff for v4 anymore 2016-08-02 14:15:57 +02:00
Tuxis Internet Engineering V.O.F
f7d502112d Merge pull request #92 from tuxis-ie/order-users
Order by username
2016-06-08 15:12:09 +02:00
Mark Schouten
f6cec7ef3b Order by username 2016-06-08 15:11:46 +02:00
Tuxis Internet Engineering V.O.F
26a743f548 Merge pull request #87 from NuxRo/NuxRo-privacy-patch-1 2016-04-29 15:01:53 +02:00
NuxRo
2632ceb2be Self-host the logo rather than include it from the developer's site
Self-host the logo rather than include it from the developer's site, as it can be used for tracking purposes.
2016-04-29 12:46:24 +01:00
NuxRo
8e399ac357 logo
nsedit logo
2016-04-29 12:41:41 +01:00
Mark Schouten
794fcb680c Update jtable to latest version 2016-03-21 13:06:35 +01:00
Tuxis Internet Engineering V.O.F
6caf810f84 Merge pull request #82 from tuxis-ie/user-security
Allow a user to change his own password. Closes #62
2016-03-21 12:09:28 +01:00
Mark Schouten
4478f1eed3 Allow a user to change his own password. Closes #62 2016-03-21 12:08:28 +01:00
Tuxis Internet Engineering V.O.F
22dfbed83d Merge pull request #80 from nickygerritsen/add-disabled
Add disabled field
2016-03-21 09:52:05 +01:00
Nicky Gerritsen
d19c8e9f0b Add disabled field 2016-03-21 08:06:15 +01:00
Tuxis Internet Engineering V.O.F
afbac1ebcf Merge pull request #76 from sid3windr/patch-1 2016-02-17 19:21:27 +01:00
Tom Laermans
4506145674 Add LOC record to drop down list(s)
LOC is missing from the list of record types.

I've tested this change, setting or editing LOC records works fine through the API.
There's a snag with how PowerDNS expects the LOC record formatting though, see PowerDNS/pdns#3393
2016-02-17 18:23:08 +01:00
Tuxis Internet Engineering V.O.F
a5cff4714c Merge pull request #74 from mtdcr/master
Add RR types for CERT and SSHFP
2016-01-13 13:16:02 +01:00
Andreas Oberritter
a74c32da85 Add RR types for CERT and SSHFP 2016-01-13 04:04:47 +01:00
Tuxis Internet Engineering V.O.F
76e3ebc113 Merge pull request #70 from harkx/configlogo 2016-01-07 22:39:51 +01:00
harkx
546d77c85f [MOD] set the default in misc.inc.php in case $logo isn't set 2016-01-02 11:29:23 +01:00
Tuxis Internet Engineering V.O.F
21ef7202a3 Merge pull request #71 from ruben-herold/master
Add a check for openssl issue #61
2016-01-02 11:10:02 +01:00
Ruben Herold
58d5dcb626 Add a check for openssl issue #61 2016-01-01 20:27:44 +01:00
harkx
4d3d381956 Create parameter for logo 2016-01-01 09:42:14 +01:00