• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add 'db_flush_cache' to the list of covered procs of the 'db__caching' testcase

Add testcase for 'acs_user::ban' and 'acs_user::approve'

Move styles into CSS

Book includelet consistent view (thanks to Monika Andergassen)

Fix doc link

Show proc test coverage only on package view

Make so that newly displayed column 'title' in child-resources is not displayed by default, therefore keeping old behavior for those who don't want it explicitly

Now one can either select displayed columns by blacklist (hide) or whitelist (columns)

    • -7
    • +15
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
improve styling in book-mode and bootstrap, prefer CSS over inline styles

fix for openacs site issue #148

Add the global test proc coverage percentage to the 'automated-testing' admin/index page, and link it to the new 'proc-coverage' page

Remove duplicated property

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

Fix return error in proc

Simplify styles

Add missing public flag to proc

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.

file coverage-procs.tcl was initially added on branch oacs-5-10.

file tests.css was initially added on branch oacs-5-10.

Use a more generic message key for name (e.g. for cases when this is used for something different than pages, such as files)

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Display the title in child-resources (optionally hidden)

    • -1
    • +5
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
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

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

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