• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Small improvement for portrait management (deletion)

Exploit existing on delete cascade constraints when we delete a portrait, instead of deleting stuff manually.

Also, put remaining logics into a proc and use it in acs_user::delete to address legit use case of people wanting

to remove a user permanently without removing portrait in advance.

fix: make sure to pass displayed_object_id always to the next master template

fix: make sure to pass displayed_object_id always to the next master template

Turn off shared workflow definition as indicated in the last message

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Add Feature: Shared Workflow Definitions

Background: so far, xowf stored workflow definitions in the workflow

context, which is generated for every instantiated workflow instance

due to the needs of the State Pattern. While the old approach works

perfectly fine, when pre request only one or a few workflow instances

are created, but is inefficient, when e.g. 100 or more instances of

the workflow definition are created.

Now, the instances can share the definition, which is shared based on

the revision_id of the workflow FormPage.

OLD: obj <-> obj::wf_ctx

NEW: obj <-> obj::wf_ctx <(n)----> wf_definition

OLD scenario:

- the wf_definition was part of the context (no distinction)

- navigation from wf_ctx (and wf_definition) to object was possible

via "info parent"

NEW scenario:

- the wf_definition is separate

- one wf_definition can be used for multiple wf_ctx

- new methods are required instead of "info parent"

to navigate between these cooperating objects

* xowf::WorkflowPage.wf_context

* xowf::WorkflowConstruct.wf_context

* xowf::Context.wf_container

The navigation from a WorkflowConstruct (e.g. State) to the wf_ctx

is slow and fragile if not following usual programming conventions

and should e avoided (the methods of these constructs have the obj

passed in, so this path should not be necessary in most situations)

- as long the contents of the wf_container is constant, it can be

shared in the per-thread cache.

For now, the new feature is turned off by default via variable

::xowf::sharedWorkflowDefinition, but this will change in the future.

    • -8
    • +8
    /openacs-4/packages/xowf/lib/online-exam.wf
    • -190
    • +318
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
    • -4
    • +8
    /openacs-4/packages/xowf/www/index.vuh
Make so that refreshing of theming subsite parameters doesn't include locally modified subsites

This includes also moving of logic to identify local modifications in a proc

Regenerate ADP files

Add feature: overwrite generated ADP files only when necessary

Cases might be:

- ADP file list

- Generator updated

Fix: close link target (<a name ...>); backport from HEAD

Fix: close link target (<a name ...>)

Added procs to quickly issue refresh of subsite theme parameters from current theme defaults. This is useful in a context with many subsites using the same theme, when desired behavior at upgrade is to have them reload all parameters automatically.

Fix typo

Remove dependency on calender for message-key

merged changes from the oacs-5-9 branch and resolved conflicts

    • -0
    • +289
    /openacs-4/Announce-OpenACS-5.9.0
    • -0
    • +511
    /openacs-4/Announce-OpenACS-5.9.1
    • -36687
    • +221521
    /openacs-4/ChangeLog
  1. … 7820 more files in changeset.
undo untested last minute check

Fix typo

Flush cache also for ancestors of nodes when mounting a package

Unify version comparison logics so we always use apm_version_names_compare instead of other db api as apm_package_version__version_name_greater plus handcrafted queries which also might behave slightly differently

Fix version number for the forums package

Align spelling of product names

Update documentation

Fix linebreaks in german message catalog

Updated full ChangeLog

    • -135380
    • +181720
    /openacs-4/ChangeLog
updated version number

added annource file to repository

    • -0
    • +511
    /openacs-4/Announce-OpenACS-5.9.1
file Announce-OpenACS-5.9.1 was initially added on branch oacs-5-9.

    • -0
    • +0
    /openacs-4/Announce-OpenACS-5.9.1
regenerated ducumentation

  1. … 237 more files in changeset.
- do not depend on beta or development versions

- make sure that released versions are not beta or development

- align version numbers (e.g. use also 5.9.1 for xotcl-core)

- bump version numbers to 5.9.1

  1. … 69 more files in changeset.
make links in docbook clickable

updated changelog in docbook