• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

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)

New utility to return all descendants of a certain cr_item or folder

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

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

    • -1
    • +0
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Clarify what happens when we have bulk actions

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

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Localize sorting of column in xotcl widgets, update german and italian localization

Make so that child-resources includlet redirects bulk-actions to the page it is included into (this is for most upstream scenarios the folder page as before) and make www-bulk_delete sensitive to the new return_url query parameter

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
improve quoting (patch provided by Nathan Coulter)

fix broken regression test (depending on characters in sitenode name)

Remove unused queries

Fix test name

follow current HTML recommendations

improve spelling

Newline change

    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
add nsshell when available.

making nsshell available:

a) install nsshell from https://bitbucket.org/naviserver/nsshell/

b) configure in your OpenACS config file nsshell:

##################################################################

#

# nsshell configuration (per-server module)

#

ns_section "ns/server/${server}/modules" {

ns_param nsshell tcl

}

ns_section "ns/server/${server}/module/nsshell" {

ns_param url /admin//nsshell

ns_param kernel_heartbeat 5

ns_param kernel_timeout 10

}

##################################################################