gnucomo.git
20 years agoPrepared for release 0.0.8 V0_0_8
arjen [Thu, 4 Sep 2003 06:59:28 +0000 (06:59 +0000)]
Prepared for release 0.0.8

20 years agoPrepared for release 0.0.8
arjen [Thu, 4 Sep 2003 06:53:40 +0000 (06:53 +0000)]
Prepared for release 0.0.8

20 years agoOld test data removed.
arjen [Wed, 3 Sep 2003 13:51:42 +0000 (13:51 +0000)]
Old test data removed.

20 years agoOverall test script. Runs all tests in sequence
arjen [Wed, 3 Sep 2003 13:51:00 +0000 (13:51 +0000)]
Overall test script. Runs all tests in sequence

20 years agoTests the database upgrade with gcm_daemon
arjen [Wed, 3 Sep 2003 13:48:17 +0000 (13:48 +0000)]
Tests the database upgrade with gcm_daemon

20 years agoOutput data from test scripts
arjen [Wed, 3 Sep 2003 13:46:29 +0000 (13:46 +0000)]
Output data from test scripts

20 years agoReduced the amount of output from test scripts.
arjen [Wed, 3 Sep 2003 12:57:24 +0000 (12:57 +0000)]
Reduced the amount of output from test scripts.

20 years agoCheck the log table against the servies running on an object and
arjen [Wed, 3 Sep 2003 12:48:48 +0000 (12:48 +0000)]
Check the log table against the servies running on an object and
create notifications if a service is not supposed to be available
or is not known at all.

20 years agoNew PHP methods:
arjen [Wed, 3 Sep 2003 07:02:09 +0000 (07:02 +0000)]
New PHP methods:
   db::Result() - Returns the result from the last query.
   db::Field()  - Returns the value of a single field.
   db::new_notification() - Create a new notification in the database.

20 years agoChanged version string to 0.0.8
arjen [Wed, 3 Sep 2003 06:58:31 +0000 (06:58 +0000)]
Changed version string to 0.0.8

20 years agoOverloaded gnucomo_database::Field() to include the Result
arjen [Tue, 2 Sep 2003 12:54:10 +0000 (12:54 +0000)]
Overloaded gnucomo_database::Field() to include the Result
from a query as an argument.

20 years agoBUGFIX: Secondary indices on log_notification were unique.
arjen [Tue, 2 Sep 2003 12:47:41 +0000 (12:47 +0000)]
BUGFIX: Secondary indices on log_notification were unique.
Additional information in the 'usr' table: 'display_name' and 'email'.
Added new issues and services.

20 years agoSlight simplification
arjen [Mon, 1 Sep 2003 07:02:46 +0000 (07:02 +0000)]
Slight simplification

20 years agoA date without the time for the '-d <date> option will
arjen [Mon, 1 Sep 2003 06:59:26 +0000 (06:59 +0000)]
A date without the time for the '-d <date> option will
assume midnight on that date.

20 years agoReject log entries that are found to be invalid.
arjen [Mon, 1 Sep 2003 06:57:14 +0000 (06:57 +0000)]
Reject log entries that are found to be invalid.

20 years agoProvides an interface to edit the list of
arjen [Mon, 1 Sep 2003 06:55:00 +0000 (06:55 +0000)]
Provides an interface to edit the list of
services and users for an object.

20 years agoNew page to enter and modify services.
arjen [Mon, 1 Sep 2003 06:53:22 +0000 (06:53 +0000)]
New page to enter and modify services.

20 years agoAccept command argument '-c config' to use an alternate
arjen [Mon, 1 Sep 2003 06:51:07 +0000 (06:51 +0000)]
Accept command argument '-c config' to use an alternate
gnucomo configuration.

20 years agoThe method configuration::read() will also read
arjen [Thu, 28 Aug 2003 12:16:33 +0000 (12:16 +0000)]
The method configuration::read() will also read
a user-specific configuration from the home directory if a
PHP script is not run through the web server.

20 years agoChanged the gnucomo_database class to the new PostgreSQL
arjen [Sun, 17 Aug 2003 18:49:10 +0000 (18:49 +0000)]
Changed the gnucomo_database class to the new PostgreSQL
library, libpqxx.

20 years agoChanged the gnucomo_database class to the new PostgreSQL
arjen [Sun, 17 Aug 2003 11:40:52 +0000 (11:40 +0000)]
Changed the gnucomo_database class to the new PostgreSQL
library, libpqxx. Added libpqxx to the list of required software.

