• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed 2 bugs: with remote code repository

- fixed repository URL when trying to "install-from-repositry"

on a checkout from the HEAD channel. The code tried to fetch

from a channel "6-0", which does not exist.

- determine the exact repository tag for repository channels

  1. … 1 more file in changeset.
Ported essential post-release fixes from oacs-5-10 branch

  1. … 2 more files in changeset.
improved comments

Fixed bug in install-from-repository (issue #3472)

Install from repository (e.g., of /dotlrn) was horribly broken, see,

e.g., issue #3472. Furthermore, this bug was hard to debug, since it

showed up just during a complex installation attempts involving

install.xml, and it requires fetching from the repository. Therefore,

the debug rounds were quite time-consuming.

There were several problems involved:

1) dotlrn/install.xml was trying to set the theme to the

dotlrn-bootstrap3-theme, which was not loaded from the repository

2) The loading order was not correct, since the theme requires an

existing dotlrn instance to register the theme templates there.

3) The tests in install::xml::action::mount checking, if the package

was already mounted were incorrect, probably since many years. It

looks to me as some refactorings of the "get_node_id" semantics

(many years ago) were not reflected in this code. This bug let

the code assume, that the package was already mounted. Therefore,

the package was never mounted, causing a long tail of subsequent

issues.

4) the site_node::instantiate_and_mount call in

install::xml::action::mount was called with incorrect parameters,

causing overwriting of the site root node, leaving the site

completely unusable.

Bumped version number of acs-tcl to 5.10.2d1

fixed overquoting in "ad_progress_base_end"

fixed cut&paste problem

reset to released version to keep differences little

  1. … 1 more file in changeset.
keep theme-stetting for dotlrn themes in dotlrn, since it requires a dotlrn instance

but when the dotlrn is installed, it requires the dotlrn-theme package to be installed

  1. … 3 more files in changeset.
Continue working on the install.xml issue.

added more debugging info

undo one more recent change

undo recent change. This was not the problem

added debug statement

try to get a non-empty context id

added debugging line

Fixed incorrect result handling from ::acs::site_node get_node_id

When

::acs::site_node get_node_id -url /$mount_point

is executed with a non-existing mount point, the node info of the

parent_id is returned. The code assumed that for such cases, the

resulting "object_id" member is empty. Since this affects only the

two action procs

install::xml::action::mount

install::xml::action::mount-existing

i have adjusted the behavior there.

Furthermore, some tests are now less mind-twisted.

improved log messages

avoid triggering exception, when provided host header field cannot be resolved.

avoid error, when page_contract is called without an ns_set and without an open connection

Avoid calls to deprecated NaviServer functions

removed deprecated "ns_set new" by "ns_set create"

moved stuff for AOLserver 2 emulation to deprecated procs, mark it explicitly as deprecated

prefer more efficient approach to iterate over all key/values of an ns_set

Extend user_message feature so that a "severity" information can be passed alongside the message

This allows theme templates to color code messages according to their severity. Severity follows the Bootstrap nomenclature of "info", "success", "warning" and "danger".

Default severity has been set to "success" consistent with styling applied so far by OpenACS to the user messages.

  1. … 7 more files in changeset.
Extend test suite to cover :multiple and :array

improved documentation, removed AOLserver stuff

Remove AOLserver cruft

- reduced complexity of registering/invoking filters

- move more deprecated procs in acs-tcl to acs-tcl/tcl/deprecated-procs.tcl

    • -137
    • +8
    ./tcl/request-processor-procs.tcl
  1. … 4 more files in changeset.
Consider documentation the presence of an author

New API function: ad_docbook_xml_to_html

This function converts DocBook XML as used in the OpenACS

documentation to HTML. This is not a full implementation of all

possible DocBook markup, but just a subset sufficient for rendering a

substantial subset of the OpenACS documentation.

The function can be used via

set html [ad_html_text_convert -from application/docbook+xml -to text/html $text]

or

set txt [ad_html_text_convert -from application/docbook+xml -to text/plain $text]

fixedm typo in comment