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
15 Sep, 2005
4 commits
  • UpdatePermissionLookup and friends change the object passed to them, and ...
    6e02ab2b
    thus should be passed by reference.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3572 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-15 08:42:31 +0000  
    Browse Dir »
  • Remove unnecessary empty lines that looked ugly ...
    cecf7c85
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3571 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-15 08:41:40 +0000  
    Browse Dir »
  • Move Folder class over to support the standard KTEntity functions like ...
    cbe9c710
    createFromArray
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3570 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-15 08:41:02 +0000  
    Browse Dir »
  • Deal with setting user ids when the session may not contain the user id ...
    ecd9bbfa
    (such as, when running in a script)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3569 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-15 08:40:11 +0000  
    Browse Dir »

02 Sep, 2005
2 commits
  • PHP5 fix - move over Document to KTEntityUtil's get system ...
    0cbf3f6f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3566 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-02 16:46:50 +0000  
    Browse Dir »
  • PHP5 fix - array_merge no longer handles being passed a non-array (such ...
    39c0a584
    as null)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3565 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-02 16:28:56 +0000  
    Browse Dir »

01 Sep, 2005
8 commits
  • PluginUtil contains functions useful for managing plugins ...
    e2e28b3b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3561 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-01 19:07:31 +0000  
    Browse Dir »
  • Add document actions and an action registry to register them. ...
    042186db
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3560 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-01 19:05:08 +0000  
    Browse Dir »
  • Make getSingleton create instances on first call, and also make this ...
    900465b8
    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
    Neil Blakey-Milner authored
    2005-09-01 17:20:26 +0000  
    Browse Dir »
  • Add an option for getByGroups to return ids rather than objects. ...
    07e3abe2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3558 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-01 17:18:52 +0000  
    Browse Dir »
  • getByParentIDAndLookupID returns all sub-folders in a folder that have the ...
    f01c5784
    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
    Neil Blakey-Milner authored
    2005-09-01 17:18:19 +0000  
    Browse Dir »
  • getByFolderIDAndLookupID returns all documents in a folder that have the ...
    782646c2
    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
    Neil Blakey-Milner 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 ...
    9f63c8a0
    expressions.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3555 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-01 17:14:29 +0000  
    Browse Dir »
  • Allow whereToString to potentially have an array passed in as a value. ...
    aebecd24
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3554 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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 ...
    537dfc86
    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
    Neil Blakey-Milner 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 ...
    0b330503
    descriptors...
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3551 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 15:31:30 +0000  
    Browse Dir »
  • Remove debug prints ...
    3ca8ba6f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3547 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 14:37:16 +0000  
    Browse Dir »
  • Use all groups the user is a member of, including via nested groups. ...
    2fd73695
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3541 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 13:11:58 +0000  
    Browse Dir »
  • Nested group utility functions. ...
    aced656e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3540 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 13:11:13 +0000  
    Browse Dir »
  • Allow groups to be members and parents of other groups in the model. ...
    d0243769
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3539 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 13:10:30 +0000  
    Browse Dir »
  • Add simple redirectToMain as a shortcut. ...
    96333c77
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3537 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 13:07:21 +0000  
    Browse Dir »
  • Add support for metadata versions to the Document model object. ...
    f17e2346
    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
    Neil Blakey-Milner authored
    2005-08-02 09:25:08 +0000  
    Browse Dir »
  • DocumentUtil will hold utility functions to handle process and ...
    8d165dd0
    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
    Neil Blakey-Milner authored
    2005-08-02 09:22:40 +0000  
    Browse Dir »
  • Add some helper selectors - getList and getByDocument ...
    06adcbba
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3526 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 09:16:24 +0000  
    Browse Dir »
  • Until this inelegant pattern is refactored away, allow users to securely ...
    d564806b
    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
    Neil Blakey-Milner authored
    2005-08-02 09:15:25 +0000  
    Browse Dir »
  • Use the new templating system to handle UI. ...
    5d349757
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3524 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 09:13:58 +0000  
    Browse Dir »

01 Aug, 2005
2 commits
  • Move over to DBUtil. ...
    c482513d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3518 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-01 17:39:21 +0000  
    Browse Dir »
  • Support an orderby option ...
    d399e611
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3517 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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 ...
    fcc5d2e1
    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
    Neil Blakey-Milner authored
    2005-07-31 09:00:07 +0000  
    Browse Dir »
  • Provide legacy support for Permission::userHasDocumentWritePermission ...
    663a3779
    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
    Neil Blakey-Milner authored
    2005-07-31 08:57:20 +0000  
    Browse Dir »
  • No longer need to rebuild permissions when group membership changes. ...
    33034d52
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3512 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-31 08:56:46 +0000  
    Browse Dir »
  • Add permission object and lookup attributes. Also clean up things a ...
    12a8560f
    bit.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3511 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-31 08:56:07 +0000  
    Browse Dir »
  • Add permission object and permission lookups for documents. ...
    8ab333f1
    (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
    Neil Blakey-Milner authored
    2005-07-31 08:54:58 +0000  
    Browse Dir »
  • Upgrade PHP function related to the new permissions system ...
    b8175981
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3507 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-31 08:51:45 +0000  
    Browse Dir »
  • Add support for arbitrary permissions (not just read and write). ...
    f98b1486
    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
    Neil Blakey-Milner authored
    2005-07-31 08:39:27 +0000  
    Browse Dir »
  • Add support for functions not being in the first phase of upgrades. ...
    b7b8ac67
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3497 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-31 08:35:27 +0000  
    Browse Dir »
  • Almost all pages need to checkSession, not just admin ones. Add ...
    ad627f40
    KTStandardDispatcher to handle this.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3496 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-31 08:34:33 +0000  
    Browse Dir »

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

29 Jul, 2005
2 commits
  • array_combine in PHP_Compat doesn't deal with empty arrays - bypass it ...
    24b063d0
    in the empty case.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3490 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-29 12:14:36 +0000  
    Browse Dir »
  • Use PHP_Compat to support older versions of PHP. ...
    3390b255
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3489 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-29 12:13:56 +0000  
    Browse Dir »