$Id: ChangeLog,v 1.895.2.107 2007/08/21 06:41:43 alec Exp $

version 1.8.12 Tagan (2007-08-21):

  - fixed link to LMS mailing lists archive (alec)
  - fixed devices list sorting by used ports count (alec)
  - fixed customers searching by zip and city in quick search (alec)
  - fixed few javascript problems with apostrophe sign in tariffs names (alec)
  - updated ethercodes.txt (alec)

version 1.8.11 Wade (2007-06-26):

  - BTS#0000664: fixed status filter on Customers List (alec)
  - BTS#0000665: fixed lms-traffic-logiptables with iptables 1.3.5 (alec)
  - fixed Remote File Inclusion vulnerabilities in contribs (alec)
  - fixed problem with 'events' table's sequence on postgres (alec)
  - updated ethercodes.txt (alec)

version 1.8.10 Orin (2007-05-25):

  - fixed register_globals related vulnerabilities (please, disable that option
    immediately): added some .htaccess files (alec)
  - added notifications for registered users about availability of LMS's newer 
    versions (alec)
  - lms-traiffic-logiptables: added support for iptables 1.3.7 output 
    format (alec)
  - fixed devices list sorting by used ports count (alec)

version 1.8.9 Vala (2007-02-16):

  - changed LMS homepage links to http://lms.org.pl (alec)
  - updated ethercodes.txt (alec)
  - changed registration hosts register.lms.org.pl (for future use) (lukasz)

version 1.8.8 Selana (2006-12-13):

  - fix: while cash receipt's editing if date isn't changed time should also be 
    not toutched (alec)
  - fixed nodes searching with 'OR' operator (alec)
  - in quicksearch popup fixed row description when node was found by ID (alec)
  - fixed some forms in Firefox - added display:inline style (alec)
  - fixed lms-traffic version number (alec)

version 1.8.7 Adria (2006-10-17):

  - setting document's 'To' date to the end of the day (alec)
  - fixed helpdesk tickets searching module bug occuring while results page
    change and with enabled register_globals (alec)
  - included credit notes on covenants list in New Receipt form (alec)
  - fixed user's allowed hosts checking screwed in 1.8.6 version  (alec)

version 1.8.6 Zarah (2006-09-02):

  - lmsd/parser: fixed T-Script's problem with big numbers (alec)
  - lmsd/parser: support for multiple +, -, *, / operators in expression (alec)
  - BTS#0000570: design fix for IE in customer info box (alec)
  - BTS#0000568: fixed XSS vulnerability (s_n/alec)
  - fixed Sale Registry sorting order (alec)
  - BTS#0000586: fixed summary on Customers List when using some filters (alec)
  - remembering of selected template at document addition form when some
    errors occured (alec)
  - fixed potential problem with to_words() and float numbers on cash receipt
    printout (alec)
  - BTS#0000591: fixed problem with max_execution_time exceeding, added support
    for octet-format mask in 'allow_from' option and users IP authorization (alec)

version 1.8.5 Sina (2006-07-25):

  - fixed tickets searching with quicksearch input (alec)
  - BTS#0000576: fixed problem with MAC change (alec)
  - BTS#0000569: saved owner context when adding nodes with reuse
    checkbox (alec)
  - BTS#0000577: s/Submit/Search/ in Customer Search, Event Search
    and Node Search (alec)
  - BTS#0000580: sysinfo fixes for MacOS X (alec)
  - BTS#0000582: fixed query in Net Edit (alec)

version 1.8.4 Teer (2006-06-15):

 - lmsd: fixed configuration parser - backslash without special sequence
   isn't removed (alec)
 - added index on 'dt' column i table 'stats' in database initialization
   scripts, because of long execution time you should do this manual:
   CREATE INDEX stats_dt_idx ON stats (dt); (alec)
 - fixed "network is too small" error in non-public networks with public 
   addresses (alec)
 - little fix in chkconfig() for not set variables (alec)
 - fixed mac checking in Node Edit (alec)
 - fixed access status saving in Node Add (alec)

version 1.8.3 Tyrus (2006-05-10):

 - BTS#0000544: lmsd/payments: fixed date calculations (alec)
 - fixed problem with number template while invoices edition (alec)
 - included credit notes in Finances -> Print -> Invoices (alec)
 - fixed database dump recovering, specially for daemon configuration,
   also increased max line size to 8192 bytes (alec)
 - fixed css for hyperlink element (alec)
 - setting last reload time for reloads of type 'exec' (alec)
 - BTS#0000547: fixed items count on invoice note when invoice position
   is deleted (alec)
 - lmsd/ggnotify: added lost '-lgadu' in Makefile.in (alec)
 - fixed problem when printing invoices settled at 0:00 (alec)
 - updated ethercodes list (alec)

version 1.8.2 Shibo (2006-03-31):

 - fixed value of avg upload in stats on Node Info (alec)
 - using RFC2822 date format in mail headers (alec)
 - using native PHP's wordwrap function instead of old textwrap() for
   mail body formatting in Mailing (alec)
 - fixed summaries on customer's liabilities list (alec)

version 1.8.1 Shyla (2006-02-25):

  - fixed cash receipts problem with default numberplan (alec)
  - lmsd/hostfile: fixed few network replacement variables (alec)
  - fixed rights checking while deleting helpdesk's tickets (alec)
  - fixed 'finances management' access rule (alec)
  - lmsd/hostfile fixed 'networks' and 'customergroups' options parsing (alec)
  - fixed timetable events searching by user (alec)

version 1.8.0 Rosha (2006-01-27):

  - fixed dynamic popups resizing in Firefox (alec)
  - fixed invoices list filtering by value (alec)
  - added variable 'user' on invoice for expositor name (alec)
  - fixed transfer forms printing for selected customer (alec)
  - contrib/customer_otherip: removed doubtful sample lms.ini (alec)

version 1.8.0rc5 Rosha (2006-01-15):

  - fixed credit notes printing from customer balance box (alec)
  - lms-rtparser: added support for multipart/alternative messages, fixed
    problem with attachements with spaces and unknown/forbidden characters
    in filename (alec)
  - on invoice note value can be set to '0' instead of '0.00' or deleting 
    position (alec)
  - contrib/bin/lms-debtors: fixed (alec)
  - fixed nett values calculations on Liabilities Report (alec)
  - documentation fixes (alec)
  - contrib/customer_otherip: fixed invoices printing - added lost checkconfig.php
    include (alec)

version 1.8.0rc4 Rosha (2006-01-06):

  - fixed new item addition in Cash Receipt Edit (alec)
  - removed doubled function CustomerGroupGetAll() call in print module (alec)
  - fixed link to all customer's documents list (alec)
  - setting moddate and modid when deleting customers (alec)
  - fixed from and to date setting for liabilities suspending (alec)
  - in documentation added 'netdevnode' lms-mgc's rule description (alec)

version 1.8.0rc3 Rosha (2005-12-22):

  - BTS#0000490: documentation: fixed pg_dump options (alec)
  - added some options description in configlist module (alec)
  - fixed reload when using reload_execcmd and reload_sqlquery with hosts (alec)
  - fixed 'TO' calculation when using Stats -> Filter (alec) 
  - bugfix in perl scripts for 64-bit architectures (Jarek Dziubek)
  - BTS#0000495: fixed "Invalid argument..." error in liability report (alec)
  - fixed html invoice pagetitle (alec)
  - added flush()'es in genfake module (alec)
  - fixed Cash Receipt List filtering by value (alec)
  - fixed 'Check All' option on Cash Receipt List (alec)
  - fixed function DocumentExists(): added numbering plan checking (alec)
  - fixed problem with -0,00 on customer balance list (alec)
  - fixed error triggers in netadd and netedit (alec)
  - fixed network size checking in network edition (alec)
  - fixed warning in NetworkCompress() function (alec)

version 1.8.0rc2 Rosha (2005-12-12):

  - BTS#0000488: fixed title on nodes list printout (alec)
  - BTS#0000487: fixed printing from Invoices List (alec)
  - BTS#0000486: added duplicate and fixed invoices printing in
    Finance -> Print -> Invoices (alec)
  - added submit button in genfake interface (alec)
  - fixed solid payments accounting (alec)
  - fixed Liabilities Report: disposable and tariffless liabilities
    support, suspension and discount support, fixed sorting by value (alec)

version 1.8.0rc1 Rosha (2005-12-07):

  - BTS#0000216: now user with 'customers management' or 'nodes management'
    access don't need 'read only' access right (alec)
  - contrib/lms-debtors: added MySQL support (alec)
  - fixed traffic stats values in node informations (alec)
  - added link to customer stats in customer info page (alec)
  - BTS#0000471: fixed 'Tickets' link in customerinfo box (alec)
  - fixed summary on customer search results list (alec)
  - lmsd/parser: multiple logical expressions ("a && b && c" etc.) 
    supported, multiple instructions in one block supported - using
    semicolon (alec)
  - few fixes for very long customer names on pdf invoices and UI (alec)
  - fixed NetworkRemap() function when destination network is empty (alec)
  - changed link on nodes list in network info to node info instead of
    customerinfo (alec)
  - don't compress network when changing network address, user must 
    do commpression by himself (alec)
  - standardised sorting of transfer forms and invoices printouts (alec) 
  - BTS#0000481: fixed translation on transfer forms (alec)
  - invoices list display speed optimized (alec)
  - example invoices/cash records generation in genfake module (alec)
  - removed upgrade scripts for v.1.2 (alec)
  - lmsd/parser: tscript library - fixed problem with nested blocks (alec)
  - added sorting of networks list in 'Select IP address' window (alec)
  - fixed 'Check All' on Balance Sheet (alec)
  - added invoice duplicates printing (alec)
  - fixed customer balance list sorting on invoice (alec)
  - added default value of 'print_balance_history_limit' option (alec)
  - lmsd/parser: updated tscript library: fixed types conversion, 
    added "exit" and "foreach" instructions (alec)
  - fix: do customers accounting (with "Account" link) at "Has" side (alec)
  - lmsd/parser: added "syslog" extension (alec)

version 1.7.6 Grannus (2005-11-10):

  - disposable liabilities (alec)
  - introduction to UI modularity (lukasz)
  - use HTTP_X_FORWARDED_FOR, HTTP_CLIENT_IP, REMOTE_ADDR to retrive 
    user IP address (Jerzy Kolosowski)
  - added Finance -> Printing -> Transfer forms (alec)
  - fixed problem with access rights to transferforms modules (alec)
  - added iconv conversion on transferforms (alec)
  - assigning customer to ticket in ticket edition (alec)
  - little layout fix for userbalance (lukasz)

version 1.7.5 Shaq-ran <broken version> (2005-11-05):

  - BTS#0000466: lms-antyvir: fixed parse error (alec)
  - BTS#0000373: lms-notify: added exception handler for mail server 
    connection problems (alec)
  - changed stats units to kbps (alec)
  - added traffic stats in node informations window (alec)
  - fixed/changed access rights for printing modules (alec)

version 1.7.4 Wraith (2005-10-31):

  - BTS#0000451: lms-rtparser uses also CC: header to get queue ID (alec)
  - BTS#0000455: documentation fixed options names 
    usergroups -> customergroups (alec)
  - lmsd/dhcp: fixed problem with hosts with public IP (alec)
  - lmsd/parser: updated tscript library - added "break" and "continue"
    instructions in "for" and "while" loops (alec)
  - added "type" in cash table to handle some operation types 
    (cash, non-cash) - it fixes network balance calculations for
    backward compatybility and lost in 2005092900 database upgrade 
    additional functionality (alec)
  - contrib/sqlpanel: design fixes (alec)
  - forms can be submitted by Enter (lukas)
  - BTS#0000460: fixed "call to a member function ..." in mailing.php (alec)
  - fixed item's name escaping and 'cash' value on credit notes (alec)
  - propably fixed neverending story about bugs with MySQL and polish
    characters and UTF-8. Added info in documentation how to create
    database with polish collation and utf8 character set (alec)
  - added last 10 not accounted invoices list in cash receipt addition
    form (alec)
  - lmsd: added option --reload-all (alec)
  - BTS#0000391: lmsd: fixed problem with long executed (sleeping) 
    instances (alec)
  - added tip with IP address on nodes list in network info page (alec)
    
version 1.7.3 Inubis (2005-10-05):

  - contrib/customer: removed directories checking (alec)
  - changed access right definition for LMS configuration (alec)
  - security bugfix: plain text passwords aren't stored in session (alec)
  - security bugfix: session is excluded from database backup (alec)
  - **********************************************************************
    finances revolution: removed prepayments, unpaid covenants,
    any cash references and related features,
    invoices can't be paid, but only can be checked as accounted
    added filter 'hide accounted' on Invoices List (alec) 
    **********************************************************************
  - fixed round-off method on Invoices Report (alec)
  - daemon configuration moved to menu Configuration (alec)
  - changed table name 'daemonhosts' to 'hosts' (alec)
  - lmsd/parser: changed tscript's API, added extensions: deletefile, 
    readfile, getfile, listdir, fileexists, date, replace, systype (alec)
  - Credit Notes - WARNING! Invoice templates has been changed (alec)
  - Cygwin support for lmsd (lexx)
  - lmsd/dhcp,ethers,hostfile: fixes for sparc64 architecture (alec)
  - documentation: added pure-ftpd and accounts how-to (bart)
  - added public IP support in 'network' filter on Customers List (alec)
  - customer documents generation engine/wizards (alec)
  - removed option 'contract_template' (alec)
  - improved default document (contract) template (alec)
  - Userpanel menu instead of Configuration -> Userpanel (Mad Mark)
  - added cashier name variable {$receipt.user} on cash receipt template (alec)
  - lmsd/dhcp: added support for public IP addresses (alec)
  - in Customer Documents displaying last 10 documents with link to
    all documents list (alec)
  - lmsd/parser: added 'explode' extension, updated T-Script library (alec)
  - removed SQLite support (alec)
  - lmsd: fixed make usage for non-linux systems (alec)
  - documentation: added info that on mysql 'drop' privilege is required (alec)
  - fixed bug in 2005052300 autoupgrade script (alec)
  - lmsd: fixed environment variables startup reading (alec)
  - lmsd: fixed problem with long execution time when using constants (alec)
  - lmsd: added while() and operators <<, >> and leftside --, ++ (alec)
  - ***********************************************************************
    finances revolution: droped 'type' column from 'cash' table, now we're
    using signed values, redesigned balance lists: using signed values instead 
    of type (alec)
    ***********************************************************************
  - on New Operation added last operation info with [Delete] link (alec)
  - BTS#0000450: fixed %DNS2 in lms-mgc (alec)
  - cash receipts in pdf (alec)
  - added public address for network devices IPs (alec)
  - added customer's traffic raport - Stats -> Printing (alec)
  - BTS#0000453: lms-payments fixed problem with discount (alec)
  - BTS#0000453: lmsd/payments: fixed problem with discount and itemid (alec)
    
