Branch: Tag:

2017-11-20

2017-11-20 14:51:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '8468d07e63a61e80c5a7916ab61c0f25135ac2fc' into patches/ftp

Synch with Roxen 6.0/6.1 split.

* commit '8468d07e63a61e80c5a7916ab61c0f25135ac2fc': (428 commits)

2017-11-17

2017-11-17 10:17:43 by Karl Gustav Sterneberg <kg@roxen.com>

Merge branch 'devel' into kg/archive-client

2017-11-09

2017-11-09 15:30:07 by Anders Johansson <anders@roxen.com>

DBManager: Fix for non-existing directory when removing backup [WS-79]

2017-11-09 15:25:32 by Anders Johansson <anders@roxen.com>

DBManager: Don't leave incomplete marker for failed backups [WS-79]

2017-10-30

2017-10-30 14:57:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws52' into 6.1

* patches/ws52:
DB-browser: Nicer color for tables without backup
DB-browser: Improved layout of existing backups table
DB-browser: Show full path to backups again
DB-browser: Removed extranous String.capitalize().
DB-browser: Improved YES_I_KNOW_WHAT_I_AM_DOING.
DB-browser: Add indication that a table isn't backed up.
DBManager: Add APIs to check whether backups are inhibited.
DBManager: Inhibit backups of quite a few tables in the local db.
DBManager: Added support to exclude some tables from backup.
DBManager: delete_backup() now knows about partial backups.
DB-browser: Indicate incomplete backups.
DBManager: Keep track of backups in progress.

2017-10-27

2017-10-27 09:49:06 by Anders Johansson <anders@roxen.com>

DBManager: Removed broken debug flag DBMANAGER_DEBUG

It was broken since 2001.

2017-10-18

2017-10-18 14:05:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws52' into devel

* patches/ws52:
DB-browser: Removed extranous String.capitalize().
DB-browser: Improved YES_I_KNOW_WHAT_I_AM_DOING.
DB-browser: Add indication that a table isn't backed up.
DBManager: Add APIs to check whether backups are inhibited.
DBManager: Inhibit backups of quite a few tables in the local db.
DBManager: Added support to exclude some tables from backup.
DBManager: delete_backup() now knows about partial backups.
DB-browser: Indicate incomplete backups.
DBManager: Keep track of backups in progress.

2017-10-18 14:04:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Add APIs to check whether backups are inhibited.

module_table_info() now indicates whether the selected table
is backed up or not.

Also adds documentation for module_table_info().

2017-10-18 14:04:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Added support to exclude some tables from backup.

Adds inhibit_backups() and permit_backups().

Fixes some of [WS-52]/[WS-80].

2017-10-18 10:16:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: delete_backup() now knows about partial backups.

Fixes some more of [WS-52]/[WS-79].

2017-10-17

2017-10-17 16:39:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Keep track of backups in progress.

Backups in progress now have a temporary entry in the
db_backups table (indicated as a backup of the table "").
The temporary entry is replaced by entries for the
individual tables when the backup completes.

This means that we no longer lose track of backups that are
in progress when the server restarts.

Fixes some of [WS-52].

2017-10-05

2017-10-05 17:34:09 by Pontus Östlund <ponost@roxen.com>

Merge branch 'devel' into ponost/admin-if-17

2017-09-19

2017-09-19 14:36:16 by Pontus Östlund <ponost@roxen.com>

PikeDoc fixes only to make the PikeDoc parser stop complaining.

2017-09-17

2017-09-17 10:17:43 by Pontus Östlund <ponost@roxen.com>

Merge branch 'devel' into ponost/admin-if-17

2017-09-08

2017-09-08 14:08:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws46' into devel

* patches/ws46:
DBManager: Improved robustness.
DBManager: Fixed broken error 185/190 detection.

2017-09-08 14:08:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Improved robustness.

2017-09-08 14:05:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Fixed broken error 185/190 detection.

Don't throw zeros...

Fixes [WS-61].

2017-09-08 13:36:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/mariadb' into 6.1

* patches/mariadb:
DBManager: Improved robustness of DB upgrade code.

2017-09-08 12:02:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/mariadb' into devel

* patches/mariadb:
DBManager: Improved robustness of DB upgrade code.

2017-09-08 11:49:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Improved robustness of DB upgrade code.

When upgrading from MySQL 5.0 to MariaDB 10.1, the mysql_upgrade
script apparently forgets to flush something, which causes the
database to complain, and the upgrade to fail (verbose mode):

