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
06 Jan, 2005
8 commits
  • Some documentation on how the Search Permissions system in KnowledgeTree ...
    e5dd3e59
    works, and the current information on how they are determined, and when
    they need to be updated.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3130 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-06 13:35:14 +0000  
    Browse Code »
  • Rebuild search permissions for all documents - either by doing it for ...
    14fbede0
    each document in turn (rebuildSearchPermissions.php) or for each user in
    turn (rebuildSearchPermissionsbyUser.php).  Should produce the same
    results.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3129 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-06 13:16:48 +0000  
    Browse Code »
  • Lessen unnecessary verbosity since this stuff seems to be solid. ...
    cc1dc5ba
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3128 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-06 13:11:51 +0000  
    Browse Code »
  • updatePermissions now not only updates the folder and its children's ...
    b2f784b2
    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
    Neil Blakey-Milner authored
    2005-01-06 13:04:33 +0000  
    Browse Code »
  • Use the permission-handling in the Permission utility class instead of ...
    c43a6250
    doing so locally.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3126 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-06 13:02:37 +0000  
    Browse Code »
  • Import the Group class ...
    75466aaa
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3125 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-06 13:01:56 +0000  
    Browse Code »
  • Move permission-management of documents here in ...
    c194ed8f
    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
    Neil Blakey-Milner authored
    2005-01-06 13:01:19 +0000  
    Browse Code »
  • Get the folder to update its permission folder if a permission is ...
    8b2b207c
    removed.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3123 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-06 10:38:39 +0000  
    Browse Code »

05 Jan, 2005
15 commits
  • setPermissionFolder.php will calculate permission_folder_id for folders ...
    7bc707f7
    that don't have it set already - usually because they've just been added
    via the upgrade SQL script.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3122 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 21:51:47 +0000  
    Browse Code »
  • Call updatePermissions on the folder we've just copied the new ...
    efcdf3a1
    permissions to.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3121 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 21:49:02 +0000  
    Browse Code »
  • Use the Folder addPermissions method instead of a local copy. ...
    17db4ff9
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3120 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 21:48:25 +0000  
    Browse Code »
  • Implement support for the permission_folder_id - how to calculate it, ...
    086efa24
    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
    Neil Blakey-Milner authored
    2005-01-05 21:47:22 +0000  
    Browse Code »
  • Add permission_folder_id to the folder table, which provides us with a ...
    98e33a11
    link to the folder from which this folder gets its permissions - either
    itself if it has permissions, or the folder from which it inherits its
    permissions.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3118 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 21:44:19 +0000  
    Browse Code »
  • Flatten nested ifs to improve understandability. ...
    996bfc27
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3117 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 21:16:48 +0000  
    Browse Code »
  • Include global variable $default for the rootUrl of the KnowledgeTree. ...
    a3181d78
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3116 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 17:14:54 +0000  
    Browse Code »
  • Allow the admin to remove a group despite it having members, since ...
    36b2cacf
    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
    Neil Blakey-Milner authored
    2005-01-05 12:58:39 +0000  
    Browse Code »
  • Allow the user to choose multiple document types when creating a folder. ...
    eb81f66f
    Default the document types to that of the parent folder.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3113 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 11:50:25 +0000  
    Browse Code »
  • Flatten nested ifs into more readable code. ...
    d23ca1fb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3112 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 11:10:10 +0000  
    Browse Code »
  • Use the query log for queries (but not errors containing queries). ...
    e1797035
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3111 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 10:51:24 +0000  
    Browse Code »
  • Use KTUtil::anyToBool for any boolean values being passed to the ...
    9beb4763
    database.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3110 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 10:16:03 +0000  
    Browse Code »
  • Pick up the changes from the select boxes. ...
    bcd44f6e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3109 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 09:18:38 +0000  
    Browse Code »
  • Oops, wasn't supposed to commit that version before. Actually check we ...
    df7943a0
    have an error before trying to handle one.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3108 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 08:58:05 +0000  
    Browse Code »
  • Handle startup errors slightly better - at least show them and stop ...
    731e28e2
    trying to continue on regardless.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3107 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 08:56:10 +0000  
    Browse Code »

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

03 Jan, 2005
13 commits
  • Get object name and path from the session correctly. ...
    ea181171
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3101 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 12:56:20 +0000  
    Browse Code »
  • Use iId, since all the other classes use it. ...
    24adc5a6
    (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
    Neil Blakey-Milner authored
    2005-01-03 12:55:23 +0000  
    Browse Code »
  • Modernise to use _table() for table name ...
    5b14dab2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3099 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 12:53:04 +0000  
    Browse Code »
  • Change getList users to using parameterised WhereClauses (if necessary) ...
    457c66ad
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3098 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 12:11:05 +0000  
    Browse Code »
  • Support having and not having the WHERE in the sWhereClause of getList, ...
    7447eef1
    since it was not standardised.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3097 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 11:44:51 +0000  
    Browse Code »
  • Use KTEntityUtil::getList instead of disparate getList implementations. ...
    3fea6984
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3096 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 11:36:48 +0000  
    Browse Code »
  • Note that KTEntityUtil::getList's SQL query is safe ...
    8eb4df7c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3095 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 11:34:10 +0000  
    Browse Code »
  • KTEntityUtil::getList simplifies the disparate getList implementations, ...
    ba763200
    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
    Neil Blakey-Milner authored
    2005-01-03 11:13:30 +0000  
    Browse Code »
  • search_document_user_link doesn't need an ID field. ...
    ff6d8b21
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3093 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 10:36:12 +0000  
    Browse Code »
  • Set up session page access to store.php if we're using it. ...
    51050888
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3092 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 10:29:09 +0000  
    Browse Code »
  • Use DBUtil's autoInsert or autoUpdate for improved security and ...
    5fdc1ef3
    simplified code, as well as correct sequence ids for inserts.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3091 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 10:27:58 +0000  
    Browse Code »
  • Whitespace cleanup. ...
    b5ec5be1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3090 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 09:42:20 +0000  
    Browse Code »
  • autoInsert returns the ID of the inserted row, not success. Use ...
    d768f7ef
    PEAR::isError to determine failure.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3089 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 09:34:42 +0000  
    Browse Code »