William Edwards
e8d028ba75
Make cloning admin-only, check zones returned by formzonelist
...
Cloning was meant to be an admin-only functionality. However, this was not fully implemented: when `allowzoneadd = true`, the user could clone zones, even when not an admin. This is not necessarily a problem. But in this case, it is. Because the endpoint that is used to get zones to clone (`formzonelist`), did not check whether those zones belong to the current user. In other words: when `allowzoneadd = true` and the user is not an admin, that user is able to see *all zones* under 'Clone a zone' button -> 'Source domain' dropdown.
This commit fixes that, by letting `formzonelist` return only zones belonging to the user, and showing the 'Clone a zone' button only when the user is an admin.
2024-04-17 12:18:06 +02:00
Mark Schouten
d414f239a8
Simply check if authdb is in the docroot. If so, just blocklogin with a nice message.
2020-12-23 13:11:40 +01:00
Marvin Gaube
82db64595c
authdb check: Use relative, not absolute path
2020-03-01 20:18:15 +01:00
Marvin Gaube
6ba23a85b8
Only run authdb check when user is logged in
2020-03-01 20:15:14 +01:00
Jan Brunemann
8586816c47
#188 only replace basename when there is actually something to replace
2020-01-22 11:33:27 +01:00
Mark Schouten
523fc1849d
Test if we can download the from the browser. Alert, annoyingly, that the user should fix this
2018-08-22 16:43:19 +02:00
Mark Schouten
92290bdf05
Support SMIMEA fields, fixes and closes #174
2018-08-22 16:05:48 +02:00
Josh Soref
fd2a7cb7a5
spelling: nameserver
2017-11-17 09:23:49 +00:00
Mark Schouten
382ca51db1
Allow ALIAS records. Closes #138
2017-04-28 13:37:22 +02:00
Mark Schouten
6be5f2f29c
Fix updating the password, and store if we have local auth, we can't change passwords if we don't have local auth
2017-04-28 13:09:31 +02:00
Mark Schouten
0e63757d19
Implement CAA-records. Please note that pdns requires quotes around the third field: https://github.com/PowerDNS/pdns/issues/4937 . Closes #141
2017-04-03 09:47:38 +02:00
Krombel
a3affccacd
fix switching of Views for non-admin-users ( #135 )
2016-11-19 02:50:09 +01:00
Mark Schouten
42b247d5c0
Add missing types. Closes #130
2016-11-03 10:11:24 +01:00
Richard Underwood
083cb9429c
Modified users jtable to use id & fixed user deletion.
2016-09-20 10:10:54 +01:00
Richard Underwood
badebb9965
Clarified wording of rotation warning.
2016-08-26 11:59:49 +01:00
Richard Underwood
8d6e8ddf55
Removed delete button from logs table as the action wasn't implemented and would not be possible on rotated logs.
2016-08-26 11:45:30 +01:00
Richard Underwood
befb891174
Changed Download logs to download the logs currently being shown, not always the current logs - note, doesn't filter first.
...
Removed "delete" case in logs.php
Moved logging check out of case statements to avoid duplication.
Changed wording of clear logs warning.
Pretty-print the JSON on log export - requires PHP 5.4.
2016-08-25 10:23:31 +01:00
Richard Underwood
ff8df5e5b2
Merge remote-tracking branch 'origin/master' into issue-107
2016-08-24 14:59:23 +01:00
Mark Schouten
43e4d53611
Fix CSS issues to eliminate whitespace with vertical menubar
2016-08-24 15:49:39 +02:00
Richard Underwood
f081d96b0c
Allow viewing of past logs.
...
Add a command-line PHP script for rotation in cron.
2016-08-24 14:19:52 +01:00
Richard Underwood
56c1789b30
Changed "Save logs" to "Download logs" for clarity.
...
Removed the rotate logs icon.
Updated warning text for clearing logs, if rotation is allowed.
2016-08-24 11:42:22 +01:00
Richard Underwood
d1b817443c
Initial implementation of log rotation.
2016-08-24 11:32:43 +01:00
Richard Underwood
708327ecd2
Match capitalisation on toolbar
2016-08-23 16:23:10 +01:00
Richard Underwood
dde58c798c
Implemented logs and zone searching.
2016-08-23 15:56:41 +01:00
Mark Schouten
b850510e5a
emailaddress is a key, but we want to be able to use it upon create. Closes #97
2016-08-08 09:20:21 +02:00
Mark Schouten
58fab332dc
Implement new jquery-ui and fix creation of new zones
2016-08-05 13:08:48 +02:00
Mark Schouten
d3488a963e
Remove broken jquery-ui
2016-08-05 12:56:15 +02:00
Mark Schouten
cbea4778ef
Implement logging. Closes #67
2016-08-05 11:57:04 +02:00
Mark Schouten
e429005134
Delete users based on username, not id
2016-08-05 10:35:51 +02:00
Mark Schouten
5b4bcc34cc
Don't show a 'records' button anymore. Open the zone by clicking it. Closes #2
2016-08-05 10:05:09 +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
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
475bbca87b
Switch from zone.name to zone.id
2016-08-04 12:07:45 +02:00
Mark Schouten
a8ccbeb10a
Switch from zoneurl to zoneid
2016-08-03 14:25:25 +02:00
Mark Schouten
4478f1eed3
Allow a user to change his own password. Closes #62
2016-03-21 12:08:28 +01:00
Nicky Gerritsen
d19c8e9f0b
Add disabled field
2016-03-21 08:06:15 +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
Andreas Oberritter
a74c32da85
Add RR types for CERT and SSHFP
2016-01-13 04:04:47 +01:00
harkx
4d3d381956
Create parameter for logo
2016-01-01 09:42:14 +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
Boden Garman
802ed0fd93
silence warnings
2015-09-10 12:20:13 +10:00
Tuxis Internet Engineering V.O.F.
9d47229fe7
Merge pull request #44 from piwats/master
...
Convert menu to horizontal top menu
2015-07-30 15:05:16 +02:00
Mark Schouten
b8996eaa42
Return an other order if we're editing a reverse zone. Requested via #47 , closes #47
2015-05-18 13:38:17 +02:00
piwats
3202d7ca0f
Update index.php
2015-04-17 19:42:24 +02:00
piwats
6b5cb7c465
add .menu-title to a div inside #menu
2015-04-17 18:38:41 +02:00
piwats
aebec8bc25
Add .horizontal to #menu
2015-04-17 18:21:40 +02:00
piwats
237b17df06
Update index.php
2015-04-17 16:52:29 +02:00
piwats
d02b059977
Add additions.css with option into <head>
2015-04-17 16:41:36 +02:00