• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Fixed bug due to typos

As we now have ::xo::db::sql::util interface to check for database object's existance,

there is no need for inline sql snippets in the code for such task.

- transform table definitions to dicts to make it possible to check for colums to be added (based on work of Antonio Pisano)

  1. … 2 more files in changeset.
In case an empty query is given use the query name to fetch it.