Logo white

Peter M. Groen / knowledgetree

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 9,762
  • Compare
  • Branches 2
  • Tags 28
  • knowledgetree
  • lib
05 Oct, 2005
13 commits
  • Disable actions not allowed by the workflow state the document is in. ...
    2504a360
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3739 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 12:45:37 +0000  
    Browse Dir »
  • Add startWorkflowOnDocument, which assigns a workflow to a document, ...
    682503de
    starting it off in the start state of the workflow.
    
    get/setControlledActionsForWorkflow assigns and gets the actions that
    the workflow modifies, either allowing or disallowing in each state.
    
    get/setEnabledActionsForState assigns and gets the actions that are
    allowed in a particular state.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3731 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 12:22:25 +0000  
    Browse Dir »
  • Add and store the starting state of the workflow. ...
    6806c918
    getFunctional returns those workflows that have starting states.
    
    getByDocument returns the workflow assigned to a particular document.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3730 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 12:20:26 +0000  
    Browse Dir »
  • Add a none parameter to entity_select, which adds a ("", "None") to the ...
    0c4bb712
    select.
    
    Add an idmethod parameter to entity_checkboxes to allow alternate getId
    methods for the entities being passed.  Also, unset both method and
    idmethod before passing on to html_checkboxes.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3729 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 12:19:26 +0000  
    Browse Dir »
  • Add some accessors to allow easy use of actions via templates. ...
    782e0175
    Add getAllDocumentActions and getDocumentActionsByNames to help workflow
    mappings to actions.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3728 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 12:17:51 +0000  
    Browse Dir »
  • Save the nsname of the action. ...
    1dce675a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3727 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 12:16:05 +0000  
    Browse Dir »
  • Set isgeneric to whatever the field was. ...
    856377df
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3725 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 10:44:14 +0000  
    Browse Dir »
  • ug, typo in require for fieldsets ...
    e58d1cc0
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3723 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 09:56:59 +0000  
    Browse Dir »
  • Validation for templates by name, and workflow and permission objects by id. ...
    1651c3ee
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3719 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 07:18:07 +0000  
    Browse Dir »
  • Allow arrayGet to work without errors on a null value passed in. ...
    cdc3b538
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3718 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 07:17:35 +0000  
    Browse Dir »
  • Upgrade information for 2.99.1, add fieldsets for all fields. ...
    70836989
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3717 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 07:17:01 +0000  
    Browse Dir »
  • Add entity_checkboxes smarty function ...
    4db09a0f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3715 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 07:15:45 +0000  
    Browse Dir »
  • First-pass at workflow backend i.t.o. administration. ...
    12bb2afb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3713 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 07:13:09 +0000  
    Browse Dir »

04 Oct, 2005
6 commits
  • Models for storing conditional metadata ...
    c709b64f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3712 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-04 14:09:19 +0000  
    Browse Dir »
  • DispatcherValidation are a bunch of validation functions that tie in ...
    f66d9b9c
    with the dispatcher concept - if they fail, they use the standard
    dispatcher techniques to react to that failure.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3711 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-04 13:30:39 +0000  
    Browse Dir »
  • Add getId, which simplifies the case where we're being passed an object ...
    47a4bf95
    or its identifier, and we just want the identifier.
    
    Also add meldOptions, which simplifies the common case of wanting to
    merge two arrays that might not be arrays (yet).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3707 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-04 12:25:49 +0000  
    Browse Dir »
  • Changes regarding relations of fields in a conditional fieldset ...
    6faa5d71
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3706 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-04 12:24:25 +0000  
    Browse Dir »
  • autoInsert can now optionally _not_ put in a unique ID into an insert. ...
    33ae1015
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3705 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-04 12:23:53 +0000  
    Browse Dir »
  • Utilities relating to metadata (document fields) manipulation ...
    8927e88e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3703 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-04 12:22:51 +0000  
    Browse Dir »

30 Sep, 2005
3 commits
  • Add getType (returns a string - "Normal", "Lookup", "Tree"), and add ...
    32482ae0
    getValues() for the lookup case.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3694 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-30 14:02:55 +0000  
    Browse Dir »
  • Modernise to use _aFieldToSelect, and add getByDocumentField. ...
    2eec9aa0
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3693 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-30 14:00:48 +0000  
    Browse Dir »
  • Add transparent (requested) transaction support for dispatcher. A ...
    41adce88
    dispatcher can be configured to always use transactions, or you can
    start a transaction.  Either way, rollback occurs when errorPage or
    errorRedirectTo is used, and committing happens in standard case and in
    successRedirectTo.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3692 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-30 14:00:19 +0000  
    Browse Dir »

29 Sep, 2005
10 commits
  • Make sure the userID in the session gives us a valid user, and specify ...
    65a62024
    the basic errorPage function.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3690 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 22:51:59 +0000  
    Browse Dir »
  • Delete replaced get function - now uses the canonical way using ...
    5db6c042
    KTEntityUtil::get
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3680 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:25:09 +0000  
    Browse Dir »
  • Add bRestrictDocumentTypes, which tells if this folder restricts the ...
    16455840
    document types of the documents put in it (defaults to no).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3679 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:24:21 +0000  
    Browse Dir »
  • Move DocumentFieldSet to KTFieldset ...
    8b1991c7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3677 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:18:26 +0000  
    Browse Dir »
  • Accomodate setData, and add some helper functions for templates to use. ...
    14b2be6c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3676 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:15:52 +0000  
    Browse Dir »
  • Add setData method, so render can be called without parameters. ...
    2aceb436
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3675 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:15:08 +0000  
    Browse Dir »
  • Don't use checkSession in dispatchers - rather verify session directly ...
    1b10d438
    and allow the dispatcher to set its own access level.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3674 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:14:17 +0000  
    Browse Dir »
  • Modernise to use _aFieldToSelect. ...
    019a2e3e
    Add isUsed(), which helps to find out if the DocumentType is used.
    Don't not delete because the type is assigned to folders.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3672 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:12:39 +0000  
    Browse Dir »
  • Consistently use iId. ...
    9521a57e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3671 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:11:30 +0000  
    Browse Dir »
  • Modernise to use _FieldToSelect for KTEntity-related work. ...
    a4e3dd7d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3670 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:10:54 +0000  
    Browse Dir »

23 Sep, 2005
1 commit
  • Add getTableName, The one true way to get the correct name for a table ...
    f0265d7f
    whilst respecting the administrator's choice of table naming.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3667 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-23 14:44:30 +0000  
    Browse Dir »

22 Sep, 2005
4 commits
  • Pass on the error from _add. ...
    10d862eb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3664 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-22 21:08:11 +0000  
    Browse Dir »
  • Catch errors in listing documents or folders from the import storage. ...
    88a13d32
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3663 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-22 20:50:37 +0000  
    Browse Dir »
  • Error out if the file or directory can not be read properly. ...
    8f9a9087
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3662 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-22 20:32:47 +0000  
    Browse Dir »
  • Error out if the folder to import from does not exist. ...
    da397709
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3660 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-22 13:29:42 +0000  
    Browse Dir »

21 Sep, 2005
3 commits
  • Set the (present) value for the tree field. ...
    6ba62966
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3652 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-21 20:44:53 +0000  
    Browse Dir »
  • Deal with the case where findRootObjectForPermissionObject is called on ...
    0f2f79fb
    a permission object which is set by a document (for itself).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3651 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-21 20:44:13 +0000  
    Browse Dir »
  • Add a helper getPathArray ...
    5f8e2df5
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3650 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-21 20:43:02 +0000  
    Browse Dir »