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
10 Nov, 2005
7 commits
  • Create testConditionOnDocument which does what it says - checks if a ...
    258511d8
    condition applies to a document, returning true if it does, or false.
    
    Implement changes to make the query generated by criteriaToQuery more
    flexible, and make criteriaToLegacyQuery that does what the previous
    searches did.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3959 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-10 18:25:49 +0000  
    Browse Dir »
  • KTSavedSearch represents a search that can be loaded up again later, ...
    fe058346
    creatable by users for themselves or by admins for system-wide
    availability.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3949 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-10 15:48:47 +0000  
    Browse Dir »
  • SearchUtil helps in searches, particularly in converting criteria sets ...
    70455465
    to SQL queries that will find the documents in question.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3948 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-10 15:31:06 +0000  
    Browse Dir »
  • Add nameToLocalNamespace, which auto-generates a namespace for the cases ...
    71f72bab
    where users create the objects in question and can't be bothered to make
    a unique namespace.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3945 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-10 15:26:23 +0000  
    Browse Dir »
  • Remove excess semi-colon, no code changes. ...
    6ca8c806
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3944 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-10 15:25:20 +0000  
    Browse Dir »
  • Be more lenient, getHasLookup() will return a false-equivalent, but not ...
    84ecbfd1
    always boolean false, when there is no lookup for the field.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3943 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-10 15:25:02 +0000  
    Browse Dir »
  • Default $iId to -1, so that the checks that we're not created work ...
    26175648
    properly.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3941 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-10 15:24:06 +0000  
    Browse Dir »

08 Nov, 2005
4 commits
  • Document actions are now dispatchers - they can be accessed at ...
    a3f1a92c
    /action.php/actionname.  (Single) document actions expect the document
    id in fDocumentId, and validate the document exists before continuing.
    
    In future, they will perform all the usual show/disable checks before
    continuing on their business.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3936 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-08 15:06:35 +0000  
    Browse Dir »
  • Allow for actions to be looked up by nsname. ...
    3cbb5d5f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3935 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-08 15:04:13 +0000  
    Browse Dir »
  • Don't assume someone else has included the webpageTemplate.inc file. ...
    8ca6995e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3934 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-08 15:03:51 +0000  
    Browse Dir »
  • Use KT_LIB_DIR and KT_DIR rather than $default->... ...
    f4dd043c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3931 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-08 14:42:00 +0000  
    Browse Dir »

07 Nov, 2005
7 commits
  • Conform to style, and use KTUtil::getId to get the ID from $oDocument. ...
    9477d0bb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3930 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-07 20:57:06 +0000  
    Browse Dir »
  • Add search criteria to search on transaction text and all searchable ...
    8f408d65
    text attached to a document.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3929 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-07 20:56:35 +0000  
    Browse Dir »
  • Add updateSearchableText, which creates a single full-text indexed ...
    eb0a74bb
    string based on document contents, field values, and transaction
    history.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3928 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-07 15:45:04 +0000  
    Browse Dir »
  • Add updateTransactionText, which takes all the comments from all ...
    334a26ca
    transactions into a single full-text indexed string in the database for
    search purposes.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3927 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-07 14:45:41 +0000  
    Browse Dir »
  • Improve function documentation, and create a transaction when workflow ...
    6ece9666
    state transitions occur.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3924 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-07 14:41:29 +0000  
    Browse Dir »
  • Add a Workflow Transition transaction type, and add a getByDocument ...
    fbe471c8
    lister.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3923 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-07 14:40:40 +0000  
    Browse Dir »
  • Add a criteria to be able to search on workflow state, and to be able to ...
    e8afa648
    view workflow state of documents in the browse window.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3922 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-07 14:40:01 +0000  
    Browse Dir »

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
1 commit
  • 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 »