• last updated 12 hours ago
Constraints: committers
Constraints: files
Constraints: dates
whitespace change

improve robustness when called without connection

avoid subst in export_vars by using xo::update_query

  1. … 1 more file in changeset.
Use built-in "ns_parsequery" instead of manual parsing of query parameters

  1. … 1 more file in changeset.
handle bulk-actions and hidden-fields in cvs exports

make end of resub options explicit

  1. … 12 more files in changeset.
improve robustness of table sort links, when called without connection

skip hidden fields to avoid empty td elements for the user

revert change, since this breaks applications

if the distinction is needed, a better change is required,

either via configuration of a prefix, or via subclassing.

  1. … 1 more file in changeset.
Try to avoid interference between two different table widgets rendered on the same page: fetch sorting column by prefixing by the table name

add saftey-belt for missing CSSclass attributes

  1. … 1 more file in changeset.
improve stylability

add support in form-fields to add css class for td in TableWidget and whitespace changes

fix indentation, make it easier to grep for definiton of namespaced classes

Add 'require_html_procs' to the ::xo namespace in order to be compliant with OpenACS naming standards

  1. … 3 more files in changeset.
fullow usual line breaking conventions

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. … 2 more files in changeset.
Localize sorting of column in xotcl widgets, update german and italian localization

  1. … 4 more files in changeset.
make translation mode stylable via CSS, add styles for default and bootstrap3 themes, reduce dependencies on xinha icons

  1. … 3 more files in changeset.
Localize bulk-actions label in the child-resources include (many thanks to Monika Andergassen)

Port from downstream

  1. … 6 more files in changeset.
prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 10 more files in changeset.
modernize code: use resolver variables rather than method calls

  1. … 6 more files in changeset.
whitespace cleanup

new API method Table->column_names to query the defined columns of a table.

  1. … 1 more file in changeset.
do not add __csrf_token to sort order url

address global variable __csrf_token directly

  1. … 1 more file in changeset.
Replace single quotes wuith double quotes in javascript expressions involving acs_ListBulkActionClick

this is really needed only for the URL part, but was done on the name as well for consistency. The reason

is even a properly encoded URL could still contain single quotes, therefore breaking the expression,

while double quotes are expected to be encoded in valid, urlencoded URLs. This relies on trusting the developer

to properly encode URLs, which should be expected. An alternative could involve active escaping of

javascript special characters by e.g. ad_js_escape.

  1. … 6 more files in changeset.
Use person api, which is properly cached and now won't fail anymore with non-existing users, but will just return an empty string

Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
improve spelling

  1. … 7 more files in changeset.