NicTool Changes

From The Network People, Inc. - Wiki
Jump to: navigation, search

Contents

NicTool Changes

NicToolServer v2.08

NOTICE: this version requires updating the database:

 mysql -u nictool -p nictool < sql/upgrade/update_v2_08.sql
  • added for encrypted passwords in nt_user table
  • Added file existence test before comparing for differences in nt_export_djb.pl
  • Updated the Ipv6 implementation to choose between AAAA records with and without auto created PTR records. Lines prefixed with a 6 will have both an AAAA and a PTR record created. Those prefixed with a 3 will only have an AAAA record created.
  • Fixed a bug in Zone/Record/Sanity that allowed : character to be allowed when it shouldn't have been. This was causing tests to fail.
  • Restrictions on passwords were imposed but the test weren't updated. Fixed.

NicToolClient v2.08

  • display more than 20 groups in group tree
  • Allow to choose between AAAA records with and without PTR records
  • next arrows in group view browse groups only (not zones) - thanks JPS
  • default for 'exact match' is off


NicToolServer v2.07

  • Updated the export routine to djbdns so it supports Ipv6 adresses
  • Add the option to add IPv6 AAAA addresses checked by Net::IP
  • fixed a bug that prevented Advanced Search feature from working
  • removed 28 lines of redundant code (thanks, maxv)

NicToolClient v2.07

  • made 'include sub-groups' Advanced Search default to config file setting (previously defaulted to off)
  • formatted all the source code using perltidy (ask Matt for .perltidyrc file) if interested
  • Allow adding a IPv6 AAAA address


Upgrade Notes

When upgrading from a version of NicTool older than 2.04, you MUST upgrade your SQL tables in order to use the new SRV record support. There is an upgrade file that will do this for you in NicToolServer/sql/update_v2_05.sql. Use it as follows:

mysql -u nictool -p nictool < sql/upgrade/update_v2_05.sql

NOTICE: If you use SRV records, then you MUST compile djbdns with the SRV patch!


NicToolServer v2.06

  • fixed a bug in nt_export_djb.pl ($UID)
  • sort the zone records as signed integers (so reverse zone records are sorted correctly) - thanks Patrick Woo at telus
  • sort the zones as signed integers if group name has "reverse" in it
  • added additional user and password validity checks
    • max pass length of 15 chars
    • max user length of 50 chars
    • increased min password length to 6 chars
    • password cannot be same as username
    • password cannot contain the username
  • removed a bunch of code duplication in User/Sanity.pm by abstracting the user and password tests into their own subroutines
  • bug report Changed the hard coded paging limit from 100 to 255 and noted the limit in the API docs
  • nt_export_djb.pl fixes:
    • export always reported failure if rsync was not being used.
    • disabled some superfluous db logging that is not used.
    • nicer formatting of the "export status" message

NicToolClient v2.06

  • when changing user settings, no password length restrictions were set


NicToolServer v2.05

New Features

  • Support for SRV records (funded by Bryan Sarpad)
    • Note: if you use SRV records, you must apply the SRV patch to djbdns
  • Browser UI enhancements
    • default session time is 45 minutes (was 15)
    • Zone record edit form is dynamic, it only shows fields when they are relevant. Example: the Weight field is only available when the MX or SRV record type is selected.
    • Only relevant record types are available. Example: PTR records are only available in reverse zones.
    • When creating a new record in a reverse zone, the default record type is PTR.
  • added bin/install_deps.sh to automatically install perl modules NicTool requires
  • Setting up a nameserver export process is now much easier.

Bug Fixes

  • replace : feature was only replacing the first instance in a string (ddorsch)
  • optimized get_group_zones (patch sent by slink)

Detailed Changes

  • abstracted NicToolServer::Zone::Record::Sanity::new_or_edit_basic_verify into 9 new functions instead of one really big long nasty hard and poorly documented one.
  • nt_export_djb updates to support SRV records
  • db_mysql.h
    • ZONE_QUERY_FORMAT shortened from 716 to 509 characters
    • added ZR_PRIORITY
    • added ZR_OTHER
  • nameserver/install.pl, rewrote, prompts for all required values with reasonable defaults.
    • NicToolServer::Zone::get_zone_records: patch from slink, see this thread
  • nt_export_djb.pl - provides better error messages if your ns export isn't set up right


NicToolClient v2.05

  • start of HTML cleanups -
    • replaced 500+ font tags with a tiny bit of CSS
    • replacing other bits of HTML markup with CSS
Personal tools