Debian Codegraph @

Changes

raw
1 Revision history for ApacheDBI.
2
3 1.12 June 12, 2013
4
5 - Fix detection of server startup in mod_perl 2, to avoid caching
6 connections in the parent process. Perrin Harkins
7 <[email protected]>
8
9 1.11 October 7, 2011
10
11 - RT 69087, Perl 5.14 'Using qw(...) as parentheses' fix
12
13 1.10 February 2, 2011
14 - Add Apache2::RequestUtil for mp2 instances.
15 Issue reported by [email protected]
16 [Fred Moyer <[email protected]>
17
18 1.09 November 11, 2010
19 - Fix pod errors
20 Submitted by: Damyan Ivanov <[email protected]>
21
22 - Adds PerlChildExitHandler to disconnect existing connections
23 Submitted by: Nick Wellnhoffer <[email protected]>
24
25 1.08 February 3rd, 2010
26 - Fix bug to allow DBI in startup.pl etc again
27 Bug report from Adam Prime, patch from Lubomir Rintel
28 https://rt.cpan.org/Public/Bug/Display.html?id=36346
29
30 1.07 05/09/2008
31 - http://rt.cpan.org/Public/Bug/Display.html?id=31003
32 Submitted by: [email protected]
33 Tweaked by: Philip M. Gollucci <[email protected]>
34
35 - http://rt.cpan.org/Public/Bug/Display.html?id=29209
36 PerlCleanupHandler doesn't get called with MP2
37 Submitted by: nick.aevum.de <[email protected]>
38
39 - http://rt.cpan.org/Public/Bug/Display.html?id=28824
40 Documentation Additions
41 Submitted by: [Perrin Harkins <[email protected]>]
42
43 1.06 03/23/2007
44 - MP2/AuthDBI: Fixed Apache::AuthDBI::debug() to
45 actually work.
46 Submitted by: [Kevin Appel <[email protected]>]
47
48 - Bump minium required perl version to 5.6.1 to match DBI
49 (Changes in DBI 1.49 (svn rev 2287), 29th November 2005)
50 Philip M. Gollucci <[email protected]>
51
52 1.05 11/3/2006
53 - MP2/AuthDBI: Add missing Apache2::Access
54 Submitted by: Adam Prime x443 <[email protected]>
55
56 1.04 10/23/2006
57 - MP1: Undefined subroutine &Apache2::Const::OK called at ....
58 (The rest of them) d'oh!
59
60 Seconded by: Kjetil Kjernsmo <[email protected]>
61 Submitted by: BOWMANBS <[email protected]>
62
63 1.03 08/21/2006
64
65 - MP1: Undefined subroutine &Apache2::Const::OK called at
66 Apache/AuthDBI.pm line 906.
67 Submitted by: [[email protected]]
68 Reviewed by: Kevin A. McGrail (ThoughtWorthy Media, Inc.)
69
70 - http://rt.cpan.org/Ticket/Display.html?id=20809
71 avoid a warnings caused by debug statements
72 Reported by: Vladimir S. Tikhonjuk <[email protected]>
73
74 1.02 08/02/2006
75
76 - http://rt.cpan.org/Ticket/Display.html?id=20808
77 s/denug/debug/ typo in Apache::AuthDBI
78 Submitted by: Vladimir S. Tikhonjuk <[email protected]>
79
80 1.01 06/04/2006
81
82 - Re-release as non developer release.
83 No changes from 1.00_01.
84 [Philip M. Gollucci <[email protected]>]
85
86
87 1.00_01 05/29/2006
88
89 - As DBI has supported only perl 5.6.0 since 2003
90 v1.38 Apache::DBI now requires perl 5.6.0 as well.
91 [Philip M. Gollucci <[email protected]>]
92
93 - Fix a plethora of uninitialized variable warnings,
94 general code cleanup, don't import unneeded symbols
95 from Carp, Digest::SHA1, and Digest::MD5
96 [Philip M. Gollucci <[email protected]>]
97
98 - http://rt.cpan.org/Ticket/Display.html?id=17073
99 $sth->rows is inconsistent across DBD::* drivers
100 and sometimes always returns 0. We were using
101 this to distinguish between a blank password and
102 no passwd. Now we don't call this function.
103
104 Reported by: [email protected]
105 [Philip M. Gollucci <[email protected]>]
106
107 - http://rt.cpan.org/Ticket/Display.html?id=17422
108 a fatal error involving mp1, mp2 constants co-existance
109 was fixed in AuthDBI.
110 [Philip M. Gollucci <[email protected]>]
111
112 - http://rt.cpan.org/Ticket/Display.html?id=17446
113 under mod_perl 2, the check to skip caching connections
114 at server startup was broken; thus, causing children
115 to incorrectly share dbh handles with the parent.
116 Submitted by: [email protected]
117
118 - http://rt.cpan.org/Ticket/Display.html?id=19491
119 a critical return was missing connect() under mod_perl2
120 Submitted by: [email protected]
121
122 - Moved module's repository to its new home in SVN from CVS
123 http://svn.perl.org/modules/Apache-DBI
124 [Philip M. Gollucci <[email protected]>]
125
126 0.9901 08/19/2005
127
128 - Fix the versioning blunder of .100 < .99
129 [Philip M. Gollucci <[email protected]>]
130
131 - Account for the case of mp1 and mp2 installed
132 in the same perl tree. The evals were not playing
133 nice with modules like Apache::SSI, Apache::SessionManager.
134 Sumitted by: [Frank Maas <[email protected]>]
135 Tweaked/reviewed by: [Philip M. Gollucci <[email protected]>]
136
137 0.100 08/10/2005
138
139 - Move $Idx from a file-scoped variable to a connect() scoped
140 variable, which gets passed to other subroutines as needed.
141 This will ensure that the cleanup/rollback feature will work
142 properly when a script uses more than one database handle to the
143 same database.
144 [Joe Thomas <[email protected]>]
145
146 - Fixed issues relating to changing handle state post
147 connection. Handles now returned in same state as original and incomplete
148 transactions rolled back before re-issuing handle so.
149 Submited by: [Joe Thomas <[email protected]>]
150 Contributed by: [Patrick Mulvany <[email protected]>]
151
152 - Fix a () bug in the connect() determining whether we must ping
153 the database. PingTimeOut = 0 now works as documented.
154 Submited by: [Joe Thomas <[email protected]>]
155 Contributed by: [Patrick Mulvany <[email protected]>]
156
157
158 0.99 08/03/2005
159
160 - Turn off Debugging by default.
161 Reported by <[email protected]>
162 [Philip M. Gollucci <[email protected]>]
163
164 0.98 06/30/2005
165
166 - Fix MP2 issue with $Apache::Server::Starting
167 Reported by Vincent Moneymaker [email protected]
168 [Philip M. Gollucci <[email protected]>]
169
170 0.97 06/27/2005
171
172 - Fix minor use strict bug in make test
173 [Philip M. Gollucci <[email protected]>]
174
175 - Fixed a bug in salt calculation
176 Kevin A. McGrail (ThoughtWorthy Media, Inc.)
177
178 - Added Auth_DBI_encryption_method configuration. Supports md5 hex, sha1 hex & crypt and will support fallback.
179 Other encryption methods can be added by modifying the subroutine get_passwds_to_check
180 Kevin A. McGrail (ThoughtWorthy Media, Inc.)
181
182 - MP2/MP1 Constants compatability fixes in AuthDBI
183 Kevin A. McGrail (ThoughtWorthy Media, Inc.)
184
185 - Added a feature 'Apache::AuthDBI->setProjID(1)' to set a Shared
186 Memory Project ID when using the shared memory caching.
187 Kevin A. McGrail (ThoughtWorthy Media, Inc.)
188
189 - Fixed an MP2 problem when Debug is set to 2 changing is_main() to main() call
190 Kevin A. McGrail (ThoughtWorthy Media, Inc.)
191
192 - Added a few more Debug statements including the Semaphore ID in hex to use ipcs
193 Kevin A. McGrail (ThoughtWorthy Media, Inc.)
194
195 0.96 04/19/2005
196
197 - Account for the recent mod_perl2 API renaming
198 [Philip M .Gollucci <[email protected]>]
199
200 0.95 04/01/2005
201
202 - Avoid "The object isn't defined" error during "make test" if
203 we can't connect to the test database.
204
205 0.94 February 17, 2004
206
207 - Fix use of uninitialized value warnings when passed an
208 "undef" attribute (thanks to Trevor Schellhorn)
209
210 - Minor POD cleanups
211
212 0.93 January 10, 2004
213
214 - Always check $dbh->ping if the PingTimeOut is 0.
215 (thanks to Dennis Ingram <[email protected]>)
216
217 - Change $r->connection->user to $r->user to make AuthDBI work
218 with mod_perl 2.0 (thanks to Neil MacGregor <[email protected]>
219 and Brian McCauley <[email protected]>)
220
221 - removes the requirement for IPC::SysV to be installed if you
222 don't actually use it. Remove support for mod_perls without
223 push_handler support (Thanks to Brian again)
224
225 - improve tests (based on patch from Geoffrey Young
226 <[email protected]>; thanks Geoff!)
227
228 0.92 August 11, 2003
229
230 - Avoid use of uninitialized value warning under mod_perl 2.
231
232 - Make the tests compatible with DBI >= 1.33 (thanks to Paul
233 MacAdam <[email protected]>)
234
235 0.91 February 17, 2003
236
237 - Retagged and released the 0.90_02 beta as 0.91. No code
238 changes.
239
240 0.90_02 January 10, 2003
241
242 - Changes to make Apache::DBI load and function under mod_perl
243 2.0. A few important notes: connect_on_init does not work yet
244 and there's no automatic RollBack cleanup handler when
245 autocommit is turned off.
246
247 0.90_01 January 10, 2003
248
249 - Only call Apache::Status if Apache.pm is completely loaded
250 (so you can load Apache::DBI outside the mod_perl environment)
251
252 - Make Test::More a prerequisite so we can do real tests
253
254 - Make DBI.pm a prerequisite
255
256 - Add a simple, but real, test script. Requires DBD::mysql
257 and a test database
258
259 0.89 June 17, 2002
260
261 - fix bug that occasionally made Apache::DBI connect several
262 times to the database even when DSN and attributes were the
263 same.
264
265 - Updated links and such in the documentation
266
267 0.88 January 12, 2001
268
269 - fix bug in child_init: consider 0 as valid result for a
270 semaphore id.
271
272 - remove defined(@array), which is depreceated in perl5.6
273
274 0.87 September 28, 1999
275
276 - fix for the usage of the environment variable DBI_DSN
277 introduced in 0.86 was still incomplete.
278
279 0.86 September 27, 1999
280
281 - in AuthDBI remove check of configured data_source in order to allow
282 the usage of the environment variable DBI_DSN. Bug spotted by
283 Oleg Bartunov <[email protected]>.
284
285 - applied patch from Matt Loschert <[email protected]>,
286 which avoids 'Use of uninitialized value ...' in Apache::DBI.
287
288 - added new attribute 'Auth_DBI_encryption_salt' as proposed by
289 Nathan Clemons <[email protected]>.
290 Per default this is set to 'password' which will use the password
291 as salt for the crypt function. Setting this to 'userid' will use
292 the userid as salt.
293
294 - fixed bug with setting Auth_DBI_nopasswd to 'on', spotted by
295 "Sigurjon Olafsson" <[email protected]>.
296
297 0.85 August 24, 1999
298
299 - change separator of Auth_DBI_data_source, Auth_DBI_username and
300 Auth_DBI_password from comma to tilde, in order to avoid clashes
301 with embedded attributes in data_source.
302 Bug spotted by Oleg Bartunov <[email protected]>.
303
304 - applied patch to Apache::DBI.pm from Tim Bunce <[email protected]>
305 which solves the problem that Apache::DBI did not return a ref cursor.
306
307 0.84 August 21, 1999
308
309 - combine Apache::AuthenDBI and Apache::AuthzDBI into one package
310 Apache::AuthDBI.
311
312 - discard Apache::DebugDBI. Debugging can be enabled by setting
313 the variables Apache::AuthDBI::DEBUG and Apache::DBI::DEBUG to
314 appropriate values.
315
316 - the attribute 'Auth_DBI_cache_time' has been discarded. The
317 cache time now has to be configured upon server startup using the
318 method setCacheTime(n).
319
320 - optionally use shared memory for the cache used for authentication
321 and authorization as proposed by Rauznitz Balazs <[email protected]>.
322
323 - make the PerlCleanupHandler, which cleans the cache in Apache::AuthDBI,
324 configurable. Per default it is switched off.
325
326 - connect attributes for authentication and authorization may be a
327 list of several servers, all of which will be used until the first
328 connect succeeds.
329 Proposed by Matt Loschert <[email protected]>.
330
331 - the PerlCleanupHandler in Apache::DBI.pm, which is supposed
332 to initiate a rollback in case AutoCommit is off, will only be
333 created, if the initial data_source sets AutoCommit to 0.
334
335 - fixed bug with empty password, which didn't fall through for
336 authoritative = off, spotted by "Graham Johnson" <[email protected]>.
337
338 - analogous to the environment variables REMOTE_GROUPS and REMOTE_GROUP
339 the selected passwords and the matched password are put into the
340 environment variables REMOTE_PASSWORDS and REMOTE_PASSWORD.
341 Proposed by Jochen Wiedmann <[email protected]>.
342
343 - add traces.txt, which serves as reference for the debug output.
344
345 0.83 August 08, 1999
346
347 - make ping configurable, proposed by
348 Gunther Birznieks <[email protected]>
349
350 - change $user_sent_quoted to $user_sent when checking for
351 placeholders (Michael Smith <[email protected]>)
352
353 - bug-fix for encrypted passwords, which have never been taken
354 from the cache. Spotted by Yves BLUSSEAU <[email protected]>.
355
356 0.82 June 03, 1999
357
358 - bug-fix spotted by "Dale Manemann" <[email protected]>:
359 correct the password handling for the case, where the password has
360 been changed in the database and the old password is still cached.
361
362 - proposal from Honza Pazdziora <[email protected]>:
363 add PerlCleanupHandler in Apache::DBI, which issues a rollback
364 unless AutoCommit is on.
365
366 - changed behavior of AuthzDBI: the first match of a
367 requirement is sufficient for successful authorization.
368 Prior to this release, all requirement lines had to
369 be fulfilled.
370
371 - proposal from Rauznitz Balazs <[email protected]>:
372 new function all_handlers() in Apache::DBI.pm. Returns
373 all cached database handles, so that other handlers can
374 perform tasks on them.
375
376 - proposal from Michael Smith <[email protected]>: new
377 configuration option Auth_DBI_placeholder. Setting this
378 option to true, will use placeholders for the given userid
379 in the SELECT statements. This will speedup database access.
380
381 - proposal from "Jordi 'Matematic' Salvat" <[email protected]>:
382 replace AuthName with a summary of all attributes relevant
383 for the select statements. This still keeps the userid entries
384 in the cache unique, but solves the problem with different
385 AuthNames which eventually forces the user to authenticate
386 several times.
387
388 - new configuration option Auth_DBI_expeditive from
389 "Jordi 'Matematic' Salvat" <[email protected]>.
390 When authorization fails, AuthzDBI returns AUTH_REQUIRED
391 as default. With Auth_DBI_expeditive set to "on" it returns
392 FORBIDDEN if access is denied. Hence this can be distinguished
393 from the case, where the user just mistyped the password.
394
395 - applied patch from Ask Bjoern Hansen <[email protected]>:
396 get rid of some annoying "Use of uninitialized value ..."
397
398 - applied patch from Joshua Chamas <[email protected]>:
399 use eval{ping} to prevent using an invalid database handle.
400
401 - added 'use Apache;' to Apache::DBI.pm as proposed by
402 Michael Smith <[email protected]>.
403
404 - implemented multiple passwords per userid as proposed by
405 dan hammer <[email protected]>.
406
407 - applied patch for case-insensitive user-ids from
408 <[email protected]>.
409
410 - implement proposal from Honza Pazdziora <[email protected]>:
411 Auth_DBI_casesensitive replaced by Auth_DBI_uidcasesensitive and
412 Auth_DBI_pwdcasesensitive.
413
414 - applied patch from [email protected] (Frank D. Cringle):
415 prevent "Use of uninitialized value warning" in error.log.
416
417 - work-around for mod_perl problem spotted by Mike Hayward
418 <[email protected]>: when building mod_perl as dso, Apache::DBI
419 was always skipping the connection cache.
420
421 0.81 Sep 08, 1998
422
423 - Cache entries consider the AuthName to distinguish
424 between identical user-ids in different authorization
425 realms.
426
427 0.80 Jul 26, 1998
428
429 - applied patch from Anto Prijosoesilo <[email protected]>:
430 change second argument for crypt function from $salt
431 to $passwd in order to be compatible with BSD.
432
433 - applied patch for Apache::DBI.pm from Randy Harmon
434 <[email protected]>: reject database connect
435 during server startup.
436
437 - call CleanupHandler in Authen DBI and AuthzDBI only if
438 cache_time is configured.
439
440 0.79 Jun 06, 1998
441
442 - implemented a simple caching mechanism in AuthenDBI as
443 well as in AuthzDBI. Per default this cache is disabled
444 and can be enabled by setting Auth_DBI_cache_time > 0.
445 YOU NEED AT LEAST VERSION apache_1.3b6 !
446
447 - applied patch from Jeff Baker <[email protected]>
448 fix menu item for DBI connections that are made using
449 the Oracle TNS listener.
450
451 - implemented proposal from Leslie Mikesell <[email protected]>
452 change group-handling in AuthzDBI. All groups related to
453 the given user are selected at once and then put into a
454 comma-separated list. This list is compared with the
455 required groups.
456 Depending upon the existence of Auth_DBI_grp_table, the
457 SQL-select looks either in the pwd_table or in the
458 grp_table for the groupid. PLEASE CHECK THE MODULE
459 DOCUMENTATION AND YOUR .htaccess !
460
461 0.78 February 18, 1998
462
463 - applied patch from "B. W. Fitzpatrick" <[email protected]>
464 DBI calls connect always with 4 parameters, even if they
465 are empty. This results in an error with DBD-Informix.
466
467 - added '$dbh->disconnect' before 'return SERVER_ERROR;'
468 ([email protected] <Fyodor Krasnov>).
469
470 - added optional where-clause in AuthenDBI as well as
471 in AuthzDBI (Helmut Patay <[email protected]>).
472
473 0.77 January 18, 1998
474
475 - applied patches from Doug MacEachern:
476 o new method Apache::DBI->connect_on_init()
477 o set environment variable REMOTE_GROUP in AuthzDBI.pm.
478
479 0.76 December 18, 1997
480
481 - removed unused variable from AuthzDBI.pm
482
483 0.75 November 02, 1997
484
485 - strip trailing blanks from password for
486 fixed-length data type
487
488 - new token: 'Auth_DBI_casesensitive'
489 fixed bug when using attributes in connect method
490 fixed bug which appeared with perl5.004_04
491 (Hakan Tandogan <[email protected]>
492
493 0.74 August 15, 1997
494
495 - new module: AuthzDBI for Authorization,
496 (supports group authorization)
497
498 - complete rewrite of AuthenDBI.
499
500 - configuration directives and functionality
501 of both modules are supposed to be identical
502 with mod_auth_msql of the apache daemon.
503
504 - adapted to new DBI connect syntax
505
506 - changed names of config vars to be more
507 consistent with other authentication modules.
508 PLEASE ADAPT YOUR CONFIGURATION !!!
509
510 0.73 July 15, 1997
511
512 - fixed bug in DBI.pm: check return value of connect
513
514 0.72 July 13, 1997
515
516 - added logging option to AuthenDBI
517
518 0.71 July 01, 1997
519
520 - debugging is now controlled by a global variable
521
522 0.7 July 01, 1997
523
524 - changed the way of initiating debug output
525
526 0.6 May 20, 1997
527
528 - fixed bug which caused a disconnect with some
529 DBD-drivers (Oracle,...)
530
531 0.5 May 16, 1997
532
533 - applied patches from Stephen E Kane <[email protected]>
534
535 0.4 May 13, 1997
536
537 - fixed check for first internal request in
538 AuthenDBI.pm
539
540 0.3 May 5, 1997
541
542 - make AuthenDBI to be a separate module
543 - adapt to new DBI, so code changes are not
544 required anymore for persistent connections
545
546 0.2 Apr 6, 1997
547
548 - unused methods deleted
549
550 - AuthenDBI integrated
551
552 - method for disconnect added
553
554 - menu item for Apache::Status added
555
556 0.1 Mar 15, 1997
557
558 - creation
559
560