• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make 'attachments::get_all_attachments' more general, so we try our best to get the 'label' of the attachment by trying different options depending on the object type: 'content_item', 'content_revision', a subtype of those, or just the 'title' row in the 'acs_objects' table. In the very worst case, just set the given 'item_id' as the label.

Add a simple test case for 'content::revision::get_title'

Add 'content::revision::get_title', a simple proc to get the title of a particular 'content_revision'

Whitespace changes + Editor hints

Disable autocomplete on login password field on 'openacs-bootstrap3-theme'

Prefer live to latest revision when getting title for attachments in 'attachments::get_all_attachments'

Adjust doc and defaults of 'content::item::get_title' to the actual implementation of 'content_item__get_title'

When the attachment is not in the file storage, consider both the possibilities of it being a 'content_item' or a 'content_revision', while trying to resolve its title in 'attachments::get_all_attachments' by looking directly in the content respository

Use 'item_id' instead of 'revision_id' for attachments

Do not assume all attachments are in the file storage while retrieving their title/name

Remove self-reference in proc doc

Check for already converted form variables on 'template::util::file_transform'. This can happen, for instance, during the 'preview' action of a form.

    • -37
    • +46
    ./packages/acs-templating/tcl/file-procs.tcl
Fix '@see' field in proc doc

    • -3
    • +3
    ./packages/acs-templating/tcl/util-procs.tcl
Replace acs_object_party_privilege_map with permission api

Replace deprecated view in queries

Rework query to use permission api instead of just removed materialized views

    • -5
    • +1
    ./packages/acs-subsite/lib/subsites.xql
adjust for boandwith management in NaviServer

reduce verbosity

    • -2
    • +2
    ./packages/xowiki/tcl/package-procs.tcl
Bump 'acs-kernel' version number

Add upgrade script to cleanup 'acs_object_context_index' and friends

file upgrade-5.10.0d20-5.10.0d21.sql was initially added on branch oacs-5-10.

Add some AOLserver compatibility code for 'template::util::file_transform'

    • -10
    • +24
    ./packages/acs-templating/tcl/file-procs.tcl
Modify 'template::util::file_transform' to manage multiple files

    • -10
    • +34
    ./packages/acs-templating/tcl/file-procs.tcl
    • -1
    • +3
    ./packages/acs-templating/tcl/widget-procs.tcl
Whitespace changes

    • -14
    • +6
    ./packages/acs-templating/tcl/widget-procs.tcl
Whitespace changes

    • -2
    • +2
    ./packages/acs-templating/tcl/widget-procs.tcl
ad_form: allow multiple files in 'template::widget::file' by using the 'multiple' attribute of the input tag, new on HTML5.

- Pass the 'multiple' flag to 'template::element::create', so it can be used by widgets to modify their behavior.

- Update 'template::element::create' doc.

- This opens the door to reducing the number of widgets by combining single and multivalued ones into one (for instance, 'multiselect' and 'select' widgets), in the same way the 'file' widget does now.

    • -2
    • +12
    ./packages/acs-templating/tcl/widget-procs.tcl
improve comments and linebreaks

    • -2
    • +3
    ./packages/xotcl-core/tcl/06-package-procs.tcl
    • -2
    • +3
    ./packages/xotcl-core/tcl/policy-procs.tcl
modernize code: use resolver variables rather than method calls

    • -8
    • +8
    ./packages/xotcl-core/tcl/05-db-procs.tcl
    • -28
    • +28
    ./packages/xotcl-core/tcl/30-widget-procs.tcl
    • -2
    • +2
    ./packages/xotcl-core/tcl/bgdelivery-procs.tcl
    • -3
    • +3
    ./packages/xotcl-core/tcl/context-procs.tcl
    • -3
    • +3
    ./packages/xotcl-core/tcl/cr-procs.tcl
    • -5
    • +5
    ./packages/xotcl-core/tcl/generic-procs.tcl
modernize code: use resolver variables rather than method calls

    • -2
    • +2
    ./packages/xowiki/tcl/bootstrap-procs.tcl
    • -4
    • +4
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -2
    • +2
    ./packages/xowiki/tcl/includelet-procs.tcl
    • -1
    • +1
    ./packages/xowiki/tcl/repeat-procs.tcl
    • -1
    • +1
    ./packages/xowiki/tcl/syndicate-procs.tcl
    • -2
    • +2
    ./packages/xowiki/tcl/weblog-procs.tcl
    • -40
    • +40
    ./packages/xowiki/tcl/xowiki-procs.tcl
    • -4
    • +4
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
    • -17
    • +17
    ./packages/xowf/lib/online-exam-answer.wf
    • -18
    • +18
    ./packages/xowf/lib/online-exam.wf
    • -4
    • +4
    ./packages/xowf/tcl/test-item-procs.tcl
    • -19
    • +15
    ./packages/xowf/tcl/xowf-procs.tcl