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 Jan, 2005
6 commits
  • 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
8 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 »
  • Build the default criteria list from the browser_criteria table. ...
    09924229
    Add a columns helper method to make building the table easier.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3080 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-23 13:38:19 +0000  
    Browse Dir »
  • Sort by "more" correct filename instead of name by default. ...
    1bff1a5b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3078 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-23 13:36:02 +0000  
    Browse Dir »

22 Dec, 2004
4 commits
  • Centralise browser logic into per-criterion objects, making the ...
    cc8c54e7
    interface respond to which criteria are set up in the browser.
    
    Also support generic metadata in the browser - as evidenced by the
    Category criterion added to the browser now.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3073 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-22 14:35:44 +0000  
    Browse Dir »
  • Whitespace cleanup. ...
    160da172
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3071 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-22 10:15:09 +0000  
    Browse Dir »
  • Pretty up and make more understandable the sort criteria ...
    0b65a15d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3069 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-22 08:25:27 +0000  
    Browse Dir »
  • Add compactQuery, which turns multi-line queries into single-line ones, ...
    08707e23
    in case that's ever a problem (and to make the logs more log-like).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3068 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-22 08:24:50 +0000  
    Browse Dir »

21 Dec, 2004
1 commit
  • Convert incorrect image tags to img ...
    99bb247e
    SF Tracker:	1081772
    Submitted by:	Adam Monsen (meonkeys)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3065 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-21 08:22:18 +0000  
    Browse Dir »

20 Dec, 2004
3 commits
  • Parameterise (or vette/mark) remaining SQL statements. ...
    682f19b7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3063 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 21:25:15 +0000  
    Browse Dir »
  • Parameterise (or vette/mark) more SQL queries ...
    88d2fbe4
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3062 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 13:52:58 +0000  
    Browse Dir »
  • Parameterise (or vette) some SQL statements ...
    2f065d4a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3061 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 11:03:16 +0000  
    Browse Dir »