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
24 commits
  • Use fieldsetsForDocument to get all the fields to edit. ...
    57fc5901
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4205 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 21:19:58 +0000  
    Browse Code »
  • Adding documents requires the write permission. ...
    44c85fa1
    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
    nbm authored
    2005-11-27 21:19:22 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • Page for admins to change the DN for LDAP-authenticated users. ...
    3296891e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4199 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 20:20:10 +0000  
    Browse Code »
  • Rename getAuthenticatorForSource to getAuthenticator ...
    548aabb4
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4198 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 20:16:40 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • Implement do_editUserSource for the LDAP authentication provider, ...
    c0814c25
    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
    nbm authored
    2005-11-27 18:00:37 +0000  
    Browse Code »
  • Give authentication providers the hook, editUserSource, which cascades ...
    167867df
    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
    nbm authored
    2005-11-27 17:58:54 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • Use the authentication provider's showUserSource method to display ...
    420d8614
    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
    nbm authored
    2005-11-27 12:20:46 +0000  
    Browse Code »
  • Pass the authentication provider and source into the edit template, ...
    5bd10750
    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
    nbm authored
    2005-11-27 12:19:36 +0000  
    Browse Code »
  • Remove erroneous LDAP authentication provider registration - it is in ...
    847acbe2
    ktstandard.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4189 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-27 12:18:19 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »

25 Nov, 2005
16 commits
  • Template for editing an LDAP authentication source ...
    faefa065
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4181 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 20:20:40 +0000  
    Browse Code »
  • Template for viewing an authentication source ...
    b7189dbc
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4180 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 20:20:09 +0000  
    Browse Code »
  • Passing sources through as sources, not aSources. ...
    30641954
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4179 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 20:19:10 +0000  
    Browse Code »
  • Implement an LDAP Authentication Provider ...
    de22581e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4178 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 20:18:40 +0000  
    Browse Code »
  • Fix silly brainos ...
    f9798888
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4177 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 20:18:01 +0000  
    Browse Code »
  • Admin page to manage different authentication methods ...
    981633eb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4176 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 20:16:42 +0000  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • 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 Code »
  • Add authentication_sources table. ...
    c2e1c1d1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4170 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 18:28:49 +0000  
    Browse Code »
  • - 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 Code »
  • Front page for authentication sources. ...
    b91d7de5
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4168 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 10:39:21 +0000  
    Browse Code »
  • 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 Code »
  • Template for authentication management ...
    48cb3be6
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4166 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-25 10:01:10 +0000  
    Browse Code »