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
17 Oct, 2005
2 commits
  • Implement getTransitionsForDocumentUser in terms of guard permissions. ...
    4c8a1264
    Implement performTransitionOnDocument, which performs the transition,
    and which will later perform associated actions (such as adding
    something into the document transactions).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3832 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-17 09:20:17 +0000  
    Browse Dir »
  • Add a validator that a value isn't empty. ...
    4ae5efd4
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3831 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-17 09:18:45 +0000  
    Browse Dir »

16 Oct, 2005
5 commits
  • Add getWorkflowForDocument and getWorkflowStateForDocument, which do ...
    d3ee15c9
    what they say they do.
    
    Add getTransitionsForDocumentUser stub, which should eventually list the
    transitions available for a document (taking its current state into
    account) for a specific user (taking groups/roles into account).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3823 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-16 21:23:01 +0000  
    Browse Dir »
  • Add showDescription pretty printer for transition ...
    af79e108
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3822 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-16 21:21:40 +0000  
    Browse Dir »
  • Add entity_radios smarty function ...
    543cc0ef
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3821 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-16 21:21:18 +0000  
    Browse Dir »
  • Add a content criterion - allows for document contents to be searched in ...
    7987fb7e
    advanced/boolean search.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3820 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-16 21:20:52 +0000  
    Browse Dir »
  • Add successRedirectToMain as an additional helper ...
    21f1333a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3819 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-16 21:20:27 +0000  
    Browse Dir »

15 Oct, 2005
4 commits
  • Use SqlResultSetAdapter instead of old-style direct database requests. ...
    dbf7ddcb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3814 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-15 09:29:43 +0000  
    Browse Dir »
  • Add some method-level documentation, and finish folding tags ...
    e7b1d9b7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3813 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-15 09:28:40 +0000  
    Browse Dir »
  • Give the GroupUtil functions the KTUtil::getId and aOptions workover, to ...
    ed84616a
    allow either objects or ids to be given as input, and to be requested as
    output.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3812 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-15 09:28:05 +0000  
    Browse Dir »
  • Defaults for Folder - not public, and no document type restriction ...
    18817f95
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3811 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-15 08:07:10 +0000  
    Browse Dir »

12 Oct, 2005
3 commits
  • Add checkConditionalFieldsetCompleteness which checks whether the ...
    73dbf3b8
    configuration of a conditional fieldset makes sense enough to be used.
    
    Also avoid clobbering aValues in getNext...
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3805 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-12 12:09:21 +0000  
    Browse Dir »
  • Add is_complete and is_complex to Fieldset, as well as a mechanism to ...
    419602e6
    look up a fieldset based on a document field.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3804 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-12 12:07:49 +0000  
    Browse Dir »
  • Add aliases getParentFieldsetId and setParentFieldsetId to match the ...
    68921d90
    common usage.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3803 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-12 12:07:16 +0000  
    Browse Dir »

11 Oct, 2005
6 commits
  • symptom fix - key the value-array on the lookup id, so that even if we ...
    eec06f53
    (somehow) have multiple possible versions coming in we don't display
    them to the end user.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3801 c91229c3-7414-0410-bfa2-8a42b809f60b
    bshuttle authored
    2005-10-11 19:20:19 +0000  
    Browse Dir »
  • Add some debugging log helpers ...
    28517e94
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3798 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-11 15:26:42 +0000  
    Browse Dir »
  • Implement getNext for not only the simple case. ...
    845369a1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3797 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-11 15:26:18 +0000  
    Browse Dir »
  • Add getByLookupAndParentBehaviour, which finds the value instance with ...
    34d0fb8e
    specified lookup value reached by the specified behaviour.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3793 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-11 13:21:15 +0000  
    Browse Dir »
  • Add a validator for field behaviours ...
    7e2ec164
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3791 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-11 12:16:05 +0000  
    Browse Dir »
  • Get a list of field behaviours based on the field they're attached to. ...
    16330340
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3790 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-11 12:15:47 +0000  
    Browse Dir »

10 Oct, 2005
2 commits
  • Make subscriptions recurse down folders. ...
    b6c567c1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3783 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-10 09:02:01 +0000  
    Browse Dir »
  • Fire subscription on document addition. ...
    44a05bdc
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3780 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-10 08:57:22 +0000  
    Browse Dir »

07 Oct, 2005
4 commits
  • Add validateFieldset and validateField ...
    6d6ec6e8
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3773 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-07 15:19:29 +0000  
    Browse Dir »
  • Behave better if passed an empty array. ...
    cb9c5ad6
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3772 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-07 15:19:07 +0000  
    Browse Dir »
  • Implement getNext (tell me the next fields and values based on what I ...
    e5f266b7
    have now in conditional metadata).
    
    Add removeFieldOrdering, which removes all field ordering for a
    fieldset.  Add setMasterField for conditional fieldsets, which sets the
    start field for conditional metadata.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3771 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-07 15:18:49 +0000  
    Browse Dir »
  • MasterField renamed properly to MasterFieldId ...
    119da48a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3770 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-07 15:17:28 +0000  
    Browse Dir »

06 Oct, 2005
7 commits
  • Add getOrCreateValueInstanceForLookup for adding instances for lookups ...
    c127b81d
    in the simple admin case, getNextValuesForLookup for the simple admin
    case.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3759 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-06 21:07:15 +0000  
    Browse Dir »
  • Create a dispatcher validator for each dispatcher. ...
    5ab26f86
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3750 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-06 19:19:39 +0000  
    Browse Dir »
  • Make KTDispatcherValidation a proper class, not a utility class. Each ...
    8fe4a5ca
    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
    nbm 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 ...
    68a8d905
    object or its unique identifier.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3748 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-06 19:18:24 +0000  
    Browse Dir »
  • Standardise on 'Id' ending and not 'ID'. ...
    ef8365a0
    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
    nbm authored
    2005-10-06 19:17:51 +0000  
    Browse Dir »
  • Standardise on 'Id' endings and not 'ID'. ...
    b469ac6c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3746 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-06 19:16:54 +0000  
    Browse Dir »
  • Add an option to getBy that signals that not getting any results is ...
    91841c19
    okay.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3745 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-06 19:15:59 +0000  
    Browse Dir »

05 Oct, 2005
7 commits
  • actionEnabledForDocument determines if an action is enabled or disabled ...
    6625044c
    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
    nbm authored
    2005-10-05 12:48:40 +0000  
    Browse Dir »
  • Add getByDocument, to get the workflow state of a document. ...
    c7b1191f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3740 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-05 12:47:22 +0000  
    Browse Dir »
  • 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 »