version 1.7.2 Doci (2005-08-13):

  - in Mailing added replacement variables (alec)
  - in Nodes List added network and status filtering (alec)
  - in Nodes -> Print added network filter (alec)
  - in Balance Sheet and Customer Balance added dynamic popups with invoice 
    and receipt numbers (alec)
  - lms-payments: fixed unwanted params binding in DBI's execute method (alec)
  - fixed tax calculations on Sale Registry (alec)
  - sticky/clickable nodelistshort (alec)
  - upgraded OverLIB to 4.17 version (alec)
  - now is possible to define tariff without tax (alec)
  - contrib/customer_otherip: balanceviewuserinfomini.html renamed to
    customerinfomini.html (alec)
  - lmsd/payments: fixed number of query parameters (alec)
  - gadu-gadu status checking only for lang = pl (alec)
  - print_balance_history on invoices now really works (hunter)
  - critical bug: SESSION::remove() doesn't update session, so after restore
    session removed variable was still avaiable (lukasz)
  - added missing |escape modifier in register template (lukasz)
  - fixed bug in SQL query in Mailing with network filtering (alec)
  - BTS#0000407: fixed page number problem in netdevices list (alec/MadMark)
  - customer documents archive (alec)
  - lmsd/(gg)notify: added %b, %B, %pin variables for template (alec)
  - in database changed periods constants: 5-yearly, 4-quarterly, 3-monthly,
    2-weekly (alec)
  - in 'payments' and 'assignments' tables changed 'period' and 'at' columns
    type to smallint (alec)
  - added accounting period: 1-daily (alec)
  - fixed bugs related to charset encoding and timeouts
    in lms-sendinvoices script (chilek)
  - BTS#0000413: fixed payments accounting on Payments List (endrju/alec)
  - lmsd/parser: updated tscript library, runtime errors handling (alec)
  - lmsd/payments: fixed subscription period calculation (alec)
  - Documents Numbering Plans (hunter/alec)
  - documents can be numbered daily, weekly, monthly, quarterly, yearly (alec)
  - BTS#0000419: added 'Mime-Version' header for all, not only multipart
    messages (alec)
  - added 'online' filter on Nodes List (alec)
  - in nodes stats panel (welcome.html) added links to nodes list (alec)
  - added menu item Configuration with subitems: User Interface, Tax Rates,
    Numbering Plans (alec)
  - lms-arping: we can use external file with list of ip addresses (chilek)
  - documentation is opened in new window (alec)
  - documentation: list of options moved to new chapter Configuration (alec)
  - Mailing: attachement support (alec)
  - reload_type=exec: allows you to choose which host configurations
    to be reloaded (chilek)
  - lmsd/parser: updated tscript library: regexps, consts, file (alec)
  - lmsd/parser: added extensions: NET, CONSTS (alec)

