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 Nov, 2005
6 commits
  • When adding a document, the "scan" trigger on the "content" action is ...
    98b45412
    now checked to verify whether this document will be added.  For
    example, after doing an anti-virus check and finding a virus in the
    document.
    
    When adding a document, the "transform" trigger on the "content" action
    is now run to change attributes of the document based on its contents.
    For example, automatically adding the title from the contents of the
    document as a metadata field.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3917 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-06 10:52:48 +0000  
    Browse Dir »
  • Add a registry to handle triggers, user-configurable activities that can ...
    0153140a
    occur at various stages during an action (such as the "post-validator"
    stage of the "add document" action).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3916 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-06 10:49:24 +0000  
    Browse Dir »
  • Add temporaryFile and freeTemporaryFile for whenever one needs a ...
    d9582107
    (read-only) physical file to work on.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3915 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-06 10:47:16 +0000  
    Browse Dir »
  • Find a fieldset by its namespace name. ...
    976128ba
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3914 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-06 10:46:27 +0000  
    Browse Dir »
  • Modernise to use $_aFieldToSelect, use Id instead of ID ...
    f0b490f8
    Add most common read operation - getByDocumentAndField
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3913 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-06 10:46:07 +0000  
    Browse Dir »
  • getByFieldsetAndName - finding the field you want when you know its name ...
    a4a22e79
    and its fieldset.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3912 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-06 10:45:13 +0000  
    Browse Dir »

02 Nov, 2005
2 commits
  • KTMetadataUtil::synchroniseMetadata allows for a field's lookup options ...
    c26fcb26
    to be synchronised from a list of values (from LDAP, another database,
    or manually).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3908 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-02 14:10:43 +0000  
    Browse Dir »
  • Allow for metadata to be enabled or disabled, and add some getBy* ...
    0781b339
    functions for ease of use.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3907 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-02 14:09:32 +0000  
    Browse Dir »

27 Oct, 2005
5 commits
  • Handle extension-less mode (somewhat). ...
    e241c495
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3902 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-27 13:15:24 +0000  
    Browse Dir »
  • Handle extension-less (MultiViews/mod_rewrite) support in the sitemap. ...
    8f07de81
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3901 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-27 12:50:21 +0000  
    Browse Dir »
  • Add getRequestScriptName, which gets the name of the script as it was ...
    5724adb4
    given in the script - as opposed to REQUEST_URI which is the whole
    request, and SCRIPT_NAME which is the name of the file.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3900 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-27 12:49:07 +0000  
    Browse Dir »
  • validateMetadata is given an array of array($oField, $sValue)s. ...
    d3c1f78e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3899 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-27 12:47:31 +0000  
    Browse Dir »
  • Redirect to the login page if nobody is logged on or if a session has ...
    edab4656
    expired and so forth.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3897 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-27 12:23:16 +0000  
    Browse Dir »

26 Oct, 2005
4 commits
  • Implement metadata validation using the mandatory flag on fields and ...
    0ec7c0f3
    verifying conditional metadata fieldsets.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3893 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-26 14:04:22 +0000  
    Browse Dir »
  • Add bIsMandatory, which allows for a user to set a field as being ...
    f97c4cd2
    mandatory.
    
    Use KTEntityUtil's get helper function.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3892 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-26 14:02:42 +0000  
    Browse Dir »
  • More documentation of these utility functions, return codes, general ...
    a576babc
    approach to solving the problem, &c.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3889 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-26 11:01:47 +0000  
    Browse Dir »
  • Add documentation describing what each function does. ...
    c0b5b218
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3888 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-26 09:40:19 +0000  
    Browse Dir »

25 Oct, 2005
4 commits
  • Allow for the setting and getting of the groups/users/roles that get ...
    dcf92b7a
    informed when a particular workflow state is entered.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3883 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-25 12:35:06 +0000  
    Browse Dir »
  • Add a link to a descriptor that describes who should be informed when a ...
    054d76c3
    document enters this state.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3882 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-25 12:34:24 +0000  
    Browse Dir »
  • getAllowedForDescriptor is a simple helper function ...
    e627906c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3881 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-25 12:33:48 +0000  
    Browse Dir »
  • Implement descriptor/user and descriptor/role handling. ...
    742f973e
    Modernise to use KTUtil::getTableName and getList2.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3880 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-25 12:33:18 +0000  
    Browse Dir »

24 Oct, 2005
6 commits
  • Implement guard group checking. Guard permission is not always set, so ...
    7f946a95
    check if it is set first.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3876 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-24 10:28:59 +0000  
    Browse Dir »
  • Add guard group and guard role. ...
    161734ef
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3875 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-24 10:28:00 +0000  
    Browse Dir »
  • Add validateRole and validateGroup, as well as the start of a ...
    069a31f1
    dictionary-based autovalidation system.
    
    Fix a typo in handling errors when the options have a redirection
    location.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3874 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-24 10:27:36 +0000  
    Browse Dir »
  • In KTUtil::arrayGet, by default return the mDefault (usually null) if ...
    da58bd6a
    the key references an empty value.  Previously mDefault would only be
    returned if the key didn't exist at all.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3873 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-24 10:26:02 +0000  
    Browse Dir »
  • Use KTUtil::getId to handle either ID or object being passed in. ...
    40d9b7e2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3872 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-24 10:24:49 +0000  
    Browse Dir »
  • If _bUsePearError is set, return the PEAR error from the update. ...
    e9055722
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3871 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-24 10:24:28 +0000  
    Browse Dir »

20 Oct, 2005
1 commit
  • Give the display/human name for the field behaviour as well as the ...
    1a6d23fa
    namespace name.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3870 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-20 11:57:35 +0000  
    Browse Dir »

18 Oct, 2005
4 commits
  • If _bUsePearError is set, return a PEAR error instead of false. ...
    2fbae5c3
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3860 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-18 12:11:15 +0000  
    Browse Dir »
  • When building controller URLs, put the whole (encoded) query string into ...
    5cc3ee14
    the qs request variable to simplify getting the query string and
    avoiding request variable conflicts.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3849 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-18 09:18:55 +0000  
    Browse Dir »
  • Breadcrumb handling in dispatchers ...
    45be398b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3847 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-18 09:16:50 +0000  
    Browse Dir »
  • Breadcrumb handling in legacy main template ...
    2afadbbc
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3846 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-18 09:16:11 +0000  
    Browse Dir »

17 Oct, 2005
4 commits
  • Deal with the case where we are included within a function. ...
    2b9447e4
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3839 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-17 14:59:43 +0000  
    Browse Dir »
  • Set the name ("title") to the description given when uploaded. ...
    afd090bb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3838 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-17 14:59:24 +0000  
    Browse Dir »
  • 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
4 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 »