• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add conveniance function lappend_property in addition to get|set property

allow more flexible form field conditions via new function evaluate_form_field_condition, which can be overloaded

  1. … 1 more file in changeset.
includelete child-resources: use ad_return_url to determine return URL

includelet unresolved-references: return "none" in case, no unresolved references are found

fix xpath expression

Chat Redesign:

  1. … 4 more files in changeset.
add link to syntax-rules of allowed|extra allowed content in CKEditor

formfiled ckeditor4: allow boolean value in "allowedContent" (e.g. deactivate checks alltogether)

Port from downstream a more failsafe cleanup in the importer

Refine approach by which index page is detected in bulk-delete method: previous way would treat all first level children of the root_folder as the index page, preventing bulk deletion focused on them (e.g. folders)

new includelet unresolved-references

The includelet unresolved-references lists the pages with unresolved references

in the current xowiki/xowf package instance. This includelet is intended for

use by admins.

reveive dotlrn community includelet

    • -0
    • +222
    ./dotlrn-portal-procs.tcl
modernize code

prefer "array size" over llength of names

prefer "-base" parameter of export_vars

add quotes for nicer editor rendering

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.
Chat Redesign:

+ Add specific container for the chat includelet (xowiki-chat-includelet).

+ Set a sensible default for the 'xowiki-chat-includelet' size.

+ Move the 'my-user-id' hidden element in the chat adp to the chat procs.

+ Rename 'my-user-id' element to 'xowiki-my-user-id'.

+ Get the ChatSkin parameter inside the login proc.

+ Include the skin parameter in the chat includelet.

  1. … 7 more files in changeset.
Chat Redesign:

+ Skin support.

+ New 'ChatSkin' instance parameter, with currently two possible values: 'classic' and 'bubbles'.

+ Skins are located in the new packages/xowiki/www/resources/chat-skins/ directory.

+ New 'bubbles' skin, default for the chat package.

+ Old skin renamed to 'classic', default for the xowiki includelet.

+ New skins can be created by just adding the css and js files in the skins directory, and naming them accordingly. For example, being '$skin' the name of the new skin, the files should be named chat-$skin-common.js and chat-$skin.css.

+ New '-skin' parameter to the Chat login proc, containing the name of the skin (i.e. 'classic' or 'bubbles').

+ Bump version number.

  1. … 9 more files in changeset.
Provide a working way to configure the plain xowiki chat includelet:

at Chat class instantiation one can now specify a configuration dict that will be

persisted in an nsv and used to set option parameters (instance variables) such as login messages, logout messages

and the messages time window (and potentially other options in the future). This persistent configuration happpens whenever a client

logs in.

  1. … 1 more file in changeset.
Retract configurability for plain xowiki includelet as, without some way of persisisting the conf over subsequent object instantiations, would really not work and also ignore chat room configs

  1. … 1 more file in changeset.
Properly close button tag (Explorer was complaining)

Allow also plain xowiki includelet to specifiy if we want login and logout messages and the past messages time window through includelet parameters

  1. … 1 more file in changeset.
Converge styling of chat in a single css file for both xowiki and chat packages

This might fork in the future, but there is no need atm

  1. … 1 more file in changeset.
Switch to a non-nsv approach to determine the right chat class

  1. … 1 more file in changeset.
Unclutter the code by putting mode detection in a separate proc

Chat reform:

- reduce code duplication by determining the proper chat class dynamically and storing it in an nsv

- move static content in the resources path. Serving them is now independent from the mounted xowiki path

- get rid of the ajax url path

  1. … 12 more files in changeset.
Chat Redesign: add send button + svg icon

  1. … 2 more files in changeset.
Allow to make other (non .adp) kinds of resources "theme aware" and use this to provide a theme mapping to the /resources/ URL pattern, then use this new capability to allow the override of css in the chat implementations

  1. … 2 more files in changeset.
Give xowiki chat also some kind of nice skin and centralize css retrieval

TODO: something smarter can be done in order to retrieve the proper css, based e.g. on theme, chat skin (to be implemented) etc. To be discussed is some way to resolve resources based on the theme.

  1. … 3 more files in changeset.