version 1.7.1 Swarog <A.L.E.C's Nightmare> (2005-06-27):

  - changed upgrade scripts for 1.2 version, deleted for 1.0 (alec)
  - bugfix: ipaddr_pub support in NetworkShift() (alec)
  - lmsd/pinger: activate online status for addresses matching interfaces
    where runs daemon, speedup - dropped ORDER BY from query (alec)
  - Customer Search Results paging (alec)
  - fixed smtp_auth_type default behaviour - use best method (alec)
  - added warning about lack of PEAR::Mail in SendMail() function (alec)
  - fixed nodes searching results list - nodes with ID=0 (alec)
  - lmsd/system: added option 'sql' (alec)
  - in nodes and customers searching added workaround for postgresql's ILIKE 
    problem with national characters (alec)
  - lmsd/dns: networks can share the same domain name (alec)
  - lms-notify: added option 'mailcharset' with default setting 'UTF-8' (alec)
  - lms-notify: don't send messages to deleted customers (alec)
  - lms-notify: don't stop on unknown/wrong recipient address (alec)
  - file sample/mailtemplate.txt converted to UTF-8 (alec)
  - fixed tickets searching by requestor name (also added workaround for
    postgresql's ILIKE bug) (alec)
  - fixed _smarty_function_sum() - each row must be an array (alec)
  - better english UI messages (kondi)
  - we can add and search tickets with all customer statuses (chilek)
  - all UI colors moved to style.css (alec)
  - added workarround for page margin in Opera browsers (lukasz)
  - lms-makeiptables: added public IP (SNAT) support (alec/daro)
  - changed naming convention: user -> customer, admin -> user (alec)
    ********************************************************************
    *       WARNING!   WARNING!   WARNING!   WARNING!   WARNING!       *
    ********************************************************************
    *       Changed database structure: table 'users' replaced by      *
    *       'customers', table 'admins' replaced by 'users', also      *
    *                changed column names in other tables              *
    ********************************************************************
  - fixed customers and nodes searching when register_globals is on (alec)
  - quick search made quick (kondi)
  - bugfix: compressed backup restoring is possible again (alec)
  - BTS#0000360: tickets adding in customer context (alec)
  - bugfix: going to backup view by clicking on record on backup list (alec)
  - SQLite support: fixed upgradedb scripts, added iconv support, added
    sample/sqlite_createdb.php script for database creation without any 
    of sqlite client applications (alec)
  - lms-payments: again tariff value can be less than zero (alec)
  - fixed customer name capitalization on contract (alec)
  - lmsd: added 'parser' module (alec)
  - formularz_przelewu_wplaty_2 (cash transfer forms) is now integrated
    with LMS (lexx)
  - changed finances database structure (alec)
  - changed naming convention (pesel, nip, pkwiu) in database (alec)
    ********************************************************************
    *       WARNING!   WARNING!   WARNING!   WARNING!   WARNING!       *
    ********************************************************************
    *     Changed database structure: table 'invoices' replaced by     *
    *       'documents', dropped 'phone' and 'finished' columns,       *
    *  Changed 'pesel' to 'ssn' and 'nip' to 'ten' and 'gguin' to 'im' *
    *  Changed 'pkwiu' to 'prodid' in 'tariffs' and 'invoicecontents'  *
    *               Tax rates moved to table 'taxes'                   *
    ********************************************************************
  - Finances -> Tax Rates - user-defined tax rates (alec)    
  - automatic generation of bank account number (iban format) to use with 
    automatic identification of massive payments (lexx)
  - added 'assign' argument for _smarty_function_sum() (alec)
  - added dberrors displaying on login form (alec)
  - Cash Receipts (in Poland known as "druki KP") (alec)
  - lms-sendinvoices: fixed invoice number in mail subject and body (alec)
  - BTS#0000369: preparing statements for strings quoting in perl scripts (alec)
  - lmsd/pinger: using more glibc instead of kernel headers (alec)
  - lmsd: fixed long (above 60 sec.) reload problem (alec)
  - lmsd: long names of command line options (alec/Jerzy Kolosowski)
  - lmsd: hiding command line arguments on processes list (alec)
  - when taxrate is above 0.00 it can't be "nottaxed" (hunter)
  - lmsd: added -fPIC flag for x86-64 arch. compat. (alec)
  - changed defaults of customerlist_pagelimit and nodelist_pagelimit
    to '100' (alec)
    
version 1.7.0 Klorel (2005-05-13):

  - lmsd/ethers: fixed output file format (alec)
  - fixed bug (made in last release) in chooseip module (alec)
  - keeping ShowOrHide status of boxes in customer info (alec)
  - BTS#0000337: fixed helpdesk tickets searching (alec)
  - lmsd: added option --inifile to ./configure script for configuration files
    support (alec)
  - lmsd: added command line option '-f' to run in foreground (without fork),
    fixed reload of instances with empty crontab on every minute, write last 
    reload time to database if reload was ordered, fixed problem with
    zombies (alec/G.Stanislawski)
  - BTS#0000338: can specify network device while node addition (alec)
  - lmsd: fixed -h option segfault (alec)
  - on customers list added nodes online status and icon for nodes connection 
    status change (alec)
  - additional filters for Customer Search, searching in service address (alec)
  - most of icons resized to 16x16 (alec)
  - fixed nodes and warnings enabling/disabling on Customer Search Results
    list (alec)
  - added "realname" field to account record (alec)
  - lms-mgc: added %CUSTOMER variable for node record (alec)
  - node's public IP (alec/kuba)
  - lms-squid: changed/fixed lms.ini section name to [redirector] (alec)
  - removed old contrib/squid_warnings (alec)
  - added option custom_accesstable for user-defined access rights (alec)
  - fixed devices desc on map when device has no IP, now device lastonline 
    status is getting from all connected nodes lastonline value (alec)
  - BTS#0000340: option [Account] on customer list accounts all customer's 
    covenants including invoices (alec)
  - added contrib/bin/lms-antyvir (alec/wojtek_sw)
  - added contrib/bin/lms-debtors (alec)
  - added option [phpui] map_type (alec)
  - lmsd/hostfile: added variables %wins, %dns, %dns2, %addr, %mask, %id (alec)
  - BTS#0000298: improved customers quick searching (alec)
  - added 'qualification operator' for Customer Search (alec)
  - lmsd: fixed problems with unescaped chars in SQL queries - added strings
    escaping for parameters of db_pexec() and db_pquery() functions (alec)
  - lmsd: configure create config.status script (alec)
  - lmsd: `make install` moves modules to PREFIX/lms/lib and program to
    PREFIX/lms/bin, in configuration modules can be set without path or 
    extension (alec)
  - force logout after timeout /http-equiv=refresh/ (alec)
  - fixed access denied window in dynamic popups (alec)
  - lmsd/dhcp: fixed shared-network option support (alec)
  - added 'homedir_prefix' option, accounts can have different homedirs (alec)
  - improved nodes searching (and quicksearch), finds all matching nodes,
    added qualification operator, removed function SearchNodeList(), added
    images in Nodes Search interface (alec)

version 1.5.6 Baal (2005-04-24):

  - finished translation of documentation (kondi)
  - we can use limitations in percents in warnings (chilek)
  - tickets searching for selected user in userinfobox (chilek)
  - percentage discount for customer liabilities/assignments (alec)
  - added dirty support for quotas in accounts (lukasz)
  - new daemon (alec):
    * changed name to 'lmsd'
    * online configuration and management
    * cron's style work
    * configuration in database (only, ini files not supported)
    * rewrited database drivers
    * database connection options from command line or environment
    * selected hosts/routers reloading
    * WARNING: Old daemon not supported in Reload menu!
  - suspension percentage for assignments can be specified in lms.ini (chilek)
  - history of userbalace work_in_progress (hunter)
  - in invoice edition added check that settlement date not conflicts with
    invoice number, so we can change date only to the same year or month
    (monthly_numbering) that was before change (alec)
  - fixed invoices list sorting (alec)
  - few fixes in database engine (especially in mysql driver), so connect
    errors should be now displayed by app, not by php itself (lukasz)
  - on covenants report fixed columns summary and parse errors in eval()
    functions with polish locale (alec)
  - BTS#0000323: lms-rtparser: fixed multipart messages charset conversion
    and added decoding of quoted-printable encoded messages (alec)
  - added customer ID on Invoices Report (alec)
  - we don't use capitalize in admininfo.
    it fixes problem with lastname capitalization (chilek)
  - we show total assignments with discounts in userassignments and
    customer lists (chilek)
  - fixed handling ip addresses from netdevices in lms-mgc (lukasz)
  - BTS#000327: in lms-reminder added negative values of daylight saving time
    for time functions acc. to PHP functions (alec)
  - added balance and tariff summary on customers list printout (alec)
  - lms-sendinvoices: fixed message and attachement charset/encoding, added 
    reading of invoice type configuration option from database (alec)
  - while adding or searching tickets in helpdesk customer ID can be
    specified instead of selecting customer from the list (alec)
  - nodes and customers search results (if they are lists) can be displayed 
    in printer-friendly format (alec)
  - little (?) layout revolution (inspired by lexx and kondi) (lukasz)
  - fixed total tax summary on Sale Report (alec)
  - lms-rtparser: added options autoreply_body and autoreply_subject with
    translated to english default values (alec)
  - removed unused function GetNodeByMAC() from LMS class (alec)
  - changed default tax value to 22% in selection lists (alec)
  - lms-cutoff: added option 'message', optimized balance calculation (alec)
  - lms-makeon: added option 'message', optimized balance calculation (alec)
  - lms-notify: deleted columns header in %last_10_in_a_table (alec)
  - lms-payments: translated to english default values of options
    'paytype' and 'comment' (alec)
  - lms-sendinvoices: added (englished) options 'mail_subject' and 'mail_body',
    added reading of invoices/number_template setting from database,
    added "" for recipient and sender names (alec)
  - lmsd/cutoff: translated to english default value of 'warning' option (alec)
  - lmsd/payments: translated defaults of 'paytype' and 'comment' options (alec)
  - fixed (ming) bug in network map causing problems with texts on large maps,
    optimized time of map generation (alec)
  - added users IP authorization (alec)
  - some code cleanup for error_reporting = E_ALL (alec)
  - locale independent date format on reports / dropped bugy capitalize (alec)
  - fixed liabilities report (bugy Smarty's math) and added customer ID (alec)
  - lmsd/traffic: fixed sequence of data while reading log file (alec)
  - sample/traffic_ipt.sh replaced by sample/traffic_ipt.pl (alec)
    
version 1.5.5 Anubis (2005-03-25):

  - fixed empty page printing on invoices when trying to print only 
    originals or only copies (alec)
  - fixed encoding conversion of some strings on pdf invoices (peter/alec)
  - index.php: localization before uiconfig reading, to have proper encoding 
    in configuration options if we use server_encoding != unicode (alec)
  - contrib/customer_otherip: changed login.html to customerlogin.html because
    of conflict with templates/login.html in Smarty cache (alec)
  - size reduction of LMS main class, some one-time functions moved to 
    modules i.e. Mailing(), Traffic() (alec)
  - added basic (without group checking) body of check_ssn() function for 
    'en' locale (alec)
  - contrib/formularz_przelewu_wplaty(_2): fixed encoding and bug with empty
    page (alec)
  - lms-payments print accounting messages on STDERR (lukasz/alec)
  - helpdesk: fixed encoding in message contents to UTF-8, added option
    phpui/helpdesk_sender_name for name of message sender (alec)
  - fixed bug in userassignmentedit.html when customer has " sign in name (alec)
  - BTS#0000283: added link 'Clear Account' on Customer Account (alec)
  - added cash operations import interface (lexx/alec)
  - sql queries speedup in GetTariff() and GetTariffList() (alec)
  - "all liabilities suspending" can be edited like other assignments (alec)
  - BTS#0000292: tariff's avg monthly income don't take into consideration
    suspended liabilities (alec)
  - added index on tariffid column in assignments table (alec)
  - BTS#0000284: user login is unique and can't be reused - changed content
    of warning message (alec)
  - added 'in debt', 'deleted' and 'disconnected' filters for mailing (alec) 
  - contrib/customer_otherip: invoices printing (alec)
  - fixed floats formatting in AddBalance() for non-english locale (.PaKuD)
  - fixed month and year in invoice number in 'setcustomer' action of file
    invoiceedit.php (alec)
  - BTS#0000305: helpdesk - fixed design in queue info (alec)
  - database speedup - added indexes: nodes/netdev, rttickets/queueid, cash/time,
    invoices/cdate, invoicecontents/invoiceid, cashimport/hash (alec)
  - invoicenew.php, invoiceedit.php: bypassed sessions bug in PHP-4.3.10 (alec)
  - almsd/notify: changed contents of 'command' option and removed header with
    column names in last_10_in_a_table (alec)
  - almsd/tc: fixed uninitialized variable warning (alec)
  - possibility of removing tickets (chilek)
  - lms-rtparser: added mail charset detection and conversion to database
    charset (req. Text::Iconv), changed encoding of confirmation message (alec)
  - added contrib/coffee_cup (lexx)
  - added passwd field to nodes record (alec)
  - we can pay invoices in userbalancebox (chilek)
  - new session management using database backend, also authorization has been
    put into separate class (lukasz)
  - BTS#0000308: added lost customer's groups table while adding new node for 
    a customer (alec)
  - added support for dynamic tooltips (lexx)
  - netdevmap in flash (requires ming) (lexx)
  - added Finances -> Print -> Covenants Realization Report (alec)  
  - new layout for menu (lukasz)
  - ip address selection divided to pages (chilek)
  - if we find only one customer we will redirect to his info (chilek)
  - almsd/dhcp,oident,ethers: changed defaults of 'file' and 'command'
    options (alec)
  - translated to english almost entire documentation (kondi/alec)
  - database backups can be restored only on system version according 
    with database version where backup was created (alec)
  - added contrib/squid_redirector which extends capabilities of squid_warnings 
    (enable/disable nodes access to squid), and marking squid_warnings as 
    obsolete (lexx)
  - BTS#0000315: remove assignments in customer delete function (alec/WiktorRB)
  - page headers have been removed (chilek)
  - redesigned customers list (lexx)
  - BTS#0000311: fixed cash operation time setting after invoice edition (alec)
  - mail() -> SendMail(). We use Pear::Mail (chilek)
  - notifications about new tickets in UI and lms-rtparser (chilek/alec)
  - proper char encoding in mail notifications (chilek)
  - added confirm. dialog for generation of new PIN and node's password (alec)
  - added "Notices" privilage for helpdesk queues (alec) 

version 1.5.4 Ramius (2005-02-16):

  - domylnym jzykiem interfejsu uytkownika jest angielski (en), wykonano
    tumaczenie na jzyk polski, zmieniono nazewnictwo: uytkownicy -> klienci,
    administratorzy -> uytkownicy, jzyk jest odczytywany z ustawie
    przegldarki, a moe by take ustawiony poprzez opcj 'lang', zmieniono
    kodowanie danych i interfejsu na UTF-8, trwaj prace nad tumaczeniem 
    dokumentacji (alec/lexx/maniac/chilek i inni)
  - zmiana opcji 'userlist_pagelimit' na 'customerlist_pagelimit' (alec) 
  - poprawiony bd przy usuwaniu opaty staej powodujcy usunicie opaty
    bez potwierdzenia (alec)
  - dodana opcja konfiguracyjna (phpui -> lang_debug) ktra pozwala na 
    wywietlanie w popupie brakujcych cigw w tumaczeniach (lexx)
  - poprawiony bd na licie uytkownikw wyszukanych powodujcy ignorowanie
    braku potwierdzenia przy rozliczaniu uytkownika (alec)
  - BTS#0000275: poprawiony bd w zapytaniu sql podczas wyszukiwania zgosze
    wg nazwiska zgaszajcego (rejmer)
  - BTS#0000278: dodane uprawnienie 'zarzdzanie sieciami i urzdzeniami' oraz
    wyczono z uprawnienia 'zarzdzanie komputerami' odczanie/wczanie
    komputerw (rejmer/alec)
  - w dokumentacji dodana informacja jak podczy lms-rtparser do postfixa
    przy uyciu procmaila (D.Rejmer)
  - dodawanie aliasw i domen przeniesiono do osobnych moduw, uprawnienie
    'tylko odczyt' zezwala na odczyt danych kont/aliasw/domen (alec)
  - BTS#0000279: na szablonie wysyania maili poprawiono zamienione miejscami
    nazw i email nadawcy (alec)
  - BTS#0000280: poprawione bdne zaokrglanie oraz sumowanie oglnej kwoty
    podatku na rejestrze sprzeday (.PaKud/alec)
  - obsuga gzipowanych kopii zapasowych (kuba)
  - BTS#0000276: lms-rtparser: jeli nie zdefiniowano 'mail_from_name' w polu
    'From:' potwierdzenia wstawiamy nazw kolejki (rejmer/alec)
  - BTS#0000282: lms-rtparser: w polu 'Do:' potwierdzenia wstawiamy tylko
    adres email bez nazwy konta zgaszajcego (rejmer/alec)
  - BTS#0000274: Nie mona przypisa komputerowi adresu gatewaya (alec)
  - usunity bd powodujcy ze rozpoznawanie adresu sieci i broadcastu na 
    licie hostw w danej sieci, jeli lista ta bya na wicej ni jednej
    stronie (alec)
  - poprawiony bd w skrypcie lms-notify oraz moduach almsd notify i ggnotify
    powodujcy pobieranie do %last_10_in_a_table dziesiciu pierwszych a nie
    ostatnich operacji (alec)
  - poprawiony bd w ustawianiu daty wystawienia nowej faktury (alec)
  - dodano zabezpieczenie przed wystawieniem faktury bez zawartoci (alec)
  - BTS#0000281: poprawiono wywietlanie listy zaduonych, ktre na MySQLu
    uwzgldniao take uytkownikw z bilansem rwnym zero (alec)
  - zmiana wartoci domylnej opcji invoices/content_type: usunito definicj
    charsetu (alec)
  - numeracja miesiczna faktur: invoices/monthly_numbering (alec)
  - BTS#0000299: poprawka w funkcji sprawdzajcej poprawno MAC'a (lukas)
  - dodana opcja %PIN do lms-mgc (lukasz)
  - Terminarz (alec)
  - zmiana typu kolumny przechowujcej kod pocztowy na VARCHAR(10) uwzgl.
    amerykaski format 5+4 (alec)
  - dodana moliwo wydruku listy komputerw uytkownikw zaduonych (alec)
  - na licie opcji konfiguracyjnych dodano linki do edycji, usuwania oraz
    wczania/wyczania opcji (alec)
  - dodana moliwo filtrowania listy faktur wg zadanych kryteriw (alec)
  - w opcji 'contract_template' moe podawa kilka plikw szablonw umw
    wraz z opisem, np. "plik.html:Umowa Test, plik2.html:Umowa Standard" (alec)
  - lms-sendinvoices: dodana opcja --fakedate (alec)
  - dodano moliwo wydruku listy uytkownikw z bilansem na dany dzie (alec)
  - na bilansie uytkownika oraz bilansie sieci dodano moliwo wydruku 
    oryginaw/kopii wybranych faktur (alec)
  - lms-payments (almsd/payments): jednej pozycji na fakturze odpowiada 
    dokadnie jedno obcienie, take wtedy gdy pozycja skada si z wielu
    podpozycji/taryf (alec)
  - edycja i usuwanie faktur (lexx)
  - dodano index na kolumnie invoiceid w tabeli cash, przyspieszajcy niektre
    zapytania SQL (alec)
  - moliwo generowania faktur w PDF (lexx)
  - dla operacji fakturowanych dodano moliwo powizywania obcie z
    wpatami/przedpatami, co np. pozwala na czciowe rozliczanie faktur (alec)
  - mona edytowa opcje sekcji [finances] z poziomu UI (alec)
  - poprawki w nodescan.php|html - jeli wyszukujemy komputery z poziomu klienta
    zostaje wywietlona kompletna strona informacji o kliencie (alec)
  - lms-payments: dodano opcj 'comment' ustalajc komentarz do opaty,
    dozwolone zmienne: %tariff, %period, %desc (alec)

version 1.5.3 Nirrti (2004-12-16):

  - w polu email przy dodawaniu/edycji uytkownika mona wpisa tylko jeden 
    adres, dodane sprawdzenie poprawnoci tego adresu (alec)
  - poprawiona walidacja PINu przy dodawaniu uytkownika (alec)
  - poprawione sprawdzanie poprawnoci loginu i domeny konta (alec)
  - moliwo zmiany opcji konfiguracyjnych z sekcji [phpui] i [invoices]
    w interfejsie uytkownika (menu Administracja -> Konfiguracja), wicej 
    w dokumentacji: Rozdzia 3.2.5. (alec)
  - contrib/formularz_przelewu_wplaty: dwa druki na stronie i inne drobne
    poprawki (J.Krzymin/alec)
  - poprawki w Mailingu dot. obsugi bdw i kosmetyka interfejsu (alec)
  - wydruk faktur za dany okres z moliwoci wyboru uytkownika (alec)
  - lms-payments: poprawione dziaanie opcji --quiet, dodana opcja
    -f, --fakedate=YYYY/MM/DD (alec/RIP)
  - usunity bd powodujcy brak moliwoci edycji konta systemowego (alec)
  - mona okreli dat wystawienia nowej faktury (alec)
  - w oknie bilansu uytkownika dodany link 'Wystaw faktur' (alec)
  - BTS#0000254: funkcja writesyslog() dziaa rwnie na OpenBSD (kubatyszko)
  - edycja zobowiza uytkownika (alec)
  - dodana opcja 'to_words_short_version' w sekcji [phpui] okrelajca format
    reprezentacji sownej kwot (alec/kubatyszko)
  - w formularzu przelewu/wpaty mona zdefiniowa format reprezentacji sownej 
    kwoty (alec/kubatyszko)
  - BTS#0000252: usunite spacje wiodce w repr. sownej kwot (alec)
  - filtrowanie listy zgosze Helpdesk wg statusu (alec)
  - w dokumentacji dodany opis podczenia lms-rtparser do Exima (P.Grski)
  - Konta/Aliasy/Domeny 
	!!! UWAGA: Domeny nie s ju trzymane w passwd !!! (alec)
  - dodany filtr 'on-line' do listy uytkownikw (alec)
  - usunity bd w module payments demona, wystpujcy na mysql'u, ktry
    powodowa niezapisywanie zawartoci faktur (alec)
  - almsd: zmiana w funkcji db_query() dla mysql'a powodujca, e przy pustym
    resultsecie nie zwracamy teraz NULL'a, tzn. tak jak dla innych baz,
    czyli po wywoaniu tej funkcji naley pamita o sprawdzeniu pola 
    'nrows' wyniku (alec)
  - usunita redefinicja funkcji chkconfig() z customer (chilek)
  - w userinfo dodany link do listy kont uytkownika (alec)
  - listy kont i aliasw wspdziel te same filtry (alec)
  - lms-squid-warnings obsuguje bazy postgres i sqlite (alec)
  - lms-rtparser: przy nieustawionej opcji 'mail_from' poprawnie wstawiany
    jest adres kolejki (alec)
  - BTS#0000257: w sumie opat miesicznych uytkownikw oraz w rednim zysku
    miesicznym taryf nie uwzgldniamy zobowiza zawieszonych (alec)
  - BTS#0000266: zabezpieczenie przed generowaniem mapy sieci, w ktrej nie ma
    urzdze, co powodowao segfaulta Apache'a (alec)
  - z szablonu faktury usunita informacja powoujca si na nieaktualne
    przepisy prawne (alec)
  - poprawiona walidacja NIPu przy edycji i dodawaniu uytkownika (alec)
  - contrib/formularz_przelewu_wplaty_2 (lexx)
  - lms-mgc ignoruje wpis node(x.x.x.x) jeeli host x.x.x.x nie istnieje
    (dzwonus/lukasz)
  - Helpdesk: dodana moliwo wysyania wiadomoci z zacznikiem (alec)

version 1.5.2 Isis (2004-11-25):

  - experymentalny driver do MS SQL Servera (alec)
  - poprawne tworzenie shared-network w lms-makedhcpconf (alec)
  - dokumentacja: dodany opis lms-makedhcpconf (alec)
  - dodane brakujce defaulty do niektrych kolumn w tabeli rtmessages
    w lms.mysql (alec)
  - w funkcji odczytujcej nazw hosta (ktr nastpnie wida w nagwkach 
    stron) dodano sprawdzenie staych $_ENV['HOSTNAME'] i $_SERVER[SERVER_NAME']
    jeli nie powiedzie si prba odczytania nazwy poprzez `hostname` (alec)
  - do danych komputera dodano pole 'info' (alec)
  - lms-mgc: dodana zmienna %INFO zawierajca opis komputera j.w. (alec)
  - dodana zmienna %info w regukach moduu hostfile demona almsd (alec)
  - dokumentacja: uzupeniony opis zmiennych lms-mgc (alec)
  - w statystykach dodany redni transfer w KB/s (alec)
  - generowanie PINu podczas edycji/dodawania uytkownika (alec)
  - poprawka w funkcji szybkiego wyszukiwania komputera uwzgldniajca zmian
    dziaania ip2long() w PHP5 (alec)
  - BTS#0000229: contrib/customer - uwzgldniona sytuacja, gdy czymy si z
    urzdzenia sieciowego (alec)
  - lms-arping (T.Ciaszczyk/alec)
  - lms-rtparser: usunity bd w dziaaniu opcji tmp_dir (alec)
  - pinger.h: usunity bd kompilacji z glibc 2.3 (alec)
  - almsd/cutoff: dodane opcje 'warning' i 'command' (alec)
  - BTS#0000245: poprawiona godzina w 'data do' na 23:59:59 w wydrukach
    bilansu finansowego sieci i uytkownika (alec)
  - contrib/daemon/cbq-init: dodatkowy modu demona (alec)
  - dodane sprawdzenie czy zaznaczono uytkownikw przy dodawaniu nowej
    operacji (alec)
  - poprawki w genfake (lexx)
  - almsd/cutoff: dodana opcja 'warnings_only' umoliwiajca wykorzystanie
    tego moduu wycznie do wczania ostrzee, gruntowna przebudowa (alec)
  - contrib/daemon/cutoff2 - ulepszony cutoff dla zobowiza mies. (alec)
  - contrib/multiip_patch (alec/.Wojciechowski/M.Adamski)
  - BTS#0000237: na licie wyboru taryfy w zobowizaniach uytkownika pokazujemy
    wartoci uprate, upceil, downrate, downceil (alec)
  - BTS#0000246: na FreeBSD hostname wywoujemy bez opcji -f (alec)
  - BTS#0000248: zmiana statusu lub ostrzeenie komputera nie powoduje zmiany
    administratora "ostatniej modyfikacji" (alec)
  - w lms-makemacs poprawiona domylna warto opcji config_file (alec)
  - dodany 'Rozdzia 9 FAQ' w dokumentacji (alec)
  - przebudowana struktura menu: Administratorzy, Bazy danych, Witamy!
    zebrane w jednym 'Administracja' (alec)
  - poprawki formularzy uatwiajce szybsz obsug bez uycia myszy (alec)
  - Konta (lexx/alec)
  - contrib/daemon/shaper (M.Adamski)

version 1.5.1 Eamon (2004-10-25):

  - przyspieszone wywietlanie moduu wydrukw i innych pobierajcych list
    administratorw (alec)
  - BTS#0000200 (alec)
  - poprawki i kosmetyka w contrib/customer_otherip oraz dodany opis do
    dokumentacji (alec)
  - optymalizacja wydruku bilansu finansowego (alec)
  - BTS#0000203: nie mona si logowa na usunite konto admina (alec)
  - usunity bd uniemoliwiajcy otwarcie zacznika do wiadomoci rt (alec)
  - BTS#0000206: poprawione pobieranie baz przy poczeniu https (alec/lexx)
  - Helpdesk: dodane wpisy do sample/lms.ini, poprawiony bd przy zmianie
    waciciela zgoszenia, w dokumentacji dodana informacja o wymaganych
    przez rtparser moduach Perla (alec)
  - w lms-rtparser potwierdzenia wysya Net::SMTP zamiast sendmaila, 
    dodane opcje smtp_server, mail_from_name (alec)
  - usunity bd przy odtwarzaniu backupu na postgresie spowodowany 
    aktualizacj nieistniejcych sekwencji (alec)
  - status online adresw urzdze w netdevinfo (alec)
  - poprawiony bd w zapytaniu sql w lms-notify (alec)
  - na licie sieci podajemy ilo komputerw online dla kadej sieci (alec/lukas)
  - statystyki zgosze w welcome.html (alec)
  - dodana opcja networkhosts_pagelimit, domylnie pokazujemy 256 hostw
    w netinfo (alec)
  - przebudowany i poprawiony lms-notify-sms (alec)
  - lms-notify: uzupeniona dokumentacja (%phone1, %date_month_name), poprawione 
    sortowanie %last_10_in_a_table i znak przy kwotach (alec)
  - moliwo szybkiego wyszukania zgosze o okrelonych stanach z welcome.html (chilek)
  - pominicie usunitych uytkownikw w szybkim wyszukiwaniu (modu quicksearch) (averne)
  - moliwo skasowania wiadomoci w widoku zgoszenia (chilek)
  - poprawiona kwota sownie w contrib/formularz_wpaty (alec)
  - lms-rtparser: poprawione/dodane kodowanie nagwkw potwierdzenia (alec)
  - poprawiony auto-upgrade: w przypadku wystpienia bdu procedura zostaje
    przerwana (alec)
  - poprawiony bd uniemoliwiajcy edycj danych grupy uytkownikw (alec)
  - opcja phpui/contract_template lms.ini dla szablonu umowy usera (alec)
  - lms-rtparser: auto_open - automatyczne otwieranie zamknitych zgosze (alec)
  - BTS#0000204: dane o ostatnim logowaniu zalogowanego administratora zawieraj
    informacje z ostatniego logowania, a nie z biecej sesji (alec)
  - po zmianie hasa wywietlamy ostatni modu zamiast welcome (alec)
  - nazwa interfejsu moe zawiera ':' i '.' (alec)
  - naprawione sumowanie w kolumnie 0% w rejestrze sprzeday (alec)
  - poprawione bdy w pinger.h uniemoliwiajce kompilacj na niektrych
    versionch glibca (alec)
  - BTS#0000221: dodany monit o potwierdzenie rozliczenia faktury (alec)
  - usunite przekierowanie do listy faktur po dodaniu faktury (alec)
  - poczenia wireless na mapie sieci (alec)
  - poprawiony bd w polu 'adres IP' podczas edycji komputera (lukas/alec)
  - BTS#0000214: rozwizany problem z brakiem pamici podczas tworzenia 
    backupu (alec)
  - dodany contrib/import, czyli import patnoci z pliku txt (alec)
  
version 1.5.0 Marduk (2004-09-18):

  - w lms-makedhcpconf hosty s sortowane (alec)
  - drukowanie zgosze (alec)
  - BTS#0000192: poprawione wywietlanie zego urzdzenia sieciowego podczas
    edycji komputera (lexx)
  - w oknie wyboru adresu IP domyln sieci jest ta, do ktrej naley
    edytowany komputer/adres urzdzenia (alec/lukas)
  - na mapie dodana informacja (w postaci rnych ikon) o aktywnoci
    urzdze sieciowych (alec/lexx)
  - podgld szczegw wiadomoci Helpdesku (alec)
  - podczas odpowiadania na zgoszenie nastpuje zmiana statusu i waciciela
    jeli nie byy wczeniej ustawione (alec)
  - nazwa sieci moe zawiera znak '_' (alec)
  - nazwa grupy moe zawiera znak '.' (alec)
  - dodana obsuga opcji konfig. 'networks' i 'usergroups' w module 'ethers',
    'dns' i 'dhcp' demona (alec)
  - poprawione bdne interpretowanie opcji 'networks' w moduach demona
    gdy nazwa sieci zawieraa kropk (alec)
  - BTS#0000183: dodany indeks na kolumnie userid w tabeli cash, powodujcy
    znaczne przyspieszenie zapyta sql ze zczeniami tabel cash i users (alec)
  - w formularzu nowej operacji napisy okrelajce typ operacji uaktywniaj
    odpowiadajce im radio-buttony (chilek)
  - w formularzu nowej operacji zapamitywany jest na czas sesji typ operacji (chilek)
  - w UI dodana obsuga PIN dla uytkownikw - UWAGA! automatyczny upgrade bazy
    generuje nowe numery PIN dla wszystkich uytkownikw! JELI POSIADASZ 
    JU NUMERY PIN W BAZIE TO ZOSTAN ONE WYGENEROWANE NA NOWO! (lexx)
  - BTS#0000185: poprawione rozliczanie uytkownikw (alec)
  - moliwo wydrukowania umowy z poziomu UI (lexx)
  - w demonie mona zdefiniowa polecenie powoki, ktre bdzie wykonywane 
    przed kadym poczeniem z baz (alec)
  - w skryptach dodano wywietlanie bdw w pliku konfiguracyjnym (alec)
  - w formularzu nowej operacji pokazuje si ilo zaznaczonych uytkownikw (chilek)
  - przyspieszone wywietlanie listy faktur na MySQL'u (alec) 	 
  - polecenie 'make daemon' do kompilacji samego demona, bez moduw (alec) 	 
  - przy starcie almsd w 'background mode' nie nastpuje przeadowanie (alec)
  - dodane klawisze szybkiego dostpu w formularzu wyszukiwania uytkownika (S)
    oraz nowej operacji (W) (chilek)
  - do demona dodana opcja wiersza polece '-i' okrelajca instancje do
    przeadowania, nie ma koniecznoci tworzenia odrbnych plikw konfig.
    dla moduw uruchamianych z crona (alec)
  - na mapie sieci zwikszony grny margines i usunite bdy wyst. przy
    braku podczonych komputerw (lukas)
  - w contrib/sqlpanel wyniki polece sql przepuszczane s przez funkcje
    nl2br() i htmlspecialchars() (alec)
  - na mapie zwikszony do 24 limit urzdze podczonych do jednego urzdzenia
    oraz usunity bd pokrywajcych si linkw (alec)
  - lms-rtparser: przebudowany, przetestowany i dodana dokumentacja (alec)
  - dopracowane wysyanie wiadomoci w Helpdesku (alec)
  - obsuga zacznikw w Helpdesku (alec)

version 1.3.6 Osiris (2004-09-01);

  - obcienia s naliczane wedug ich wartoci, rosnco - w wypadku jak kto
    ma odliczenie jakie, zostanie ono naliczone jako pierwsze, przez co nawet
    przez chwil saldo nie zejdzie poniej zera (lukasz)
  - dodana informacja kiedy dany komputer by ostatnio widziany w sieci (lexx)
  - teraz na mapie urzdze sieciowych pokazywana jest lokalizacja urzdzenia
    (lexx)
  - poprawiony bd w zapytaniu przy wyszukiwaniu zgosze po temacie (alec)
  - uprawnienie 'manipulacja finansami' obejmuje take rozliczanie faktur (alec)
  - BTS#0000180: zliczanie wolnych adresw w sieci nie bierze pod uwag 
    zarezerwowanych dla DHCP (lexx)
  - BTS#0000181: okienko wyboru adresu IP nie pozwala wybra adresu 
    zarezerwowanego dla DHCP (lexx)
  - BTS#0000153: kliknicie na urzdzenie/komputer na mapie urzdze powoduje
    przejcie do wybranego urzdzenia/komputera (lexx)
  - poprawiona czytelno napisw na mapie urzdze (lexx)
  - zawieszanie patnoci wybranych zobowiza uytkownika lub wszystkich 
    na dany okres (alec)
  - dodany panel 'Uytkownicy'->'Ostrzeenia' (alec)
  - dodany skrypt lms-fping (alec)
  - BTS#0000052: odczenie uytkownika poprzez cutoff powoduje automatyczne 
    owinetkowanie komputerw uytkownika oraz ustawienie wiadomoci 
    administracyjnej (lexx)
  - poprawiony BTS#0000157: gubienie urzdze i bdne poczenia 
    na mapie (alec)
  - w welcome.html podajemy take ilo komputerw on-line (alec)
  - BTS#0000187: uzup. brakujca definicja $utsfmt w lms-notify (alec)
  - BTS#0000189: poprawiony trigger dns2 w formularzu netadd.html (alec)
  - dodany modu pinger (szybszy odpowiednik lms-fping) do demona (alec)
  - w demonie wszystkie komunikaty informacyjne s w DEBUG1 (alec)
  - usunite bdy przy allow_call_time_pass_reference=Off w php.ini (alec)
  - dodane contrib/squid_warnings (lexx)
  - w dokum. dodany rozdzia 'Dodatki' opisujcy zawarto /contrib (alec)
  
version 1.3.5 Ju (2004-07-30):

  - usunity bd w skryptach perlowych, powodujcy bdne dziaanie
    przy pustej zmiennej konfiguracyjnej 'usergroups' (alec)
  - domylnie, w mailingu uywamy imienia i e-maila administratora ktry
    aktualnie si zalogowa jako nadawcy (lukasz)
  - skoczony (?) interfejs www dla systemu RT-Helpdesk (alec)
  - zaktualizowano pliki do zakadania bazy danych (alec)
  - w polu szybkiego wyszukiwania mona podawa numer zgoszenia lub
    nazwisko uytkownika (alec)
  - w lms-mgc poprawiony bd w zapytaniu wybierajcym dane do htb oraz dodane
    zmienne %UPCEIL, %DOWNCEIL, %CLIMIT, %PLIMIT (alec)
  - zmiana typu kolumn statystyk na BIGINT zapobiegajca bdom przy
    kompaktowaniu jeli uytkownicy cigaj ponad 2 GB danych dziennie (alec)
  - BTS#0000168: poprawione dziaanie zmiennej 'use_current_payday', przy 
    okazji wreszcie dziaaj error-triggery dla zobowiza (alec)
  - BTS#0000171: poprawiona obsuga bdu przy braku wolnych portw 
    w urzdzeniu przy pierwszym podczeniu komputera (alec)
  - BTS#0000173: uzupenione sprawdzanie dugoci nazwy komputera, urzdze 
    sieciowych i ich adresw oraz dodany atrybut maxlength w szablonach (alec)
  - dodano moliwo nadpisania pojedyczej reguy w lms-mgc poprzez wpis:
    node(192.168.1.1) = regua (lukasz)
  - dodano pole 'adres do dorcze' dla danych uytkownika, ktry (jeli 
    zdefiniowano) zastpi adres uytkownika na fakturze (alec)
  - w module hostfile demona dodana zmienna '%gw' zamieniana na adres
    bramy (alec)
  - w module 'tc' demona mona okreli polityk generowania klas htb poprzez
    zmienn 'one_class_per_host', rozbite reguy na kilka opcji konfiguracyjnych
    osobno dla markowania i htb w obie strony (alec)
  - w lms-traffic-htbiptlimits dodana obsuga upceil i downceil (alec)
  - uptime'y zgosze, czyli czas od zgoszenia do rozwizania problemu (alec)
  - poprawna odmiana wyrazw dzie, godzina, minuta w uptime'ach (alec)
  - dodany filtr 'minimalny uptime' do wyszukiwania zgosze (alec)

version 1.3.4 Terok (2004-07-06):

  - naprawiony combobox ze stawk podatku w 'Rachunku uytkownika' (alec)
  - jeli adna grupa nie istnieje to skrypty bior pod uwag wszystkich
    uytkownikw (chilek)
  - dodane error-triggery w adminpasswd.html (alec)
  - zapamitujemy porzdek sortowania w statystykach (chilek)
  - poprawiony BTS#0000137: dodany komunikat o braku wolnych portw w urzdzeniu
    podczas podczania z nodeinfobox.html (alec)
  - na listach uytkownikw filtr 'wszyscy' wybiera z bazy wszystkich oprcz
    usunitych (nie bierze pod uwag pola status), a nie tylko podczonych 
    jak dotychczas (alec)
  - przy obliczaniu redniego zysku miesicznego taryfy nie uwzgldniamy 
    uytkownikw zainteresowanych i oczekujcych - BTS#0000151 (alec)
  - poprawione opisy instalacji i upgrade'u bazy mysql, z uwagi na brakujce
    uprawnienia do polecenia ALTER, wszyscy planujcy upgrade powinni z konta
    roota wykona w mysqlu nastpujce polecenia: (alec)
	GRANT select,insert,update,delete,create ON lms.* TO lms@localhost 
		IDENTIFIED BY 'haso';
	FLUSH PRIVILEGES;
  - na mapie sieci oprcz nazw hostw pokazujemy ich adresy IP oraz
    (max.4) adresy IP urzdze sieciowych (alec)
  - poprawiony bd na fakturze: BTS#0000154 (alec)
  - w formularzu dodawania faktury mona podawa kwoty z przecinkiem oraz
    usunito wiodce zero dla kwot mniejszych od 10 (alec)
  - rozliczanie uykownikw w rozbiciu na stawki VAT (chilek)
  - moliwo usuwania transakcji w bilansie uytkownikw (chilek)
  - moliwo usuwania transakcji w informacji o uytkowniku (chilek)
  - poprawka w DBDump() usuwajca bd wystpujcy podczas odtwarzania kopii
    bazy danych z wartoci NULL ('zw.') w kolumnach taxvalue (alec)
  - lms-traffic-logiptables nie zapisuje ju danych do logu, ale wstawia
    dane do bazy wprost, nie trzeba uruchamia lms-traffic (alec)
  - do demona dodany modu 'system', dla tych co nie chc uywa sudo dla
    skryptw perlowych, oczywicie nie tylko (alec)
  - poprawka w notify i ggnotify dodajca znak minus przy obcieniu w
    %last_10_in_a_table (alec)
  - poprawka linku do listy zaduonych w welcome.html (alec)
  - dodany contrib/customer_otherip (hunter)
  - rozbudowane faktury o dane do htb: upload ceil, download ceil, 
    connection limit, packet limit (alec)
  - przepisany modu 'tc' demona uwzgldnia zmiany w taryfach (alec)
  - poprawka w funkcji mailing, teraz pole from: powinno by dobre (lexx)
  - podczas usuwania urzdzenia sieciowego usuwane s take jego adresy (alec)
  - poprawione ustawianie sekwencji postgresa podczas odtwarzania kopii
    bazy danych (alec)
  - wznowiono prace na systemem RT (Helpdesk) (alec)

version 1.3.3 Sokar (2004-05-05):
  
  - naprawione usuwanie pozycji na fakturze (alec) 
  - w demonie dodana obsuga bazy SQLite (alec)
  - poprawione zapytanie w lms-traffic-htbiptlimits uwzgldniajce prawidowo
    okresowe assignmenty (alec)
  - dodana obsuga datefrom i dateto w module 'tc' demona (alec)
  - dodana obsuga zwolnie z VAT w taryfach i fakturach (chilek)
  - poprawione bdy w wygldzie listy faktur, z ktrymi nie radzia
    sobie Mozilla (alec)
  - dodana obsuga stawek VAT w operacjach finansowych - tablica cash
    pole taxvalue (chilek)
  - w wydrukach bilansw uzwgldniane s stawki VAT (chilek)
  - w contrib/sqlpanel dodano stronicowanie wynikw oraz opcj wydruku (alec)
  - wybr stawki VAT przy nowej operacji w comboboksie (chilek)
  - wydruk raportu cznych przychodw bezrachunkowych (chilek)
  - wydruk raportu wierzytelnoci userw (alec)
  - dodana moliwo opacania faktur - jeszcze nie w peni funkcjonalna (chilek)
  - na fakturze termin patnoci moe wynosi 0 (alec)
  - mona poda dat opacenia faktury (chilek)
  - mona rozliczy wiele faktur (chilek)
  - sprawdzamy czy faktury s rozliczone testujc bilans pozycji faktur (chilek)
  - w formularzach wyszukiwa pokazywane s ikonki ostrzee (chilek)
  - rejestr sprzeday przeniesiony do Taryfy i Finanse -> Wydruki (alec)
  - wybr stawki VAT w nowej pozycji faktury za pomoc comboboxa (chilek)
  - wybr stawki VAT w taryfach za pomoc comboboxa (chilek)
  - dodany formularz zarzdzania wiadomociami administracyjnymi (chilek)
  - grupy uytkownikw (chilek/alec)
  - moliwo wyboru grupy wywietlanej listy uytkownikw (chilek)
  - moliwo ustalania przynalenoci do grup w formularzach informacji o
    uytkowniku i edycji uytkownika (chilek)
  - moliwo ustalania przynalenoci do grup w formularzach informacji o
    komputerze i edycji komputera (chilek)
  - obsuga grup uytkownikw w lms-makedhcpconf, lms-makeoidentconf,
    lms-makemacs, lms-makehosts (chilek)
  - naprawione filtrowanie listy userw wg grupy i sieci (alec) 
  - poprawka w bazie przywracajca moliwo dublowania MAC'w (alec)
  - w Mailingu mona wybra grup uytkownikw (alec)
  - dodane skrypty lms-makewarnings, lms-makemessages (chilek)
  - dane administratorw usunitych nie s usuwane z bazy (alec)
  - wydruki list uytkownikw mona filtrowa wg grupy (alec)
  - do listy uytkownikw dodane filtry 'usunici', 'odczeni'
    i 'zadueni', w zwizku z tym znika menu Uytkownicy->Odczeni
    i Uytkownicy->Zadueni (alec/chilek)
  - w wersji demona dla SQLite dodane funkcje UPPER() i LOWER()
    uwzgldniajce systemowe locales, dla prawidowego kapitalizowania
    polskich znakw diakrytycznych (alec)
  - poprawiony error-trigger w polu status w usereditbox.html (alec)
  - poprawione ignorowanie nalicze o wartoci zerowej (lukasz)
  - poprawiony bd w almsd, powodujcy zwak demona na mysql'u, gdy
    w tabeli timestamps nie ma wpisu '_force' (alec)
  - przebudowany rozdzia 'Interfejs Uytkownika' w dokumentacji (alec)

version 1.3.2 Kinsey (2004-04-03):
  
  - przeniesienie warning&messages z contrib do gwnej gazi
    dodanie lms-updatewarnings (maniac/alec/chilek)
  - poprawione bdy w module 'hostfile' demona, dodane zmienne 
    %domain - zamieniana na nazw domeny i %net - na nazw sieci (alec)
  - w zmiennej 'networks' dla moduw hostfile i oident nie podajemy adresw, 
    ale list nazw sieci (alec)
  - multilanguage? jednak nie (lexx)
  - rozpoczto prace nad systemem RT (lukasz)
  - sporo poprawek kosmetycznych kodu (lukasz)
  - nareszcie zrobiona obsuga bdw SQL (lukasz/alec)
  - poprawiony bug wystpujcy na postgresie podczas dodawania usera z pustym
    numerem gadu-gadu (alec)
  - poprawione sortowanie listy komputerw wg nazwy waciciela (alec)
  - dodany interfejs do definiowania filtrw dla wydrukw list komputerw
    i uytkownikw (alec)
  - dodane drukowanie bilansu uytkownika za dany okres (alec)
  - od teraz, uytkownikom mona przypisywa taryfy na dany okres czasu
    (lukasz)
  - pola szybkiego dostpu akceptuj teraz takie rzeczy jak nazwa, id, adres
    ip/mac, adres uytkownika, adres email, telefon (lukasz)
  - mae przyspieszenie funkcji UserStats() (alec)
  - przebudowa struktury bazy danych: dodane wartoci domylne pl, klucze
    unikalne i ograniczenia NOT NULL (lukasz/alec)
  - poprawione obliczanie redniego dochodu miesicznego dla taryf (alec)
  - dodane obliczanie iloci aktywnych przypisa taryfy (alec)
  - poprawione sortowanie list uytkownikw wg salda (alec)
  - poprawione genfake.php: dodane zerowanie auto_increment'w oraz
    poprawki zwizane z ostatnimi zmianami w bazie (alec)
  - dodano sprawdzenie, czy zaznaczono typ operacji podczas dodawania nowej
    operacji - BTS#0000122 (alec)
  - poprawione bdy w moduach hostfile i oident demona powodujce
    niewykonywanie instancji wyst. po tych moduach (alec)
  - na licie uytkownikw w kolumnie Abonament jest rednie obcienie 
    miesiczne uytkownika (alec)
  - list uytkownikw oraz wydruki mona filtrowa wg sieci (alec)
  - w mailingu dodana moliwo wybrania sieci  (alec)
  - dodany wydruk uytkownikw bez przypisanych komputerw (alec)
  - dodane wydruki bilansu finansowego z moliwoci ograniczenia do podanego
    okresu oraz konkretnego administratora (alec)
  - dodany contrib/sqlpanel (alec)
  - BTS#0000131: poprawki w 'Rejestrze sprzeday' (alec)
  - SQLite Support (alec)
  - poprawki w lms-notify zapobiegajce bdom na postgresie (alec)
  - lms-sendinvoices: wysyanie faktur (lukasz)
  - w automatycznych fakturach mona zdefiniowa rodzaj patnoci 
    i termin zapaty: lms-payments i almsd (alec)
  
version 1.3.1 Maybourne (2004-03-04):

  - poprawiony bd w GetInvoiceContents() powodujcy bdne wywietlanie
    liczby groszy sownie na fakturze - BTS#0000112 (alec)
  - poprawione obliczanie kwot na fakturach dla kilku jednostek, bd
    powodowa take zapisywanie niepoprawnych danych do tabeli 'cash' 
    podczas dodawania nowej faktury - BTS#0000114 (alec)
  - multilanguage? moe tak (RFD) (lexx)
  - w almsd, do moduu hostfile dodano nowe opcje konfiguracyjne 'networks'
    oraz 'skip_dev_ips' (alec)
  - poprawione bdy w wyraeniu regularnym w adminadd i adminedit (alec)
  - poprawka do upgrade'u: taryfy maj okres miesiczny, a nie tygodniowy,
    poprawki skadni sql w UPGRADE.pgsql oraz komentarze w UPGRADE.mysql (alec) 
  - dodane local_ips i local_dests do lms-traffic-htbiptlimits (lukasz)
  - koniec z wyszukiwaniem koniecznych upgradw bazy danych w ChangeLogu - 
    od teraz LMS sam bdzie poprawia baz danych. Powiedzmy prawie koniec -
    oto ostatnie konieczne do wykonania zmiany w bazie:
    MySQL:
        CREATE TABLE dbinfo (
	    keytype VARCHAR(255) NOT NULL default '',
	    keyvalue VARCHAR(255) NOT NULL default '',
	    PRIMARY KEY  (keytype),
	    UNIQUE KEY keytype (keytype),KEY keytype_2 (keytype)
	) TYPE=MyISAM;
	INSERT INTO dbinfo (keytype, keyvalue) VALUES ('dbversion','2004030400');		  
    PostgreSQL:
	CREATE TABLE dbinfo (
	    keytype VARCHAR(255) DEFAULT '' NOT NULL,
	    keyvalue VARCHAR(255) DEFAULT '' NOT NULL,
	    PRIMARY KEY (keytype)
	);
	INSERT INTO dbinfo (keytype, keyvalue) VALUES ('dbversion','2004030400');		  
  - dodany 'Raport sprzeday' czyli wydruk listy faktur za dany okres (alec)

version 1.3.0 Apophis (2004-02-18):

  - Smarty libs version change 2.5.0 -> 2.6.0 (alec)
  - added contrib/warn&msg (Rafa Ramocki/Tomasz Chiliski)
  - another database fix results from BTS#103 (alec)
    MySQL:
	ALTER TABLE `users` CHANGE `gguin` `gguin` INT(11) DEFAULT '0';
    PostgreSQL:
	UPDATE users SET gguin=0 WHERE gguin IS NULL;
	ALTER TABLE users UPDATE gguin SET DEFAULT 0;
	ALTER TABLE users UPDATE gguin SET NOT NULL;
  - in genfake.php added example payments generation (alec)
  - tariff and payments quarterly accounting, small systematization in 
    period column (accounting: 0-weekly, 1-monthly, 2-quarterly, 
    3-yearly) (alec)
	UPDATE assignments SET period = 4 WHERE period = 1;
	UPDATE assignments SET period = 1 WHERE period = 0;
	UPDATE assignments SET period = 0 WHERE period = 4;
	UPDATE assignments SET period = 3 WHERE period = 2;
	UPDATE payments SET period = 4 WHERE period = 1;
	UPDATE payments SET period = 1 WHERE period = 0;
	UPDATE payments SET period = 0 WHERE period = 4;
	UPDATE payments SET period = 3 WHERE period = 2;
  - default networklist sorting by name (alec)
  - list of devices for connection is sorted by name (alec)
  - fixed navigation on invoicelist - BTS#0000104 (alec)
  - changes in daemon reload method: from 'timestamps' table readed is
    time and compared with time from previous reload, '_force' record 
    isn't deleted, so there are no problems with many daemons (lexx/alec)
  - ethercodes.txt up-to-date (alec)
  - BTS#0000109: fixes of bugs on BSD systems in loadavg() and hostname() 
    from Sysinfo.class.php (sfor/alec)
  - now some MGC section can have 'instances' that he calls other subsections
    - for example - if we have 5 sections related to the dns (dns1... dns5) -
    we can build sth like that:

    [mgc:dns]
    instances = dns1 dns2 dns3 dns4 dns5

    and now we do run of lms-mgc like that:   lms-mgc -i dns
    not like:    lms-mgc -i "dns1 dns2 dns3 dns4 dns5"

    If section have 'instances' variable, that variable will be respected,
    and others settings in this section ignored (lukasz)
  - now you can set time of the finance operations (alec)
  - fixed e-mails formatting, removed empty lines (lexx)

version 1.1.8 Cronos (2004-02-01):

  - netdevmap uses PNG images (some systems don't support GIF format) (Lexx) 
  - fixed records accounting on empty lists, BTS#90 (alec)
  - added userlist sorting by sum of tariffs (alec)
  - fixed nodelist sorting by owner (alec)
  - added netdevlist sorting by number of taken ports (alec)
  - added checkbox 'print form again' in nodeadd (alec)
  - fixed errornous status setting during adding of nodes (alec)
  - documentation cleanup - pictures & commit logs removed,
    so don't be suprise tarball is smaller than 1.1.7 (alec)
  - added number checking in quick node and user seeking input box (alec)
  - lms-notify-sms for sms sending. Required gnokii package (hunter)
  - added 'mailing access' right (alec)
  - added IP and MAC address attribute for net devices (lexx/alec)
  - in genfake.php fixed cleanup of database and added net devices and netlinks
    data generation (alec)
  - BTS#0000092 fix in GetMACs() (alec)    
  - added deadline and payment type in invoices
    (lukasz):
    MySQL:
    	ALTER TABLE `invoices` ADD `paytype` VARCHAR(255) DEFAULT '' NOT NULL AFTER `paytime`;
    PostgreSQL:
	ALTER TABLE invoices ADD paytype VARCHAR(255);
	UPDATE invoices SET paytype='';
	ALTER TABLE invoices ALTER COLUMN paytype ADD NOT NULL; 
	ALTER TABLE invoices ALTER COLUMN paytype SET DEFAULT '';
  - 'permanent payments' (alec)
    MySQL:
    CREATE TABLE payments (
	id INT(11) NOT NULL auto_increment,
	name VARCHAR(255) NOT NULL default '',
	value DECIMAL(9,2) NOT NULL default '0',
	creditor VARCHAR(255) NOT NULL default '',
	period INT(11) NOT NULL default '0',
	at INT(11) NOT NULL default '0',
	description text,
	PRIMARY KEY  (id),
	UNIQUE KEY id (id),
	KEY id_2 (id)
    ) TYPE=MyISAM;
    PostgreSQL:
    CREATE SEQUENCE "payments_id_seq";
    CREATE TABLE payments (
	id integer DEFAULT nextval('payments_id_seq'::text) NOT NULL,
	name VARCHAR(255) DEFAULT '' NOT NULL,
	value NUMERIC(9,2) DEFAULT 0 NOT NULL,
	creditor VARCHAR(255) DEFAULT '' NOT NULL,
	period integer DEFAULT 0 NOT NULL,
	at integer DEFAULT 0 NOT NULL,
	description text,
	PRIMARY KEY (id)
    );
  - fixed data werification in tariffs: tariff value can be negative,
    tax value can not (alec)
  - on users list, exclamation mark instead of light bulb sign if user
    has no nodes (alec)
  - fixed network address translation in lms-makeiptables and
    lms-makeipchains resulting from address data type change (alec)
  - in perl-script's option 'networks' networks names can be lower case
    - important for PostgreSQL database, where queries are case-sensitive (alec)
  - new 'mailing' interface, added e-mail checking and not taking deleted
    users into account (alec)
  - in window 'LMS Informations' added DBMS version (alec)
  - database cosmetics consistent with BTS#000103, or else bug fixes 
    while backup restoring on later versions of postgres (alec)
    MySQL:
	ALTER TABLE `admins` CHANGE `lastlogindate` `lastlogindate` INT(11) DEFAULT '0';
	ALTER TABLE `admins` CHANGE `failedlogindate` `failedlogindate` INT(11) DEFAULT '0';
    PostgreSQL:
	UPDATE admins SET lastlogindate=0 WHERE lastlogindate IS NULL;
	UPDATE admins SET failedlogindate=0 WHERE failedlogindate IS NULL;	 
	ALTER TABLE admins UPDATE lastlogindate SET DEFAULT 0;
	ALTER TABLE admins UPDATE lastlogindate SET NOT NULL;
	ALTER TABLE admins UPDATE failedlogindate SET DEFAULT 0;
	ALTER TABLE admins UPDATE failedlogindate SET NOT NULL;
	
version 1.1.7 Hathor (2003-12-14):

  - networks address now are type of bigint, for conversions are used
    INET_NTOA() and INET_ATON() functions, so required higher versions of
    database (Mysql 3.23.xx, PostgreSQL 7.3.x) (alec):
    MySQL:
	UPDATE networks SET address=INET_ATON(address);
        ALTER TABLE networks CHANGE address address INT(16) UNSIGNED NOT NULL;
    PostgreSQL:
        CREATE OR REPLACE FUNCTION inet_ntoa(bigint) RETURNS text AS '
        SELECT 
    	    ($1/(256*256*256))::text
    	    ||''.''||
	    ($1/(256*256) - $1/(256*256*256)*256)::text
    	    ||''.''||
    	    ($1/256 - $1/(256*256)*256)::text
    	    ||''.''||
    	    ($1 - $1/256*256)::text;
	' LANGUAGE SQL;
	CREATE OR REPLACE FUNCTION inet_aton(text) RETURNS bigint AS '
	SELECT
    	    split_part($1,''.'',1)::int8*(256*256*256)+
    	    split_part($1,''.'',2)::int8*(256*256)+
    	    split_part($1,''.'',3)::int8*256+
    	    split_part($1,''.'',4)::int8;
	' LANGUAGE SQL;
	ALTER TABLE networks ADD ipaddr bigint;
        UPDATE networks SET ipaddr = inet_aton(address); 
        ALTER TABLE networks DROP COLUMN address;
        ALTER TABLE networks RENAME COLUMN ipaddr to address;
        ALTER TABLE networks ALTER COLUMN address set NOT NULL;

  - IP address conversion int<->char taken to database, not PHP (alec)
  - fixed contrib/customer for new construction LMS() and 'initLMS.php'
    in contrib - example file explains LMS's class initialization (lukasz)
  - fixed bug in lms-payments, while invoices generation, when pesel field
    was empty (MaReK/lukasz)
  - added ownerid sorting on nodes list (alec)
  - taken to database polish special characters capitalization (alec)
  - change of monetary columns data type (hunter/alec/lukasz)
    MySQL:
	ALTER TABLE cash MODIFY value DECIMAL(9,2);
	ALTER TABLE tariffs MODIFY value DECIMAL(9,2);
	ALTER TABLE invoicecontents MODIFY value DECIMAL(9,2);
	ALTER TABLE invoicecontents MODIFY taxvalue DECIMAL(9,2);
	ALTER TABLE invoicecontents MODIFY count DECIMAL(9,2);
	ALTER TABLE tariffs MODIFY taxvalue DECIMAL(9,2);
    PostgreSQL:    
	ALTER TABLE cash ADD val numeric(9,2);
	UPDATE cash SET val=value;
	ALTER TABLE cash ALTER val SET NOT NULL;
	ALTER TABLE cash ALTER val SET DEFAULT 0;
	ALTER TABLE cash DROP COLUMN value;
	ALTER TABLE cash RENAME val TO value;	
	ALTER TABLE tariffs ADD val numeric(9,2);
	ALTER TABLE tariffs ADD taxv numeric(9,2);
	UPDATE tariffs SET val=value;
	UPDATE tariffs SET taxv=taxvalue;
	ALTER TABLE tariffs ALTER val SET NOT NULL;
	ALTER TABLE tariffs ALTER val SET DEFAULT 0;
	ALTER TABLE tariffs DROP COLUMN value;
	ALTER TABLE tariffs RENAME val TO value;	
	ALTER TABLE tariffs ALTER taxv SET NOT NULL;
	ALTER TABLE tariffs ALTER taxv SET DEFAULT 0;
	ALTER TABLE tariffs DROP COLUMN taxvalue;
	ALTER TABLE tariffs RENAME taxv TO taxvalue;
	ALTER TABLE invoicecontents ADD val numeric(9,2);
	ALTER TABLE invoicecontents ADD taxv numeric(9,2);
	ALTER TABLE invoicecontents ADD cnt numeric(9,2);
	UPDATE invoicecontents SET val=value;
	UPDATE invoicecontents SET taxv=taxvalue;
	UPDATE invoicecontents SET cnt=count;
	ALTER TABLE invoicecontents ALTER val SET NOT NULL;
	ALTER TABLE invoicecontents ALTER val SET DEFAULT 0;
	ALTER TABLE invoicecontents ALTER taxv SET NOT NULL;
	ALTER TABLE invoicecontents ALTER taxv SET DEFAULT 0;
	ALTER TABLE invoicecontents ALTER cnt SET NOT NULL;
	ALTER TABLE invoicecontents ALTER cnt SET DEFAULT 0;
	ALTER TABLE invoicecontents DROP COLUMN value;
	ALTER TABLE invoicecontents RENAME val TO value;
	ALTER TABLE invoicecontents DROP COLUMN taxvalue;
	ALTER TABLE invoicecontents RENAME taxv TO taxvalue;
	ALTER TABLE invoicecontents DROP COLUMN count;
	ALTER TABLE invoicecontents RENAME cnt TO count;	
  - added possibility to invoicing in PHP-UI (lukasz)
  - standardized reload for almsd and ui, now almsd reloads with standard 
    ui settings (reload table isn't needed) (Lexx)

version 1.1.6 Seth (2003-12-08):

  - misprint: http://bts.lms.org.pl/bug_view_page.php?bug_id=0000088
    (chilek/lukasz)
  - fixed upgrade module:
    http://bts.lms.org.pl/bug_view_page.php?bug_id=0000085 (chilek/lukasz)
  - fixed tariff adding (alec)
  - bugfix in lms-makearp
    http://bts.lms.org.pl/bug_view_page.php?bug_id=0000086 (chilek/lukasz)
  - tariff description can be NULL (alec)
    MySQL:
    	ALTER TABLE tariffs CHANGE description description text;
    PostgreSQL:
    	ALTER TABLE tariffs ALTER COLUMN description DROP NOT NULL;  

version 1.1.5 Amaonet (2003-12-04):

  - added options for owner and permissions for script files maked
    with lms-traffic-* (lukasz)
  - contrib/customer adapted for new database API
  - added possibility of netdevices and nodes connection/diconnection
    with other netdevice while editing them (alec)
  - correction in function ScanNodes() preventing errors while nbtscan
    programm is missing (alec)
  - node search by address fixed, text searching by part of address added (alec)
  - added deleted nodes stats on stat bars and added option for deleting
    this in database compacting process (alec) 
  - added possibility of netdevices exchange (lexx)
  - fixed bugs on private address recognition in scripts and misprint in
    lms-iptables (lukasz/wojboj)
  - lms-notify adjusted for new finances (lukasz)
  - in /daemon directory has become alfa version of programm for config
    generation and services reloading (alec)
  - in index.php new config file parsing function, fully compatible 
    with daemon and partly with lms-mgc (alec)
  - in lms.pgsql added SQL functions inet_ntoa() i inet_aton() for
    future applications (alec)
  - fixed errornous users accounting in welcome screen (alec)
  - fixed default values in useradd form (alec)
  - deleting of user on the list not causing userinfo to expose (alec)
  - invoices are done - now are realy pretty and that require database
    change (lukasz):
    MySQL:
	ALTER TABLE `tariffs` ADD `taxvalue` INT DEFAULT '0' NOT NULL AFTER `value`;
	ALTER TABLE `tariffs` ADD `sww` VARCHAR(255) DEFAULT '' AFTER `taxvalue`;
	ALTER TABLE `assignments` ADD `invoice` TINYINT( 1 ) DEFAULT '0' NOT NULL;
	ALTER TABLE `cash` ADD `invoiceid` INT DEFAULT '0' NOT NULL ;
    PostgreSQL:
	ALTER TABLE tariffs ADD taxvalue integer;
	ALTER TABLE tariffs ALTER taxvalue SET DEFAULT 0;
	UPDATE tariffs SET taxvalue=0;
	ALTER TABLE tariffs ALTER taxvalue SET NOT NULL;
	ALTER TABLE tariffs ADD sww varchar(255);
	ALTER TABLE tariffs ALTER sww SET DEFAULT NULL;
	ALTER TABLE assignments ADD invoice smallint;
	ALTER TABLE assignments ALTER invoice SET DEFAULT 0;
	UPDATE assignments SET invoice=0;
	ALTER TABLE assignments ALTER invoice SET NOT NULL;
	ALTER TABLE cash ADD invoiceid;
	ALTER TABLE cash ALTER invoiceid SET DEFAULT 0;
	UPDATE cash SET invoiceid=0;
	ALTER TABLE cash ALTER invoiceid SET NOT NULL;
    MySQL:
	CREATE TABLE invoices (
    	    id INT NOT NULL AUTO_INCREMENT ,
    	    number INT NOT NULL ,
    	    cdate INT NOT NULL ,
    	    paytime TINYINT( 8 ) NOT NULL ,
    	    customerid INT NOT NULL ,
    	    name VARCHAR( 255 ) NOT NULL ,
    	    address VARCHAR( 255 ) NOT NULL ,
    	    nip VARCHAR( 16 )DEFAULT '' ,
    	    zip VARCHAR( 6 ) NOT NULL ,
    	    city VARCHAR( 32 ) NOT NULL ,
    	    phone VARCHAR( 255 ) NOT NULL ,
    	    finished TINYINT( 1 ) NOT NULL DEFAULT '0',
    	    PRIMARY KEY (id),
    	    UNIQUE KEY id (id),
    	    KEY id_2 (id)
	) TYPE=MyISAM;
	CREATE TABLE invoicecontents (
    	    invoiceid INT NOT NULL ,
    	    value DOUBLE NOT NULL ,
    	    taxvalue INT NOT NULL ,
	    sww VARCHAR( 255 ) DEFAULT '',
    	    content VARCHAR( 16 ) NOT NULL ,
    	    count INT NOT NULL ,
	    description VARCHAR( 255 ) NOT NULL ,
	    tariffid INT NOT NULL
	);
    PostgreSQL:
	CREATE SEQUENCE "invoices_id_seq";
	CREATE TABLE invoices (
	    id integer DEFAULT nextval('invoices_id_seq'::text) NOT NULL,
    	    number integer NOT NULL,
    	    cdate integer NOT NULL,
    	    paytime smallint NOT NULL,
    	    customerid integer NOT NULL,
    	    name varchar(255) NOT NULL,
    	    address varchar(255) NOT NULL,
    	    nip varchar(16) DEFAULT NULL,
    	    zip varchar(6) NOT NULL,
    	    city varchar(32) NOT NULL,
    	    phone varchar(255) NOT NULL,
    	    finished smallint DEFAULT 0 NOT NULL,
	    PRIMARY KEY (id)
	);
	CREATE TABLE invoicecontents (
	    invoiceid integer NOT NULL,
	    value float4 NOT NULL,
	    taxvalue integer NOT NULL,
	    sww varchar(255) DEFAULT NULL,
	    content varchar(16) NOT NULL,
	    count integer NOT NULL,
	    description varchar(255) NOT NULL,
	    tariffid integer NOT NULL
	);	 
  - removed %TID and %TVAL from lms-mgc (lukasz)
  - added PESEL column in user record, database upgrade (lukasz):
    MySQL:
	ALTER TABLE `users` ADD `pesel` VARCHAR(11) DEFAULT '' AFTER `nip`;
	ALTER TABLE `invoices` ADD `pesel` VARCHAR(11) DEFAULT '' AFTER `nip`;
    PostgreSQL:
	ALTER TABLE users ADD pesel varchar(11);
	ALTER TABLE users ALTER pesel SET DEFAULT NULL;
	ALTER TABLE invoices ADD pesel varchar(11);
	ALTER TABLE invoices ALTER pesel SET DEFAULT NULL;

    If user has no NIP, then to invoice goes PESEL.
  - for invoices added place of putting out (lukasz);
  - terminology change: 'sww' to 'pkwiu' (lukasz);
    MySQL:
	ALTER TABLE `tariffs` CHANGE `sww` `pkwiu` VARCHAR( 255 );
	ALTER TABLE `invoicecontents` CHANGE `sww` `pkwiu` VARCHAR( 255 );
    PostgreSQL:
	ALTER TABLE tariffs RENAME sww TO pkwiu;
	ALTER TABLE invoicecontents RENAME sww TO pkwiu;  

version 1.1.4 Tanith (2003-10-03):
  
  - tariff list not accounts deleted users (lukasz)
  - added new field on network list: interface - very usefull with making
    iptables/ipchains/htb scripts when we have networks on different 
    interfaces, in lms-mgc named %IFACE, %DIFACE and %NIFACE,
    like allways database format upgrade needed (lukasz):
    MySQL:
        ALTER TABLE networks ADD interface VARCHAR(8) AFTER mask;
    PostgreSQL:
    	ALTER TABLE networks ADD interface VARCHAR(8);
  - removed misprint causing MySQL's driver looses host informations from
    lms.ini then allways try to connect with localhost (lukasz)
  - reload.php used obsolete sqlTSfmt() (lexx/lukasz)
  - newly added node have access by default (lukasz)
  - amount of networks on summary was incremented by 2 (lukasz)
  - source code cosmetics (s/this->ADB->/this->DB->/g and others) (lukasz)
  - added traffic-stats module (taken from contrib) and bin/lms-traffic, 
    required table 'stats' creation for them: (alec)
    MySQL:
	DROP TABLE IF EXISTS stats;
	CREATE TABLE stats (
	    nodeid int(11) NOT NULL DEFAULT '0',
	    dt int(11) NOT NULL DEFAULT '0',
	    upload int(11) DEFAULT '0',
	    download int(11) DEFAULT '0',
	    PRIMARY KEY (nodeid, dt)
	) TYPE=MyISAM;
    PostgreSQL:
	DROP TABLE stats;
	CREATE TABLE stats (
	    nodeid integer DEFAULT 0 NOT NULL,
	    dt integer DEFAULT 0 NOT NULL,
	    upload integer DEFAULT 0,
	    download integer DEFAULT 0,
	    PRIMARY KEY (nodeid, dt)
	);    
  - new documentation (sgml/html/txt) (alec)
  - bugfix allowing mac address with '-' char writing while node edition - now, 
    like while adding - changing all '-' for ':' (lukasz)
  - small change of philosophy in tariffs table - 'NULL' is not set limit, '0'
    is a limit lack - why? you learn at eny day ;-) (lukasz):
    MySQL:
	ALTER TABLE tariffs CHANGE uprate uprate INT(11), CHANGE downrate downrate INT(11); 
    PostgreSQL:
	ALTER TABLE tariffs ALTER uprate DROP NOT NULL;
	ALTER TABLE tariffs ALTER uprate DROP DEFAULT;
	ALTER TABLE tariffs ALTER downrate DROP NOT NULL;
	ALTER TABLE tariffs ALTER downrate DROP DEFAULT;
  - 'small' rewolution in finances, and 'big' database upgrade, but i think
    you cope with this (lukasz):
    
    0) COMPLETELY do database backup.
    
    1) Create table 'assignments':
    MySQL:
    DROP TABLE IF EXISTS assignments;
    CREATE TABLE assignments (
    	id int(11) NOT NULL auto_increment,
	tariffid int(11) NOT NULL default '0',
	userid int(11) NOT NULL default '0',
	period int(11) NOT NULL default '0',
	at int(11) NOT NULL default '0',
	PRIMARY KEY  (id),
	UNIQUE KEY id (id),
	KEY id_2 (id)
    ) TYPE=MyISAM;
    
    PostgreSQL:
    DROP SEQUENCE "assignments_id_seq";
    CREATE SEQUENCE "assignments_id_seq";
    DROP TABLE assignments;
    CREATE TABLE assignments (
    	id integer default nextval('assignments_id_seq'::text) NOT NULL,
	tariffid integer default 0 NOT NULL,
	userid integer default 0 NOT NULL,
	period integer default 0 NOT NULL,
	at integer default 0 NOT NULL,
	PRIMARY KEY (id)
    );
    2) Run 'upgrade01' module - that means, after login write in url
    at the end '?m=upgrade01', i.e. 'http://serwer.pl/lms/?m=upgrade01'. 
    CAUTION! Run that module ONLY one time. If you run them couple of times,
    you destroy your database.

    3) Now cleanup of useless database columns:
    MySQL:
	ALTER TABLE users DROP tariff, DROP payday;
    PostgreSQL:
	ALTER TABLE users DROP tariff; ALTER TABLE users DROP payday;	

    4) Write in cron lms-payments for runing everyday at 0:00.

    5) Voila.

  - new script in bin: lms-traffic-logiptables, logs transfers to log
    accepted by alec's lms-traffic, more info in sample/lms.ini (lukasz)
  - code optymalization at many places (lukasz)
  - network devices list, so far stupid and ugly, but working
    of course needed new table (lexx)
    MySQL:
    DROP TABLE IF EXISTS netdevices;
    CREATE TABLE netdevices (
        id int(11) NOT NULL auto_increment,
        name varchar(32) default NULL,
        description varchar(255) default NULL,
        producer varchar(64) default NULL,
        model varchar(32) default NULL,
        serialnumber varchar(32) default NULL,
        ports int(10) default NULL,
        PRIMARY KEY  (id),
        KEY name (name)
    ) TYPE=MyISAM;

    PostgreSQL:
    DROP SEQUENCE "netdevices_id_seq";
    CREATE SEQUENCE "netdevices_id_seq";
    DROP TABLE netdevices;
    CREATE TABLE netdevices (
        id integer default nextval('netdevices_id_seq'::text) NOT NULL,
        name varchar(32) default NULL,
        description varchar(255) default NULL,
        producer varchar(64) default NULL,
        model varchar(32) default NULL,
        serialnumber varchar(32) default NULL,
        ports integer default NULL,
        PRIMARY KEY (id)
    );
  - netdevices - added 'location' column (lexx)
    MySql:
	ALTER TABLE `netdevices` ADD `location` VARCHAR( 255 ) AFTER `name` ;
    PosgreSQL:
	ALTER TABLE netdevices ADD COLUMN location varchar(255);
  - for 'Stats' module added database compacting possibility (alec)
  - fixed http://bts.lms.org.pl/bug_view_page.php?bug_id=0000072 (lukasz)
  - at present arp table records '00:00:00:00:00:00' are not ignored, but
    static records (0x6/PERM) are (lukasz)
  - still netdev, now we break down the links (Lexx)
    MySql:
	CREATE TABLE netlinks (
	  id int(11) NOT NULL auto_increment,
	  src int(11) NOT NULL default '0',
	  dst int(11) NOT NULL default '0',
	  PRIMARY KEY  (id)
	) TYPE=MyISAM;
    PosgreSQL"
	CREATE SEQUENCE "netlinks_id_seq";
	CREATE TABLE netlinks (
	  id integer default nextval('netlinks_id_seq'::text) NOT NULL,
	  src integer default 0 NOT NULL,
	  dst integer default 0 NOT NULL,
	  PRIMARY KEY  (id)
	);
  - nodes can be linked to netdevices (Lexx)
    MySql:
	ALTER TABLE `nodes` ADD `netdev` INT(11) NOT NULL default '0' AFTER `modid` ;
    PosgreSQL:
	ALTER TABLE nodes ADD netdev integer;
	ALTER TABLE nodes ALTER COLUMN netdev SET default 0;
	UPDATE nodes SET netdev = 0;
	ALTER TABLE nodes ALTER COLUMN netdev SET NOT NULL;  	
  - update 'nodesearch' module (alec)
  - bugfixes in GetTariff() on postgres (alec)
  - errors are now popups (lukasz)
  - new script - bin/lms-traffic-htbiptlimits - for traffic limiting (lukasz)
  - new files doc/UPGRADE.mysql, doc/UPGRADE.pgsql for database upgrade
    since 1.0 to 1.1 version (alec)
  - lms-payments not writing to table 'cash' if load value is zero (lukasz)
  - changes in docs (lukasz):
    - removed INSTALL.*
    - new README and README.html - user manual
    - cleanup
  - fixed (I hope so) error handling - now we have tooltips (lukasz)
	