20 years agoChanged the gnucomo_database class to the new PostgreSQL
arjen [Sun, 17 Aug 2003 11:39:33 +0000 (11:39 +0000)]
Changed the gnucomo_database class to the new PostgreSQL
library, libpqxx

20 years agoFixed a gcc 2 vs. gcc 3 problem
arjen [Sat, 16 Aug 2003 15:30:19 +0000 (15:30 +0000)]
Fixed a gcc 2 vs. gcc 3 problem

20 years agoFixed a namespace problem
arjen [Sat, 16 Aug 2003 15:28:45 +0000 (15:28 +0000)]
Fixed a namespace problem

20 years agoFixed a few typos.
arjen [Sat, 16 Aug 2003 14:29:02 +0000 (14:29 +0000)]
Fixed a few typos.

20 years agoEntered several items into the PR database. V0_0_7
arjen [Thu, 14 Aug 2003 10:38:20 +0000 (10:38 +0000)]
Entered several items into the PR database.

20 years agoPrepared for release 0.0.7
arjen [Thu, 14 Aug 2003 10:37:04 +0000 (10:37 +0000)]
Prepared for release 0.0.7

20 years agoAdded editing of detailed object information.
arjen [Thu, 14 Aug 2003 10:35:07 +0000 (10:35 +0000)]
Added editing of detailed object information.

20 years agoAdded performance measurement.
arjen [Thu, 14 Aug 2003 10:33:01 +0000 (10:33 +0000)]
Added performance measurement.

20 years agoBUGFIX: Removed parameters were somtimes shown on the wrong side
arjen [Thu, 14 Aug 2003 10:31:57 +0000 (10:31 +0000)]
BUGFIX: Removed parameters were somtimes shown on the wrong side
of the parameter difference page.

20 years agoUse parameters from a new section 'logging' with three configuration parameters:
arjen [Thu, 14 Aug 2003 10:28:37 +0000 (10:28 +0000)]
Use parameters from a new section 'logging' with three configuration parameters:
   method       - Output method to use for logging.
   destination  - Name of the log output destination.
   level        - Log level: Verbose output if greater than 0.

20 years agoAdded a new section 'logging' with three configuration parameters:
arjen [Thu, 14 Aug 2003 10:27:54 +0000 (10:27 +0000)]
Added a new section 'logging' with three configuration parameters:
   method       - Output method to use for logging.
   destination  - Name of the log output destination.
   level        - Log level: Verbose output if greater than 0.

20 years agoDisabled DEBUG output
arjen [Thu, 14 Aug 2003 10:22:42 +0000 (10:22 +0000)]
Disabled DEBUG output

20 years agoBUGFIX: undefined variables and indices when processing sendmail logs.
arjen [Thu, 14 Aug 2003 10:21:59 +0000 (10:21 +0000)]
BUGFIX: undefined variables and indices when processing sendmail logs.

20 years agoBUGFIX: Convert special characters for HTML (<, >, and &) into
arjen [Mon, 11 Aug 2003 17:59:17 +0000 (17:59 +0000)]
BUGFIX: Convert special characters for HTML (<, >, and &) into
their entities.

20 years agoDifferent kinds of log files are parsed by a collection of objects
arjen [Mon, 11 Aug 2003 16:56:15 +0000 (16:56 +0000)]
Different kinds of log files are parsed by a collection of objects
of different classes, derived from the base class line_cooker
Depending on the message content or the message_type element in
XML, one of these objects is selected.

Logrunner is integrated with gcm_input. Although its functionality
is still limited, a connection between logrunner and gcm_input
is beginning to form.

20 years agoDebug output to the log stream instead of cerr.
arjen [Tue, 5 Aug 2003 08:15:00 +0000 (08:15 +0000)]
Debug output to the log stream instead of cerr.
Fixed namespace problems in XPath searches of the DOM.
Moved string utility functions to a separate file.

20 years agoAdded two configuration parameters:
arjen [Tue, 5 Aug 2003 08:11:06 +0000 (08:11 +0000)]
Added two configuration parameters:
   logfile   - Log to this file instead of stderr.
   verbosity - Verbose output if greater than 0.
Added '-i' option for incremental parameter updates

20 years agoAdded two configuration parameters:
arjen [Tue, 5 Aug 2003 08:09:31 +0000 (08:09 +0000)]
Added two configuration parameters:
   logfile   - Log to this file instead of stderr.
   verbosity - Verbose output if greater than 0.

