• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
keep track, when cr item is cached and don't try to flush non-cached items

Base caching infrastructure on acs-tcl

Bump version number to 5.10.0d10

  1. … 3 more files in changeset.
Do not try to flush autonamed cache entries

- Implemented TreePartitionedCache (to allow patter flushes on partitions)

- use xo::Cache on more occasions

- bump version numbers of xowiki to 5.10.0d12 and xotcl-core to 5.10.0d9

  1. … 9 more files in changeset.
- extend implementaton of xo::Cache to support "eval" and "set" method

- use numeric keys for xotcl_object_cache

- bump version numbers of xowiki to 5.10.0d11 and xotcl-core to 5.10.0d8

  1. … 6 more files in changeset.
introduce cache abstraction to centralize caching logic

  1. … 5 more files in changeset.
improve comments

add prepared statements

  1. … 2 more files in changeset.
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.
Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
Fix typos

  1. … 28 more files in changeset.
Fix unquoted string in SQL statement by using bind variable syntax instead

Reduce numbber of "catch" operations

  1. … 8 more files in changeset.
Fix typos

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

  1. … 10 more files in changeset.
Modernice Code: use XOTcl2 idiom, reduce instvars

  1. … 1 more file in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix potentially broken link

- handle fetch via revision_id over perpared statement

Fix spelling errors

  1. … 24 more files in changeset.
Change also the value of instance variable, as this will be used e.g. by update_item_index without fetching from db again.

- make instance variables kept in the object cache configurable per

class via pattern (using "non_cached_instance_var_patterns"; default

{__*})

- use xotcl2 variable resolver for better performance

- bump version of xotcl-core to 0.156

  1. … 1 more file in changeset.
- use "-is_latest true" also for save_new

- set live and latest revision on one sweep (use is_latests setting when setting live_revision)

  1. … 1 more file in changeset.
Created new proc cr_check_mime_type, centralizing the retrieval of the mime_type from uploaded file's information.

Applied the new proc to the different situations in the system when we require mime_type retrieval: content-repository, file-storage and xotcl CrItem

TODO: get the real mime_type from the file content, but this would require some modification in the data model.

  1. … 7 more files in changeset.
- add optional parameter "-initialize true|false" to "get_instance_from_db"

- reduce dependencies on acs_object_party_privilege_map

  1. … 2 more files in changeset.
- fortify low-level db access methods: return errors when called with wrong argument types

  1. … 1 more file in changeset.
- remove obsolete code

- use optional child-rels

- bump version number to 0.144

  1. … 2 more files in changeset.
- never add attributes when already included