• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Factor some of the logic in the indexer into own procs for the purpose of:

- being able to tell programmatically if an object can be indexed

- being able to index an object programmatically using a simpler api

- better test operations

    • -87
    • +126
    ./search/tcl/search-procs.tcl
Rework file-to-text conversion with the goal of:

- also for LibreOffice documents, strip the XML from extracted content

- handle errors all at once outside the switch, as the behavior would always be the same

- avoid creating a tempfile

    • -142
    • +125
    ./search/tcl/search-convert-procs.tcl
Fix more confusion

Fix rather confusing name of javascript library file

Ensure the namespace exists for template::form::export

    • -1
    • +4
    ./acs-templating/tcl/deprecated-procs.tcl
Fixed runtime error, when "ns_cache" is viewed over the API browser

The problem was the method "flush", which is implemented via

alias to ::ns_cache__flush. In this case, "ns_cache info lookup syntax flush"

fails, because "info parameter" fails on the alias in command:

"::nsf::cmd::info parameter -context ::ns_cache ::ns_cache::flush"

    • -1
    • +30
    ./acs-api-browser/tcl/acs-api-documentation-procs.tcl
prefer more efficient approach to iterate over all key/values of an ns_set

    • -18
    • +5
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
use case-insensitive access to configuration values

prefer more efficient "ns_set array" over single item ns_set access

    • -23
    • +16
    ./acs-templating/tcl/tag-procs.tcl
use consistently case-insensitive access to attributes of tags

moved deprecated proc to deprecated-procs.tcl

    • -1
    • +31
    ./acs-templating/tcl/deprecated-procs.tcl
    • -31
    • +1
    ./acs-templating/tcl/form-procs.tcl
documentation update: advertise more efficient and recent idiom

    • -3
    • +3
    ./acs-core-docs/www/xml/kernel/db-api.xml
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.

    • -5
    • +4
    ./openacs-bootstrap3-theme/openacs-bootstrap3-theme.info
    • -5
    • +4
    ./openacs-bootstrap5-theme/openacs-bootstrap5-theme.info
    • -3
    • +4
    ./openacs-default-theme/openacs-default-theme.info
    • -1
    • +1
    ./openacs-default-theme/lib/plain-master.adp
Bring existing doc into the object's documentation, so that tests would not fail...

Deprecate template::list::csv_quote and replace its usages in packages that we have been supporting

    • -16
    • +14
    ./contacts/www/admin/full-organizations.tcl
    • -15
    • +14
    ./contacts/www/admin/full-people.tcl
    • -12
    • +10
    ./contacts/www/admin/full-rels.tcl
Introduce a new "label_headers" flag for template::list::write_csv that allows to revert to behavior before https://cvs.openacs.org/changelog/OpenACS?cs=MAIN%3Adaveb%3A20080908165252, e.g. use the column names as headers rather than the labels

For some use cases is in fact more useful to have machine-readable headers, e.g. when processing the csv via software

    • -2
    • +11
    ./acs-templating/tcl/list-procs.tcl
Rely on the csv Tcllib package to generate a csv from a template::list

    • -7
    • +12
    ./acs-templating/tcl/list-procs.tcl
reduce startup speed by running update_nx_docs in the background

    • -4
    • +2
    ./acs-bootstrap-installer/tcl/procdoc-init.tcl
don't add slot container or slot objects to proc_doc (at least for now)

bumped upstream version of jquery-ui to 1.14.1

finetuning object descriptions

- adding links to per-object methods

- make sure that leading colons are used for object names in procdoc index

    • -1
    • +3
    ./acs-api-browser/tcl/acs-api-documentation-procs.tcl
don't write warning about unknown methodtype when encountering classes

Improve calendar responsiveness

    • -6
    • +11
    ./calendar/www/resources/calendar.css
Bump version number and dependencies

Improve automatic toolkit-specific css generation so that it works also with toolkits that do not come with custom styling

Provide a way to retrieve known css toolkits without hardcoding

Reduce hardcoding when rendering includelets

    • -24
    • +19
    ./xowiki/tcl/includelet-procs.tcl
Provide some xowiki-relevant classes for the ui toolkit as well, fix pattern to detect w3css

Prefer ad_mktmpdir to ad_tmpnam

    • -2
    • +2
    ./file-storage/tcl/file-storage-procs.tcl
bump version number to 6.* to reflect tcl9 compatibility