• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- new method for ::xotcl::Object mset: set a series of instance

variables via the provided attribute value list (as e.g. returned by

[array get], [ns_set array], ...

- implement the prepared statement handling within the scope of

a "db_with_handle", to make sure, the prepare and the subsequent

command are using the same handle (and therefore session).

- use for prepared statement caching the result of [ns_db session_id]

when available

- bump version to 0.155

  1. … 1 more file in changeset.
- build prepared statements more eager - for the time being

- provide faster import of instance variables through the user of lassign

Pass dbn to subsequent calls

Added support for prepared statements to other ::xo::dc operations

- add support for providing max entry cache size (when used with NaviServer)

- use lower case name for prepared statements

- remove the need for providing a prepare name by using a md5 hash, which is also better scalable

- bump versin number to 0.154

  1. … 1 more file in changeset.
- first draft of prepared statements for xo::dc using the standard PostgreSQL handler

- bump version number to 0.153

  1. … 1 more file in changeset.
- make qn more robust, when runnin on the topLevel

Don't use 'if not exists' idiom for postgres as present since version 9.5 only

Create stubs only when required and close to actual methods

- reduce verbosity

new procs must be created when util object exists!

Check for new require object's features explicitly by utility presence rather than oacs version. Do check only at file load time and define procs accordingly

- use function instread of variable

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).

- don't hard-code community_member_admin_url

- improve support for IPv6

  1. … 2 more files in changeset.
- fix behavior, when no default is provided

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

- use "-is_latest true" also for save_new

- set live and latest revision on one sweep (use is_latests setting when setting live_revision)

  1. … 1 more file in changeset.
Allow messages starting with a dash

Avoid logging every message sent to reduce IO

Chats won't throw an error anymore when people keep looking to a room that has been closed.

Instead, user will be informed that the room is unavailable.

Added missing locale key source of errors in the log.

Fixed wrong stored procedure, stating different arguments than in actual usage.

Cleaned up weird idioms in xql files and chat api, moved many db operations into tcl api.

Exploited cache (ns_cache) to retrieve quickly chat room information.

Improved code quality a bit.

Ported upstream some local modification, like prettifying of flags in chat room management

and fix of double quoting in chat's javascript.

  1. … 11 more files in changeset.
Allow the use of naturalnum page parameter type with ::xowiki::Package initialize (thanks to Stefan Sobernig)

Put again naturalnum instead of integer in xowiki's permission admin page

  1. … 1 more file in changeset.