• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

- Allow to pass publish_date directly via xotcl-core/tcl/cr-procs.tcl.

This change reduces as well the number of update operations when

inserting/updating xowiki pages.

  1. … 1 more file in changeset.
- rename all xowiki methods called via url to www-OLDNAME.

This makes it clear that these pages can call

ns_return, ns_returnredirect, or ad_script_abort, etc.

- don't raise an error, when a web-called method stops with ad_script_abort

- bump version numbers to 5.9.1d1

  1. … 6 more files in changeset.
- use use a request-spanning per-thread cache for acs object types of xowiki classes (these never change)

- use explicit "create" statements

  1. … 2 more files in changeset.
- flush pages based on revision_id when updating the publish_status

- avoid strange sequential scans on recent versions of pg (noticed on pg 9.4.1)

- prefer "ad_log error" for error messages in the log file

  1. … 5 more files in changeset.
- add -initialize flag to methods "get_instances_from_db" and "get_folder_children"

  1. … 2 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.
hot fix for http://cvs.openacs.org/changelog/OpenACS?cs=MAIN%3Agustafn%3A20150709212250 concerning slot-names and domains of slots created with extend_slot (backport to oacs-5-8)

- hot fix for http://cvs.openacs.org/changelog/OpenACS?cs=MAIN%3Agustafn%3A20150709212250 concerning slot-names and domains of slots created with extend_slot