20 years agoBUGFIX: Print an error message if a parameter does not have
arjen [Tue, 5 Aug 2003 07:46:37 +0000 (07:46 +0000)]
BUGFIX: Print an error message if a parameter does not have
any history.

20 years agoAdded index to the history table.
arjen [Tue, 5 Aug 2003 07:43:02 +0000 (07:43 +0000)]
Added index to the history table.

20 years agoRemoved debug output.
arjen [Thu, 31 Jul 2003 15:44:02 +0000 (15:44 +0000)]
Removed debug output.

20 years agoPrepared for release 0.0.6 V0_0_6
arjen [Tue, 15 Jul 2003 11:08:29 +0000 (11:08 +0000)]
Prepared for release 0.0.6

20 years agoRemoved parameters are displayed in a shaded style.
arjen [Tue, 15 Jul 2003 11:06:45 +0000 (11:06 +0000)]
Removed parameters are displayed in a shaded style.

20 years agoChnaged version number to 0.0.6 in login form.
arjen [Tue, 15 Jul 2003 11:05:32 +0000 (11:05 +0000)]
Chnaged version number to 0.0.6 in login form.

20 years agoShow the log one day at a time.
arjen [Tue, 15 Jul 2003 11:03:39 +0000 (11:03 +0000)]
Show the log one day at a time.

20 years agoUse the new object_statistics table.
arjen [Tue, 15 Jul 2003 11:02:25 +0000 (11:02 +0000)]
Use the new object_statistics table.

20 years agoGcm_daemon gathers statistics on parameters, notifications, etc. for all objects.
arjen [Wed, 9 Jul 2003 07:25:02 +0000 (07:25 +0000)]
Gcm_daemon gathers statistics on parameters, notifications, etc. for all objects.

20 years agoPHP function db::query() returns the result index.
arjen [Wed, 9 Jul 2003 07:22:52 +0000 (07:22 +0000)]
PHP function db::query() returns the result index.
PHP function db::num_rows() accepts a result index as argument
  (default = 0 -> use result from the previous query).
New PHP function db::fetch_object().

20 years agoNew database tables: notification_check, notification_check_buffer,
arjen [Wed, 9 Jul 2003 07:14:59 +0000 (07:14 +0000)]
New database tables: notification_check, notification_check_buffer,
notification_check_line and object_statistics.

21 years agoRead XML input,
arjen [Tue, 29 Apr 2003 09:16:44 +0000 (09:16 +0000)]
Read XML input,
Only cooked log entries for now.

21 years agoProcess logs from sendmail.
arjen [Sat, 29 Mar 2003 09:05:22 +0000 (09:05 +0000)]
Process logs from sendmail.

21 years agoExtract the hostname out of the 'From:' or 'Message-Id:' line
arjen [Sat, 29 Mar 2003 09:04:10 +0000 (09:04 +0000)]
Extract the hostname out of the 'From:' or 'Message-Id:' line
of an email header.

21 years agoExit without reading any input if the database connection fails.
arjen [Sat, 29 Mar 2003 08:42:00 +0000 (08:42 +0000)]
Exit without reading any input if the database connection fails.

21 years agoIn phpclasses/db.class.php: Added the database connection string as
arjen [Sat, 29 Mar 2003 08:33:20 +0000 (08:33 +0000)]
In phpclasses/db.class.php: Added the database connection string as
an argument to the function copy_db_class.
Fixed the PHP member function db::db_connect(). The Postgres connection
string is now passed as an argument to that function.

21 years agoNew columns in the table 'log_adv_daemon_email': size, pri, relay,
arjen [Sat, 29 Mar 2003 08:26:44 +0000 (08:26 +0000)]
New columns in the table 'log_adv_daemon_email': size, pri, relay,
status_details and dsn.
Added several indices for the table 'log_adv_daemon_email'.

21 years agoNew member function gnucomo_database::is_conected().
arjen [Sat, 29 Mar 2003 08:13:53 +0000 (08:13 +0000)]
New member function gnucomo_database::is_conected().

21 years agoRead IRIX system logs.
arjen [Sun, 16 Mar 2003 09:42:40 +0000 (09:42 +0000)]
Read IRIX system logs.

21 years agoPrepared for release 0.0.5 V0_0_5
arjen [Fri, 21 Feb 2003 09:35:12 +0000 (09:35 +0000)]
Prepared for release 0.0.5

