Обсуждение: docbot - docbot: Refactor authentication into a single subroutine,

Поиск
Список
Период
Сортировка

docbot - docbot: Refactor authentication into a single subroutine,

От
turnstep@pgfoundry.org (User Turnstep)
Дата:
Log Message:
-----------
Refactor authentication into a single subroutine, streamline it.
Add EVERYONE_AUTHENTICATED for use in private networks.
Remove working defaults, so we don't hammer the real db while testing.
Pass the channel to the action and the authentication in anticipation of further use.
Add LOCK_DATABASE to turn off LOCKING unless really needed.
Add RaiseError after the DB call.
Check that the database is up early on, rather than waiting on first action.

Modified Files:
--------------
    docbot:
        docbot.pl (r1.63 -> r1.64)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/docbot/docbot/docbot.pl.diff?r1=1.63&r2=1.64)