• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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.
- add nonces to script elements

  1. … 3 more files in changeset.
- add nonces to script tags

- add body handlers

  1. … 7 more files in changeset.
- improve documentation, remove commented-out code

- use "ns_ictl trace delete" instead of "ns_ictl ondelete"

chat-procs overhaul:

- don't double encode everything

- avoid deprecated js functions escape()/unescape()

xowiki/www/ajax/streaming-chat.js, xowiki/www/ajax/scripted-streaming-chat.js

- scripted-mode: fix incorrect markup

- fix parameter passing to xowiki/www/ajax/chat.tcl to avoid rejects

- fix json_encode: one quote to man in xotcl-core/tcl/chat-procs.tcl

- don't dropt "user has_entered_the_room" in "xo::Chat instproc login",

since xowiki chat has otherwise no idea, who is logged in

  1. … 5 more files in changeset.
Introduced new options to set chat rooms so login and/or logout message are not issued everytime a user enters/exits the chat.

  1. … 15 more files in changeset.