[...]
| Phase 3/7: Fixing views
| Processing databases
| information_schema
| mysql
| Phase 4/7: Running 'mysql_fix_privilege_tables'
| [TIMESTAMP] [ERROR] Column count of mysql.db is wrong. Expected 22, found 21. The table is probably corrupted
| [TIMESTAMP] [ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
| ERROR 1408 (HY000) at line 542: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
| FATAL ERROR: Upgrade failed

Rerunning the mysql_upgrade script immediately after completes
without further complaints (still verbose mode):

[...]
| Phase 3/7: Fixing views
| Processing databases
| information_schema
| mysql
| performance_schema
| Phase 4/7: Running 'mysql_fix_privilege_tables'
| Phase 5/7: Fixing table and database names
[...]

check_upgrade_mysql() now reruns mysql_upgrade once if it failed the
first time. It also throws an error if it also fails the second time.

Fixes [WS-60].

2017-07-06

2017-07-06 12:49:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws46' into devel

* patches/ws46:
DBManager: Attempt to survive MySQL/MariaDB errors 185 and 190.

2017-07-06 12:38:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Attempt to survive MySQL/MariaDB errors 185 and 190.

Some versions of MySQL and/or MariaDB apparently don't always
shut down in a forward-compatible way. Eg when upgrading from
MySQL 5.0.91 (ie Roxen 5.4.88) to MariaDB 10.1.12 (ie Roxen
6.1.200), may cause the table repair code to fail with errors
like "Incompatible key or row definition between the MariaDB
.frm file and the information in the storage engine. You have
to dump and restore the table to fix this".

If the repair code fails with the above error message, we now
retry the repair with the additional option USE_FRM as per
https://stackoverflow.com/questions/26871926/mariadb-mysql-database-table-corrupt-cant-repair .

Potential fix for [WS-46].

2017-05-05

2017-05-05 12:11:38 by Karl Gustav Sterneberg <kg@roxen.com>

Merge branch 'devel' into kg/archive-client

2017-03-15

2017-03-15 09:57:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws28' into 5.4

* patches/ws28:
Admin Interface [DB Browser]: Load configurations.
DBManager: Reduce critical zones holding sq_cache_lock().

2017-03-15 09:56:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws28' into 6.0

* patches/ws28:
Admin Interface [DB Browser]: Load configurations.
DBManager: Reduce critical zones holding sq_cache_lock().

2017-03-14

2017-03-14 15:53:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws28' into 6.1

* patches/ws28:
Admin Interface [DB Browser]: Load configurations.
DBManager: Reduce critical zones holding sq_cache_lock().

2017-03-14 15:51:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws28' into devel

* patches/ws28:
Admin Interface [DB Browser]: Load configurations.
DBManager: Reduce critical zones holding sq_cache_lock().

2017-03-14 15:42:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Reduce critical zones holding sq_cache_lock().

sq_cache_{get,set}() now use sq_cache_lock() themselves instead
of having it be the callers responsibility. This makes it possible
to reduce the critical zones and to move out some of the time-
consuming stuff (notably the testing of the validity of cached
SQL connections) from the critical zones.

Fixes [WS-28].

2016-10-10

2016-10-10 11:54:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7799' into 6.1

* patches/bug7799:
DBManager: Added FIXME regarding charsets and execute_sql_script_file().
DBManager.SqlFileSplitIterator: Improved performance.

2016-10-10 11:47:04 by Anders Johansson <anders@roxen.com>

Adjustments for new dump format for documentation

2016-10-10 11:41:48 by Anders Johansson <anders@roxen.com>

Adjustments for new dump format for documentation

2016-10-10 10:50:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7799' into devel

* patches/bug7799:
DBManager: Added FIXME regarding charsets and execute_sql_script_file().
DBManager.SqlFileSplitIterator: Improved performance.

2016-10-10 10:48:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Added FIXME regarding charsets and execute_sql_script_file().

2016-10-10 10:38:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager.SqlFileSplitIterator: Improved performance.

Tentative fix for [bug 7799].

2016-06-03

2016-06-03 12:45:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '4e00bc2b471671eafe8b33d9e1c3c7b338e8f264' into patches/mariadb

* commit '4e00bc2b471671eafe8b33d9e1c3c7b338e8f264': (37 commits)

2016-03-11

2016-03-11 14:21:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7264' into patches/mariadb

* patches/bug7264: (22 commits)
DBManager: Added tables missed by mysql_upgrade.
Bugfixed innodb-data-file-path handling.
DBManager: Add an innodb-data-file-path entry to my.cfg.
DBManager: Improved robustness of my.cfg patcher.
MySQL: Support version majors and minors with multiple digits.
MySQL: Detect and support MariaDB.
TagCache: Provide the "no preceding lookup" argument when the keymap has changed.
MySQL: Set the default storage engine to MyISAM.
Loader: Normalized white space in startup messages.
Loader: Bumped version in diagnostic message.
MySQL: Bump the required MySQL version to 5.5.
...

2015-10-23

2015-10-23 14:42:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7582' into 5.4

* patches/bug7582:
DBs: Fixed typo in restoration of SIGPIPE signal handler.

2015-10-23 14:42:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7582' into 5.5

* patches/bug7582:
DBs: Fixed typo in restoration of SIGPIPE signal handler.

2015-10-23 14:41:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBs: Fixed typo in restoration of SIGPIPE signal handler.

2015-10-23 14:10:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7582' into 5.4

* patches/bug7582:
DBs: Restore SIGPIPE signal handler after creating Mysql connections.

2015-10-23 14:07:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7582' into 5.5

* patches/bug7582:
DBs: Restore SIGPIPE signal handler after creating Mysql connections.

2015-10-23 13:56:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBs: Restore SIGPIPE signal handler after creating Mysql connections.

The low-level mysql client code zaps the SIGPIPE handler,
so we need to restore it.

Work-around for [bug 7582].

Proper potential fix requires new Pike binary.

2015-10-23 13:54:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '8a2ce4a87' into patches/bug7582

* commit '8a2ce4a87': (7413 commits)

2015-10-21

2015-10-21 13:58:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7581' into 5.4

* patches/bug7581:
DBs: Implemented renaming of backup schedules.
DBs: Added button to delete backup schedules.
DBs: Added interface to add new backup schedules.
DBs: Added interface to change the backup schedule for a db.
DBs: List the backup schedules for the databases.
DBManager: Added db_schedule().
DBManager: Default to not backing up external databases.

2015-10-21 13:57:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7581' into 5.5

* patches/bug7581:
DBs: Implemented renaming of backup schedules.
DBs: Added button to delete backup schedules.
DBs: Added interface to add new backup schedules.
DBs: Added interface to change the backup schedule for a db.
DBs: List the backup schedules for the databases.
DBManager: Added db_schedule().
DBManager: Default to not backing up external databases.

2015-10-21 13:56:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7581' into 6.0

* patches/bug7581:
DBs: Implemented renaming of backup schedules.
DBs: Added button to delete backup schedules.
DBs: Added interface to add new backup schedules.
DBs: Added interface to change the backup schedule for a db.
DBs: List the backup schedules for the databases.
DBManager: Added db_schedule().
DBManager: Default to not backing up external databases.

2015-10-21 13:55:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7581' into devel

* patches/bug7581:
DBs: Implemented renaming of backup schedules.
DBs: Added button to delete backup schedules.
DBs: Added interface to add new backup schedules.
DBs: Added interface to change the backup schedule for a db.
DBs: List the backup schedules for the databases.
DBManager: Added db_schedule().
DBManager: Default to not backing up external databases.

2015-10-21 13:33:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Added db_schedule().

Adds an API to get the name of the backup schedule for a database.

2015-10-21 13:32:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Default to not backing up external databases.

Fixes some of [bug 7581].

2015-07-15

2015-07-15 08:47:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/mariadb' into 6.0

* patches/mariadb:
DBManager: Fixed typo in previous commit.

2015-07-15 08:46:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/mariadb' into devel

* patches/mariadb:
DBManager: Fixed typo in previous commit.

2015-07-15 08:45:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Fixed typo in previous commit.

2015-07-14

2015-07-14 14:58:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/mariadb' into 6.0

* patches/mariadb:
DBManager: Fixed has_value() with NULL.

2015-07-14 14:56:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/mariadb' into devel

* patches/mariadb:
DBManager: Fixed has_value() with NULL.

2015-07-14 14:54:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Fixed has_value() with NULL.

2015-07-14 14:53:14 by Anders Johansson <anders@roxen.com>

Avoid running DB upgrade on each startup.

MariaDB seem to report its version on different form in
mysql_upgrade_info than otherwise.

2015-07-14 12:30:43 by Anders Johansson <anders@roxen.com>

Avoid running DB upgrade on each startup.

MariaDB seem to report its version on different form in
mysql_upgrade_info than otherwise.

2015-07-14 12:24:58 by Anders Johansson <anders@roxen.com>

Avoid running DB upgrade on each startup.

MariaDB seem to report its version on different form in
mysql_upgrade_info than otherwise.

2014-12-03

2014-12-03 15:47:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7386' into 5.4

* patches/bug7386:
DBManager: db_url_info->local needs to be casted to int.

2014-12-03 15:46:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7386' into 5.5

* patches/bug7386:
DBManager: db_url_info->local needs to be casted to int.

2014-12-03 15:45:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7386' into devel

* patches/bug7386:
DBManager: db_url_info->local needs to be casted to int.

2014-12-03 15:41:54 by Arne Goedeke <el@laramies.com>

DBManager: db_url_info->local needs to be casted to int.

Fixes issues with dump() and external databases.

Thanks to Arne Goedeke <el@laramies.com> for the report and patch.

Fixes [bug 7386].

2014-10-06

2014-10-06 12:14:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7264' into devel

* patches/bug7264:
DBManager: Added tables missed by mysql_upgrade.

2014-10-06 12:09:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Added tables missed by mysql_upgrade.

Adds definitions for the internal MySQL/MariaDB tables
"innodb_index_stats", "innodb_table_stats", "slave_master_info",
"slave_relay_log_info" and "slave_worker_info", that mysql_upgrade
in MySQL 5.6 and MariaDB 10.0 for some reason doesn't create.

Fixes the remainder of [bug 7264] (comment #13).

2014-09-08

2014-09-08 12:42:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Fixed various backward compatibility issues.

* The version checks didn't like multiple digits in the version major.

* Added potential support for restoring of old-style BACKUPs in
MariaDB/MySQL 5.5 and later.

2014-08-21

2014-08-21 15:51:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug6126' into 5.4

* patches/bug6126:
DBManager: Backup system fixes.
DBManager: Updated mysqldump invocation to mysql 4.0 and later.

2014-08-18

2014-08-18 14:57:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug6126' into devel

* patches/bug6126:
DBManager: Backup system fixes.

2014-08-18 14:57:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Backup system fixes.

Don't attempt to use the old MySQL BACKUP and RESTORE commands with
MySQL 5.5 or later.

The automatic backup scheduler will now use the "mysqldump" method
for any databases where the "backup" method is selected, when the
internal MySQL server is version 5.5 or later.

Note that it is not possible to restore old backups made with the
BACKUP command with MySQL 5.5 or later. Any such backups should
be replaced with backups made with the mysqldump method prior to
upgrading the MySQL server.

Fixes some of [bug 6126], cf also [bug 7088].

2014-08-15

2014-08-15 16:50:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike8.0' into devel

* patches/pike8.0:
Pike 8.0: Change static to protected.

2014-08-15 16:47:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike 8.0: Change static to protected.

Pike 8.0 warns about use of this old keyword.

2014-08-15 13:59:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug6126' into devel

* patches/bug6126:
DBManager: Updated mysqldump invocation to mysql 4.0 and later.

2014-08-15 13:52:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Updated mysqldump invocation to mysql 4.0 and later.

The mysqldump option "--all" apparently changed name to
"--create-options" some time after mysql 3.23.

Fixes database backups with current versions of mysqldump.

Fixes some of [bug 6126].

2014-08-15 12:46:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Fixed upgrade version detection for MariaDB.

2014-08-14

2014-08-14 11:34:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Support MariaDB.

MariaDB has an additional virtual read-only database "performance_schema".
Don't attempt to repair any tables in it.

2014-08-08

2014-08-08 12:39:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike8.0' into patches/bug4594

* patches/pike8.0: (230 commits)
Pike 8.0: More SSL/TLS API changes.
FTPS: Fixed support for Pike 8.0.
Roxen: Use the current names for the ASN1 classes.
SNMP: The LDAP private ASN.1 classes aren't available in Pike 8.0.
SNMP: The fields tag and cls are variables in Pike 8.0.
Pike 8.0: More SSL changes.
Pike 8.0: Improved robustness when upgrading old certs.
Pike 8.0: Upgrade old automatic X.509v1 certs to X.509v3.
Pike 8.0: Fixed SSL port binding with new API.
Pike 8.0: Take advantage of the improved SSL support.
Pike 8.0: Add support for some new SSL features.
Pike 8.0: #if efun() is obsolete since 10 years back.
Pike 8.0: String.Buffer contains a sprintf().
Pike 8.0: Unset variables are UNDEFINED.
Roxen 5.4.1.
ABS: List the pending call_outs.
Fix warnings generated by Pike 8.0.
DB browser: add support for custom DB field formatters in owning modules.
DBManager.module_table_info: Consider all module entries from the DB.
Added transliteration module.
...

Conflicts:
server/base_server/roxen.pike

2014-06-04

2014-06-04 14:03:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug6069' into devel

* patches/bug6069:
DBManager: Don't attempt to repair tables in information_schema.

2014-06-04 13:57:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Don't attempt to repair tables in information_schema.

The tables (and views) in the information_schema database are all
virtual and all read-only. Any attempt to run repair table on them
will cause errors to be thrown.

Fixes self test failures.

2014-06-04 13:52:31 by Martin Karlgren <marty@roxen.com>

Don't attempt to repair readonly tables/views in information_schema.

2014-05-23

2014-05-23 14:41:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug6069' into devel

* patches/bug6069:
DBManager: Repair all tables after upgrade.

2014-05-23 14:34:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Repair all tables after upgrade.

It seems some indices and similar may get broken by MySQL upgrades,
so REPAIR TABLE all local databases tables as a preventive measure.

Fixes [bug 6069].

2014-05-16

2014-05-16 09:57:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '64ea9f116367427932716bbbb417bd3f20b99feb' into patches/pike8.0

* commit '64ea9f116367427932716bbbb417bd3f20b99feb': (904 commits)
Roxen 5.4.1.
...

Updates the base version for the Pike 8.0 patches to Roxen 5.4.1.

2014-03-12

2014-03-12 16:18:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7018' into 5.2

* patches/bug7018:
Mysql: Fixed mysql_upgrade use on WIN32.

2014-03-12 16:17:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7018' into devel

* patches/bug7018:
Mysql: Fixed mysql_upgrade use on WIN32.

2014-03-12 16:16:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7018' into 5.4

* patches/bug7018:
Mysql: Fixed mysql_upgrade use on WIN32.

2014-03-12 16:10:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql: Fixed mysql_upgrade use on WIN32.

Mysqld on WIN32 uses named pipes, so make sure to tell
mysql_upgrade about it.

Fixes [bug 7007] and [bug 7018].

2014-02-24

2014-02-24 14:51:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch '5.4' into devel

* 5.4:
ConfigIF: Improved argument validation in drop_site.
Version bumped to 5.4.44 by buildsystem.
Version bumped to 5.4.1 by distmaker.
ntstart: Bumped version to 5.4.0.
DBManager: Disabled some debug.
DBManager: Fixed some documentation typos.
DBManager: Add some more perms to read-only users.
DBManager: Added set_perms_in_user_table()
Start: Improved robustness. Fixes [bug 6980].
HTTP: Added some DWIM for wide strings.
Core: Added compat level for 5.4.
ConfigIF: Display the git sha.
D'oh, typo in last fix.
Amend fix for [bug 6938] by fixing SQL LONGBLOB type.
ImageCache: Do not mess with the global variable...
Fixed another typo.
ImageCache: Fixed typo.
ImageCache: Allow for larger images.
MySQL: Increase max_allowed_packet to 128 MB.
FSGC: Added links to the owning config and module.
FSGC: Added refresh button to the status display.
FSGC: Moved the FSGC status to a task.
FSGC; Group gcs by owning module.
FSGC: Status display changes.
FSGC: Improved styling and layout.

2014-02-05

2014-02-05 12:40:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7002' into 5.2

* patches/bug7002:
DBManager: Disabled some debug.

2014-02-05 12:40:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7002' into 5.4

* patches/bug7002:
DBManager: Disabled some debug.

2014-02-05 12:39:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Disabled some debug.

2014-02-05 11:37:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7002' into 5.2

* patches/bug7002:
DBManager: Fixed some documentation typos.
DBManager: Add some more perms to read-only users.
DBManager: Added set_perms_in_user_table()

2014-02-05 11:34:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7002' into 5.4

* patches/bug7002:
DBManager: Fixed some documentation typos.
DBManager: Add some more perms to read-only users.
DBManager: Added set_perms_in_user_table()

2014-02-05 11:32:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Fixed some documentation typos.

2014-02-05 11:28:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Add some more perms to read-only users.

set_perms_in_db_table() now sets a few more permissions for
read-only users.

Fixes some issues related to [bug 7002].

2014-02-05 11:19:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBManager: Added set_perms_in_user_table()

synch_mysql_perms() now ensures that the "rw" and "ro" users have
proper permissions.

This includes adding the "Show_view_priv" permission for the "ro" user.

Fixes [bug 7002].

2013-12-21

2013-12-21 17:51:45 by Jonas Walldén <jonasw@roxen.com>

Don't read past end of string when restoring SQL backups. Fixes [bug 6963].

2013-12-21 17:51:36 by Jonas Walldén <jonasw@roxen.com>

Don't read past end of string when restoring SQL backups. Fixes [bug 6963].

2013-12-21 17:50:45 by Jonas Walldén <jonasw@roxen.com>

Don't read past end of string when restoring SQL backups. Fixes [bug 6963].

2013-11-13

2013-11-13 08:17:17 by Martin Jonsson <marty@roxen.com>

DBManager.module_table_info: Consider all module entries from the DB.

2013-03-01

2013-03-01 11:31:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch '5.2' into devel

* 5.2:
Mysql: Detect upgrade level.
Mysql: Added support for using the mysql_upgrade binary.
Mysql: Auto-upgrade my.cfg with default charset.
Mysql-location: Support entry for mysql_upgrade.
Version bumped to 5.2.335 by buildsystem.
RoxenLoader: Added my.cfg upgrade code.
RoxenLoader: Added some support for MySQL 5.5 and later.
Version bumped to 5.2.334 by buildsystem.
Version bumped to 5.2.333 by buildsystem.
Version bumped to 5.2.332 by buildsystem.
Version bumped to 5.2.331 by buildsystem.
Version bumped to 5.2.330 by buildsystem.
Version bumped to 5.2.329 by buildsystem.
Version bumped to 5.2.328 by buildsystem.
Version bumped to 5.2.327 by buildsystem.

2013-02-18

2013-02-18 15:41:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql: Detect upgrade level.

Read the mysql_upgrade_info file, and compare it to the server version,
to avoid extraneous calls of mysql_upgrade (and the corresponding output).

2013-02-18 12:45:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql: Added support for using the mysql_upgrade binary.

This is the Mysql supported way to upgrade to Mysql 5.0.25 and later.

Also adds roxenloader.query_mysql_socket().

2012-03-16

2012-03-16 10:06:08 by Martin Jonsson <marty@roxen.com>

Reset stale connection timestamp when running queries.

Rev: server/etc/modules/DBManager.pmod:1.104

2012-03-16 09:26:35 by Martin Jonsson <marty@roxen.com>

Added a MODULE_DEBUG-enabled Sql.Sql wrapper to check for modules that use stale connections.

Rev: server/etc/modules/DBManager.pmod:1.103

2011-09-12

2011-09-12 10:54:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Use Process.Process instead of Process.create_process() where possible. Fixes [bug 6043].

Rev: server/base_server/disk_cache.pike:1.65
Rev: server/base_server/roxen.pike:1.1088
Rev: server/base_server/roxenloader.pike:1.456
Rev: server/bin/rxnpatch.pike:1.19
Rev: server/etc/env.d/nptl.pike:1.4
Rev: server/etc/modules/DBManager.pmod:1.102
Rev: server/etc/modules/ExtSQL.pmod:1.5
Rev: server/etc/modules/ExtScript.pmod:1.23
Rev: server/etc/modules/Roxen.pmod:1.315
Rev: server/etc/modules/RoxenPatch.pmod:1.32
Rev: server/etc/test/tests/patcher/RoxenTest_patcher.pike:1.10
Rev: server/etc/test/tests/pike_async_process_test_common.pike:1.6
Rev: server/modules/icecast/pl_common.pike:1.11
Rev: server/modules/scripting/cgi.pike:2.71
Rev: server/modules/scripting/fastcgi.pike:2.22
Rev: server/modules/scripting/php.pike:2.6
Rev: server/modules/tags/check_spelling.pike:1.38
Rev: server/modules/tags/emit_exec.pike:1.8

2011-08-29

2011-08-29 14:33:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Turn off automatic reconnect for sql connections that may be cached.

Use Sql.Sql()->ping() and Sql.Sql()->is_open() to check if cached connections are valid.
Fixes [bug 5964].

Rev: server/base_server/roxenloader.pike:1.450
Rev: server/etc/modules/DBManager.pmod:1.101

2011-08-29 14:33:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Turn off automatic reconnect for sql connections that may be cached.

Use Sql.Sql()->ping() and Sql.Sql()->is_open() to check if cached connections are valid.
Fixes [bug 5964].

Rev: server/base_server/roxenloader.pike:1.454
Rev: server/etc/modules/DBManager.pmod:1.101

2011-05-23

2011-05-23 11:29:41 by Martin Stjernholm <mast@lysator.liu.se>

Fix the connection charset after releasing the sq_cache_lock.

To lessen the contention on that global lock, especially when some
connections go to remote slow db servers. Fixes [bug 5961].

Rev: server/base_server/roxenloader.pike:1.449
Rev: server/etc/modules/DBManager.pmod:1.100

2011-05-23 11:29:41 by Martin Stjernholm <mast@lysator.liu.se>

Fix the connection charset after releasing the sq_cache_lock.

To lessen the contention on that global lock, especially when some
connections go to remote slow db servers. Fixes [bug 5961].

Rev: server/base_server/roxenloader.pike:1.445
Rev: server/etc/modules/DBManager.pmod:1.100

2010-11-25

2010-11-25 10:34:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Permanently enable the support for periodically scheduled DB backups.

Make the Default schedule default to Never, to minimize effects on upgrading.

Rev: server/config_interface/dbs/browser.pike:1.77
Rev: server/config_interface/dbs/subtabs.pike:1.20
Rev: server/etc/modules/DBManager.pmod:1.99

2010-09-06

2010-09-06 12:10:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Even more fixes for db_table_fields().

It now gives a proper result for Oracle again.
Also optimized the fallback query to generate a minimal result set.

Rev: server/etc/modules/DBManager.pmod:1.98

2010-09-01

2010-09-01 15:19:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

db_table_fields() should now work with Oracle again. Fixes [roxen.com #15963].

Rev: server/etc/modules/DBManager.pmod:1.97

2010-03-30

2010-03-30 12:02:03 by Stephen R. van den Berg <srb@cuci.nl>

Added support for other databases than MySQL to db_table_information().

Modified patch submitted by Stephen R. van den Berg <srb@cuci.nl>, thanks.
Fixes [bug 5370]: Support extended db-statistics not just for MySQL.

Rev: server/etc/modules/DBManager.pmod:1.96

2010-03-30 11:51:33 by Stephen R. van den Berg <srb@cuci.nl>

Restored support for showing table descriptions for non-MySQL databases.

Modified patch submitted by Stephen R. van den Berg <srb@cuci.nl>, thanks.
Fixes [bug 5367]: Show table descriptions for non-MySQL databases.

Rev: server/etc/modules/DBManager.pmod:1.95

2010-01-21

2010-01-21 13:07:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported SqlFileSplitIterator and execute_sql_script_file() from Roxen 5.0.

Rev: server/etc/modules/DBManager.pmod:1.78

2010-01-20

2010-01-20 13:28:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added SqlFileSplitIterator and execute_sql_file_script().
restore() now uses execute_sql_file_script() instead of execute_sql_script().
Added some more diagnostics to restore().
Fixes [bug 5190].

Rev: server/etc/modules/DBManager.pmod:1.94

2009-07-03

2009-07-03 11:55:34 by Fredrik Noring <noring@nocrew.org>

Enable database backups by default (will be discussed further...)

Rev: server/config_interface/dbs/subtabs.pike:1.17
Rev: server/etc/modules/DBManager.pmod:1.77

2009-07-03 08:49:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Default database backups to be stored under $VARDIR/backup/.

Rev: server/etc/modules/DBManager.pmod:1.76

2009-07-03 08:29:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Default database backups to be stored under $VARDIR/backup/.

Rev: server/etc/modules/DBManager.pmod:1.93

2009-06-15

2009-06-15 15:19:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo.

Rev: server/etc/modules/DBManager.pmod:1.75

2009-06-01

2009-06-01 13:40:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Do not backup databases without any tables. Fixes [bug 4845].

Rev: server/etc/modules/DBManager.pmod:1.74

2009-06-01 13:40:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Do not backup databases without any tables. Fixes [bug 4845].

Rev: server/etc/modules/DBManager.pmod:1.92

2009-05-29

2009-05-29 12:59:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added split_sql_string().

Rev: server/etc/modules/DBManager.pmod:1.73

2009-05-29 12:58:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added split_sql_string().

Rev: server/etc/modules/DBManager.pmod:1.91

2009-05-18

2009-05-18 13:47:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Force compression of the sqldump.

Rev: server/etc/modules/DBManager.pmod:1.72

2009-05-18 13:47:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Force compression of the sqldump.

Rev: server/etc/modules/DBManager.pmod:1.90

2009-05-18 13:44:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Reduced junk in the debug log.

Rev: server/etc/modules/DBManager.pmod:1.71

2009-05-18 13:43:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Reduced junk in the debug log.

Rev: server/etc/modules/DBManager.pmod:1.89

2009-05-18 13:24:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

First go at automatic database backups.
Currently disabled by ENABLE_DB_BACKUPS.

Rev: server/config_interface/dbs/schedules.html:1.1
Rev: server/config_interface/dbs/schedules.pike:1.1
Rev: server/config_interface/dbs/subtabs.pike:1.16
Rev: server/etc/modules/DBManager.pmod:1.70

2009-05-18 08:56:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Only add the dbs.schedule_id field when ENABLE_DB_BACKUPS is active.

Rev: server/etc/modules/DBManager.pmod:1.88

2009-05-15

2009-05-15 14:22:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Oops, fixed typo.

Rev: server/etc/modules/DBManager.pmod:1.87

2009-05-15 12:31:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

First go at automatic database backups.
Currently disabled by ENABLE_DB_BACKUPS.

Rev: server/config_interface/dbs/subtabs.pike:1.18
Rev: server/etc/modules/DBManager.pmod:1.86

2009-03-24

2009-03-24 15:29:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now handles mysql_fix_privilege_tables.sql being in more places.

Rev: server/etc/modules/DBManager.pmod:1.85
Rev: server/etc/test/tests/RoxenTest_base.pike:1.16

2009-03-23

2009-03-23 12:31:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Ensure that fields we mess with are always present in mysql.db.

Rev: server/etc/modules/DBManager.pmod:1.84

2009-03-21

2009-03-21 14:06:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved upgrade code by using the code that MySQL provides for us.

Rev: server/etc/modules/DBManager.pmod:1.83

2009-03-12

2009-03-12 14:03:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Ensure that passwords are created in 4.0-compatibility mode.

Rev: server/etc/modules/DBManager.pmod:1.82

2009-03-12 12:35:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed some typos.

Rev: server/etc/modules/DBManager.pmod:1.81

2009-03-11

2009-03-11 14:21:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added code to upgrade the priviliges tables to MySQL 5.0.70.

Rev: server/etc/modules/DBManager.pmod:1.80

2009-03-03

2009-03-03 14:17:34 by Martin Stjernholm <mast@lysator.liu.se>

Ensure that the internal dbs exist in a more robust way.

Rev: server/etc/modules/DBManager.pmod:1.79

2008-12-20

2008-12-20 03:24:07 by Martin Stjernholm <mast@lysator.liu.se>

Extensions to access arbitrary restricted sets of databases. Added
code to ensure that the mysql access tables are in synch with the db
permission settings on startup. Also some small tweaks.

Rev: server/etc/modules/DBManager.pmod:1.78

2008-11-26

2008-11-26 01:51:30 by Martin Stjernholm <mast@lysator.liu.se>

Doc update.

Rev: server/etc/modules/DBManager.pmod:1.77

2008-08-15

2008-08-15 12:33:55 by Martin Stjernholm <mast@lysator.liu.se>

Moving to pike 7.8 and dropping compatibility with earlier pikes.

Rev: server/arg_cache_plugins/replicate.pike:1.27
Rev: server/base_server/__default.pmod:1.2
Rev: server/base_server/cache.pike:1.90
Rev: server/base_server/config_userdb.pike:1.53
Rev: server/base_server/configuration.pike:1.653
Rev: server/base_server/emit_object.pike:1.7
Rev: server/base_server/fonts.pike:1.87
Rev: server/base_server/global_variables.pike:1.110
Rev: server/base_server/javamodule.pike:1.7
Rev: server/base_server/language.pike:1.43
Rev: server/base_server/module.pike:1.231
Rev: server/base_server/module_support.pike:1.135
Rev: server/base_server/prototypes.pike:1.219
Rev: server/base_server/roxen.pike:1.981
Rev: server/base_server/roxenlib.pike:1.224
Rev: server/base_server/roxenloader.pike:1.397
Rev: server/base_server/rxmlhelp.pike:1.65
Rev: server/base_server/smtprelay.pike:3.2
Rev: server/base_server/snmpagent.pike:1.24
Rev: server/bin/buildenv.pike:1.10
Rev: server/bin/create_testcert.pike:1.2
Rev: server/bin/functions:1.19
Rev: server/bin/garbagecollector.pike:1.23
Rev: server/bin/setup_nsr.pike:1.4
Rev: server/bin/sqlhelper.pike:1.4
Rev: server/config_interface/actions/change_version.pike:1.15
Rev: server/config_interface/actions/debug_info.pike:1.40
Rev: server/config_interface/actions/feature_list.pike:1.14
Rev: server/config_interface/actions/ftpstatus.pike:1.4
Rev: server/config_interface/actions/generate_rsa.pike:1.7
Rev: server/config_interface/actions/make_rsa_csr.pike:1.11
Rev: server/config_interface/actions/make_selfsigned_dsa.pike:1.11
Rev: server/config_interface/actions/make_selfsigned_rsa.pike:1.10
Rev: server/config_interface/actions/ssl_common.pike:1.8
Rev: server/config_interface/actions/tablist.pike:1.10
Rev: server/config_interface/actions/threads.pike:1.8
Rev: server/etc/env.d/java.pike:1.19
Rev: server/etc/include/variables.h:1.18
Rev: server/etc/modules/DBManager.pmod:1.76
Rev: server/etc/modules/ExtSQL.pmod:1.4
Rev: server/etc/modules/ExtScript.pmod:1.22
Rev: server/etc/modules/GText.pmod:1.20
Rev: server/etc/modules/HTML.pmod:1.8
Rev: server/etc/modules/JavaModule.pmod:1.25
Rev: server/etc/modules/LazyImage.pmod/CoordinateSystem.pike:1.4
Rev: server/etc/modules/LazyImage.pmod/Legend.pike:1.5
Rev: server/etc/modules/LazyImage.pmod/module.pmod:1.19
Rev: server/etc/modules/License.pmod:1.27
Rev: server/etc/modules/Map.pmod:1.7
Rev: server/etc/modules/PropertySet.pike:1.12
Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.24
Rev: server/etc/modules/RXML.pmod/PXml.pike:1.65
Rev: server/etc/modules/RXML.pmod/module.pmod:1.367
Rev: server/etc/modules/Roxen.pmod:1.246
Rev: server/etc/modules/RoxenDebug.pmod:1.12
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.10
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Server.pike:1.6
Rev: server/etc/modules/RoxenSSLFile.pike:1.27(DEAD)
Rev: server/etc/modules/SNMP.pmod:1.10
Rev: server/etc/modules/Servlet.pmod:1.31
Rev: server/etc/modules/SloppyDOM.pmod:1.16
Rev: server/etc/modules/StateHandler.pmod:1.13
Rev: server/etc/modules/VFS.pmod:1.7
Rev: server/etc/modules/Variable.pmod/Date.pike:1.9
Rev: server/etc/modules/Variable.pmod/Email.pike:1.15
Rev: server/etc/modules/Variable.pmod/Image.pike:1.5
Rev: server/etc/modules/Variable.pmod/Language.pike:1.2
Rev: server/etc/modules/Variable.pmod/MapLocation.pike:1.6
Rev: server/etc/modules/Variable.pmod/Mapping.pike:1.9
Rev: server/etc/modules/Variable.pmod/Upload.pike:1.5
Rev: server/etc/modules/Variable.pmod/module.pmod:1.108
Rev: server/etc/modules/_NewLDAP.pmod/client.pike:1.11(DEAD)
Rev: server/etc/modules/_NewLDAP.pmod/ldap_globals.h:1.1(DEAD)
Rev: server/etc/modules/_NewLDAP.pmod/ldap_privates.pmod:1.1(DEAD)
Rev: server/etc/modules/_NewLDAP.pmod/module.pmod:1.4(DEAD)
Rev: server/etc/modules/_NewLDAP.pmod/protocol.pike:1.1(DEAD)
Rev: server/etc/roxen_master.pike:1.150
Rev: server/etc/test/tests/ftp/ftp_test.pike:1.4
Rev: server/font_handlers/freetype.pike:1.30
Rev: server/font_handlers/imagedir.pike:1.15
Rev: server/font_handlers/imagetar.pike:1.10
Rev: server/font_handlers/ttf.pike:1.18
Rev: server/languages/catala.pike:1.11
Rev: server/languages/chinese.pike:1.2
Rev: server/languages/croatian.pike:1.11
Rev: server/languages/czech.pike:1.18
Rev: server/languages/dutch.pike:1.11
Rev: server/languages/finnish.pike:1.10
Rev: server/languages/french.pike:1.13
Rev: server/languages/german.pike:1.11
Rev: server/languages/hungarian.pike:1.7
Rev: server/languages/italian.pike:1.13
Rev: server/languages/japanese.pike:1.22
Rev: server/languages/maori.pike:1.9
Rev: server/languages/norwegian.pike:1.12
Rev: server/languages/polish.pike:1.8
Rev: server/languages/portuguese.pike:1.11
Rev: server/languages/russian.pike:1.10
Rev: server/languages/serbian.pike:1.10
Rev: server/languages/slovenian.pike:1.17
Rev: server/languages/spanish.pike:1.12
Rev: server/languages/swedish.pike:1.20
Rev: server/modules/configuration/config_tags.pike:1.197
Rev: server/modules/configuration/roxen_test.pike:1.68
Rev: server/modules/configuration/update.pike:1.40
Rev: server/modules/examples/userdb_ex.pike:1.8
Rev: server/modules/filesystems/filesystem.pike:1.157
Rev: server/modules/filesystems/incoming.pike:1.19
Rev: server/modules/filesystems/restrictedfs.pike:1.24
Rev: server/modules/filesystems/sqlfs.pike:1.9
Rev: server/modules/filesystems/userfs.pike:1.71
Rev: server/modules/filters/tableborder.pike:1.13
Rev: server/modules/filters/whitespace_remover.pike:1.4
Rev: server/modules/graphics/business.pike:1.152
Rev: server/modules/graphics/gxml.pike:1.38
Rev: server/modules/graphics/pimage.pike:1.31
Rev: server/modules/graphics/rimage/rimage.pike:1.23
Rev: server/modules/icecast/icecast.pike:1.12
Rev: server/modules/icecast/pl_common.pike:1.9
Rev: server/modules/js-support/javascript_support.pike:1.68
Rev: server/modules/ldap/ldaptag.pike:2.38
Rev: server/modules/ldap/userdb_ldap.pike:1.14
Rev: server/modules/logging/home_logger.pike:1.35
Rev: server/modules/misc/preferred_language.pike:1.32
Rev: server/modules/misc/randomtext.pike:1.10
Rev: server/modules/misc/wapadapter.pike:1.13
Rev: server/modules/misc/webdav.pike:1.38
Rev: server/modules/proxies/connect.pike:1.20
Rev: server/modules/proxies/proxy.pike:1.57
Rev: server/modules/proxies/wais.pike:1.28
Rev: server/modules/scripting/cgi.pike:2.65
Rev: server/modules/scripting/fastcgi.pike:2.13
Rev: server/modules/scripting/perl.pike:2.26
Rev: server/modules/scripting/php.pike:2.5
Rev: server/modules/scripting/piketag.pike:2.38
Rev: server/modules/scripting/servlet.pike:2.24
Rev: server/modules/scripting/webapp.pike:2.32
Rev: server/modules/security/auth_httpbasic.pike:1.12
Rev: server/modules/security/auth_httpcookie.pike:1.12
Rev: server/modules/security/htaccess.pike:1.106
Rev: server/modules/security/userdb_sql.pike:1.10
Rev: server/modules/security/userdb_system.pike:1.12
Rev: server/modules/tags/accessed.pike:1.57
Rev: server/modules/tags/email.pike:1.43
Rev: server/modules/tags/emit_exec.pike:1.4
Rev: server/modules/tags/emit_timerange.pike:1.29
Rev: server/modules/tags/insert_cached_href.pike:1.22
Rev: server/modules/tags/obox.pike:1.41
Rev: server/modules/tags/rxmltags.pike:1.553
Rev: server/modules/tags/wizz.pike:1.10
Rev: server/modules/tags/writefile.pike:1.20
Rev: server/modules/throttling/throttling_byaddress.pike:1.6
Rev: server/modules/throttling/throttling_bytime.pike:1.8
Rev: server/ntroxenloader.pike:1.9
Rev: server/protocols/ftp.pike:2.125
Rev: server/protocols/http.pike:1.561
Rev: server/protocols/prot_hilfe.pike:2.15
Rev: server/protocols/prot_snmp.pike:2.8
Rev: server/sbin/roxen-create-server:1.5
Rev: server/tools/ntroxen/startdll/cmdline.cpp:1.21

2008-06-11

2008-06-11 17:21:39 by 0

Pass missing reuse_in_thread argument to get().

Rev: server/etc/modules/DBManager.pmod:1.69

2008-06-11 17:21:38 by 0

Pass missing reuse_in_thread argument to get().

Rev: server/etc/modules/DBManager.pmod:1.75

2008-05-09

2008-05-09 16:23:59 by Martin Stjernholm <mast@lysator.liu.se>

Fixed 7.7 warnings, mostly about unused local variables.

Rev: server/base_server/fonts.pike:1.86
Rev: server/base_server/highlight_pike.pike:1.7
Rev: server/base_server/roxen.pike:1.975
Rev: server/base_server/roxenlib.pike:1.223
Rev: server/base_server/roxenloader.pike:1.394
Rev: server/base_server/rxmlhelp.pike:1.64
Rev: server/etc/modules/DBManager.pmod:1.74
Rev: server/etc/modules/Dims.pmod:1.12
Rev: server/font_handlers/compactimgfile.pike:1.8
Rev: server/protocols/ftp.pike:2.121
Rev: server/protocols/http.pike:1.556

2008-05-07

2008-05-07 11:02:41 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some 7.7 warnings.

Rev: server/base_server/disk_cache.pike:1.63
Rev: server/base_server/global_variables.pike:1.109
Rev: server/etc/modules/DBManager.pmod:1.73
Rev: server/etc/modules/RXML.pmod/module.pmod:1.364
Rev: server/etc/modules/Roxen.pmod:1.238

2007-05-26

2007-05-26 16:32:52 by Martin Stjernholm <mast@lysator.liu.se>

Safeguard for odd table names in a couple of places. A minor
improvement in module_table_info.

Rev: server/etc/modules/DBManager.pmod:1.72

2007-05-26 13:26:38 by Martin Stjernholm <mast@lysator.liu.se>

Always use fetch_fields instead of list_fields to get database field info,
since it can contain more stuff.

Rev: server/etc/modules/DBManager.pmod:1.71

2007-05-26 01:48:48 by Martin Stjernholm <mast@lysator.liu.se>

Improved module_table_info in finding owning config/module for
databases.

Rev: server/etc/modules/DBManager.pmod:1.70

2007-01-17

2007-01-17 14:40:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added {set,get}_db_default_charset(), as well as code to default to this character set if set.

Rev: server/etc/modules/DBManager.pmod:1.69

2006-09-18

2006-09-18 16:18:34 by Martin Stjernholm <mast@lysator.liu.se>

Added charset handling in database sessions and the SQL tags.

Note: This requires a fairly cvs fresh pike (7.4 or later).

Rev: server/base_server/configuration.pike:1.618
Rev: server/base_server/module.pike:1.225
Rev: server/base_server/prototypes.pike:1.182
Rev: server/base_server/roxenloader.pike:1.379
Rev: server/etc/modules/DBManager.pmod:1.68
Rev: server/modules/database/sqltag.pike:1.106

2006-09-04

2006-09-04 15:30:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DBMANAGER_DEBUG should now work again.

Rev: server/etc/modules/DBManager.pmod:1.65

2006-05-31

2006-05-31 17:55:25 by Martin Stjernholm <mast@lysator.liu.se>

Did away with silly explicit gc calls.

Rev: server/etc/modules/DBManager.pmod:1.67

2006-02-28

2006-02-28 11:03:53 by Marcus Wellhardh <wellhard@roxen.com>

Removed some parts of the last checkin that was added by misstake.

Rev: server/etc/modules/DBManager.pmod:1.64

2006-02-17

2006-02-17 20:49:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Avoid holding the sq_cache_lock() during the call of get_sql_handler(), since it may lead to other threads handling a long time.

Rev: server/etc/modules/DBManager.pmod:1.63

2006-02-17 20:49:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Avoid holding the sq_cache_lock() during the call of get_sql_handler(), since it may lead to other threads handling a long time.

Rev: server/etc/modules/DBManager.pmod:1.66

2005-09-23

2005-09-23 21:24:29 by Martin Stjernholm <mast@lysator.liu.se>

Added MySQLTablesLock, a helper to do LOCK TABLES in a safer way.

Rev: server/etc/modules/DBManager.pmod:1.65

2005-09-23 20:00:22 by Martin Stjernholm <mast@lysator.liu.se>

Added a flag to DBManager.get() to facilitate SQL connection reuse
within the same thread.

Rev: server/etc/modules/DBManager.pmod:1.64

2005-09-06

2005-09-06 13:02:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Minor bugfix.

Rev: server/etc/modules/DBManager.pmod:1.63

2005-08-17

2005-08-17 12:28:35 by Fredrik Noring <noring@nocrew.org>

Added Stewa's ExtSQL module for Oracle. Enable with USE_EXTSQL_ORACLE.

Rev: server/bin/sqlhelper.pike:1.1
Rev: server/etc/modules/DBManager.pmod:1.62
Rev: server/etc/modules/ExtSQL.pmod:1.1

2005-08-17 12:28:20 by Fredrik Noring <noring@nocrew.org>

Added Stewa's ExtSQL module for Oracle. Enable with USE_EXTSQL_ORACLE.

Rev: server/bin/sqlhelper.pike:1.1
Rev: server/etc/modules/DBManager.pmod:1.62
Rev: server/etc/modules/ExtSQL.pmod:1.1

2005-04-14

2005-04-14 15:53:21 by Marcus Wellhardh <wellhard@roxen.com>

Enabled the set_url() fluching of the caches.

Rev: server/etc/modules/DBManager.pmod:1.61

2005-04-14 15:52:33 by Marcus Wellhardh <wellhard@roxen.com>

Enabled the set_url() flushing of the caches.

Rev: server/etc/modules/DBManager.pmod:1.61

2004-07-05

2004-07-05 09:34:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved robustness, and some support for Mysql 4.0.18.

Rev: server/etc/modules/DBManager.pmod:1.60

2003-10-20

2003-10-20 13:31:59 by Anders Johansson <anders@roxen.com>

Don't try to calculate number of rows with COUNT(*) since it can be a very
heavy operation.

Rev: server/etc/modules/DBManager.pmod:1.59

2003-10-20 13:31:57 by Anders Johansson <anders@roxen.com>

Don't try to calculate number of rows with COUNT(*) since it can be a very
heavy operation.

Rev: server/etc/modules/DBManager.pmod:1.59

2003-04-01

2003-04-01 19:18:33 by Anders Johansson <anders@roxen.com>

Fixed typo in comment.

Rev: server/etc/modules/DBManager.pmod:1.58

2003-04-01 19:18:25 by Anders Johansson <anders@roxen.com>

Fixed typo in comment.

Rev: server/etc/modules/DBManager.pmod:1.58

2003-01-20

2003-01-20 09:59:33 by Dan Nelson <dnelson@emsphone.com>

Applied db_tables() patch from Dan Nelson. Thanks.

Rev: server/etc/modules/DBManager.pmod:1.57

2003-01-20 09:59:33 by Dan Nelson <dnelson@emsphone.com>

Applied db_tables() patch from Dan Nelson. Thanks.

Rev: server/etc/modules/DBManager.pmod:1.57

2003-01-20 09:59:32 by Dan Nelson <dnelson@emsphone.com>

Applied db_tables() patch from Dan Nelson. Thanks.

Rev: server/etc/modules/DBManager.pmod:1.56

2002-12-17

2002-12-17 13:56:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Markup fixes.

Rev: server/etc/modules/DBManager.pmod:1.56

2002-07-02

2002-07-02 15:21:40 by Anders Johansson <anders@roxen.com>

Added possibility to delete groups.

Rev: server/config_interface/dbs/edit_group.pike:1.6
Rev: server/etc/modules/DBManager.pmod:1.55

2002-06-05

2002-06-05 00:13:51 by Martin Nilsson <mani@lysator.liu.se>

Set up module, program and include paths correctly.

Rev: server/etc/modules/.autodoc:1.1(DEAD)
Rev: server/etc/modules/DBManager.pmod:1.54(DEAD)
Rev: server/etc/modules/Dims.pmod:1.11(DEAD)
Rev: server/etc/modules/ExtScript.pmod:1.15(DEAD)
Rev: server/etc/modules/GText.pmod:1.14(DEAD)
Rev: server/etc/modules/HTML.pmod:1.5(DEAD)
Rev: server/etc/modules/JavaModule.pmod:1.23(DEAD)
Rev: server/etc/modules/LazyImage.pmod/CoordinateSystem.pike:1.1(DEAD)
Rev: server/etc/modules/LazyImage.pmod/Legend.pike:1.1(DEAD)
Rev: server/etc/modules/LazyImage.pmod/module.pmod:1.6(DEAD)
Rev: server/etc/modules/License.pmod:1.17(DEAD)
Rev: server/etc/modules/Map.pmod:1.4(DEAD)
Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.23(DEAD)
Rev: server/etc/modules/RXML.pmod/PExpr.pike:1.2(DEAD)
Rev: server/etc/modules/RXML.pmod/PXml.pike:1.63(DEAD)
Rev: server/etc/modules/RXML.pmod/module.pmod:1.285(DEAD)
Rev: server/etc/modules/RXML.pmod/refs.pmod:1.12(DEAD)
Rev: server/etc/modules/RXML.pmod/utils.pmod:1.29(DEAD)
Rev: server/etc/modules/Roxen.pmod:1.142(DEAD)
Rev: server/etc/modules/RoxenDebug.pmod:1.4(DEAD)
Rev: server/etc/modules/RoxenRPC.pmod/Client.pike:1.15(DEAD)
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.8(DEAD)
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Server.pike:1.4(DEAD)
Rev: server/etc/modules/RoxenRPC.pmod/Server.pike:1.18(DEAD)
Rev: server/etc/modules/Servlet.pmod:1.26(DEAD)
Rev: server/etc/modules/SloppyDOM.pmod:1.5(DEAD)
Rev: server/etc/modules/StateHandler.pmod:1.9(DEAD)
Rev: server/etc/modules/VFS.pmod:1.4(DEAD)
Rev: server/etc/modules/Variable.pmod/Date.pike:1.7(DEAD)
Rev: server/etc/modules/Variable.pmod/Email.pike:1.11(DEAD)
Rev: server/etc/modules/Variable.pmod/Image.pike:1.4(DEAD)
Rev: server/etc/modules/Variable.pmod/Language.pike:1.1(DEAD)
Rev: server/etc/modules/Variable.pmod/MapLocation.pike:1.3(DEAD)
Rev: server/etc/modules/Variable.pmod/Mapping.pike:1.6(DEAD)
Rev: server/etc/modules/Variable.pmod/Schedule.pike:1.5(DEAD)
Rev: server/etc/modules/Variable.pmod/Upload.pike:1.4(DEAD)
Rev: server/etc/modules/Variable.pmod/VerifiedPassword.pike:1.2(DEAD)
Rev: server/etc/modules/Variable.pmod/VerifiedString.pike:1.5(DEAD)
Rev: server/etc/modules/Variable.pmod/VerifiedText.pike:1.1(DEAD)
Rev: server/etc/modules/Variable.pmod/module.pmod:1.77(DEAD)
Rev: server/pike_modules/.autodoc:1.1
Rev: server/pike_modules/DBManager.pmod:1.54
Rev: server/pike_modules/Dims.pmod:1.11
Rev: server/pike_modules/ExtScript.pmod:1.15
Rev: server/pike_modules/GText.pmod:1.14
Rev: server/pike_modules/HTML.pmod:1.5
Rev: server/pike_modules/JavaModule.pmod:1.23
Rev: server/pike_modules/LazyImage.pmod/CoordinateSystem.pike:1.1
Rev: server/pike_modules/LazyImage.pmod/Legend.pike:1.1
Rev: server/pike_modules/LazyImage.pmod/module.pmod:1.6
Rev: server/pike_modules/License.pmod:1.17
Rev: server/pike_modules/Map.pmod:1.4
Rev: server/pike_modules/RXML.pmod/PEnt.pike:1.23
Rev: server/pike_modules/RXML.pmod/PExpr.pike:1.2
Rev: server/pike_modules/RXML.pmod/PXml.pike:1.63
Rev: server/pike_modules/RXML.pmod/module.pmod:1.285
Rev: server/pike_modules/RXML.pmod/refs.pmod:1.12
Rev: server/pike_modules/RXML.pmod/utils.pmod:1.29
Rev: server/pike_modules/Roxen.pmod:1.142
Rev: server/pike_modules/RoxenDebug.pmod:1.4
Rev: server/pike_modules/RoxenRPC.pmod/Client.pike:1.15
Rev: server/pike_modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.8
Rev: server/pike_modules/RoxenRPC.pmod/HTTP.pmod/Server.pike:1.4
Rev: server/pike_modules/RoxenRPC.pmod/Server.pike:1.18
Rev: server/pike_modules/Servlet.pmod:1.26
Rev: server/pike_modules/SloppyDOM.pmod:1.5
Rev: server/pike_modules/StateHandler.pmod:1.9
Rev: server/pike_modules/VFS.pmod:1.4
Rev: server/pike_modules/Variable.pmod/Date.pike:1.7
Rev: server/pike_modules/Variable.pmod/Email.pike:1.11
Rev: server/pike_modules/Variable.pmod/Image.pike:1.4
Rev: server/pike_modules/Variable.pmod/Language.pike:1.1
Rev: server/pike_modules/Variable.pmod/MapLocation.pike:1.3
Rev: server/pike_modules/Variable.pmod/Mapping.pike:1.6
Rev: server/pike_modules/Variable.pmod/Schedule.pike:1.5
Rev: server/pike_modules/Variable.pmod/Upload.pike:1.4
Rev: server/pike_modules/Variable.pmod/VerifiedPassword.pike:1.2
Rev: server/pike_modules/Variable.pmod/VerifiedString.pike:1.5
Rev: server/pike_modules/Variable.pmod/VerifiedText.pike:1.1
Rev: server/pike_modules/Variable.pmod/module.pmod:1.77
Rev: server/start:1.196

2002-02-11

2002-02-11 13:24:10 by Marcus Wellhardh <wellhard@roxen.com>

Fixed problem with duplicate users with different password.

Rev: server/etc/modules/DBManager.pmod:1.54

2002-02-07

2002-02-07 12:56:21 by Marcus Wellhardh <wellhard@roxen.com>

Added support for external database users.
Added method set_external_permission().

Rev: server/etc/modules/DBManager.pmod:1.53

2001-10-29

2001-10-29 10:51:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 2380].

Rev: server/etc/modules/DBManager.pmod:1.52

2001-10-09

2001-10-09 14:57:20 by Per Hedbor <ph@opera.com>

An attempt to fix [Bug 2379]

Rev: server/etc/modules/DBManager.pmod:1.51
Rev: server/modules/configuration/config_filesystem.pike:1.103

2001-10-08

2001-10-08 15:03:54 by Per Hedbor <ph@opera.com>

No longer possible to create a database with @ in the name. A few other characters are also forbidden

Rev: server/config_interface/dbs/new_db.pike:1.10
Rev: server/etc/modules/DBManager.pmod:1.50

2001-10-08 13:58:20 by Marcus Wellhardh <wellhard@roxen.com>

list_fields now works for ODBC drivers that do not implement it

Rev: server/etc/modules/DBManager.pmod:1.49

2001-10-08 09:13:57 by Marcus Wellhardh <wellhard@roxen.com>

Uppercase in Oracle

Rev: server/etc/modules/DBManager.pmod:1.48

2001-10-05

2001-10-05 14:16:48 by Per Hedbor <ph@opera.com>

Works better with foreign databases

Rev: server/config_interface/dbs/browser.pike:1.33
Rev: server/config_interface/dbs/db_matrix.pike:1.18
Rev: server/etc/modules/DBManager.pmod:1.47

2001-10-04

2001-10-04 13:57:40 by Per Hedbor <ph@opera.com>

New documentation distribution method. No longer a tar-file

Rev: server/etc/modules/DBManager.pmod:1.46
Rev: server/modules/configuration/config_filesystem.pike:1.98

2001-10-02

2001-10-02 12:21:18 by Per Hedbor <ph@opera.com>

Fixed a bug.

Rev: server/etc/modules/DBManager.pmod:1.45

2001-10-01

2001-10-01 15:05:27 by Per Hedbor <ph@opera.com>

Hopefully fixed the 'no oracle in dbbrowser' problem. Same goes for ODBC with friends

Rev: server/config_interface/dbs/browser.pike:1.31
Rev: server/etc/modules/DBManager.pmod:1.44

2001-09-21

2001-09-21 09:53:39 by Per Hedbor <ph@opera.com>

Fixed a bug. The 'none' permission was accidentally synonymous with 'root access'.

Rev: server/etc/modules/DBManager.pmod:1.43

2001-09-06

2001-09-06 15:36:57 by Per Hedbor <ph@opera.com>

Another instance where information about the roxen and mysql datbases leaked to the user plugged

Rev: server/etc/modules/DBManager.pmod:1.42

2001-09-06 11:08:32 by Per Hedbor <ph@opera.com>

Fool the optimizer!

Rev: server/base_server/roxenloader.pike:1.287
Rev: server/etc/modules/DBManager.pmod:1.41

2001-09-06 09:57:21 by Per Hedbor <ph@opera.com>

Fixed [Bug 2205]

Rev: server/etc/modules/DBManager.pmod:1.40

2001-09-06 09:46:56 by Per Hedbor <ph@opera.com>

Simplified

Rev: server/etc/modules/DBManager.pmod:1.39

2001-09-05

2001-09-05 20:56:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Unified Sql cache system.
Fixes [bug 2202].
Approved (and hacked) by Per.

Rev: server/base_server/roxenloader.pike:1.285
Rev: server/config_interface/dbs/status.pike:1.8
Rev: server/etc/modules/DBManager.pmod:1.38

2001-09-03

2001-09-03 18:05:14 by Per Hedbor <ph@opera.com>

Support widestring sitenames

Rev: server/etc/modules/DBManager.pmod:1.37

2001-09-03 17:35:12 by Per Hedbor <ph@opera.com>

Do not allow deletion of mysql and roxen dbs no matter what

Rev: server/etc/modules/DBManager.pmod:1.36

2001-09-03 16:51:55 by Per Hedbor <ph@opera.com>

Fixed [Bug 2132]

Rev: server/etc/modules/DBManager.pmod:1.35

2001-09-03 13:48:33 by 0

Typo fix.

Rev: server/etc/modules/DBManager.pmod:1.34

2001-09-03 13:40:30 by Per Hedbor <ph@opera.com>

Use the list() function internally as well.

Rev: server/etc/modules/DBManager.pmod:1.33

2001-09-03 11:57:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix.

Rev: server/etc/modules/DBManager.pmod:1.32

2001-09-03 10:54:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

clear_sql_caches() is now two-pass, to avoid killing new connections.

Rev: server/etc/modules/DBManager.pmod:1.31

2001-08-31

2001-08-31 19:46:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved DBMANAGER_DEBUG.

Rev: server/etc/modules/DBManager.pmod:1.30

2001-08-31 19:45:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Minor reordering and added some DBMANAGER_DEBUG.

Rev: server/etc/modules/DBManager.pmod:1.29

2001-08-31 19:39:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Reverted previous change.

Rev: server/etc/modules/DBManager.pmod:1.28

2001-08-31 17:57:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

sql_cache needs to contain all conections in the connection_cache.
Thus get() needs to store local connections in sql_cache too.
Potential fix for an SQL connection leak bug.

Rev: server/etc/modules/DBManager.pmod:1.27

2001-08-28

2001-08-28 15:48:01 by Per Hedbor <ph@opera.com>

Fixed a replicate variable. Got rid of the 'shared' database, since it was more or less a clone of the 'replicate' database anyway (in it's intentions). Fixed [Bug 2075]

Rev: server/arg_cache_plugins/replicate.pike:1.4
Rev: server/base_server/global_variables.pike:1.82
Rev: server/base_server/module.pike:1.129
Rev: server/base_server/prototypes.pike:1.36
Rev: server/base_server/roxen.pike:1.718
Rev: server/config_interface/dbs/browser.pike:1.22
Rev: server/config_interface/dbs/index.html:1.9
Rev: server/config_interface/dbs/new_db.pike:1.7
Rev: server/config_interface/sites/create_site.pike:1.8
Rev: server/config_interface/sites/create_site_with_template.pike:1.20
Rev: server/etc/modules/DBManager.pmod:1.26
Rev: server/etc/test/tests/db/RoxenTest_dbmanager.pike:1.5
Rev: server/modules/configuration/config_tags.pike:1.161
Rev: server/modules/security/auth_httpcookie.pike:1.8
Rev: server/modules/tags/accessed.pike:1.45

2001-08-22

2001-08-22 19:23:08 by Per Hedbor <ph@opera.com>

New feature in the database browser: Database groups.

Rev: server/base_server/roxen.pike:1.708
Rev: server/config_interface/dbs/browser.pike:1.20
Rev: server/config_interface/dbs/db_matrix.pike:1.15
Rev: server/config_interface/dbs/edit_group.pike:1.1
Rev: server/config_interface/dbs/index.html:1.7
Rev: server/config_interface/dbs/new_db.pike:1.5
Rev: server/config_interface/dbs/new_group.pike:1.1
Rev: server/config_interface/dbs/subtabs.pike:1.10
Rev: server/etc/modules/DBManager.pmod:1.25

2001-08-20

2001-08-20 12:01:11 by Martin Nilsson <mani@lysator.liu.se>

This should be documented as DBManager, not DBManager.DBManager

Rev: server/etc/modules/DBManager.pmod:1.24

2001-08-14

2001-08-14 15:12:06 by Per Hedbor <ph@opera.com>

New function to take ownership of a whole database from a module

Rev: server/etc/modules/DBManager.pmod:1.23

2001-08-13

2001-08-13 18:23:57 by Per Hedbor <ph@opera.com>

Major changes. Some new tables, added a method to add metadata about tables (creating module, description etc), added methods to make and restore backups. Added a insert_statement method that, given a result row mapping from query or something similar, creates a insert statement that match. Added a few more functions used by the database UI in the configuration interface.

Rev: server/etc/modules/DBManager.pmod:1.22

2001-08-10

2001-08-10 12:09:00 by Per Hedbor <ph@opera.com>

Fixed [Bug 1948] and a few other problems

Rev: server/base_server/roxenloader.pike:1.273
Rev: server/config_interface/boxes/doclinks.pike:1.3
Rev: server/etc/modules/DBManager.pmod:1.21

2001-08-09

2001-08-09 15:02:47 by Per Hedbor <ph@opera.com>

Save even more connections by only keeping one per thread and user for local databases instead of one per thread, user and database

Rev: server/base_server/roxenloader.pike:1.271
Rev: server/etc/modules/DBManager.pmod:1.20
Rev: server/etc/roxen_master.pike:1.116

2001-08-09 14:08:48 by Per Hedbor <ph@opera.com>

Save database connections.

Rev: server/etc/modules/DBManager.pmod:1.19

2001-08-09 13:30:36 by Per Hedbor <ph@opera.com>

Major changes to the SQL connection caches. Also, the mysql status now list all open connections for your information.

Rev: server/base_server/roxenloader.pike:1.269
Rev: server/config_interface/dbs/status.pike:1.3
Rev: server/etc/modules/DBManager.pmod:1.18
Rev: server/etc/roxen_master.pike:1.114
Rev: server/modules/configuration/update.pike:1.31

2001-08-09 12:51:17 by Per Hedbor <ph@opera.com>

Do a better job of cache clearing when the permissions are changed

Rev: server/etc/modules/DBManager.pmod:1.17

2001-08-09 12:43:04 by Per Hedbor <ph@opera.com>

Actually works now, even with threads.. :-)

Rev: server/etc/modules/DBManager.pmod:1.16

2001-08-09 12:07:54 by Per Hedbor <ph@opera.com>

gc() more...

Rev: server/etc/modules/DBManager.pmod:1.15

2001-08-08

2001-08-08 23:12:46 by Martin Nilsson <mani@lysator.liu.se>

Autodoc syntax fixes

Rev: server/etc/modules/DBManager.pmod:1.14
Rev: server/etc/modules/Roxen.pmod:1.109
Rev: server/etc/modules/Variable.pmod/module.pmod:1.62

2001-08-01

2001-08-01 11:08:17 by Per Hedbor <ph@opera.com>

Clear connectioncaches when the permissions are changed

Rev: server/etc/modules/DBManager.pmod:1.13

2001-06-28

2001-06-28 14:57:22 by Marcus Wellhardh <wellhard@roxen.com>

Increased database name size from 20 to 64 chars.

Rev: server/etc/modules/DBManager.pmod:1.12

2001-06-21

2001-06-21 09:01:30 by Anders Johansson <anders@roxen.com>

Typo?

Rev: server/etc/modules/DBManager.pmod:1.11

2001-06-20

2001-06-20 23:45:32 by Per Hedbor <ph@opera.com>

Clear the connection cache if it's too large, to avoid overloading sql-servers and roxen alike with connections (think 10 databases in 1000 threads, it's not a good thing if the connections are not removed sometimes)

Rev: server/etc/modules/DBManager.pmod:1.10

2001-06-16

2001-06-16 15:48:11 by Martin Nilsson <mani@lysator.liu.se>

Can now be loaded before roxen.

Rev: server/etc/modules/DBManager.pmod:1.9

2001-06-15

2001-06-15 09:58:09 by Per Hedbor <ph@opera.com>

Use mappings indexed on this_thread() instead of Thread.Local variables since there is no way to reset Thread.Local's, and they are not really destroyed when their refs reach 0. Before this code leaked MySQL connections

Rev: server/etc/modules/DBManager.pmod:1.8

2001-06-13

2001-06-13 13:48:52 by Per Hedbor <ph@opera.com>

Added more documentation

Rev: server/etc/modules/DBManager.pmod:1.7

2001-06-13 13:48:18 by Per Hedbor <ph@opera.com>

Added documentation

Rev: server/etc/modules/DBManager.pmod:1.6

2001-06-13 13:43:07 by Per Hedbor <ph@opera.com>

Added cached_get()

Rev: server/etc/modules/DBManager.pmod:1.5

2001-06-11

2001-06-11 02:43:38 by Per Hedbor <ph@opera.com>

db_url now works for internal DBs as well

Rev: server/etc/modules/DBManager.pmod:1.4

2001-04-23

2001-04-23 08:59:24 by Anders Johansson <anders@roxen.com>

Quote database names. [Bug 1573]

Rev: server/base_server/roxenloader.pike:1.252
Rev: server/etc/modules/DBManager.pmod:1.3

2001-01-31

2001-01-31 00:56:23 by Per Hedbor <ph@opera.com>

Fixed bugs detected by testsuite

Rev: server/etc/modules/DBManager.pmod:1.2

2001-01-29

2001-01-29 09:03:50 by Per Hedbor <ph@opera.com>

Moved DBManager

Rev: server/base_server/dbs.pike:1.8(DEAD)
Rev: server/etc/modules/DBManager.pmod:1.1