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
06 Oct, 2005
6 commits
  • Create a dispatcher validator for each dispatcher. ...
    84dcbd43
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3750 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-06 19:19:39 +0000  
    Browse Dir »
  • Make KTDispatcherValidation a proper class, not a utility class. Each ...
    6b3c2b57
    Dispatcher object has a DispatcherValidation object instantiated for it.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3749 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-06 19:19:11 +0000  
    Browse Dir »
  • getObject is a way to get an object when you don't know if you have the ...
    e160a772
    object or its unique identifier.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3748 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-06 19:18:24 +0000  
    Browse Dir »
  • Standardise on 'Id' ending and not 'ID'. ...
    15d86d08
    Add getByLookupSingle and getByLookup to find value instances from the
    values they represent.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3747 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-06 19:17:51 +0000  
    Browse Dir »
  • Standardise on 'Id' endings and not 'ID'. ...
    1aba00bc
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3746 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-06 19:16:54 +0000  
    Browse Dir »
  • Add an option to getBy that signals that not getting any results is ...
    cc1fa29e
    okay.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3745 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-06 19:15:59 +0000  
    Browse Dir »

05 Oct, 2005
15 commits
  • actionEnabledForDocument determines if an action is enabled or disabled ...
    a9414038
    due to the document's workflow state.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3741 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 12:48:40 +0000  
    Browse Dir »
  • Add getByDocument, to get the workflow state of a document. ...
    9ad8f982
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3740 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 12:47:22 +0000  
    Browse Dir »
  • Disable actions not allowed by the workflow state the document is in. ...
    ff14262d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3739 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 12:45:37 +0000  
    Browse Dir »
  • Add startWorkflowOnDocument, which assigns a workflow to a document, ...
    4581dfa7
    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
    Neil Blakey-Milner authored
    2005-10-05 12:22:25 +0000  
    Browse Dir »
  • Add and store the starting state of the workflow. ...
    7a451c37
    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
    Neil Blakey-Milner authored
    2005-10-05 12:20:26 +0000  
    Browse Dir »
  • Add a none parameter to entity_select, which adds a ("", "None") to the ...
    3a6acbf6
    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
    Neil Blakey-Milner authored
    2005-10-05 12:19:26 +0000  
    Browse Dir »
  • Add some accessors to allow easy use of actions via templates. ...
    661a5e5e
    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
    Neil Blakey-Milner authored
    2005-10-05 12:17:51 +0000  
    Browse Dir »
  • Save the nsname of the action. ...
    d4a3425b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3727 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 12:16:05 +0000  
    Browse Dir »
  • Set isgeneric to whatever the field was. ...
    86fc453e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3725 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 10:44:14 +0000  
    Browse Dir »
  • ug, typo in require for fieldsets ...
    b7270838
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3723 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 09:56:59 +0000  
    Browse Dir »
  • Validation for templates by name, and workflow and permission objects by id. ...
    2d9381fb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3719 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 07:18:07 +0000  
    Browse Dir »
  • Allow arrayGet to work without errors on a null value passed in. ...
    c4815ebb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3718 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 07:17:35 +0000  
    Browse Dir »
  • Upgrade information for 2.99.1, add fieldsets for all fields. ...
    7b24bba6
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3717 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 07:17:01 +0000  
    Browse Dir »
  • Add entity_checkboxes smarty function ...
    6d2be016
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3715 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 07:15:45 +0000  
    Browse Dir »
  • First-pass at workflow backend i.t.o. administration. ...
    4127f8cd
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3713 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 07:13:09 +0000  
    Browse Dir »

04 Oct, 2005
6 commits
  • Models for storing conditional metadata ...
    4a3b37e6
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3712 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-04 14:09:19 +0000  
    Browse Dir »
  • DispatcherValidation are a bunch of validation functions that tie in ...
    f7cdc1ef
    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
    Neil Blakey-Milner authored
    2005-10-04 13:30:39 +0000  
    Browse Dir »
  • Add getId, which simplifies the case where we're being passed an object ...
    e301179c
    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
    Neil Blakey-Milner authored
    2005-10-04 12:25:49 +0000  
    Browse Dir »
  • Changes regarding relations of fields in a conditional fieldset ...
    9b9a4792
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3706 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-04 12:24:25 +0000  
    Browse Dir »
  • autoInsert can now optionally _not_ put in a unique ID into an insert. ...
    3d84eed9
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3705 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-04 12:23:53 +0000  
    Browse Dir »
  • Utilities relating to metadata (document fields) manipulation ...
    df9481d6
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3703 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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 ...
    fe23a130
    getValues() for the lookup case.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3694 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-30 14:02:55 +0000  
    Browse Dir »
  • Modernise to use _aFieldToSelect, and add getByDocumentField. ...
    28eecd7b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3693 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-30 14:00:48 +0000  
    Browse Dir »
  • Add transparent (requested) transaction support for dispatcher. A ...
    b7b50077
    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
    Neil Blakey-Milner 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 ...
    7c4ce4eb
    the basic errorPage function.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3690 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-29 22:51:59 +0000  
    Browse Dir »
  • Delete replaced get function - now uses the canonical way using ...
    c559a8be
    KTEntityUtil::get
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3680 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-29 11:25:09 +0000  
    Browse Dir »
  • Add bRestrictDocumentTypes, which tells if this folder restricts the ...
    dec0ac8a
    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
    Neil Blakey-Milner authored
    2005-09-29 11:24:21 +0000  
    Browse Dir »
  • Move DocumentFieldSet to KTFieldset ...
    a1db66ef
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3677 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-29 11:18:26 +0000  
    Browse Dir »
  • Accomodate setData, and add some helper functions for templates to use. ...
    363cf35e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3676 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-29 11:15:52 +0000  
    Browse Dir »
  • Add setData method, so render can be called without parameters. ...
    ff8b60ac
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3675 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-29 11:15:08 +0000  
    Browse Dir »
  • Don't use checkSession in dispatchers - rather verify session directly ...
    cd6898a3
    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
    Neil Blakey-Milner authored
    2005-09-29 11:14:17 +0000  
    Browse Dir »
  • Modernise to use _aFieldToSelect. ...
    e05fd64d
    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
    Neil Blakey-Milner authored
    2005-09-29 11:12:39 +0000  
    Browse Dir »
  • Consistently use iId. ...
    86ad1461
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3671 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-29 11:11:30 +0000  
    Browse Dir »
  • Modernise to use _FieldToSelect for KTEntity-related work. ...
    7cf7f16c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3670 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-29 11:10:54 +0000  
    Browse Dir »