• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add requred ad_script_abort to Form->after_submit and comment, how one could get rid of it for using e.g. xowiki-style continuations

Whitespace changes: remove trailing spaces

  1. … 2 more files in changeset.
prefer XOTcl2 idioms

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix rendering of embedded links

- Fix more spelling errors

- Use uniform spelling of "Tcl"

  1. … 9 more files in changeset.
- renamve template::add_acs_confirm_handler into template::add_confirm_handler

  1. … 9 more files in changeset.
- make class "create" operations explicit

- update version dependencies

  1. … 1 more file in changeset.
Committing some fixes I had in stash since a while for this list interface, essentially fixing bugs.

Thing works properly for my use cases (of then), but probably something that is not a wrapper would be better.

Also removed javascript handler from directly in the markup to the body handler to comply with CSP

- added new function template::add_acs_confirm_handler for standardized confirm interactions ("are you sure") in order to get rid of onclick handlers

- bump version numbers to reflect dependencies

  1. … 1 more file in changeset.
- use explicit "create" statement

  1. … 1 more file in changeset.
- use @param for documenting parmeters (rather than manual HTML layout)

- use explicit create statements

  1. … 9 more files in changeset.
- fix redirection after renaming of old-style (ad_form based) via edit operations on xowiki::Page

  1. … 5 more files in changeset.
- fix broken test for renaming items

- make variable export robust against array

Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 520 more files in changeset.
if we deal with a ::xo::db::CrItem we use the item_id, otherwise use the object_id.

- no need to abort script, since call might be issued from various contexts

Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
Use new proc 'category::ad_form::fill_widgets' when embedding categorization into ::Generic::Form

Bugfix in ::Generic::List :

- small refactor of methods to avoid naming conflicts with list properties. This caused weird issues if library wasn't manually reloaded after startup.

Bugfix in ::Generic::Form :

- let edit_data and new_data methods return object_id instead of item_id, because item_id is not a real field of acs_objects and this causes issues when enabling category mapping.

- move transaction enclosing from edit_data and new_data methods definition to the final form declaration, so category mapping code will be in the transaction too

- Fixed bug when someone doesn't want edit button to be autogenerated

- Fixed bug when someone doesn't specify any orderby for the list

Use 'eval' instead of '{*}' for row_code in 'List multirow', as we need complete, multiline evaluation there

Small bugfix, small improvement in documentation

New class ::Generic::List intended for an easier creation of boring list UIs for generic acs_objects

Modified ::Generic::Form class letting handle also plain acs_objects instead of only cr_items

- fix invalid @param declarations for API browser

  1. … 3 more files in changeset.
Allow for setting ad_form's mode

The default behaviour did not change, but one can now set ad_form's mode

to "display", which is used by some applications.