21 years agoBack to automake 1.4
arjen [Fri, 21 Feb 2003 09:21:54 +0000 (09:21 +0000)]
Back to automake 1.4

21 years agoBack to automake 1.4
arjen [Fri, 21 Feb 2003 09:19:28 +0000 (09:19 +0000)]
Back to automake 1.4

21 years agoBack to autoconf 2.13
arjen [Fri, 21 Feb 2003 09:15:23 +0000 (09:15 +0000)]
Back to autoconf 2.13

21 years agoBack to aclocal 1.4
arjen [Fri, 21 Feb 2003 09:09:38 +0000 (09:09 +0000)]
Back to aclocal 1.4

21 years agoAdded postgresql include directory for debian.
arjen [Fri, 21 Feb 2003 08:53:57 +0000 (08:53 +0000)]
Added postgresql include directory for debian.

21 years agoObsolete functions
arjen [Fri, 21 Feb 2003 08:50:37 +0000 (08:50 +0000)]
Obsolete functions

21 years agoDatabase optimizations.
arjen [Fri, 21 Feb 2003 08:50:12 +0000 (08:50 +0000)]
Database optimizations.

21 years agoKeep a record of each time a notification
arjen [Fri, 21 Feb 2003 08:49:16 +0000 (08:49 +0000)]
Keep a record of each time a notification
is displayed. Either on a listing or in detail.

21 years agoImproved the table layout.
arjen [Fri, 21 Feb 2003 08:46:58 +0000 (08:46 +0000)]
Improved the table layout.

21 years agoAdd a new user and make him/her a member of a group.
arjen [Fri, 21 Feb 2003 08:44:19 +0000 (08:44 +0000)]
Add a new user and make him/her a member of a group.
Change of passwords added.

21 years agoAdded new table to the database: log_adv_daemon_email.
arjen [Fri, 21 Feb 2003 08:37:40 +0000 (08:37 +0000)]
Added new table to the database: log_adv_daemon_email.

21 years agoDetect more conditions for daemons.
arjen [Fri, 21 Feb 2003 08:24:10 +0000 (08:24 +0000)]
Detect more conditions for daemons.

21 years agoGcm_input also detects packages that are removed from the system.
arjen [Fri, 21 Feb 2003 08:08:05 +0000 (08:08 +0000)]
Gcm_input also detects packages that are removed from the system.
Determining the version number of a package in a RPM
list is improved. Only the last one or two parts of the string that
begin with a '-' and a number are considered the version.

21 years agoUse the SQL function currval() to obtain the identification number
arjen [Wed, 19 Feb 2003 12:07:55 +0000 (12:07 +0000)]
Use the SQL function currval() to obtain the identification number
of the most recently created notification.

21 years agoPrint the query on cerr, along with the error message when
arjen [Wed, 19 Feb 2003 09:54:47 +0000 (09:54 +0000)]
Print the query on cerr, along with the error message when
the query results in an error.

21 years agoRemoved the 'Change Password' image from the main menu.
arjen [Wed, 19 Feb 2003 09:13:42 +0000 (09:13 +0000)]
Removed the 'Change Password' image from the main menu.
Changing passwords is integrated in te users page.

21 years agoAdded the 'form' class on table and td elements. This class is intended
arjen [Wed, 19 Feb 2003 09:11:46 +0000 (09:11 +0000)]
Added the 'form' class on table and td elements. This class is intended
for borderless tables that are used to layout HTML forms.

21 years agoA new style 'h2.error' for error reports.
arjen [Sun, 16 Feb 2003 08:26:18 +0000 (08:26 +0000)]
A new style 'h2.error' for error reports.
Put borders around the tables and cells.

21 years agoAdded a new entry to the action table: Notification was displayed in the listing
arjen [Sun, 16 Feb 2003 08:24:06 +0000 (08:24 +0000)]
Added a new entry to the action table: Notification was displayed in the listing

21 years agoMaintain the last notification identifier
arjen [Fri, 14 Feb 2003 06:35:09 +0000 (06:35 +0000)]
Maintain the last notification identifier

21 years agoSetup the groups and database permissions. The three groups
arjen [Fri, 14 Feb 2003 06:31:20 +0000 (06:31 +0000)]
Setup the groups and database permissions. The three groups
are: view, ops and admin.
Added a new entry to the action table.

