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
01 Sep, 2005
6 commits
  • Make getSingleton create instances on first call, and also make this ...
    60a0dcee
    work when the KTTemplating module is included within a function (without
    access to globals via global).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3559 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-01 17:20:26 +0000  
    Browse Dir »
  • Add an option for getByGroups to return ids rather than objects. ...
    918b2990
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3558 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-01 17:18:52 +0000  
    Browse Dir »
  • getByParentIDAndLookupID returns all sub-folders in a folder that have the ...
    66505b75
    lookups passed in (ie, so that only those sub-folders accessible by a specific
    user with a specific permission will be returned).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3557 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-01 17:18:19 +0000  
    Browse Dir »
  • getByFolderIDAndLookupID returns all documents in a folder that have the ...
    205900c8
    lookups passed in (ie, so that only those documents accessible by a
    specific user with a specific permission will be returned).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3556 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-01 17:17:40 +0000  
    Browse Dir »
  • Allow getBy to receive an arrays as a value for IN (1,2,3) SQL ...
    d4106c03
    expressions.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3555 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-01 17:14:29 +0000  
    Browse Dir »
  • Allow whereToString to potentially have an array passed in as a value. ...
    3e3f90c1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3554 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-01 17:12:20 +0000  
    Browse Dir »

19 Aug, 2005
1 commit
  • Add safeShellString, which converts an array of shell arguments to a ...
    f0412dd9
    strings that's safe to pass to system, popen, exec, &c.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3553 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-19 22:48:13 +0000  
    Browse Dir »

02 Aug, 2005
11 commits
  • By definition, if no groups are passed, then they don't have ...
    3ab181b5
    descriptors...
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3551 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 15:31:30 +0000  
    Browse Dir »
  • Remove debug prints ...
    6262433b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3547 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 14:37:16 +0000  
    Browse Dir »
  • Use all groups the user is a member of, including via nested groups. ...
    e4b049e7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3541 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 13:11:58 +0000  
    Browse Dir »
  • Nested group utility functions. ...
    ce1bc7f2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3540 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 13:11:13 +0000  
    Browse Dir »
  • Allow groups to be members and parents of other groups in the model. ...
    a5fda1ff
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3539 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 13:10:30 +0000  
    Browse Dir »
  • Add simple redirectToMain as a shortcut. ...
    d25cdc59
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3537 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 13:07:21 +0000  
    Browse Dir »
  • Add support for metadata versions to the Document model object. ...
    b0f18625
    Handle automated last-modified and creation times more carefully.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3530 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 09:25:08 +0000  
    Browse Dir »
  • DocumentUtil will hold utility functions to handle process and ...
    0e310f32
    life-cycle of document model objects.  Currently, it handles the
    check-in process.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3528 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 09:22:40 +0000  
    Browse Dir »
  • Add some helper selectors - getList and getByDocument ...
    953a339d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3526 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 09:16:24 +0000  
    Browse Dir »
  • Until this inelegant pattern is refactored away, allow users to securely ...
    16b6a50f
    add code to run before and after storage of the item.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3525 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 09:15:25 +0000  
    Browse Dir »
  • Use the new templating system to handle UI. ...
    399b23b7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3524 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-02 09:13:58 +0000  
    Browse Dir »

01 Aug, 2005
2 commits
  • Move over to DBUtil. ...
    8c8615f5
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3518 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-01 17:39:21 +0000  
    Browse Dir »
  • Support an orderby option ...
    85185bdf
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3517 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-01 15:32:54 +0000  
    Browse Dir »

31 Jul, 2005
9 commits
  • Disable getBrowseableFolders until I can think of a way to re-implement ...
    02bb1c42
    it with the new permissions system.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3515 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-31 09:00:07 +0000  
    Browse Dir »
  • Provide legacy support for Permission::userHasDocumentWritePermission ...
    6ec60e60
    and friends using the new permission system.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3513 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-31 08:57:20 +0000  
    Browse Dir »
  • No longer need to rebuild permissions when group membership changes. ...
    f473af26
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3512 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-31 08:56:46 +0000  
    Browse Dir »
  • Add permission object and lookup attributes. Also clean up things a ...
    525a5e73
    bit.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3511 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-31 08:56:07 +0000  
    Browse Dir »
  • Add permission object and permission lookups for documents. ...
    144424a9
    (This allows documents to, in theory, have their own permissions
    separately from the folders they are in.  It also allows for the same
    permissions on a folder mapped to a (to-be-created) Owner role to affect
    different documents in the folder in different ways.  But for now none
    of that is exposed by the UI.)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3510 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-31 08:54:58 +0000  
    Browse Dir »
  • Upgrade PHP function related to the new permissions system ...
    a5ac9808
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3507 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-31 08:51:45 +0000  
    Browse Dir »
  • Add support for arbitrary permissions (not just read and write). ...
    6e85fb54
    Documentation of the new system in docs/Permission.txt
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3500 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-31 08:39:27 +0000  
    Browse Dir »
  • Add support for functions not being in the first phase of upgrades. ...
    6cd9274d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3497 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-31 08:35:27 +0000  
    Browse Dir »
  • Almost all pages need to checkSession, not just admin ones. Add ...
    baca68a2
    KTStandardDispatcher to handle this.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3496 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-31 08:34:33 +0000  
    Browse Dir »

30 Jul, 2005
1 commit
  • Correct errant whitespace ...
    f313a90b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3493 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-30 14:50:03 +0000  
    Browse Dir »

29 Jul, 2005
5 commits
  • array_combine in PHP_Compat doesn't deal with empty arrays - bypass it ...
    ea3c5bb8
    in the empty case.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3490 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-29 12:14:36 +0000  
    Browse Dir »
  • Use PHP_Compat to support older versions of PHP. ...
    8e5c11ab
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3489 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-29 12:13:56 +0000  
    Browse Dir »
  • Allow options for KTEntityUtil::get* to return ids instead of objects, ...
    283bb872
    and to return multiple objects/ids if requested.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3488 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-29 12:13:04 +0000  
    Browse Dir »
  • Allow arbitrary query strings (string or dictionary) for redirects. ...
    af4f6e7e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3487 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-29 12:11:48 +0000  
    Browse Dir »
  • KTEntityUtil::getList2 doesn't need the table passed. ...
    ae2490d8
    KTEntityUTil::getByDict can be passed a dictionary of fields to values
    to look up.
    
    KTEntityUtil::getBy{,Dict} can be asked to return multiple results.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3484 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-29 08:52:22 +0000  
    Browse Dir »

27 Jul, 2005
5 commits
  • Include templating directly in case someone else doesn't. ...
    7971c0bd
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3479 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-27 09:56:26 +0000  
    Browse Dir »
  • Add getHelpFromFile so all places that hard-code the path to the help ...
    8f3ca5f2
    files can use it instead.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3478 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-27 09:55:55 +0000  
    Browse Dir »
  • Represents the entries in the help table - maps sections to filenames ...
    458c4d8c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3475 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-27 09:50:48 +0000  
    Browse Dir »
  • Add a simple dispatcher mechanism for developing pages. ...
    3d88a0a1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3474 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-27 09:31:21 +0000  
    Browse Dir »
  • Return the object from createFromArray() ...
    67329461
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3473 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-27 09:09:27 +0000  
    Browse Dir »