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
05 Jan, 2005
1 commit
  • 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
10 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 »
  • Use the safer store/create session variables. ...
    398f4df9
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3060 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 11:02:03 +0000  
    Browse Dir »
  • Use the safer create/store session variables. ...
    291ddca7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3059 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 11:01:31 +0000  
    Browse Dir »
  • Return false in getFolderPathAsArray if given folder doesn't exist. ...
    ac5d1467
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3054 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 10:45:17 +0000  
    Browse Dir »
  • Support parameterised queries in old database compatibility. ...
    4656743c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3053 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 10:44:03 +0000  
    Browse Dir »
  • Try harder to convert strings to bools. ...
    b982fe88
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3052 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 10:39:50 +0000  
    Browse Dir »
  • paramArray is useful when we have a variable-list sized IN (...) SQL ...
    b0977bca
    statement.
    
    escapeSimple allows legacy code to use the loaded database's
    escapeSimple until we can clean it up properly.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3051 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 09:06:35 +0000  
    Browse Dir »
  • Include PHP-based versions of functions that KnowledgeTree uses that ...
    6269674d
    aren't in earlier versions of PHP 4.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3050 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 09:04:54 +0000  
    Browse Dir »

15 Dec, 2004
4 commits
  • Extend from PatternTableGeneric, passing in an adaptered version of the ...
    4b2ec61a
    PEAR DB result set.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3047 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-15 11:23:43 +0000  
    Browse Dir »
  • PatternTableGeneric is a generic form of PatternTableSqlQuery, and takes ...
    36a34b2f
    a ResultSet from which it expects Results that handle 'get' method
    queries, so that we can also pass in standard arrays with dictionaries
    inside (suitably adapterised).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3046 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-15 11:22:25 +0000  
    Browse Dir »
  • Work for non-parameterised queries too! ...
    9ca33aba
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3045 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-15 11:20:43 +0000  
    Browse Dir »
  • Turn off copious logging ...
    aa88bea5
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3044 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-15 11:20:08 +0000  
    Browse Dir »