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
07 Jan, 2005
7 commits
  • Rename the legacy Log class to KTLegacyLog ...
    c6c75cb4
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3151 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-07 11:53:07 +0000  
    Browse Dir »
  • Take out debugging stuff for where neither start nor end date is given. ...
    1e873a57
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3149 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-07 10:49:39 +0000  
    Browse Dir »
  • If the document field is a lookup, provide a drop-down box with the ...
    5cb5232f
    lookup values.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3147 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-07 10:19:43 +0000  
    Browse Dir »
  • Add a getList static method. ...
    d9fd3379
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3145 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-07 10:18:01 +0000  
    Browse Dir »
  • Convert database values properly back to boolean. ...
    52c855bd
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3144 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-07 10:17:35 +0000  
    Browse Dir »
  • Render negative numbers with underscore instead of dash to allow easier ...
    876773f5
    manipulation in javascript.
    
    Implement searching for date created, offering between A and B, after A,
    and before B syntax.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3143 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-07 09:37:48 +0000  
    Browse Dir »
  • Moved created time into the document table. ...
    76bbd115
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3140 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-07 09:30:49 +0000  
    Browse Dir »

06 Jan, 2005
9 commits
  • In userHasFolder(Read|Write)Access, use the Permission Folder ID instead ...
    1af581ec
    of incorrectly using all parents to determine access.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3139 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 16:47:37 +0000  
    Browse Dir »
  • Grab the Permission Folder for Folders created from the database. ...
    8238dd67
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3137 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 16:34:51 +0000  
    Browse Dir »
  • When the document is moved, update its search permissions. ...
    77d349fe
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3135 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 14:07:16 +0000  
    Browse Dir »
  • Use Permission::updateSearchPermissionsForUser to redo permissions ...
    10df19b1
    instead of local attempt.  Automatically redo permissions when a link
    has been successfully created or deleted.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3132 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 13:55:23 +0000  
    Browse Dir »
  • Replace mis-copied iDocumentID to iUserID so that user permissions are ...
    fd1b206c
    deleted.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3131 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 13:52:22 +0000  
    Browse Dir »
  • Lessen unnecessary verbosity since this stuff seems to be solid. ...
    bef98525
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3128 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 13:11:51 +0000  
    Browse Dir »
  • updatePermissions now not only updates the folder and its children's ...
    4389f67e
    permission folder, but the permissions on each of the documents in those
    folders.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3127 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 13:04:33 +0000  
    Browse Dir »
  • Use the permission-handling in the Permission utility class instead of ...
    2eaee1fa
    doing so locally.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3126 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 13:02:37 +0000  
    Browse Dir »
  • Move permission-management of documents here in ...
    c24863eb
    updateSearchPermissionsForDocument.
    
    updateSearchPermissionsForUser does the same, recalculating the
    permission a user has on all documents.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3124 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 13:01:19 +0000  
    Browse Dir »

05 Jan, 2005
6 commits
  • Implement support for the permission_folder_id - how to calculate it, ...
    728b370e
    and how to update it on all a folder's children when it needs to be
    changed.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3119 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 21:47:22 +0000  
    Browse Dir »
  • Include global variable $default for the rootUrl of the KnowledgeTree. ...
    2904d432
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3116 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 17:14:54 +0000  
    Browse Dir »
  • Allow the admin to remove a group despite it having members, since ...
    2314e91a
    all they're going to do is remove the users from that group, and remove
    a group despite it being a member of the unit, since all they're going
    to do is remove it from the unit.  So do it for them.  They still have
    to confirm that they want to delete that group.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3114 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 12:58:39 +0000  
    Browse Dir »
  • Use the query log for queries (but not errors containing queries). ...
    5598af6d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3111 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 10:51:24 +0000  
    Browse Dir »
  • Use KTUtil::anyToBool for any boolean values being passed to the ...
    04abb5c0
    database.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3110 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 10:16:03 +0000  
    Browse Dir »
  • Handle startup errors slightly better - at least show them and stop ...
    31a22ac1
    trying to continue on regardless.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3107 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 08:56:10 +0000  
    Browse Dir »

04 Jan, 2005
4 commits
  • Use KTUtil::anyToBool to fix any null/broken boolean. ...
    1e905c35
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3106 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-04 11:35:00 +0000  
    Browse Dir »
  • Add an _table() (semi-static) method to get the table name. ...
    fee9e26d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3105 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-04 11:20:44 +0000  
    Browse Dir »
  • Lower queries and other flow logging to DEBUG level. ...
    a9cb1c3c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3104 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-04 11:19:58 +0000  
    Browse Dir »
  • Replace erroneous array addition with array_merge. Update sections to ...
    2e95ce5b
    use DBUtil.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3103 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-04 11:14:10 +0000  
    Browse Dir »

03 Jan, 2005
8 commits
  • Use iId, since all the other classes use it. ...
    496d8e67
    (Even though all the non-class code uses iID...)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3100 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 12:55:23 +0000  
    Browse Dir »
  • Modernise to use _table() for table name ...
    d90360f0
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3099 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 12:53:04 +0000  
    Browse Dir »
  • Change getList users to using parameterised WhereClauses (if necessary) ...
    d55edae7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3098 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 12:11:05 +0000  
    Browse Dir »
  • Support having and not having the WHERE in the sWhereClause of getList, ...
    e9a3e5b5
    since it was not standardised.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3097 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 11:44:51 +0000  
    Browse Dir »
  • Use KTEntityUtil::getList instead of disparate getList implementations. ...
    1e8876cf
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3096 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 11:36:48 +0000  
    Browse Dir »
  • Note that KTEntityUtil::getList's SQL query is safe ...
    dabd7475
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3095 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 11:34:10 +0000  
    Browse Dir »
  • KTEntityUtil::getList simplifies the disparate getList implementations, ...
    14594230
    and provides for parameterised where clauses.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3094 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 11:13:30 +0000  
    Browse Dir »
  • autoInsert returns the ID of the inserted row, not success. Use ...
    d242a94a
    PEAR::isError to determine failure.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3089 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 09:34:42 +0000  
    Browse Dir »

23 Dec, 2004
6 commits
  • Use DBUtil::autoInsert to manipulate active_sessions, as it now uses ...
    39711233
    sequences and not autoincrements.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3087 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-23 21:56:26 +0000  
    Browse Dir »
  • Use DBUtil::runQuery to do our query, so we can get query logging. ...
    f07b5f0c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3086 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-23 21:55:24 +0000  
    Browse Dir »
  • Criteria now know how to generate the WHERE part of statements when ...
    ed1661a1
    they're being searched on in HTML form submissions.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3085 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-23 21:47:24 +0000  
    Browse Dir »
  • Each Criterion now knows what its ID is, fixing the search widgets. ...
    1c623fdf
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3084 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-23 17:33:52 +0000  
    Browse Dir »
  • Allow criteria to render their own search widgets. ...
    607a06c4
    Make it easy to get all the base metadata and all the generic document
    fields.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3083 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-23 17:05:35 +0000  
    Browse Dir »
  • Untie Criteria from Browser, so it can be used by others easily. ...
    e2adcb3e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3082 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-23 14:48:39 +0000  
    Browse Dir »