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
27 Nov, 2005
36 commits
  • Near-final database layout for KT3 Beta 1 ...
    c494eebc
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4217 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 22:51:17 +0000  
    Browse Code »
  • Correctly get the MIME type from the MIME type table. ...
    3ec0f8a9
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4216 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 22:40:03 +0000  
    Browse Code »
  • Set the MIME type for documents as they are added. ...
    dce7a112
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4215 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 22:34:51 +0000  
    Browse Code »
  • Default to application/octet-stream, and use exec instead of system, ...
    2ce81fb1
    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
    Neil Blakey-Milner authored
    2005-11-27 22:33:40 +0000  
    Browse Code »
  • Ensure that mime_magic.magicfile exists before trying to use ...
    af97944e
    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
    Neil Blakey-Milner authored
    2005-11-27 22:15:08 +0000  
    Browse Code »
  • Use the '-w' parameter to catdoc to remove needless line wrapping. ...
    5afebcf4
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4212 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:49:08 +0000  
    Browse Code »
  • Hook up the indexers. ...
    ba740a08
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4211 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:48:47 +0000  
    Browse Code »
  • Hook up the Powerpoint indexer. ...
    0768e4ad
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4210 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:48:30 +0000  
    Browse Code »
  • Add a Microsoft Office (Powerpoint) presentation indexer ...
    8dd55955
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4209 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:34:24 +0000  
    Browse Code »
  • This has been replaced by KTZipImportStorage ...
    fd81727e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4208 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:25:55 +0000  
    Browse Code »
  • Hook up an indexer for Microsoft Office (Word) Documents using the ...
    0401ebdc
    catdoc program.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4207 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:23:28 +0000  
    Browse Code »
  • Fix the breadcrumbs (again!). Use array_merge, as the '+' array ...
    495842dd
    operator doesn't do what you'd expect...
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4206 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:20:24 +0000  
    Browse Code »
  • Use fieldsetsForDocument to get all the fields to edit. ...
    e2247fd6
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4205 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:19:58 +0000  
    Browse Code »
  • Adding documents requires the write permission. ...
    c2eba590
    For now, start a transaction for the document addition.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4204 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:19:22 +0000  
    Browse Code »
  • Document the fold for function ...
    a1b9089d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4203 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 21:18:28 +0000  
    Browse Code »
  • Call updateSearchableText whenever saveMetadata succeeds. ...
    7b8317b3
    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
    Neil Blakey-Milner authored
    2005-11-27 21:17:55 +0000  
    Browse Code »
  • Update transaction text and searchable text for documents on each ...
    b2136cc0
    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
    Neil Blakey-Milner authored
    2005-11-27 21:17:09 +0000  
    Browse Code »
  • Helper functions for handling authentication. ...
    62b1db25
    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
    Neil Blakey-Milner authored
    2005-11-27 20:24:26 +0000  
    Browse Code »
  • Page for admins to change the DN for LDAP-authenticated users. ...
    7479c60a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4199 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 20:20:10 +0000  
    Browse Code »
  • Rename getAuthenticatorForSource to getAuthenticator ...
    872ce7f2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4198 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 20:16:40 +0000  
    Browse Code »
  • Make obvious that, although it doesn't affect anything for this ...
    bb847ec3
    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
    Neil Blakey-Milner authored
    2005-11-27 20:16:14 +0000  
    Browse Code »
  • getAuthenticator gets passed an authentication source object, so that ...
    81b0d4e0
    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
    Neil Blakey-Milner authored
    2005-11-27 20:15:10 +0000  
    Browse Code »
  • Implement do_editUserSource for the LDAP authentication provider, ...
    e1bc2616
    allowing for a user's DN to be edited.
    
    Also change the authenticator to accept to take the authentication
    source as its constructor parameter, and to use the user's
    authentication details storage area to store the LDAP DN.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4195 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 18:00:37 +0000  
    Browse Code »
  • Give authentication providers the hook, editUserSource, which cascades ...
    23e42b4f
    into the authentication provider's dispatcher to allow for
    provider/source specific information (such as the LDAP DN for a user) to
    be edited/maintained.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4194 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 17:58:54 +0000  
    Browse Code »
  • Add validateUser, which ensures the given number is a valid User entity ...
    55ea515e
    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
    Neil Blakey-Milner authored
    2005-11-27 17:57:52 +0000  
    Browse Code »
  • Add getByUserName, which (surprisingly) finds a user by their user name. ...
    14666d37
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4192 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 17:57:10 +0000  
    Browse Code »
  • Use the authentication provider's showUserSource method to display ...
    a99ac494
    authentication information for the user.  The changing of user password
    has been moved to the built-in authenticaiton provider's showUserSource
    method.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4191 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:20:46 +0000  
    Browse Code »
  • Pass the authentication provider and source into the edit template, ...
    be13330d
    allowing for authentication information to be displayed and ultimately
    editing through the user management system.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4190 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:19:36 +0000  
    Browse Code »
  • Remove erroneous LDAP authentication provider registration - it is in ...
    2d63e73c
    ktstandard.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4189 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:18:19 +0000  
    Browse Code »
  • Delete commented-out _fieldValues, and move _aFieldToSelect and _table ...
    e87b9d0a
    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
    Neil Blakey-Milner authored
    2005-11-27 12:17:25 +0000  
    Browse Code »
  • Add authentication source and authentication details to the user object ...
    e4285623
    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
    Neil Blakey-Milner authored
    2005-11-27 12:16:26 +0000  
    Browse Code »
  • Use pass-by-reference (or the PHP approximate) to assign to $main ...
    49cfd102
    (No difference, really, just stylistic.)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4186 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:14:43 +0000  
    Browse Code »
  • Use showUserSource to allow for an admin to change a user's password. ...
    0e846e7d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4185 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:14:04 +0000  
    Browse Code »
  • Look up an authentication source for a user. ...
    81fd8131
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4184 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:13:39 +0000  
    Browse Code »
  • Add showUserSource, which allows the authentication provider to show how ...
    8712ca2d
    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
    Neil Blakey-Milner authored
    2005-11-27 12:13:10 +0000  
    Browse Code »
  • LDAPAuthenticator moved into LDAPAuthenticationProvider ...
    e21e4fc8
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4182 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 11:25:01 +0000  
    Browse Code »

25 Nov, 2005
4 commits
  • Template for editing an LDAP authentication source ...
    94b11dcb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4181 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:20:40 +0000  
    Browse Code »
  • Template for viewing an authentication source ...
    9eee80ab
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4180 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:20:09 +0000  
    Browse Code »
  • Passing sources through as sources, not aSources. ...
    9acb8bec
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4179 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:19:10 +0000  
    Browse Code »
  • Implement an LDAP Authentication Provider ...
    f062e17b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4178 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:18:40 +0000  
    Browse Code »