• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
adding queries bcms::folder::get_id_by_package_id.select_folder_id and bcms::folder::get_id_by_package_id.select_folder_id_with_parent_id that were removed from the Tcl file

brought back the plsql to add a revision to a template

made the api doc better, change SQL on db_* calls to {}, remove plsql call for creating a template revision

change SQL on db_* calls to {}, remove bcms::folder::get_page_folder, get_image_folder, get_file_folder out since they are bcms-ui-wizard specific, added bcms::folder::is_registered_content_type, move queries of bcms::folder::get_id_by_package_id to xql files

change SQL on the db_* calls to {}, made the api doc better. removed -content_type on bcms::revision::list_revisions. bcms::revision::set_status now throws an error

made the api doc better, also replaced SQL with {}. removed additional_columns param on bcms::item::list_items not being used, removed bcms::item::list_pages list_images list_files as they are bcms-ui-wizard specific. change bcms::item::format_string_as_url -url to -string, renamed bcms::item::item_url_duplicate_test to bcms::item::create_unique_url

made the api doc better, also replaced SQL with {}. i have also remove bcms::wizard_step and bcms::init_bcms as they are bcms-ui-wizard specific. i have also moved out bcms::register_content_type and bcms::is_registered_content_type and now moved to bcms::folder name space

Fixed bug with guessing mime types

Renamed relation_type to relation_tag in bcms::item::relate_item

string range ... 'last' instead of 'end' bug

i clobbered one of lars changes, bringing them back

- Allow passing in item_id when creating a new item.

- Adding more arguments to relate_item

    • -18
    • +19
    ./bcms-item-procs-postgresql.xql
bug on checking additional properties

tested some of lars changes, we found out that we need to back port some plsql for 4.6.3. see bcms-compat.sql. i have also spotted a change behaviour on bcms::item::get_item_by_url

  1. … 2 more files in changeset.
Return revision_id after uploading a file revision

Switched to standard convention that emptpy-string argument is equivalent to no argument

Updated proc documentation for additional_properties

Fixed bug in parsing additional_properties, where it would return a list of the value instead of just the value

changed Notice to Debug in ns_log commands

added bcms::parse_properties helper proc, revised bcms::revision calls to use this helper proc. also removed www dir to move bcms as a service package. also added some plsql patches for CR, not fully tested so plsql remains part of bcms still not yet CR

  1. … 21 more files in changeset.
- Added item_id to array returned by bcms::item::get_item

- Split get_item_by_url up into separate get_item_id_by_url helper proc

- Various cleanups and bug fixing

Added procs

New bcms::folder::create_folder implementation that uses package_instantiate_object and can set package_id

fixed some procs, bugs discovered from clean install

  1. … 1 more file in changeset.
bug fixes that came up when install from scratch, also some changes to uploading file

  1. … 11 more files in changeset.
added documentation, tweaked the procs especially bcms::revision, bug fix for CR plsql

  1. … 1 more file in changeset.
add the queries to accept list builder filter, orderby, pagination. i will make it more generic later, add some more docs

  1. … 1 more file in changeset.
added support for cr_keywords, added some procs, revised some procs, but better documentation on some procs

    • -0
    • +77
    ./bcms-category-procs-postgresql.xql
    • -0
    • +217
    ./bcms-category-procs.tcl
    • -0
    • +33
    ./bcms-category-procs.xql
    • -0
    • +18
    ./bcms-template-procs-postgresql.xql
  1. … 1 more file in changeset.
change the tree_X and list_X calls, also improved the documentation of folder and item procs

    • -65
    • +54
    ./bcms-folder-procs-postgresql.xql
    • -68
    • +105
    ./bcms-item-procs-postgresql.xql
  1. … 1 more file in changeset.
removed backup files that was accidentally committed

    • -43
    • +0
    ./bcms-template-procs-postgresql.xql~
  1. … 6 more files in changeset.