set-publish-state.tcl

  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve input validation

add minimal check that page is from the current package

New utility function "Page.update_publish_status" which does

essentially, what admin/set-publish-status did before (update of

publish status and related handling of syndication)

New externally callable method "toggle-publish-status". This replaces

the call of admin/set-publish-status in the includelet child-resources

to make it easier usable from the xowiki security policies.

New flag "-nocleanup" for ::xowiki::datasource, to make it callable

inside arbitrary pages without loosing calling context.

  1. … 4 more files in changeset.
align cache management to new implementation

add ad_script_abort after ad_returnredirect to make termination intent explicit

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

  1. … 7834 more files in changeset.
- add editor hints

  1. … 64 more files in changeset.
- backport of item_index fixes from HEAD/oacs-5-9

  1. … 2 more files in changeset.
- fix updating problem for FormPage.set_live_revision method: perform update_item_index with the data from the new revision

- make code more clear that we are fetching by revision

  1. … 1 more file in changeset.
- define FormPage.set_live_revision, a specialized version of

CrItem.set_live_revision updating the item index.

- prefer usage of FormPage.set_live_revision over

"::xo::db::sql::content_item set_live_revision" in xowiki

  1. … 2 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
* use new interface in order to be able to use dbi-*

* updated dependencies

* bumped revision number

  1. … 24 more files in changeset.
Restoring xowiki code to yesterdays state. Hopefully getting rid of today's unwanted commits.

  1. … 999 more files in changeset.
revert previous change

  1. … 987 more files in changeset.
adding the release version of xowiki and xotcl-core to the oacs-5-3 branch

  1. … 213 more files in changeset.
file set-publish-state.tcl was added on branch oacs-5-3 on 2007-08-01 21:39:25 +0000

using ::xo::db::sql instead of ::xo::db, use optionally form field definitions from the defined attributes

  1. … 12 more files in changeset.
migration fixes for new interface (as provided by neophytos)

  1. … 1 more file in changeset.
switch to version 2 of oo interface to stored procedures

  1. … 11 more files in changeset.
upgrading to version 0.51, using new stored procedures interface from xotcl-core, be more silent on db-operation in error log

  1. … 15 more files in changeset.
flush syndication entry when setting an entry in admin/list to production state

don't change publish_status when pages are modified; make publish_status an ordinary page attribute, don't notify or syndicate in production mode

  1. … 4 more files in changeset.
adding preliminary support for publish_state

    • -0
    • +18
    ./set-publish-state.tcl
  1. … 7 more files in changeset.