version 1.1.3 (2003-08-29):

  - changed users philosophy - now user deletion not delete them really,
    but only hidding and is possible get them by his ID, hi can by searched,
    but adding nodes is not possible, on userlist hi is invisible, however
    in his userinfo is note that hi is deleted. Of course database
    modification needed: (lukasz)
    MySQL:
	ALTER TABLE users ADD deleted BOOL DEFAULT '0' NOT NULL;
    PostgreSQL:
	ALTER TABLE users ADD deleted int2;
	UPDATE users SET deleted=0;
	ALTER TABLE users ALTER COLUMN deleted SET DEFAULT 0;
	ALTER TABLE users ALTER COLUMN deleted SET NOT NULL;
    (if you do this on ENUM
    MySQL:
 	ALTER TABLE users CHANGE deleted deleted CHAR(1) DEFAULT 'N' NOT NULL;
	UPDATE users SET deleted=1 WHERE deleted='Y';
	UPDATE users SET deleted=0 WHERE deleted='N';
	ALTER TABLE users CHANGE deleted deleted BOOL DEFAULT '0' NOT NULL;
    PostgreSQL: the same method like with 'access' column in table 'nodes')
  - IP address format change, database upgrade: (lukasz):
    MySQL:
        UPDATE nodes SET ipaddr=INET_ATON(ipaddr);
	ALTER TABLE nodes CHANGE ipaddr ipaddr INT(16) UNSIGNED NOT NULL;
    PostgreSQL:
	UPDATE nodes SET ipaddr=(split_part(ipaddr,'.',1)::int4*(256^3)+
				split_part(ipaddr,'.',2)::int4*(256^2)+
				split_part(ipaddr,'.',3)::int4*256+
				split_part(ipaddr,'.',4)::int4);
	ALTER TABLE nodes ADD ipaddr2 BIGINT;
	UPDATE nodes SET ipaddr2 = ipaddr::text::int8; 
	ALTER TABLE nodes DROP COLUMN ipaddr;
	ALTER TABLE nodes RENAME COLUMN ipaddr2 to ipaddr;
	ALTER TABLE nodes ALTER COLUMN ipaddr set NOT NULL;

  - change of recording method of nodes access - now is not a stupid char, but
    boolean (that means MySQL try to imitate boolean on tinyint), and
    another upgrade (lukasz):
	UPDATE nodes SET access='1' WHERE access='Y';
	UPDATE nodes SET access='0' WHERE access='N';
	ALTER TABLE nodes CHANGE access access BOOL NOT NULL DEFAULT '1';
    and in PostgreSQL columns are type of int2:
	UPDATE nodes SET access= CASE access WHEN 'Y' THEN '1' ELSE '0' END;
	ALTER TABLE nodes ADD access2 int2; 
	UPDATE nodes SET access2 = access::text::int2; 
	ALTER TABLE nodes DROP COLUMN access;
	ALTER TABLE nodes RENAME COLUMN access2 TO access;
	ALTER TABLE nodes ALTER COLUMN access SET NOT NULL;
	ALTER TABLE nodes ALTER COLUMN access SET DEFAULT 0;
    additional database improving operations (zalecane):
    MySQL:
	ALTER TABLE nodes CHANGE ownerid ownerid INT(11) DEFAULT '0' NOT NULL;
	ALTER TABLE nodes CHANGE mac mac VARCHAR(20) NOT NULL;
    PostgreSQL:
	ALTER TABLE nodes ALTER COLUMN ownerid SET DEFAULT '0'; 
	ALTER TABLE nodes ALTER COLUMN mac SET NOT NULL;
	
  - source optimized for big networks printing (lukasz)
  - transactions while database backup restoring again enabled (lukasz)
  
