table-widget-procs.tcl

  • last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added download icon for CSV

  1. … 1 more file in changeset.
Improved Bootrap5 support

- transformed PageInstance->adp_parse_tags into an adp_proc

xowiki::PageInstance->adp_parse_tags to ease usage outside methods.

- made personal-notification proc agonsitic of Boostrap 3

- renamed attribute "-glyphicon" to "-adpicon" in

personal-notification-messages->modal_message_dialog

and use adp:icon instead

- added regression test

- bumped version number to 5.10.1d26

  1. … 5 more files in changeset.
Alignments for Bootstrap 5

Also, use form.form for creating forms from the menubar instead of

old-strle ::xowiki::Forms. Aligned as well regression test to use

form.form.

Bump version number to 5.10.1d24

  1. … 9 more files in changeset.
Make use of extended functionality of OrderedComposite->orderby

- Removed manual adding of mixin ::xo::OrderedComposite::IndexCompare

in "toc" includelet and in xowiki::TableWidget->create_from_form_fields

- xowiki::TableWidget->create_from_form_fields:

added type map to allow caller to specify, on which attributes e.g.

a numeric comparison should be used.

- bumped version number to 5.10.1d22

  1. … 2 more files in changeset.
factor out common code

  1. … 2 more files in changeset.
Added archiving of items, reduced usage of images for icons

When an item is archived, it is not shown to plain users. Internally,

when an item is archived, the publish status is changed to "expired"

and removed from search/syndication. When an item is archived, it can

be brought via "toggle-publish-status" to state "production" again.

Future versions might rename the item in such conditions, but

currently, it is NOT renamed, so one cannot create one more item in

the same folder with the same name.

For realizing this functionality, the includelet "form-usages" accepts

now an additional optional value for "-buttons" named "archive". The

publish status toggle can be used now for switching from

"production"->"ready", "ready"->"production" and

"expired"->"production".

Additionally, the usage of .png images as icons was reduced by CSS

elements for easier styling (e.g., for different themes) and for

reducing less server requests and better responsiveness. In particular

the images for active.png and inactive.png are not necessary any more

and were removed.

Bumped version number to 5.10.1d8 to enforce loading of the message

keys.

  1. … 13 more files in changeset.
rename newly introduced flag of form-usages from to "-allow_clipboard" to "-with_checkboxes"

  1. … 1 more file in changeset.
Additional flag for includelet "form-usages": -allow_clipboard true|false

This makes it possible to use the includelet also without bulk-actions

for adding/removing content to the clipboard by including the checkmarks

per table and by table row.

  1. … 3 more files in changeset.
Remove hard-coded styling with the "style" element to get a more consistent appearance

(many thanks to Monika Andergassen for looking into this).

  1. … 5 more files in changeset.
provide nicer icon for revisions button

  1. … 2 more files in changeset.
added button for form-usages for displaying revisions

Use common interface for object reference in bulk actions

- use same interface in child-resources and form-usages (when bulk-actions are used)

- move "get_ids_for_bulk_actions" from page to package (to make in usable in www/admin)

- use consistently "get_ids_for_bulk_actions" (also in www/admin/*.tcl)

- provide backward compatibility (still support "name" and "-parent_id")

  1. … 8 more files in changeset.
improve comments

  1. … 4 more files in changeset.
avoid warning for "hidden" table widget columns, used e.g. for sorting

provide better warning message

provide support for addressing instance variables in component structures (one level 1)

Remove brace protection from dynamic expr arg to if

Remove superfluous expr in first-arg to if

  1. … 1 more file in changeset.
Continue to allow sorting by hidden columns

factor out table-widget-procs from includelet procs

  1. … 1 more file in changeset.
file table-widget-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./table-widget-procs.tcl