• last updated 40 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
remove misleading comment. there should be no re-init

search the form also in the site_wide_pages

    • -0
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Disable any conversion on the _name property (:name Page instance variable): this property is special and receives already its necessary conversion at validation time, happening before conversion time and should not be overridden

Implement 'language_specific' formfields and 'localized' FormPage properties:

- properties can be stored and retrieved specifying a -localized flag: this flag will make transparently store and retrieve the property value from a custom message key created in the acs-translations package referencing the FormPage. This localization mechanism is additional to that of language-prefixed pages and can address the need of multi-language content for non-prefixable objects such as folders

- via specifying language_specific in the formfield spec, one can enable this new localization mechanism when interacting with the FormPage via a xowiki::Form

TODO: handle export/import of pages (e.g. serializing available translation and generate the new message keys for the imported page), add some nicer UI to make the user aware of e.g. current translation context

    • -3
    • +31
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Reduce the threshold for images to be considered black:

in the wild it has happened that borderline-legitimate pictures of 7kbytes have triggered the check.

Fix missing column in sql statement

prefer db_0or1row +"where exists" over db_string + "select case"

send also HEAD requests to the request monitor

reduce usage of idiom "select 1 from dual where exists" when not necessary

some packages have high number of instances: no need to aggregate over these

Pass missing object_id flag

Do not insert object_ids that do not exist in acs_object (leftover group message keys)

Replace limit with portable idiom

prefer ad_try, since it is silent, when action is ended by a script_abort

    • -2
    • +4
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Fix oracle query as for most recent version limit is not supported

Go straight to the database with a portable query

Improve sql portability, reduce number of statements

Improve sql portability

Cleanup leftover query

Whitespace cleanup

Improve sql portability

Fix missing end

Im prove sql portability

Improve sql portability

Improve sql portability: oracle cannot select a boolean directly using exists

Whitespace cleanup

Make sql portable

Improve sql portability

Replace limit idiom with portable idiom

Avoid the not portable limit idiom, just kill the recursive part using the flag instead

...although one should point out that Oracle does not support the boolean type...