version 1.1.2 (2003-08-24):

  - new substitution (%date_month_name) in mail templates, resolves into
    current month name, based on locales.
  - added possibility of custom invoicing (Lexx)
  - additional option %date_month_name in mailingu templates, solved for
    actual month name (acc. LC_NUMERIC? hunter)
  - some changes in docs concerning postgres, lms.pgsql upgrade (alec)
  - humanization of empty admins table detection - now, when that table is 
    empty LMS allows adminadd module access (lukasz)
  - in lms-mgc network address and broadcast are ignored while rules
    generation (lukasz)
  - while MAC's selection entries '00:00:00:00:00:00' and 'FF:FF:FF:FF:FF:FF' 
    are ignored (lukasz)
  - new toy in /contrib - bandlogger+htblimiter - supporting HTB and 
    iptables (lukasz)
  - is done - ADOdb is not required - LMS have own libs for mysql and
    postgres databases (lukasz)
  - changed all '<?' (short PHP tags) to '<?php' - that should be at the
    beginning, but who go to fall into that? (lukasz)

version 1.1.1 (2003-08-09):

  - new possibility of indebted users printing (MichalZ)
  - added %TID (tariff id) and %TVAL (tariff value) in lms-mgc (lukasz)
  - removed problems with sorting change on indebted or disconnected 
    users (lukasz)
  - Opera browser bugfix (change exit(0) to die) (lukasz)
  - added possibility of payments day setting, needed SQL change:
    MySQL: 
	ALTER TABLE `users` ADD `payday` INT DEFAULT '5' NOT NULL;
    PostgreSQL: 
	ALTER TABLE users ADD payday integer;
	ALTER TABLE users ALTER COLUMN payday SET DEFAULT 0;
	ALTER TABLE users ALTER COLUMN payday SET NOT NULL;
    where in place of '5', can be write default payments day (lukasz)
  - related to upper, not exist lms-eachmonth, now is lms-payments, 
    which must be run everyday with cron! (lukasz)
  - source cleanup (lukasz)
  
