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
20 Dec, 2004
11 commits
  • 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 Code »
  • 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 Code »
  • Parameterise SQL statements under presentation/ ...
    5bf4d48c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3058 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 10:56:30 +0000  
    Browse Code »
  • Remove commented-out code. ...
    d72d94f3
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3057 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 10:55:32 +0000  
    Browse Code »
  • Make code easier to understand by flattening nested if statements. ...
    8092e517
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3056 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 10:53:37 +0000  
    Browse Code »
  • Make create and store safer: ...
    af8535a2
    Require a built-up session.
    
    Store static data in a session instead of using a hidden form variable,
    out of the reach of attackers.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3055 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 10:52:57 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »

17 Dec, 2004
1 commit
  • Rename TestFolder to more useful InheritedFolder, and try to match the ...
    62856ed1
    colour scheme a bit.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3049 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-17 09:46:36 +0000  
    Browse Code »

15 Dec, 2004
5 commits
  • Show inherited permissions if there are no direct permissions on the folder. ...
    5ad9fc21
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3048 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-15 11:24:46 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »

03 Dec, 2004
5 commits
  • Replace manual UPDATEs to whereUpdate ...
    7c7836a8
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3042 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-03 12:53:17 +0000  
    Browse Code »
  • Convert manual queries to autoInsert and whereUpdate. ...
    e98d487f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3041 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-03 12:52:23 +0000  
    Browse Code »
  • Add DBUtill::whereUpdate, acts like autoUpdate except you can pass your ...
    e2230aaf
    own where clause as dictionary (joined by AND)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3040 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-03 12:48:44 +0000  
    Browse Code »
  • Switch to using KTEntity ...
    c0dc0960
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3039 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-03 12:47:18 +0000  
    Browse Code »
  • Check for an error as last result in fetchRow. ...
    85f49aed
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3038 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-03 12:46:54 +0000  
    Browse Code »

02 Dec, 2004
2 commits
  • Move database-backed objects over to KTEntity ...
    3cac9284
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3037 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-02 10:51:17 +0000  
    Browse Code »
  • Add another unique name field. ...
    3ce6ba47
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3036 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-02 10:48:25 +0000  
    Browse Code »

01 Dec, 2004
15 commits
  • Seed the randomiser, and make KTUtil and KTEntity available to all ...
    02801c4a
    pages.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3035 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 21:32:32 +0000  
    Browse Code »
  • By default, if page access has not been allowed, print an access ...
    75b03cd1
    restricted message and exit.
    
    (Solves the problem of empty pages.)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3034 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 21:30:54 +0000  
    Browse Code »
  • Try harder in anyToBool to find what people meant. ...
    430f4c0e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3033 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 21:28:34 +0000  
    Browse Code »
  • Common base class for standard database-backed objects in KnowledgeTree. ...
    85b9a3f2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3032 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 21:23:15 +0000  
    Browse Code »
  • Add autoUpdate and autoDelete as per autoInsert. ...
    01eed15c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3031 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 21:22:28 +0000  
    Browse Code »
  • Stop using deprecated call_user_method_array and use ...
    525739f1
    call_user_func_array instead.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3030 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 18:09:05 +0000  
    Browse Code »
  • Fix minor HTML tag error. ...
    f4378792
    SF tracker:	1061175
    Submitted by:	Paul Gier (gier21)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3029 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 15:17:23 +0000  
    Browse Code »
  • Remove phplib. ...
    77beaf79
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3028 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 14:05:00 +0000  
    Browse Code »
  • anyToBool is in KTUtil... ...
    e3773c83
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3027 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 13:57:13 +0000  
    Browse Code »
  • Cover up errors that didn't get picked up by my testing. ...
    88743489
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3026 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 13:56:10 +0000  
    Browse Code »
  • Move over to PEAR::DB's autoExecute via DBUtil::autoInsert, which gets ...
    5be02429
    rid of all non-portable insert_id calls and introduces portable
    sequences.
    
    You must run the commands in sql/mysql/upgrade/1.2.4-to-1.2.5.sql for
    KnowledgeTree to function on your data.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3025 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 13:46:36 +0000  
    Browse Code »
  • If we can't write the log, then we just don't, silently. ...
    cb47dcbb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3024 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 12:31:46 +0000  
    Browse Code »
  • Make the DBUtil class available to all pages. ...
    923cfa5a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3023 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 12:31:12 +0000  
    Browse Code »
  • Set autofree on the compat database's results, as they're not explicitly ...
    f8675cde
    freed in legacy code.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3022 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 12:29:36 +0000  
    Browse Code »
  • Database access utility class to reduce code repetition and complexity ...
    4036b7c2
    and make it easier to make wide-spread changes in the database area.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3021 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 12:28:58 +0000  
    Browse Code »

30 Nov, 2004
1 commit
  • Switch to using PEAR::DB for our database connectivity layer. Use ...
    562322d8
    DBCompat to remove our use of phplib's DB classes, but allow existing
    use of phplib's DB API to work until we remove them.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3020 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-11-30 09:15:28 +0000  
    Browse Code »