Changed the gnucomo_database class to the new PostgreSQL
[gnucomo.git] / ChangeLog
1 Aug 15, 2003 - Release 0.0.7
2 ====================================
3
4 Database
5 ---------
6
7 - Added index to the history table to improve performance.
8
9 gcm_input
10 ----------
11
12 - Added a new section 'logging' with three configuration parameters:
13    method       - Output method to use for logging.
14    destination  - Name of the log output destination.
15    level        - Log level: Verbose output if greater than 0.
16 - Added '-i' option for incremental parameter updates.
17 - Debug output to the log stream instead of cerr.
18 - Fixed namespace problems in XPath searches of the DOM.
19 - Moved string utility functions to a separate file.
20 - Different kinds of log files are parsed by a collection of objects
21   of different classes, derived from the base class line_cooker
22   Depending on the message content or the message_type element in
23   XML, one of these objects is selected.
24 - Logrunner is integrated with gcm_input. Although its functionality
25   is still limited, a connection between logrunner and gcm_input
26   is beginning to form.
27
28 gcm_daemon
29 ----------
30
31 - BUGFIX: Print an error message if a parameter does not have
32   any history.
33 - BUGFIX: undefined variables and indices when processing sendmail logs.
34
35 web interface
36 --------------
37
38 - BUGFIX: Convert special characters for HTML (<, >, and &) into
39   their entities.
40 - BUGFIX: Removed parameters were somtimes shown on the wrong side
41   of the parameter difference page.
42 - Added performance measurement to the parameters page.
43 - Added editing of detailed object information.
44
45 Jul 15, 2003 - Release 0.0.6
46 ====================================
47
48 - Gcm_input reads IRIX system logs.
49 - Gcm_input exits without reading any input if the database connection fails.
50 - Gcm_input extracts the hostname out of the 'From:' or 'Message-Id:' line
51   of an email header.
52 - New member C++ function gnucomo_database::is_conected().
53 - New columns in the table 'log_adv_daemon_email': size, pri, relay,
54   status_details and dsn.
55 - Added several indices for the table 'log_adv_daemon_email'.
56 - In phpclasses/db.class.php: Added the database connection string as
57   an argument to the function copy_db_class.
58 - Gcm_daemon processes logs from sendmail.
59 - Fixed the PHP member function db::db_connect(). The Postgres connection
60   string is now passed as an argument to that function.
61 - Gcm_input reads cooked log entries from an XML input stream.
62 - New database tables: notification_check, notification_check_buffer,
63   notification_check_line and object_statistics.
64 - PHP function db::query() returns the result index.
65 - PHP function db::num_rows() accepts a result index as argument
66   (default = 0 -> use result from the previous query).
67 - New PHP function db::fetch_object().
68 - Gcm_daemon gathers statistics on parameters, notifications, etc. for all objects.
69 - The Objects web page uses the new object_statistics table.
70 - The Log web page shows the log one day at a time.
71 - Removed parameters are displayed in a shaded style.
72
73 Feb 21, 2003 - Release 0.0.5
74 ====================================
75
76 - The notifications web page keeps a record of each time a notification
77   is displayed. Either on a listing or in detail.
78 - Improved the table layout of the objects web page.
79 - In the users page of the web interface, you can add a new user and
80   make him/her a member of a group.
81 - Users can change their password through the users page of the web interface.
82 - Gcm_input also detects packages that are removed from the system.
83 - In gcm_input, determining the version number of a package in a RPM
84   list is improved. Only the last one or two parts of the string that
85   begin with a '-' and a number are considered the version.
86 - The C++ function gnucomo_database::new_notification() uses the SQL
87   function currval() to obtain the identification number
88   of the most recently created notification.
89 - The C++ class gnucomo_database prints the query on cerr, along
90   with the error message when the query results in an error.
91 - Removed the 'Change Password' image from the main menu.
92   Changing passwords is integrated in te users page.
93 - Added the 'form' class on table and td elements. This class is intended
94   for borderless tables that are used to layout HTML forms.
95 - A new style 'h2.error' for error reports in the stylesheet.
96   Put borders around the tables and cells in the web interface.
97   Added right-alignment for numbers and fixed width for timestamps.
98 - Gcm_daemon maintains the last notification identifier.
99 - Setup the groups and database permissions. The three groups
100   are: view, ops and admin.
101 - Added two new entries to the action table.
102 - All web interface pages use the page class. This provides for a
103   uniform session and database handling.
104 - Use our own error handler for PHP errors and warnings in the web interface.
105 - Added log, notification and parameter counters to the 'object' table.
106   Counting these things at the time a user interface needs them is
107   too slow. Other programs, like gcm_daemon en gcm_input should prepare
108   these counters for quick retrieval.
109 - Show the total number of Log entries, parameters and notifications
110   on the object page of the web interface.
111 - Added new tables to the database : log_adv_daemon and log_adv_daemon_email.
112 - Made gcm_daemon a 'proper' executable.
113 - Paths of included files in PHP scripts are more flexible.
114 - Gcm_daemon recognizes important start and stop events of various daemons
115 - Gcm_daemon checks for exiting daemons in the log entries.
116 - Directory structure of PHP scripts reorganized. PHP scripts that are included in
117   both gcm_daemon and the web interface are now in the directory src/phpclasses.
118
119
120 Feb 05, 2003 - Release 0.0.4
121 ====================================
122
123 - Added style parameters for diff-like table views and textarea elements.
124 - Display and handle notifications in the web interface.
125 - Display the difference of all package class parameters for two objects
126   in the web interface.
127 - New PHP class added: 'page'. This is a (sort-of abstract) base class
128   for all Gnucomo web interface pages. It hanldes the session, login,
129   opening the database and the head and tail of the web page.
130 - gcm_input creates notifications when a new package is discovered
131   in a 'rpm -qa' list or when the version of a package is changed.
132 - Bug fix: action.statuscode was in upper case.
133 - Added new tables to the database: parameter_class and parameter_notification.
134 - New C++ function: gnucomo_database::new_notification(). retruns the id number
135   of the newly created notification record.
136 - Added new records to the 'type_of_issue' table.
137 - Changed semantics of actionid 9 in the 'action' table.
138 - Bugfix in gcm_input: The hostname in a system log may contain
139   digits as well as letters.
140 - Added new fields to the 'type_of_issue' table.
141
142 Dec 06, 2002 - Release 0.0.3
143 ====================================
144
145 - Directory structure is reorganized and prepared for GNU configure.
146 - gcm_input sets the value of log.processed to FALSE when inserting a
147    new log entry into the database
148 - When a syslog entry arrives from last year, gcm_input subtracts one from the
149    year of arrival to create the year of the log entry.
150 - Gcm_input reads output from "rpm -qa" and enters packages in the parameter table.
151 - Changes to log and log_adv tables described in the manifest.
152 - Added description of gcm_daemon in the design.
153 - Added new program (in PHP): gcm_daemon.
154 - Added a check on the database version in gcm_damon.
155 - Database-login in gcm_damon can be done using TCP/IP or UNIX-sockets.
156 - Gcm_daemon processes iptables-records including ICMP support.
157 - Returning values with ICMP (bounced) are seperate and linked to the same logfile.
158 - Which each new version records that haven't been recognized are processed again
159   through gcm_daemon.
160 - Added program-specific database user and password in config file.
161 - Added new arguments to gnucomo_config::Database(): user and password.
162   If empty, default values are taken from the config file.
163 - Implemented a slightly functional web interface that shows some
164   output from the database.