version 1.1.0 (2003-06-23):

  - secondary nameserver support (%DNS2 in lms-mgc); database modification needed:
    MySQL:	
	ALTER TABLE `networks` ADD `dns2` VARCHAR( 16 ) AFTER `dns`;
    PostgreSQL: 
	ALTER TABLE networks ADD dns2 VARCHAR(16);
  - if the lms.ini file exists in the same directory as index.php, LMS will use it instead of /etc/lms/lms.ini;
  - default values for address, city and postal code can now be set for adding users;
  - new file: ChangeLog.en (warden)
  - not used table 'options' removed and lms.mysql refreshed (lukasz)

version 1.0.0 (2003-05-18):

  - icons have been changed (Yeah, they are awful, but nobody has done any better)
  - some documentation. Not much but better than nothing. Any volunteers to write? :-)
  - uff...

version 1.0.0rc1 (2003-05-17):

  - docs incoming (Lexx)
  - some cleaning in LMS.class.php (lukasz)
  - contrib/customers - simple layout for curious lusers. As an effect, the awful (?! -> warden)
    button on the front page of LMS has disappeared. (lukasz)
  - different access levels (basic) (lukasz)
  - lms-notify corrected (lukasz)
  - add 'useful links' to the greeting page (lukasz)
  - printing layouts corrected: lists by the actual filter and without it (warden)
  - added 'scan' option when adding a new node - searches for hosts with nbtscan (kennyGRV/lukasz)
  - added NIC manufacturer info in nodeinfo box (lukasz)
  - showing miscalculated last financial operations bug - fixed (lukasz)
  - some icons have been changed (lukasz)
  - back redirects fixed (lukasz)
  - bogon browsers supports (some browsers do referrer rigging when logging out) (lukasz)
  - host information added on the top of the login page (warden & lukasz)
  - lms-scripts back in bin/ (lexx & lukasz)
  - lms-notify finally works.
  - mail template changed (byko/lukasz)
  - email schema checking fixed (repcio/lukasz)
  - a lot of cleaning :-)
  
