Commit graph

34 commits

Author SHA1 Message Date
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
Richard Underwood
083cb9429c Modified users jtable to use id & fixed user deletion. 2016-09-20 10:10:54 +01:00
Richard Underwood
7c767b7769 Merge remote-tracking branch 'origin/master' into issue-107
Add test for pre-PHP 5.4 for pretty-printing logs

Conflicts:
	includes/misc.inc.php
2016-08-26 10:00:51 +01: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
d1b817443c Initial implementation of log rotation. 2016-08-24 11:32:43 +01:00
Mark Schouten
b91317046b Fix logging in cases we don't have a username yet. Also, log more stuff. Closes #104 2016-08-23 12:30:27 +02:00
Mark Schouten
3fd525748f Do not do any logging if it's disabled 2016-08-05 12:20:19 +02:00
Mark Schouten
cbea4778ef Implement logging. Closes #67 2016-08-05 11:57:04 +02:00
Mark Schouten
574db00d94 Cleanup. We don't need this stuff for v4 anymore 2016-08-02 14:15:57 +02:00
Mark Schouten
f6cec7ef3b Order by username 2016-06-08 15:11:46 +02: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
Ruben Herold
58d5dcb626 Add a check for openssl issue #61 2016-01-01 20:27:44 +01:00
Ruben Herold
26e81308e2 Fix check for config values 2015-12-30 23:34:23 +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
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
3ff38a443c Force $apisslverify into a true or false 2015-04-17 15:40:55 +02:00
Mark Schouten
a8fadba0e0 Check for newly added configuration options
Fix typo in default config file

Closes #40
2015-04-17 15:17:25 +02:00
Henk Kraal
14e6f44495 Detect lack of SQLite3 support in PHP + minor spelling fixes. 2015-03-06 15:25:20 +01:00
Mark Schouten
94f722b4d5 Check for existance of php Curl, or else reject to login
Closes #33
2015-02-26 16:01:23 +01:00
Mark Schouten
25fb62fd4f Fix bugs 2014-11-21 11:25:11 +01:00
Mark Schouten
6dcd923cff Move configurationchecks to misc.php 2014-11-21 11:20:23 +01:00
Mark Schouten
3097b63e91 Should be a string 2014-11-06 08:50:27 +01:00
Mark Schouten
f7cdad0b78 Create a hash_pbkdf2 function if it doesn't exist yet 2014-11-05 09:33:42 +01:00
Stefan Bühler
54fb62b471 Rewrite/Refactoring
- add a lot of permission checks:
  zone edits were completely unchecked (after login); only list and creation were
  protected.
- reduce regular expression usage
- don't use user provided names/ids/urls for requests; instead use them
  to search for the zone in the list of all zones.
- rename 'label' to 'name' in template records ('name' is used in all
  other places)
- make 'localhost' default $apisid
- add 'soa_edit' default
- remove gen_pw/pwgen caller; use openssl instead for random password
- fix a lot of bugs (editrecord, TXT quoting, name checking, ...)
- improve record sorting
2014-10-05 13:08:23 +02:00
Mark Schouten
f047f60712 Always load the master and slave zones 2014-09-26 13:13:18 +02:00
Mark Schouten
ee0729e6c0 Actually make it work 2014-09-26 13:05:04 +02:00
Mark Schouten
bc5a4964ec Allow authentication via Wefact 2014-09-26 12:03:30 +02:00
Mark Schouten
484fa1d265 Include a handler for 'option' fields 2014-07-10 16:16:22 +02:00
Mark Schouten
ca6c953818 Fix the other queries too 2014-07-04 11:52:11 +02:00
Mark Schouten
816790ce4e Fix splicing the right way 2014-06-30 15:17:08 +02:00
Mark Schouten
aa37139301 Fix some inputvalidation and functionnames 2014-06-23 09:55:52 +02:00
Mark Schouten
b457495426 Add validation and 'htmlspecialchars' to keep Teun from breaking stuff 2014-05-26 12:04:24 +02:00
Henjo Hoeksma
296e83fb88 Refactoring 2014-05-23 11:48:19 +02:00
Renamed from htdocs/includes/misc.inc.php (Browse further)