• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add package name to the coverage data

Replace completely the 'proc-coverage' page, using the new api and providing proc test coverage information for packages and system wide

    • -21
    • +74
    ./acs-automated-testing/www/admin/proc-coverage.tcl
Fix return error in proc

    • -2
    • +2
    ./acs-automated-testing/tcl/coverage-procs.tcl
Simplify styles

Add missing public flag to proc

    • -2
    • +2
    ./acs-automated-testing/tcl/coverage-procs.tcl
New test proc coverage library (proc-coverage) for the 'automated-testing' package:

- New proc 'aa::coverage::proc_covered_p', checks if a particular proc is covered by any automated test.

- New proc 'aa::coverage::proc_list', returns a list of procs, sistem wide or in a package, with their coverage status.

- New proc 'aa::coverage::proc_coverage', returns a summary of information (number of procs, number of covered procs, coverage percentage) about the coverage of the api of a package, or system wide.

- New proc 'aa::coverage::proc_coverage_level', returns a level value (high, medium, low...) for a particular percentage.

Also add new CSS file for the automated tests summary page, which should help reducing the inline styling in the package, and different styles for the proc coverage levels.

    • -60
    • +1
    ./acs-automated-testing/tcl/aa-test-procs.tcl
    • -0
    • +171
    ./acs-automated-testing/tcl/coverage-procs.tcl
file coverage-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-automated-testing/tcl/coverage-procs.tcl
file tests.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-automated-testing/www/resources/tests.css
Use a more generic message key for name (e.g. for cases when this is used for something different than pages, such as files)

Display the title in child-resources (optionally hidden)

Make file optional, validator already takes care to check whether this is a new upload and therefore requires one or not

Rely on portrait-bits, that already provides a default image in case (many thanks to Monika Andergassen)

Remove unnecesary quoting

Add the proc test coverage of each package, and link the 'proc-coverage' page, lost and isolated for many years...

Add new proc 'aa_test::proc_coverage', which returns the percentage of proc test coverage on a particular package, or on the whole system

    • -1
    • +59
    ./acs-automated-testing/tcl/aa-test-procs.tcl
Whitespace changes

Copy paste query from copy in the move, as they are the same

This query is also reported downstream as a frequently slow one

    • -48
    • +0
    ./file-storage/www/move-postgresql.xql
Reimplement sorting depth-first sorting criteria in a way that is portable, fix starting depth

Rewrite query often seen among those taking a long time on downstream system

Empirical tests on file storage instances with many folders show this is more efficient that previous version, other than being (supposedly) portable for Oracle and Postgres

    • -36
    • +1
    ./file-storage/www/copy-postgresql.xql
Try to address issue reported by Michael Aram: export variables sooner, when the uplevel they come from is still well known, rather than later in the rendering, when this could not be so trivial (e.g. in OO code)

    • -5
    • +6
    ./acs-tcl/tcl/form-processing-procs.tcl
New utility to return all descendants of a certain cr_item or folder

    • -1
    • +31
    ./acs-content-repository/tcl/content-item-procs.tcl
Whitespace cleanup

Enclose "Dropzone" word in a span so it can be addressed by CSS styling

Use appropriate idiom to retrieve return_url from the query parameter

This solves also the corner case of the empty folder

Add a new Action widget property "confirm_message": when this is set on a BulkAction, will generate the javascript to ask for confirmation using specified message

    • -4
    • +14
    ./xotcl-core/tcl/30-widget-procs.tcl
Use naviserver api as methods such as exists_parameter might not always be defined on the object (e.g. when we try to bulk delete an empty folder)

Do not render the include twice

Clarify what happens when we have bulk actions

Localize "Delete selected" tooltip, update german and italian translations

Localize sorting of column in xotcl widgets, update german and italian localization

    • -0
    • +3
    ./xotcl-core/catalog/xotcl-core.de_DE.ISO-8859-1.xml
    • -2
    • +5
    ./xotcl-core/catalog/xotcl-core.en_US.ISO-8859-1.xml
    • -0
    • +10
    ./xotcl-core/catalog/xotcl-core.it_IT.ISO-8859-1.xml