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
7 commits
  • Rebuild search permissions for all documents - either by doing it for ...
    b3abc5a0
    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
    nbm authored
    2005-01-06 13:16:48 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • Import the Group class ...
    e6afbd1c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3125 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 13:01:56 +0000  
    Browse Code »
  • 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 Code »
  • Get the folder to update its permission folder if a permission is ...
    f04d79be
    removed.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3123 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-06 10:38:39 +0000  
    Browse Code »

05 Jan, 2005
15 commits
  • setPermissionFolder.php will calculate permission_folder_id for folders ...
    473a79a7
    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
    nbm authored
    2005-01-05 21:51:47 +0000  
    Browse Code »
  • Call updatePermissions on the folder we've just copied the new ...
    fb2f733c
    permissions to.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3121 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 21:49:02 +0000  
    Browse Code »
  • Use the Folder addPermissions method instead of a local copy. ...
    075a1db1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3120 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 21:48:25 +0000  
    Browse Code »
  • 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 Code »
  • Add permission_folder_id to the folder table, which provides us with a ...
    6efc8214
    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
    nbm authored
    2005-01-05 21:44:19 +0000  
    Browse Code »
  • Flatten nested ifs to improve understandability. ...
    27ff5010
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3117 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 21:16:48 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • Allow the user to choose multiple document types when creating a folder. ...
    4a04ddec
    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
    nbm authored
    2005-01-05 11:50:25 +0000  
    Browse Code »
  • Flatten nested ifs into more readable code. ...
    1bc2becf
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3112 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 11:10:10 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • Pick up the changes from the select boxes. ...
    e4ad8df0
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3109 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 09:18:38 +0000  
    Browse Code »
  • Oops, wasn't supposed to commit that version before. Actually check we ...
    f3d78871
    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
    nbm authored
    2005-01-05 08:58:05 +0000  
    Browse Code »
  • 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 Code »

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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »

03 Jan, 2005
13 commits
  • Get object name and path from the session correctly. ...
    5de8ac0d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3101 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 12:56:20 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • search_document_user_link doesn't need an ID field. ...
    1b78e166
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3093 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 10:36:12 +0000  
    Browse Code »
  • Set up session page access to store.php if we're using it. ...
    d25a5bfe
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3092 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 10:29:09 +0000  
    Browse Code »
  • Use DBUtil's autoInsert or autoUpdate for improved security and ...
    584d6ea0
    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
    nbm authored
    2005-01-03 10:27:58 +0000  
    Browse Code »
  • Whitespace cleanup. ...
    64ea047d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3090 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 09:42:20 +0000  
    Browse Code »
  • 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 Code »

23 Dec, 2004
1 commit
  • Extra-advanced search functionality - choose your search terms for each ...
    ee9b61b5
    of filename, description, id, creator, document type, and each of your
    document fields.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3088 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-23 21:59:10 +0000  
    Browse Code »