• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make the code more robust when people still hasn't run the upgrade script but have the latest code

file upgrade-5.9.1d25-5.9.1d26.sql was initially added on branch oacs-5-9.

- fix bug when updateing a user portrait, which was saved as "lob"

- make upgrade script more robust (when run twice)

- add downloader

- make downloader available under /acs-admin/ (column site-wide admin for Richtext CKeditor4)

- bump version of CKEditor to 4.6.1

- bump version to 0.9

file download.tcl was initially added on branch oacs-5-9.

file index.tcl was initially added on branch oacs-5-9.

file index.adp was initially added on branch oacs-5-9.

- allow dots in tags

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Put nonce attribute in script tags generated by tdom commands

- nitial commit of version 0.904

    • -0
    • +72
    /openacs-4/packages/cl-custom/README.md
    • -0
    • +45
    /openacs-4/packages/cl-custom/cl-custom.info
    • -0
    • +170
    /openacs-4/packages/cl-custom/tcl/ecbw-paypal-procs.tcl
    • -0
    • +220
    /openacs-4/packages/cl-custom/tcl/qcl-spec-procs.tcl
    • -0
    • +162
    /openacs-4/packages/cl-custom/tcl/qcl-wiki-procs.tcl
    • -0
    • +71
    /openacs-4/packages/cl-custom/www/index.vuh
    • -0
    • +64
    /openacs-4/packages/cl-custom/www/q-wiki.adp
    • -0
    • +1499
    /openacs-4/packages/cl-custom/www/q-wiki.tcl
    • -0
    • +30
    /openacs-4/packages/cl-custom/www/doc/index.adp
    • -0
    • +3
    /openacs-4/packages/cl-custom/www/doc/index.tcl
- upgrade to version 0.216

    • -7
    • +50
    /openacs-4/packages/spreadsheet/README.md
    • -0
    • +137
    /openacs-4/packages/spreadsheet/tcl/spreadsheet-util-procs.tcl
    • -0
    • +1742
    /openacs-4/packages/spreadsheet/tcl/tips-procs.tcl
    • -0
    • +445
    /openacs-4/packages/spreadsheet/tcl/test/q-control-procs.tcl
    • -0
    • +829
    /openacs-4/packages/spreadsheet/tcl/test/tips-procs.tcl
    • -0
    • +5
    /openacs-4/packages/spreadsheet/www/test.adp
    • -0
    • +46
    /openacs-4/packages/spreadsheet/www/test.tcl
- 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