• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 473 more files in changeset.
unify spelling of URL

  1. … 1 more file in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 224 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
Rework variable assignment (set -> lassign)

  1. … 10 more files in changeset.
Fix typos

  1. … 7 more files in changeset.
remove parens

improve spelliing

  1. … 2 more files in changeset.
Fix typos

  1. … 61 more files in changeset.
fix more typos

  1. … 5 more files in changeset.
Fix typos

  1. … 7 more files in changeset.
Fix typos

  1. … 3 more files in changeset.
fix typo

- fix inconsistency between updated versions and new intallations: check always the message format

- add text/markdown to accepted formats

    • -0
    • +11
    ./sql/postgresql/upgrade/upgrade-1.3.1d4-1.3.1d5.sql
delete unreferenced .xql queries

    • -35
    • +0
    ./lib/search/search-chunk-oracle.xql
Make termination after connection closing commands explicit

  1. … 1 more file in changeset.
Fix boolean expressions in -adp files, make termination after connection closing commands explicit

  1. … 18 more files in changeset.
add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 7 more files in changeset.
Reduce divergencies between oracle and postgres codebase

    • -10
    • +0
    ./lib/forums/forums-chunk-oracle.xql
    • -11
    • +0
    ./lib/forums/forums-chunk-postgresql.xql
    • -0
    • +15
    ./lib/forums/forums-chunk.xql
  1. … 3 more files in changeset.
Reduce divergencies between oracle and postgres codebase

    • -29
    • +0
    ./lib/message/threads-chunk-oracle.xql
    • -32
    • +0
    ./lib/message/threads-chunk-postgresql.xql
Make forum::use_ReadingInfo_p more robust when UseReadingInfo parameter in forums is not set

make boolean test strict

Hot fix for latest changes concerning reading info

Fix typo

Port downstream only usage of reading info api

Also fix such api so that root message is retrieved for every given source message

    • -5
    • +16
    ./sql/oracle/forums-reading-info-package-create.sql
    • -0
    • +163
    ./sql/oracle/upgrade/upgrade-1.3.1d3-1.3.1d4.sql
    • -0
    • +34
    ./sql/postgresql/upgrade/upgrade-1.3.1d3-1.3.1d4.sql
    • -0
    • +8
    ./www/moderate/move-thread-postgresql.xql
Converge downstream reading_info feature with upstream

Port downstream only idiom to update reading_info table

Make more use of api when retrieving forum and message information

Optimize message existance query

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

    • -17
    • +10
    ./sql/oracle/forums-reading-info-create.sql
    • -3
    • +3
    ./sql/oracle/forums-reading-info-drop.sql
    • -143
    • +5
    ./sql/oracle/forums-reading-info-package-create.sql
    • -0
    • +186
    ./sql/oracle/upgrade/upgrade-1.3.1d2-1.3.1d3.sql
    • -0
    • +173
    ./sql/postgresql/upgrade/upgrade-1.3.1d2-1.3.1d3.sql
Remove deprecated idioms and unneded queries

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

    • -0
    • +27
    ./sql/oracle/upgrade/upgrade-1.3.1d1-1.3.1d2.sql
    • -0
    • +3
    ./sql/postgresql/forums-forums-create.sql
    • -0
    • +13
    ./sql/postgresql/upgrade/upgrade-1.3.1d1-1.3.1d2.sql