• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- upgrade to version 0.094

    • -4
    • +6
    /openacs-4/packages/q-forms/q-forms.info
    • -155
    • +416
    /openacs-4/packages/q-forms/tcl/form-procs.tcl
    • -0
    • +23
    /openacs-4/packages/q-forms/tcl/scheduled-init.tcl
    • -0
    • +64
    /openacs-4/packages/q-forms/tcl/scheduled-procs.tcl
    • -0
    • +7
    /openacs-4/packages/q-forms/www/admin/index.adp
    • -0
    • +13
    /openacs-4/packages/q-forms/www/admin/index.tcl
    • -0
    • +5
    /openacs-4/packages/q-forms/www/admin/test.adp
    • -0
    • +42
    /openacs-4/packages/q-forms/www/admin/test.tcl
    • -0
    • +5
    /openacs-4/packages/q-forms/www/admin/test2.adp
    • -0
    • +34
    /openacs-4/packages/q-forms/www/admin/test2.tcl
    • -1
    • +1
    /openacs-4/packages/q-forms/www/doc/index.adp
- initial checkin

    • -0
    • +70
    /openacs-4/packages/q-wiki/README.md
    • -0
    • +39
    /openacs-4/packages/q-wiki/q-wiki.info
    • -0
    • +81
    /openacs-4/packages/q-wiki/tcl/q-group-procs.tcl
    • -0
    • +676
    /openacs-4/packages/q-wiki/tcl/q-wiki-procs.tcl
    • -0
    • +112
    /openacs-4/packages/q-wiki/tcl/template-procs.tcl
    • -0
    • +47
    /openacs-4/packages/q-wiki/www/index.vuh
    • -0
    • +36
    /openacs-4/packages/q-wiki/www/q-wiki.adp
    • -0
    • +1002
    /openacs-4/packages/q-wiki/www/q-wiki.tcl
    • -0
    • +10
    /openacs-4/packages/q-wiki/www/admin/index.adp
    • -0
    • +3
    /openacs-4/packages/q-wiki/www/admin/index.tcl
    • -0
    • +61
    /openacs-4/packages/q-wiki/www/doc/index-extended-vuh.txt
    • -0
    • +121
    /openacs-4/packages/q-wiki/www/doc/index.adp
    • -0
    • +3
    /openacs-4/packages/q-wiki/www/doc/index.tcl
    • -0
    • +41
    /openacs-4/packages/q-wiki/www/doc/q-wiki-extended-adp.txt
    • -0
    • +1242
    /openacs-4/packages/q-wiki/www/doc/q-wiki-extended-tcl.txt
    • -0
    • +148
    /openacs-4/packages/q-wiki/www/doc/qwbw-wiki-procs-tcl.txt
security::validated_host_header:

- check also in nssock sections for v4 and v6

- check as well virtual server configuration

- prevent double registration of events in nested repeat steups (many thanks to Thomas Renner for the patch)

- use "label" tags for denoting labels in check and radio boxes

Use now available higher level proc to create the event handler

Removed javascript property from template: variable did not exists and caused an error when opening the page

Require latest acs-kernel, as new features use freshly defined db utilities

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.

    • -13
    • +144
    /openacs-4/packages/xotcl-core/tcl/05-db-procs.tcl
Added new database utility to retrieve primary keys of a table.

Source for the postgres version: https://wiki.postgresql.org/wiki/Retrieve_primary_key_columns

Source for the oracle version: http://stackoverflow.com/questions/4749650/function-that-would-return-the-data-retreived-from-a-select-query-oracle

file upgrade-5.9.1d19-5.9.1d20.sql was initially added on branch oacs-5-9.

Added new database functions to check for various properties and constraints in database metadata:

- foreign key constraint

- unique constraint

- not null constraint

- get column default value

file upgrade-5.9.1d18-5.9.1d19.sql was initially added on branch oacs-5-9.

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

    • -163
    • +164
    /openacs-4/packages/xotcl-core/tcl/05-db-procs.tcl
Put CSP stuff in the installer page only when required (an error is thrown and we need the back button)

In such case, make the nonce attribute safer by using the proc instead of the (likely missing) variable

- fix for complex interaction of nested repeat fields and ckeditor instances (many thanks to Thomas Renner for the help)

    • -86
    • +100
    /openacs-4/packages/xowiki/tcl/form-field-procs.tcl
Make timed_id just a proc variable instead of instance's

- add safety-belt for subject lines: in case the string passed in for the subject line contains CRLF, the produced mail might end up destroyed. so remove crlf and add a warning, in case it happens (client bug)

Fixed root_folder_id variable not being passed properly to the includelet by the fs-portlet

Make available a clock based id to templates, so they can use it to attach easily javascript event handlers to elements

- don't hard-code community_member_admin_url

- improve support for IPv6

Remove possible lefrover trigger and function from the old good days.

New instances don't even have this, but old born instances that get

updated could still have it. It is not necessary anymore and breaks

current cast rules in postgres.

file upgrade-2.9.0-2.9.1d1.sql was initially added on branch oacs-5-9.

Fix extra "at" chars

Handlers were already in the adp

Introduce nonce attribute in script tags to comply with csp

Set required hkey variable

    • -1
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- add repeat fields dynamically via js if needed.

This can improves load times for long complex nested repeat structure significantly

    • -9
    • +7
    /openacs-4/packages/xowiki/tcl/repeat-procs.tcl
- fix non-existing link