• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
new require method to create sequences

Use quoting on default value

Make the code more robust when people still hasn't run the upgrade script but have the latest code

Enhancement for the db abstraction interface: now the system is also able to specify

and reflect in the db table column properties and constraints as unique, foreign keys (as before),

not null, default value (as before) and index creation (directly as class attribute flag).

Such column properties will be added to the data model also after first table creation

without the need for an upgrade script. This should cover the most typical

"incremental upgrade" use cases. Change in column type and dropping of tables, indexes

or constraints still has to be performed manually.

Also, flag for require view allows one to rebuild it automatically.

Made all creation of fallback database utilities conditional to object existance

Move fallback utilities definitions after ones coming from database

function, so the latter have precedence.

This is needed upstream because create_all_functions here skips

function creation when it already exist (motivated in comment).

Fallback to datatype mapping based on acs_datatypes when no direct mapping is available

- add nonces to script tags

- add body handlers

  1. … 7 more files in changeset.
- revert this mornings change, since this leads to many warnings

- use same uplevel idiom everywhere (many thanks to antonio)

- fortify low-level db access methods: return errors when called with wrong argument types

  1. … 1 more file in changeset.
- remove obsolete code

- use optional child-rels

- bump version number to 0.144

  1. … 2 more files in changeset.
- fetch xql in dml call, when no sql is provided

- prefer "ad_log error" for error messages in the log file

  1. … 5 more files in changeset.
- add support for bindvars to the xo::dc interace for db::xo::db::DB

and ::xo::db::DBI

- reduce warnings in log file

- add -initialize flag to methods "get_instances_from_db" and "get_folder_children"

  1. … 2 more files in changeset.
- remove obsolete code

  1. … 1 more file in changeset.
- reduce verbosity

- fix caching of slots in db_slot for extend_slot (backport from HEAD)

  1. … 2 more files in changeset.
- fix caching of slots in db_slot for extend_slot

  1. … 2 more files in changeset.
- don't build db-stubs for trigger functions

  1. … 1 more file in changeset.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 520 more files in changeset.
- don't clobber objects in "instantiate_objects" if these exists already

- add support for item index hook (to be used in other packages)

  1. … 2 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- provide an "update" method for plain object similiar to an "insert" method

Revert changes in xo::db::require table, as new definition is already handled

- Fixed regression in fallback utilities

- Fixed regression in ::xo::db::require table due to argment 'definition' being now in dict format

Added transitional code for installations running with acs-kernel prior to version 5.8.1a6,

or later before running upgrade scripts: some ::xo::db::sql::utility methods would be missing,

so they are transitionally defined on the fly.

- add attribute "create_table_attribute" to "::xo::db::Attribute" to

contol the creation of somewhat magic attributes (e.g. "text" of the

acs content repository)

  1. … 1 more file in changeset.
Commented log statements used while testing