| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Name the TRUE/FALSE-constants consistently as lowercase everywhere.
This might also be an tiny optimization in some environments.
darcs-hash:20070103205700-d2a3e-e7ec0aedb938d563f583116a2d5b17f3a3fea36c.gz
|
|
|
|
|
|
|
| |
Rebind as superuser even on a previous successful bind as normal user, when
superuser credentials are available. LDAP access restrictions may need it.
darcs-hash:20061003153018-7ad00-16a69e99f93433bd9e999086f8757a56f975a1ef.gz
|
|
|
|
|
|
|
|
|
|
| |
This patch changes the DOKU_COOKIE define to be based on the DOKU_URL define.
DOKU_COOKIE is now used as session key as well, making sessions no longer
dependend on the title option. This should fix problems with multiple
wikis on the same host (using the same title) and wikis accessed through
different URLs.
darcs-hash:20061003121546-7ad00-aea4c256b7752815ed422ce74a659152a601d267.gz
|
|
|
|
|
|
|
| |
This patch sets the private bound variable back to false if a new connection
is opened.
darcs-hash:20061003104320-7ad00-24370bcdc7beff5db7d7f2e68ea180763699ca5c.gz
|
|
|
|
| |
darcs-hash:20060916194626-7ad00-2eeb07a509c95359a9bd1b164db4af7279b7f330.gz
|
|
|
|
| |
darcs-hash:20060805163147-7ad00-77e7d9cd88f012cd2ecc6275a574abde30f4a9be.gz
|
|
|
|
|
|
| |
as described at http://wiki.splitbrain.org/wiki:auth:mysql#using_mysql_5
darcs-hash:20060803231253-9b6ab-bbf06ef1e9141c5ec1d3c79dad7f88481296ad8b.gz
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060331081201-7ad00-ad95897fb68ce105c586c80ce7b1ff0ccb4840a6.gz
|
|
|
|
| |
darcs-hash:20060314191118-7ad00-371b7be42bd6abfcd7f0cdb97a19b02422b4a7b8.gz
|
|
|
|
| |
darcs-hash:20060307191915-7ad00-70d98478ebfd00fdbab4901bb254b96d20287348.gz
|
|
|
|
| |
darcs-hash:20060303214459-7ad00-17f399257acafed5914eeb727b45b2fa984f00e8.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060301223021-7ad00-868d32088de468523c63c4cc7e44869331dfc4b9.gz
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060211180240-7ad00-c7c589aa6e5e67f2d7ad54f7e41837f116a91c9c.gz
|
|
|
|
|
|
| |
This patch fixed the cando capabilities array.
darcs-hash:20060208185913-7ef76-b6e999ebd2ecfbf3d3b50305cee88d6eb85a3b65.gz
|
|
|
|
|
|
|
|
|
|
| |
This changes the way of how the capabilities of the used auth module are
checked as suggested as first option in
http://www.freelists.org/archives/dokuwiki/01-2006/msg00267.html
The MySQL backend WAS NOT TESTED and probably needs some work.
darcs-hash:20060203150302-7ad00-c524cafe20499f32e76ad42b4e68d7c635f6a9e9.gz
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060131222058-effc9-0d09141c02e3698329d038af90588b553fd6a44b.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060125000125-9b6ab-9853f11e04d8ea93235317fa8137cef079eb2641.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This patch make the MySQL backend work again after Andi's code cleanup ;-)
darcs-hash:20060122125327-7ef76-5b7a46fa8bc49fc68a11a44fabddc9753e9a1dfb.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
darcs-hash:20060121152740-7ad00-80eecea2be4754494fef5f11cc91d7f3e4acf1fb.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This patch adds support for changing the username in modifyUser() which is
needed by the user manager.
darcs-hash:20051111185816-7ef76-062a7d949beaa90981d4fef8dfa70edc9d4723e6.gz
|
|
|
|
|
|
|
| |
This patch fixes some bugs in the MySQL OO auth module
regarding modifying user data.
darcs-hash:20051110173812-4145d-384877de723b568ccc456f42738a8a5e012fb84d.gz
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
profile actions
darcs-hash:20051020181434-50fdc-44222aa2074bb0e39a1c240c516259579b380740.gz
|
|
|
|
| |
darcs-hash:20050916205557-36b45-4135c42d0ccfd28c85cfbd7eb57a445c2aa74ffc.gz
|
|
|
|
| |
darcs-hash:20050729155457-7ad00-94554865259e4cbd6a1c75bb62a93f37304adbf0.gz
|
|
|
|
| |
darcs-hash:20050715213645-7ad00-43ef18e24dfa7b4b6459f0bbbcf85b88207c5a9d.gz
|
|
|
|
| |
darcs-hash:20050620203400-9977f-515a59d1131ae5dafc6c722f893bf6c308121832.gz
|
|
|
|
| |
darcs-hash:20050620194652-d49ea-c85ff90d9107f6a7c81ff3717bdba32d0f405d43.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
Write the long patch description into this file.
The first line of this file will be the patch name.
Everything in this file from the above ***DARCS*** line on will be ignored.
This patch contains the following changes:
M ./inc/auth/mysql.php -1 +2
darcs-hash:20050617124215-c2bc1-4c4a7a3bea1cab76b36a0e5cfc31a22d10fbadc8.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch changes the mysql auth mechanism to support the old
method of password checking (leaving it to the DB) as well as
the new one. Which one is used is decided on which option is
defined:
$conf['auth']['mysql']['passcheck'] now behaves as in older
releases, You can use %u, %g and %p where %p contains the
cleartext password entered by the user. Access is granted
if the SQL statement returns one result row.
if $conf['auth']['mysql']['getpass'] is defined it is used
to fetch the crypted password from the database which is then
checked with auth_verifyPassword() - This is the preferred
method.
Users of the devel need to change their config by renaming
passcheck to getpass
darcs-hash:20050612111044-9977f-545feafc098082a067fdbbbc7d7d3a61c5903590.gz
|
|
This patch changes the directory structure of dokuwiki as suggested
in http://www.freelists.org/archives/dokuwiki/06-2005/msg00045.html
As the changes.log is not managed through darcs you need to move it your
self to the new location in data/changes.log
I think I modified the code at all nessessary places, but I may have
forgotten a few things.
darcs-hash:20050605103842-9977f-af20f63c1d604888375d175d89ac6bd71566d47d.gz
|