version 1.0pre10 (2003-04-15):

  - poprawki zgodnoci ze Smarty-2.5.0 (niestety, automatycznie 2.5.0 jest
    wymagane przez LMS'a)
  - usunite zbdne title w licie userw
  - poprawione wywietlanie nazwiska usera w popupie od usuwania usera
  - na stronie powitalnej troch statystyk
  - usunity dosy powany bd w lib/Session.class.php
  - jak zwykle kosmetyka (literwki i tym podobne)
  - logosy by Pierzak

version 1.0pre9 'CVS-Has-Been-Crashed-Edition' (2003-04-13):
  
  - wymaga Smarty-2.4.2
  - tooltips
  - force ssl
  - przy dodawaniu usera domylna taryfa to nie ta najdrosza, a ta
    najczciej uywana
  - nazwa sieci moe ju zawiera kropk
  - nazwa komputera moe zawiera _ (podkrelenie)
  - sporo kosmetyki (popupy i opisy pl formularzy)
  - logosy by Pierzak

version 1.0pre8 (2003-03-30):

  - poprawiony bug z edycj uytkownika i traceniem zawartoci pola z
    komentarzem
  - przeniesiony formularz dodawania sieci do oddzielnej strony
  - poprawione kilka innych bugw	

version 1.0pre7 (2003-03-24):

  - poprawiony powany bug w lms-mgc powodujcy traktowanie jako
    prywatnej sieci tylko 192.168.1.0/24 a nie 192.168.0.0/16
  - zrobiona lista uytkownikw odczonych i zaduonych
  - poprawione dodawanie userw (nie dodawali si lub imi nie zostawao
    zapisywane (BTS: 0000019)
  - w przypadku odrzucenia danych do dodania uytkownika gubio si miasto w
    fromularzu
  - poprawione templejty tak by LMS by zgodny ze Smarty'm 2.4.2

version 1.0pre6 (2003-03-17):

  - moliwo edycji imienia i nazwiska uytkownika
  - sporo kosmetyki, poprawek w sortowaniu i nie tylko
  - SetBalanceZERO w LMS.class.php zeruje saldo
  - %abonament zmienia si w kwot abo zapisan w tariffs.value
  - usunite polskie locales, sprawiao to wicej problemw
    ni poytku
  - may update dokumentacji
  - dodany katalog contrib z rnymi dodatkami do LMS
  - dodano lms.spec do contrib/ zgodnego ze specyfikacj PLD
  - atka usprawniajca odpalenie LMS w PLD
  - support do pustych hase
  - zrobiony usersearch, nodesearch i par innych rzeczy ;)
  - sprawdzenie stanu konta przez usera
  - czciowo wydruki
  - dodane adne cacune i sodkie README
  - poprawiony pagelimiter w licie uytkownikw
  - opcja wczajca sharing mac-addr
  - automagiczna instalacja domylnego admina z poziomu pliku lms.mysql
  - pole "Imi" moe by puste

version 1.0pre5 (2003-01-26):
 
  - PLIKI KONFIGURACYJNE PRZENIESIONE DO KATALOGU /etc/lms/ !!!
  - podzia listy uytkownikw na strony
  - poprawiony bug przy dodawaniu nowego usera
  - Pamitanie ostatniej wybranej podsieci i ostatniego wpisanego 
    komentarza do wpat
  - przykadowe configi przeniesione do sample
  - utworzony katalog ze skryptami perlowymi - bin - znadjduj si
    tam niektre skrypty z moduu lms-scripts
  - oddzielny formularz do dodawania nowych operacji finansowych
  - informacje o taryfie i moliwo jej edycji wreszcie.
  - poprawione parsowanie wprowadzanych danych w niektrych miejscach
    poprzez uycie regexpw (dziki mteg za podsunicie pomysu)
  - dodano nowe pola w tablicy z uytkownikami, aby je wykorzysta i
    bezproblemowo mc ich uywa naley wykona nastpujce komendy z
    poziomu klienta mysql:

    ALTER TABLE `users` ADD `gguin` INT AFTER `phone3`;
    ALTER TABLE `users` ADD `zip` VARCHAR(6) AFTER `address` ,
    ADD `city` VARCHAR(32) AFTER `zip`, ADD `nip` varchar(16) AFTER `city`;
  - dodano opcj do lms-notify:
      -D, --template-file=/etc/lms/another.template.txt
    uruchamia ona alternatywny plik template, przydatne przy wysyaniu
    upomnienia, etc.
  - Teraz %b we wzorcu wiadomoci rozwija si do - (saldo) (czyli jest to
    kwota do zapaty, ksigowi nie znaj liczb ujemnych :)
    %date-y %date-m %desc rozwijaj si odpowiednio do: aktualnego roku,
    nazwy miesica (set LANG=pl ?) i opisu pakietu z tariffs.
    %last_10_in_a_table zmienia si w maksymalnie 10 ostatnich operacji na
    koncie.
	  
version 1.0pre4 (2003-01-21):

  - pene przeportowanie obsugi SQL'a na ADODB
  - support do MySQL i PostgreSQL
  - pola uprate i downrate w taryfach. upgrade:
  
    ALTER TABLE tariffs ADD uprate INT DEFAULT '0' NOT NULL AFTER
    value , ADD downrate INT DEFAULT '0' NOT NULL AFTER uprate;

  - poprawka kolumny table na tablename w timestamps. upgrade:

    ALTER TABLE `timestamps` CHANGE `table` `tablename` VARCHAR( 255 ) 
    NOT NULL

  - lista uytkownikw: dodana kwota abonamentu miesicznego poniej
    aktualnego salda uytkownika (Goblin)
  - lista uytkownikw: uytkownik ktrego komputery s odczone
    jest pokazywany na szaro
  - wyszukiwanie uytkownikw;
  - oddzielny formularz dodawania uytkownikw;
  - wyszukiwanie uytkownikw;
  - moliwo zdefiniowania sposobu reloadu (albo via sql, albo exec
    jakiej komendy);
  - poprawki w dodawaniu taryf;
  
version 1.0pre3 (2002-12-27):

  - poprawione pobieranie hostname i uptime (Marcoos)
  - zmiana typu kolumny value w tabeli cash z float na double
  - zmiana typu kolumny value w tabeli tariffs z float na double
  - dodane blokowanie dostpu do aplikacji poza okrelonymi hostami
    lub klasami adresowymi
  - poprawka parsowania cieek do katalogw z configa

version 1.0pre2 (2002-12-25):

  - parsowanie configa nie zapisuje odrazu zmiennych odczytanych
    z ini jako globalnych, a do tablicy $_CONFIG (nie mona napisa 
    niczego poprzez plik ini)
  - dodane sprawdzanie czy istniej katalogi backups i templates_c 
    oraz czy mona do nich zapisywa
  - naprawiony modu od dodawania taryf
  - posprztane w niektrych plikach
  - poprawiony plik doc/lms.mysql i doc/INSTALL

version 1.0pre1 (2002-12-24):

  - przepisane obiektowo
  - napisane z wykorzystaniem engine'u template'owego Smarty
  - dodana opcja mailingu
  - bardzo fajne sortowanie (tm) :-)
  - wprowadzone cacheowanie wynikw (nawala, ale co tam dziaa)

version 0.4:

  - napisana od nowa, cakowicie z wykorzystaniem sesji, oraz
    paru uatwie jeeli chodzi o SQL'a
  - dodana moliwo definicji podsieci, nie ma ju
    koniecznoci dubania w rdach aby zmieni ustawienia
    podsieci
  - serwer jest konfigurowany poprzez demona w perlu, suchajcego
    na sockecie TCP/IP
  - rozbudowane sortowanie
  - dane administratorw s trzymane w bazie danych i nie trzeba
    rcznie ustawia hase w pliku .htpasswd

version 0.3:
   
  - obsuga finansw i rozlicze uytkownikw

version 0.2:

  - obsuga komputerw, generowanie plikw od maskarady na iptables i od
    DHCP
  - pomoc w wyszukiwaniu mac-adresw poprzez listowanie widocznych adresw w
    trakcie dodawania

version 0.1:

  - autoryzacja oparta o .htpasswd w serwerze www
  - prosta baza uytkownikw zawierajca dane osobowe oraz status
    uytkownikw
