• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Replace/remove deprecated proc 'db_null' and update doc accordingly

  1. … 33 more files in changeset.
whitespace changes

don't assume, there is only one forums package instance

prefer {} as empty sql statement

avoid localization substitutions in content of forums messages in notification messages

Removed obsolete @arch-tag

    • -2
    • +1
    ./forums-callback-procs-postgresql.xql
  1. … 28 more files in changeset.
port all former tclwebtest test cases to acs::test and do some more detailed testing

  1. … 1 more file in changeset.
add tested API calls to testcases

- modularize web tests based on acs::test

- add new web tests for viewing and editing forums

    • -0
    • +143
    ./test/webtest-procs.tcl
  1. … 1 more file in changeset.
move newly defined testing API (in OpenACS 5.10) to namespace acs::test

  1. … 9 more files in changeset.
Trim whitespaces

    • -129
    • +129
    ./test/tclwebtest-procs.tcl
- new API function: forum::delete (can't believe, this was missing)

- rework regression test

* make API calls explicit

* ported one test case from (broken) twt to aa_http

- bump version number to 1.3.1d6

    • -0
    • +11
    ./forums-procs-oracle.xql
    • -0
    • +11
    ./forums-procs-postgresql.xql
  1. … 1 more file in changeset.
make tested API calls explicit

improve spelling

  1. … 11 more files in changeset.
Add documentation for public procs (fixes automated tests), replace faq with forum

Add documentation for public proc (fixes automated tests), feed user_id from arguments to permission api, explicitly default to current user (as called procs would do anyway)

Uniform documentation style, add documentation for public proc (fixes automated tests)

Deprecate (former) service contract implementations

Their body was always empty according to the cvs history and there is no mention of them in the code.

Their counterpart in the forum::notification namespace takes care of both forums and messages, therefore supersedes them.

Clearly separate callback hooks from callback implementations, uniform documentation style, remove duplicated callback implementation definitions, uniform indentation, add documentation to public procs (fixes automated tests)

    • -155
    • +111
    ./forums-callback-procs.tcl
Add documentation to public procs (fixes automated tests)

Uniform documentation style

Set package_id explicitly as the main subsite package, as ad_conn package_id could not be properly initialized for tests when a system was freshly restarted

Put cache flushing logics into procs and use them when forum info needs to be updated (fixes automated tests)

Add documentation and a fallback body for this deprecated proc

Provide a minimal documentation to public procs

Remove hotfix and exploit new api, that won't fail on the guest user

Fix regression when checking if user can anonimously post

Fix regressions in forums when user is not logged in

  1. … 5 more files in changeset.
Disambiguate table reference in subquery

Use more api to streamline queries and reduce divergency between oracle and postgres codebase