21 years agoAll web interface pages use the page class.
arjen [Thu, 13 Feb 2003 09:01:29 +0000 (09:01 +0000)]
All web interface pages use the page class.

21 years agoAdded comment header
arjen [Thu, 13 Feb 2003 09:00:45 +0000 (09:00 +0000)]
Added comment header

21 years agoUse our own error handler for PHP errors and warnings
arjen [Thu, 13 Feb 2003 08:59:52 +0000 (08:59 +0000)]
Use our own error handler for PHP errors and warnings

21 years agoAdded log, notification and parameter counters to the 'object' table.
arjen [Thu, 13 Feb 2003 08:46:54 +0000 (08:46 +0000)]
Added log, notification and parameter counters to the 'object' table.
Counting these things at the time a user interface needs them is
too slow. Other programs, like gcm_daemon en gcm_input should prepare
these counters for quick retrieval.

21 years agoAdded log, notification and parameter counters to the 'object' table.
arjen [Thu, 13 Feb 2003 08:39:12 +0000 (08:39 +0000)]
Added log, notification and parameter counters to the 'object' table.
Counting these things at the time a user interface needs them is
too slow. Other programs, like gcm_daemon en gcm_input should prepare
these counters for quick retrieval.

21 years agoCheck for exiting daemons in the log entries
arjen [Thu, 13 Feb 2003 08:04:34 +0000 (08:04 +0000)]
Check for exiting daemons in the log entries

21 years agoShow the total number of Log entries, parameters and notifications
arjen [Mon, 10 Feb 2003 15:42:24 +0000 (15:42 +0000)]
Show the total number of Log entries, parameters and notifications

21 years agoDirectory structure of PHP scripts reorganized. PHP scripts that are included in
arjen [Sat, 8 Feb 2003 07:44:04 +0000 (07:44 +0000)]
Directory structure of PHP scripts reorganized. PHP scripts that are included in
both gcm_daemon and the web interface are now in the directory src/phpclasses.

21 years agoRecognize important start and stop events of various daemons
arjen [Sat, 8 Feb 2003 07:41:31 +0000 (07:41 +0000)]
Recognize important start and stop events of various daemons

21 years agoAdded new table to the database : log_adv_daemon, database version = 24
arjen [Sat, 8 Feb 2003 07:38:44 +0000 (07:38 +0000)]
Added new table to the database : log_adv_daemon, database version = 24
Made gcm_daemon a 'proper' executable.
Paths of included files are more flexible.

21 years agoAdded new table to the database : log_adv_daemon
arjen [Sat, 8 Feb 2003 07:36:22 +0000 (07:36 +0000)]
Added new table to the database : log_adv_daemon

21 years agoChanged include directory of db.postgres.php
arjen [Sat, 8 Feb 2003 07:29:19 +0000 (07:29 +0000)]
Changed include directory of db.postgres.php

21 years agoCopyright statement adjusted. V0_0_4
arjen [Wed, 5 Feb 2003 11:01:17 +0000 (11:01 +0000)]
Copyright statement adjusted.

21 years agoA tutorial on how to install and use GnuCoMo.
arjen [Wed, 5 Feb 2003 10:35:43 +0000 (10:35 +0000)]
A tutorial on how to install and use GnuCoMo.

21 years agoPrepared for release 0.0.4
arjen [Wed, 5 Feb 2003 09:57:15 +0000 (09:57 +0000)]
Prepared for release 0.0.4

21 years agoAdded tables parameter_class and parameter_notification.
arjen [Wed, 5 Feb 2003 09:56:07 +0000 (09:56 +0000)]
Added tables parameter_class and parameter_notification.
Notifications and issues further explained.

21 years agoAdded tables parameter_class and parameter_notification
arjen [Wed, 5 Feb 2003 09:55:37 +0000 (09:55 +0000)]
Added tables parameter_class and parameter_notification

21 years agoAdded style parameters for diff-like table views and textarea elements.
arjen [Wed, 5 Feb 2003 09:50:18 +0000 (09:50 +0000)]
Added style parameters for diff-like table views and textarea elements.

21 years agoAdded display and handling of notifications
arjen [Wed, 5 Feb 2003 09:48:14 +0000 (09:48 +0000)]
Added display and handling of notifications

21 years agoDisplay the difference of all package class parameters for two objects
arjen [Wed, 5 Feb 2003 09:47:39 +0000 (09:47 +0000)]
Display the difference of all package class parameters for two objects