Skip to content
Snippets Groups Projects
  1. Aug 05, 2006
  2. Aug 03, 2006
  3. Jun 11, 2006
    • Andreas Gohr's avatar
      changed inheritance for pgsql auth backend · edb16ad5
      Andreas Gohr authored
      Because of incompatible SQL syntax the postgres backend can no longer
      inherit the retrieveUsers method from the MySQL backend
      
      darcs-hash:20060611170748-7ad00-83c69718da2f391e44504638b795956cf412fca0.gz
      edb16ad5
    • matthiasgrimm's avatar
      MySQL 3.23 compatibility issue · 2f3dc51d
      matthiasgrimm authored
      MySQL 3.23 doesn't support the keyword OFFSET in the LIMIT statement.
      This patch changes the code to the second alternative syntax.
      
      darcs-hash:20060611164347-7ef76-b38861cebe45604c253bd4436451825733fe7083.gz
      2f3dc51d
  4. May 22, 2006
    • matthiasgrimm's avatar
      MySQL Bug - PHP warning if query result is empty · adae7285
      matthiasgrimm authored
      If a database query has no result, the returned array is not
      valid. This caused a PHP warning in the user manager if the
      filter is set in a way that the result list is empty.
      
      darcs-hash:20060522162327-7ef76-d8fa89a047a9a159b600f11ccb189e845b2a5b8f.gz
      adae7285
  5. Mar 31, 2006
  6. Mar 14, 2006
  7. Mar 07, 2006
  8. Mar 03, 2006
  9. Mar 02, 2006
    • Andreas Gohr's avatar
      Allow non-ID names in ACLs · 6c2bb100
      Andreas Gohr authored
      Some auth backends allow special chars like whitespaces in user and group
      names. This made problems with the existing ACL checks and ACL manager.
      This patch makes the ACL system work with these cases by (url)encoding all
      special chars below 128.
      
      darcs-hash:20060302101850-6e07b-14bda9dbdb3528904325419b35bb9eddb0d1dde3.gz
      6c2bb100
  10. Mar 01, 2006
  11. Feb 17, 2006
    • Andreas Gohr's avatar
      file cleanups · 98c86858
      Andreas Gohr authored
      This patch cleans up the source code to satisfy the coding guidelines (see
      http://wiki.splitbrain.org/wiki:development#coding_style)
      
      It converts files to UNIX lineendings and removes tabs and trailing
      whitespace. Not all files were cleaned yet.
      
      darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
      98c86858
    • Andreas Gohr's avatar
      fixed password mail · 1d096a10
      Andreas Gohr authored
      There was an error which caused the mail aent on registration to
      contain the crypted password instead of the cleartext one.
      
      darcs-hash:20060217180715-7ad00-88b2e8f74ddbad41300ca53bbf79df3d8d8beebc.gz
      1d096a10
  12. Feb 11, 2006
  13. Feb 08, 2006
    • matthiasgrimm's avatar
      MySQL cando update · 715e553e
      matthiasgrimm authored
      This patch fixed the cando capabilities array.
      
      darcs-hash:20060208185913-7ef76-b6e999ebd2ecfbf3d3b50305cee88d6eb85a3b65.gz
      715e553e
  14. Feb 03, 2006
  15. Feb 01, 2006
    • matthiasgrimm's avatar
      optional READ Lock · b0a0ac79
      matthiasgrimm authored
      The option TablesToLock is no longer required for read operations.
      The small risk to feed invalid data into dokuwiki was accepted by
      the project leader.
      
      Nevertheless locks will be used for read operations too, if the
      option 'TablesToLock' is given.
      
      darcs-hash:20060201181422-7ef76-e89c5d9c305ca8c076281a58b6208e60dfce4c9f.gz
      b0a0ac79
  16. Jan 31, 2006
  17. Jan 30, 2006
    • matthiasgrimm's avatar
      MySQL canDo() patch · 24bc1a35
      matthiasgrimm authored
      This patch adds a canDo() function to the MySQL backend to
      give higher program levels the opportunity to find out what
      functions the MySQL backend provides.
      
      Furthermore the option encryptPass was renamed to
      forwardClearPass because the old name was misleading and not
      clear.
      
      Last but not least the mysql.conf.php was reorganized to make
      clear which SQL statements enable which functions.
      
      darcs-hash:20060130192750-7ef76-2ba9388ea56b17e4f26feda74a66b7d9b8da7333.gz
      24bc1a35
  18. Jan 26, 2006
    • matthiasgrimm's avatar
      MySQL getUserCount() optimizsation · a49c00b5
      matthiasgrimm authored
      The function getUserCount() uses SQL_CALC_FOUND_ROWS now if
      MySQL v4.0 or later is found. This will speed up this query
      with big user tables.
      
      darcs-hash:20060126205715-7ef76-e3a7009ad6be3659002b562bc055e4fe1cbd904a.gz
      a49c00b5
    • matthiasgrimm's avatar
      MySQL retrieveUsers() use LIMIT · 36eaa3eb
      matthiasgrimm authored
      The function retrieveUsers() uses the SQL statement LIMIT now
      to select a subset of tupel out of a result table instead of
      fetching the whole table and filter in PHP.
      
      darcs-hash:20060126195109-7ef76-79af82f95282d43b585a67b495bfa86c2f5e3a15.gz
      36eaa3eb
    • Andreas Gohr's avatar
      ldap auth fixes · d87e576a
      Andreas Gohr authored
      Adds a config option for the key using in groups as suggested on the wiki.
      Makes the debug outputs distinct. Removes commented, nonimplemented functions.
      
      darcs-hash:20060126214935-7ad00-e4ab08d9fcaa4f43bad7048e8bb9800107e32432.gz
      d87e576a
  19. Jan 24, 2006
    • chris's avatar
      oo auth update - remove legacy auth remnants, add auth->canDo · cd52f92d
      chris authored
      darcs-hash:20060125000125-9b6ab-9853f11e04d8ea93235317fa8137cef079eb2641.gz
      cd52f92d
    • matthiasgrimm's avatar
      MySQL modify user patch · dfdd92d5
      matthiasgrimm authored
      This patch changed the function modifyUser(). Before this update
      each data change was applied by deleting and re-adding the complete
      user entry. The new function uses the UPDATE SQL statement.
      
      Furthermore all human readable error messages were removed. The
      calling procedure is in charge now to inform the user about
      failures. Internal debug messages were added. They can be enabled
      in the configuration file.
      
      Last but not least the module retrieves the database version now
      to handle incompatible features between different MySQL versions.
      
      darcs-hash:20060124190625-7ef76-f6dffabf230155aa51bf3c8569c31fd444634407.gz
      dfdd92d5
  20. Jan 22, 2006
    • matthiasgrimm's avatar
      MySQL backend code cleanup fix · a771ad3a
      matthiasgrimm authored
      This patch make the MySQL backend work again after Andi's code cleanup ;-)
      
      darcs-hash:20060122125327-7ef76-5b7a46fa8bc49fc68a11a44fabddc9753e9a1dfb.gz
      a771ad3a
  21. Jan 21, 2006
    • Andreas Gohr's avatar
      streamlining auth backends :!: · a16dd68e
      Andreas Gohr authored
      This patch is a start to make all the auth backend mor alike in
      configuration and to update all backend to the new OO method.
      
      This patch changed some config placeholders and thus may break
      existing configs! Here is a list of the new place holders used
      in MySQL and LDAP:
      
      %{user}   - the login name
      %{group}  - a group name
      %{pass}   - the password (cleartext or crypted)
      %{dgroup} - the default group
      %{guid}   - a group id
      %{uid}    - a user id
      %{name}   - full name of a user
      %{email}  - email of a user
      %{dn}     - DN for a user (LDAP only)
      
      The LDAP backend was enhanced a little bit. The default group
      now is always added to the list of returned groups. A different
      Server Port can be configured.
      
      More changes will follow.
      
      darcs-hash:20060121181149-7ad00-79de68aa7f87aef87dcff9dd7afd50adda859289.gz
      a16dd68e
    • Andreas Gohr's avatar
      spellfix for mysql auth backend · dbc31b09
      Andreas Gohr authored
      darcs-hash:20060121152740-7ad00-80eecea2be4754494fef5f11cc91d7f3e4acf1fb.gz
      dbc31b09
  22. Jan 10, 2006
    • Andreas Gohr's avatar
      external authentication · f5cb575d
      Andreas Gohr authored
      This patch adds the functionality to override the usual auth_mechanism
      completely and replace it with your own. This can be used to authenticate
      against Apache auth mechanisms or third party software cookies. A very
      basic example for using PunBB's $pun_user variable is included.
      
      darcs-hash:20060110092903-6e07b-7c7750da4eb4e9116ddc28c77015488ea500c07d.gz
      f5cb575d
  23. Jan 07, 2006
    • matthiasgrimm's avatar
      mysql class password encryption bugfix · f26243a6
      matthiasgrimm authored
      A syntax error in the checkpass() function prevented the module
      from using password encryption by the database. It always did the
      password encryption by itself - fixed.
      
      darcs-hash:20060107114635-7ef76-0eeee13b57844097e83f14d85372502e6b1ce10e.gz
      f26243a6
  24. Nov 11, 2005
    • matthiasgrimm's avatar
      change username fix · 630a9e82
      matthiasgrimm authored
      This patch adds support for changing the username in modifyUser() which is
      needed by the user manager.
      
      darcs-hash:20051111185816-7ef76-062a7d949beaa90981d4fef8dfa70edc9d4723e6.gz
      630a9e82
  25. Nov 10, 2005
    • Matthias Grimm's avatar
      MySQL OO auth module bug fix · 10e0d7f9
      Matthias Grimm authored
      This patch fixes some bugs in the MySQL OO auth module
      regarding modifying user data.
      
      darcs-hash:20051110173812-4145d-384877de723b568ccc456f42738a8a5e012fb84d.gz
      10e0d7f9
  26. Nov 07, 2005
    • Matthias Grimm's avatar
      MySQL auth module documentation · 75bfc19c
      Matthias Grimm authored
      This patch completes the documentation of the MySQL SQL statements
      that are necessary to run the mysql OO auth module in mysql.conf.php.example.
      
      Some pattern names in the code were not in line - fixed.
      
      darcs-hash:20051107210740-4145d-cdf140b6d14664ce9c1a85f67e1bf8feb294c17b.gz
      75bfc19c
  27. Nov 06, 2005
    • Matthias Grimm's avatar
      mysql extension for OO auth system · 3ff230f7
      Matthias Grimm authored
      This patch adds the mysql extension to the OO auth system. The SQL statements
      are defined in conf/mysql.conf.php.example and needs to be adapted to the
      local database. The set of statements work with the database structure described
      in conf/mysql.conf.php.example.
      
      This module is beta and heavy testing in different environments is recommended.
      
      The documentation of the SQL statements is not complete yet
      
      darcs-hash:20051106130303-4145d-28acb18584822f8d1eafa1d63e206f2e83f64009.gz
      3ff230f7
  28. Nov 05, 2005
    • Matthias Grimm's avatar
      OO_auth_fixes · d2dde4eb
      Matthias Grimm authored
      This patch allows the OO auth module to fail. The basic class got
      a new property $success that is checked in auth.php. Derived classes
      might change this calue in their constructors.
      
      Beautifying the whitespaces in auth.php completes this patch.
      
      darcs-hash:20051105124932-4145d-dfcfa6c3b87d0087b4bffe3e5a29db000b10b242.gz
      d2dde4eb
  29. Oct 20, 2005
  30. Sep 16, 2005
  31. Jul 29, 2005
  32. Jul 15, 2005
  33. Jun 20, 2005
Loading