• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
new proc "ad_log_deprecated": unified interface for logging deprecated usages

The existing code used a larger variety of different messages to

denote invocations of deprecated procs and other

artifacts. "ad_log_deprecated" provides a unified interface, and

provides a usage hint what to use instead based on the API-doc

definitions in the log-file.

  1. … 11 more files in changeset.
rename "iconified file" to "thumbnail file"

  1. … 3 more files in changeset.
Generalized handling of local_return_url

I am not fully happy with the handlings of "return_url" in exam workflows.

Maybe this can be reworked in a way such that "local_return_url" is not

neccsessary in the future.

  1. … 1 more file in changeset.
Improved support for composite questions and bootstrap 5

This fixes a bug when composite questions were generated with

bootstrap3 and rendered later with bootstrap5.

  1. … 1 more file in changeset.
improve bootstrap5 compatibility for inclass exam

  1. … 1 more file in changeset.
undo recent change, which is not sufficiently general (and solve the issue by db means, next commit)

  1. … 1 more file in changeset.
Address the cornercase of form pages having their template stored in the same folder: when deleting items containing such a setup, cleanup these formpages first

Addresses a consequence of https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Agustafn%3A20220613165033

  1. … 1 more file in changeset.
fix typo

Styling changes for minimal setups

This change is necessary for minimal setups, e.g. for plain installs

during regression test, when no bootstrap packages are available.

- define yui as last-resort fallback for "toolkit"

- handle CSS class composition for YUI as well

(merge of class-specific and item specific CSS classes,

used for color management for publish status button)

- remove underline for publish-status in YUI mode

  1. … 2 more files in changeset.
provide basic support to make bootstrap3 and 5 switchable

bumped version to 5.10.1d25

  1. … 3 more files in changeset.
Alignments for Bootstrap 5

Also, use form.form for creating forms from the menubar instead of

old-strle ::xowiki::Forms. Aligned as well regression test to use

form.form.

Bump version number to 5.10.1d24

  1. … 9 more files in changeset.
Perform stricter checking of parent_ids

bump version number of xowiki to 5.10.1d22

  1. … 3 more files in changeset.
prefer global variable over proc

  1. … 6 more files in changeset.
Added the option to parameterize www-delete and www-toggle-publish-status with return_url

In cases, these www* methods are called programmatically, these can be

now parameterized with an "-return_url" parameter to achieve

e.g. workflow-specific behavior.

Many thanks to Thomas Renner for the analysis on

www-toggle-publish-status.

Version number bumped to 5.10.1d18

  1. … 2 more files in changeset.
refactor code

  1. … 1 more file in changeset.
Use package_id instead of the package object

fix typo

Added policy priviledge "create-from-prototype"

In certain situations, creating pages from prototype pages might not

be allowed for certain users. The off-the-shelf policies allow

"create-from-prototype" to all users having "create" permissions on

the package_id (very similar to edit-new).

Improve program comments.

Improved handling of pages with parent_id == 0 (which come from site-wide pages)

Provide warning, when pretty_link is called on such pages.

prefer "Package require" over "Package initialize" when possible

  1. … 2 more files in changeset.
support renaming of autonamed entries

previously, it was not possible to rename autonamed entries via edit form.

now this is allowed, and item name validation is more robust, support

functions return meaningful error in unexpected situations.

  1. … 1 more file in changeset.
Fix the branch performing get_page_from_item_ref when multiple parent_ids are specified, rename the loop variable so that the original argument is not lost

Use a trivial lookup: content::item::get might perform many queries, in particular on success

Init the item_id to 0 in the loop: if not, in case of multiple objects A and B, if the resolving of A suceeds and that of B fails, the id of A will be assigned to B

make log messages more uniform (no need to start with actual proc name)

Don't try query parameters when resolving standard pages

make sure to html-quote error message

don't mangle navigational dots in item-refs

do not allow names containing only dots as wiki names

These names are now as well mapped via method normalize_name to underscores

prefer standard OpenACS API for accessing parameters

  1. … 4 more files in changeset.