• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
cleanup in item::* namespace

most functions were already moved into the content::item namespace,

but a few were left.

- marked the following function as deprecated

* item::get_content

* item::content_is_null

* item::get_revision_content

* item::content_methods_by_type

* item::publish

* item::unpublish

- added new functions:

* content::item::content_is_null

* content::item::content_methods_by_type

* content::item::get_content

* content::item::get_revision_content

* content::item::publish

* content::item::unpublish

- updated regression test

cleanup in cr::keyword::* namespace

one cannot advocate to create a keyword with

content::keyword::item_assign and query it with

cr::keyword::item_get_assigned)

- marked the following function as deprecaed

* cr::keyword::get_children

* cr::keyword::get_keyword_id

* cr::keyword::get_options_flat

* cr::keyword::item_get_assigned

* cr::keyword::item_unassign

* cr::keyword::item_unassign_children

- added new functions:

* content::keyword::get_children

* content::keyword::get_keyword_id

* content::keyword::get_options_flat

* content::keyword::item_get_assigned

* content::keyword::item_unassign_children

- updated regression test

- bump version number to 5.8.1a5

file upgrade-5.8.1a3-5.8.1a4.sql was initially added on branch oacs-5-8.

file upgrade-5.8.1a4-5.8.1a5.sql was initially added on branch oacs-5-8.

- fixing 2 more cases of still incorrect function argument names

- fix function args: names of arguments for postgres did not match names for oracle leading to potential portability problems

Removing unnneded markup and centring table of messages.

file index.xql was initially added on branch oacs-5-8.

    • -0
    • +0
    /openacs-4/packages/dotlrn-bm/www/admin/index.xql
Getting rid of another ad_table.

file index.xql was initially added on branch oacs-5-8.

    • -0
    • +0
    /openacs-4/packages/bulk-mail/www/index.xql
Getting rid of another ad_table and using list templates instead. Moving sql queries to its respective xql file.

Removing function's name prefix from parameter's names.

Fixing defaults for parameters of bulk_mail__new plpgsql function.

file upgrade-2.8.1d2-2.8.1a1.sql was initially added on branch oacs-5-8.

- bump version numbers to [25].8.1a3

- update requirements for core components to newest version number in the branch

  1. … 60 more files in changeset.
- allow source view also for www/procs-file-view

- trim path for www/content-page-view and www/procs-file-view

- render not only objects with absolute names as xotcl-objects

- improve integration with xotcl code (especially for "content pages")

- follow protocol of documentation mode to enable better documentation in the API browser

- fix markup: <ul>/</ul> pair was inside a multiple, not wrapping it

- render www-files with syntax highligher (adding links)

- improve rendering of package-view calls (left column was to small)

- improve validity of HTML markup

- don't treat "@" as API command in syntax highlighter

- remove "api" prefix from functions in the "::apidoc::*" namespace

- mark externally called functions as public

- remove unneeded braces

    • -3
    • +3
    /openacs-4/packages/forums/www/message-view.tcl
- allow message keys in javascript

- mark more of the functions as deprecated which are not called

by the major 80 packages and for which popular alternatives exist

* pkg_home (-> acs_package_root_dir)

* ad_get_user_info (-> acs_user::get)

* exists_or_null (-> tcl builtins)

* lmap (danger, this function is a built-in of Tcl 8.6)

* template::util::server_root (-> $::acs::rootdir)

* template::util::display_value (-> ns_log)

* template::util::proper_noun (-> string totitle)

* template::util::string_range (-> string range)

* template::util::get_cookie (-> ad_get_cookie)

* template::util::set_cookie (-> ad_set_cookie)

* template::util::clear_cookie (-> ad_set_cookie)

- util_wrap_list: fix bug, when length of first word less then indent

(space was missing)

- add new adp file

file generic.adp was initially added on branch oacs-5-8.

    • -0
    • +0
    /openacs-4/packages/survey/www/admin/generic.adp
-fix bug when first word is shorter than indent spacing

- make input more robust to leading/trailing spaces

- mark installation callbacks as private

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
- name callbacks similar as in other xo* packages

- provide default to ease upgrade