• last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix sql update to populate new forum_id column in existing data

Maintenance of forum reading count feature

- removal of forums_reading_info_user (1Mio rows on Learn@WU).

This materialized view had to be constantly synced with

forums_reading_info table. Reimplemented as view.

- simplify logics in stored procedure due to new datamodel

- fix inconsistencies between oracle and postgres function definition

- re-enabled parameter to decide whether use these stats or not in

administration

TODO: consider further reform of this feature as stats grow very

large on busy sites for probably little value added

    • -0
    • +186
    ./packages/forums/sql/oracle/upgrade/upgrade-1.3.1d2-1.3.1d3.sql
    • -5
    • +2
    ./packages/forums/tcl/forums-procs.tcl
Remove deprecated idioms and unneded queries

    • -8
    • +0
    ./packages/forums/lib/message/post-oracle.xql
    • -14
    • +13
    ./packages/forums/lib/message/post.tcl
    • -13
    • +0
    ./packages/forums/lib/message/post.xql
Persist sanitized timestamp into data object before saving (Many thanks to Markus Moser)

    • -3
    • +3
    ./packages/xowiki/tcl/xowiki-form-procs.tcl
Implement post anonymously through explicit forum attribute in table

Now moderators can explicitly decide whether a forum will enable posting anonymously or not.

Forum must be in a policy different from closed and the anonymous flag must be set accordingly for this to happen.

Also:

- normalize api in a way it can accomodate all current attributes. In particular,

now edit api will now leave every unspecified attribute unchanged, instead of

setting it to some default.

- fix some usability issues when managing forum parameters (e.g. values not

retrieved in form when editing existing forum)

- introduce missing Oracle upgrade script for the whole forum reform

- fix oracle creation script

    • -22
    • +32
    ./packages/forums/lib/forums/edit.tcl
    • -18
    • +18
    ./packages/forums/lib/forums/new.tcl
    • -7
    • +27
    ./packages/forums/tcl/forums-procs.tcl
    • -8
    • +12
    ./packages/forums/tcl/forums-procs.xql
Update docs: remove broken links and remove/update obsolete section

    • -2
    • +1
    ./packages/acs-core-docs/www/acs-admin.adp
    • -1
    • +24
    ./packages/acs-core-docs/www/acs-admin.html
    • -1
    • +6
    ./packages/acs-core-docs/www/acs-plat-dev.html
    • -4
    • +4
    ./packages/acs-core-docs/www/analog-setup.adp
    • -9
    • +30
    ./packages/acs-core-docs/www/analog-setup.html
    • -30
    • +27
    ./packages/acs-core-docs/www/aolserver.adp
    • -48
    • +156
    ./packages/acs-core-docs/www/aolserver.html
    • -46
    • +37
    ./packages/acs-core-docs/www/aolserver4.adp
    • -37
    • +141
    ./packages/acs-core-docs/www/aolserver4.html
    • -4
    • +1
    ./packages/acs-core-docs/www/apm-design.adp
    • -87
    • +428
    ./packages/acs-core-docs/www/apm-design.html
  1. … 285 more files in changeset.
further cleanup for XOTcl2

    • -99
    • +101
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
Simplify idiom

    • -8
    • +4
    ./packages/acs-subsite/tcl/package-procs.tcl
Since PostgreSQL 10 does not support the tsearch2 backword compatibility package anymore, make sure that OpenACS does not use the old names requiring this package.

Revert db_exec_plsql or Oracle will break, remove leftover xql files

restrict detail statistics to swa

Optimize query by using multi-object permission checking and trying to filter the most tuples before joining cr_items with cr_revisions

    • -5
    • +33
    ./packages/assessment/www/index-postgresql.xql
Reduce divergence between oracle and postgres

    • -25
    • +1
    ./packages/file-storage/www/move-oracle.xql
    • -20
    • +28
    ./packages/file-storage/www/move.tcl
Fix oracle systax to call function via select

Uniform API when deleting folder, drill through some calling levels in stored procedure, use a simpler db_string instead of db_exec_plsql

    • -6
    • +3
    ./packages/file-storage/www/folder-delete.tcl
Fix broken links

    • -0
    • +32
    ./packages/acs-authentication/www/doc/index.adp
    • -6
    • +5
    ./packages/acs-lang/www/doc/i18n-requirements.html
    • -2
    • +2
    ./packages/acs-templating/www/doc/design.adp
    • -4
    • +3
    ./packages/acs-templating/www/doc/design.html
Remove broken links

    • -1
    • +1
    ./packages/lars-blogger/www/doc/index.adp
    • -1
    • +1
    ./packages/lars-blogger/www/doc/index.html
make sure to create in initialize WorkflowContext new and remove duplicated instproc

Bring legacy versions of image__new() in sync with the actual definitions

fix variable reference

    • -1
    • +1
    ./packages/xowiki/tcl/syndicate-procs.tcl
check stripped_name before trying to import the prototype page

    • -3
    • +5
    ./packages/xowiki/tcl/package-procs.tcl
Fixes for previous commit

    • -3
    • +3
    ./packages/xowiki/tcl/includelet-procs.tcl
    • -4
    • +4
    ./packages/xowiki/tcl/syndicate-procs.tcl
Bump version number

Prefer XOTcl2 idioms

    • -114
    • +108
    ./packages/xowiki/tcl/weblog-procs.tcl
    • -486
    • +481
    ./packages/xowiki/tcl/xowiki-procs.tcl
    • -187
    • +187
    ./packages/xowiki/tcl/package-procs.tcl
Prefer XOTcl2 idioms

    • -154
    • +134
    ./packages/xowiki/tcl/xowiki-form-procs.tcl
    • -55
    • +52
    ./packages/xowiki/tcl/import-procs.tcl
    • -225
    • +225
    ./packages/xowiki/tcl/includelet-procs.tcl
Prefer XOTcl2 idioms

    • -110
    • +100
    ./packages/xowiki/tcl/syndicate-procs.tcl
    • -46
    • +45
    ./packages/xowiki/tcl/tree-procs.tcl
Prefer XOTcl2 idioms

    • -119
    • +111
    ./packages/xowiki/tcl/link-procs.tcl
Prefer XOTcl2 idioms

    • -46
    • +46
    ./packages/xowiki/tcl/bootstrap-procs.tcl
    • -56
    • +54
    ./packages/xowiki/tcl/repeat-procs.tcl
    • -24
    • +24
    ./packages/xowiki/tcl/folder-procs.tcl
    • -31
    • +31
    ./packages/xowiki/tcl/menu-procs.tcl
prefer XOTcl2 idioms

    • -115
    • +92
    ./packages/xowiki/tcl/form-field-procs.tcl
prefer XOTcl2 idioms

    • -18
    • +17
    ./packages/xowiki/tcl/xowiki-utility-procs.tcl
    • -268
    • +262
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
    • -104
    • +102
    ./packages/xowiki/tcl/yui-procs.tcl
    • -11
    • +10
    ./packages/xowiki/tcl/adp-generator-procs.tcl