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
28 Nov, 2005
2 commits
  • - corrected bug in user-editing which caused password to re-md5. ...
    574efcf4
    - added "doLimitedUpdate" utility method to User.inc, to blacklist update of s ome fields. (nbm, please review.)
      - added password-editing into userEdit.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4226 c91229c3-7414-0410-bfa2-8a42b809f60b
    bshuttle authored
    2005-11-28 09:55:23 +0000  
    Browse Dir »
  • Use the searchable text criterion for the simple search (in the search ...
    8670633a
    portlet).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4222 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-28 00:00:34 +0000  
    Browse Dir »

27 Nov, 2005
20 commits
  • Correctly get the MIME type from the MIME type table. ...
    72522b10
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4216 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 22:40:03 +0000  
    Browse Dir »
  • Set the MIME type for documents as they are added. ...
    0de4874a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4215 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 22:34:51 +0000  
    Browse Dir »
  • Default to application/octet-stream, and use exec instead of system, ...
    80916115
    since it was outputting to the browser with system.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4214 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 22:33:40 +0000  
    Browse Dir »
  • Ensure that mime_magic.magicfile exists before trying to use ...
    b9122b24
    mime_content_type, as it fails with a fatal error (at least on my
    system) if this isn't set correctly (which it isn't by default on my
    system).
    
    Abuse '/usr/bin/file' if it is available.  If it gives us something that
    looks like a mime type, use it.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4213 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 22:15:08 +0000  
    Browse Dir »
  • This has been replaced by KTZipImportStorage ...
    77efe13c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4208 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 21:25:55 +0000  
    Browse Dir »
  • Document the fold for function ...
    a474e3a7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4203 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 21:18:28 +0000  
    Browse Dir »
  • Call updateSearchableText whenever saveMetadata succeeds. ...
    fc4b19f9
    Include the path for triggers when they're called - must find a saner
    way to handle this...
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4202 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 21:17:55 +0000  
    Browse Dir »
  • Update transaction text and searchable text for documents on each ...
    812a8a66
    transaction.  This is way too expensive, but it's what we're doing for
    now.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4201 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 21:17:09 +0000  
    Browse Dir »
  • Helper functions for handling authentication. ...
    1523bbf5
    getAuthenticatorForUser($oUser) gets the correct authenticator based on
    the user's authentication source, from the authentication provider
    associated with the authentication source.
    
    checkPassword($oUser, $sPassword) uses the above function to get the
    authenticator for the user, and then calls its checkPassword method with
    the same parameters.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4200 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 20:24:26 +0000  
    Browse Dir »
  • Make obvious that, although it doesn't affect anything for this ...
    84339f2d
    provider, getAuthenticator is called with an authentication source
    object.
    
    checkPassword is now passed a user object, not the user name.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4197 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 20:16:14 +0000  
    Browse Dir »
  • getAuthenticator gets passed an authentication source object, so that ...
    c40dc4dc
    the authenticator is set with all the information it needs to
    authenticate the user.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4196 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 20:15:10 +0000  
    Browse Dir »
  • Add validateUser, which ensures the given number is a valid User entity ...
    fb2c8480
    before returning the entity, erroring out as per standard validation.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4193 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 17:57:52 +0000  
    Browse Dir »
  • Add getByUserName, which (surprisingly) finds a user by their user name. ...
    ffb55240
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4192 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 17:57:10 +0000  
    Browse Dir »
  • Delete commented-out _fieldValues, and move _aFieldToSelect and _table ...
    9f36c49c
    to the top as per others.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4188 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 12:17:25 +0000  
    Browse Dir »
  • Add authentication source and authentication details to the user object ...
    d1a6918d
    Shorten boilerplate getter/setters.
    
    Replace ::get with KTEntityUtil/_aFieldToSelect
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4187 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 12:16:26 +0000  
    Browse Dir »
  • Use pass-by-reference (or the PHP approximate) to assign to $main ...
    a3f75845
    (No difference, really, just stylistic.)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4186 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 12:14:43 +0000  
    Browse Dir »
  • Use showUserSource to allow for an admin to change a user's password. ...
    c01630c9
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4185 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 12:14:04 +0000  
    Browse Dir »
  • Look up an authentication source for a user. ...
    76582358
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4184 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 12:13:39 +0000  
    Browse Dir »
  • Add showUserSource, which allows the authentication provider to show how ...
    9a24c4c9
    a user is set up in an authentication source (LDAP DN, for example).
    Also allows for providers to have a link to change a password, for
    example.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4183 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 12:13:10 +0000  
    Browse Dir »
  • LDAPAuthenticator moved into LDAPAuthenticationProvider ...
    741a998f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4182 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 11:25:01 +0000  
    Browse Dir »

25 Nov, 2005
9 commits
  • Allow authentication providers to have human-usable names. ...
    47a9f89d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4175 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 18:32:10 +0000  
    Browse Dir »
  • Fix typos, and declare object-level variables. ...
    b4efa3ac
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4174 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 18:31:43 +0000  
    Browse Dir »
  • Provide both a way to get information about providers and get singleton ...
    a7b3bb98
    instances of the providers.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4173 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 18:30:57 +0000  
    Browse Dir »
  • Authentication Providers are now dispatchers - they need to handle ...
    c15cb78c
    do_editSourceProvider and do_performEditSourceProvider.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4172 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 18:30:19 +0000  
    Browse Dir »
  • Don't print exception yet - let's wait for pretty exception printers. ...
    c99ab53b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4171 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 18:29:21 +0000  
    Browse Dir »
  • - make conditional metadata work again. ...
    b34fd201
    - add a titles to various pages.
    - make columns include toggleselect.
    - rolled in treewidgets
    - correct the $main !== $this->oPage issue
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4169 c91229c3-7414-0410-bfa2-8a42b809f60b
    bshuttle authored
    2005-11-25 15:26:35 +0000  
    Browse Dir »
  • Pass a human-readable name through for the authentication provider. ...
    94faad2c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4167 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 10:38:27 +0000  
    Browse Dir »
  • Authentication sources are places where KnowledgeTree can find out how ...
    381c7e77
    to authenticate a user configured to use that source.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4162 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 09:51:04 +0000  
    Browse Dir »
  • The built-in authentication provider uses the default KnowledgeTree ...
    68d90322
    users table for authentication.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4161 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 09:49:13 +0000  
    Browse Dir »

24 Nov, 2005
4 commits
  • Start the authentication framework - authentication providers provide ...
    b3b0cfb6
    authentication for users.  Users can be configured to use a particular
    authenticator, which is a specific instance given by the authentication
    provider configured for operation.  (So, basically, you can have two
    LDAP authenticators and the built-in authenticator, and different users
    can use different authenticators.)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4158 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-24 16:25:41 +0000  
    Browse Dir »
  • Make it possible for plugins to register admin categories and admin ...
    a8b61ae4
    pages
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4155 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-24 16:20:56 +0000  
    Browse Dir »
  • Move admin navigation registry into lib/plugins ...
    2b2db2ff
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4154 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-24 16:20:24 +0000  
    Browse Dir »
  • Add validateFile, which will make sure that a file upload completed ...
    4cddc0d4
    correctly, and if not, provide as accurate a message as possible.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4151 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-24 13:54:16 +0000  
    Browse Dir »

23 Nov, 2005
5 commits
  • Default _aPages to an empty array. ...
    2ea5f856
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4145 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-23 21:50:57 +0000  
    Browse Dir »
  • If the folder action has a path, require it. ...
    a70e01a3
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4144 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-23 21:50:36 +0000  
    Browse Dir »
  • Only include the exception if it is there. ...
    41720774
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4143 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-23 21:50:11 +0000  
    Browse Dir »
  • Let actions and portlets have access to their plugin's object ...
    7e44488c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4140 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-23 19:14:17 +0000  
    Browse Dir »
  • Registry for plugins loaded on the system ...
    c04e1ea9
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4138 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-23 19:10:56 +0000  
    Browse Dir »