CVS Commit Overview for 2006-06-20
==================================
2006-06-20 Tibor Simko <[email protected]>
* modules/bibrank/lib/bibrank_citation_searcher.py: In case
database is down, initialize citation dictionaries as empty.
2006-06-20 Tibor Simko <[email protected]>
* modules/miscutil/lib/dbquery.py.wml: Expose Python DB API 2.0
exceptions and escape_string() to the clients so that they can use
and import them from here. Retry more safely the establishing of
the database connection in case the database is down. (BTW, note
that this version of persistence database connectivity is not
thread-safe, we should replace it with the thread-friendly
connection pool technique in the future.)
2006-06-20 Tibor Simko <[email protected]>
* modules/websession/lib/webuser.py: Handle OperationalError
database exception (in case the database connection is down) and
return appropriate values for this case.
2006-06-20 Tibor Simko <[email protected]>
* modules/websession/lib/websession.py: Handle OperationalError
database exception (in case the database connection is down) in
which case set user ID to -1 as for the permission denied case.
2006-06-20 Tibor Simko <[email protected]>
* modules/websession/lib/webuser.py: Clarify getUid() docstring.
2006-06-20 Tibor Simko <[email protected]>
* modules/websearch/lib/search_engine.py: Corrected
{collection,field} cache timestamp updating in situations such as
database being down. Now the search engine wakes up properly when
the database is up again.
2006-06-20 Tibor Simko <[email protected]>
* modules/bibclassify/lib/bibclassifylib.py,
modules/bibformat/bin/bibreformat.in,
modules/bibharvest/bin/oaiarchive.in,
modules/bibharvest/lib/bibharvestadminlib.py,
modules/bibharvest/lib/oai_repository.py,
modules/bibharvest/lib/oaiharvestlib.py,
modules/bibharvest/web/admin/bibharvestadmin.py,
modules/bibindex/lib/bibindex_engine.py,
modules/bibindex/lib/bibindex_engine_config.py,
modules/bibindex/lib/bibindexadminlib.py,
modules/bibindex/web/admin/bibindexadmin.py,
modules/bibrank/bin/bibrank.in, modules/bibrank/bin/bibrankgkb.in,
modules/bibrank/lib/bibrank_citation_indexer.py,
modules/bibrank/lib/bibrank_record_sorter.py,
modules/bibrank/lib/bibrank_tag_based_indexer.py,
modules/bibrank/lib/bibrank_word_indexer.py,
modules/bibrank/lib/bibrankadminlib.py,
modules/bibrank/web/admin/bibrankadmin.py,
modules/bibsched/bin/bibsched.in,
modules/webaccess/lib/access_control_admin.py,
modules/webaccess/lib/access_control_engine.py,
modules/webaccess/lib/webaccessadmin_lib.py,
modules/webbasket/lib/webbasket_dblayer.py,
modules/webbasket/lib/webbasket_migration_kit.py,
modules/webcomment/web/admin/webcommentadmin.py,
modules/webmessage/lib/webmessage_dblayer.py,
modules/websearch/bin/webcoll.in,
modules/websearch/lib/search_engine.py,
modules/websearch/lib/websearch_webinterface.py,
modules/websearch/lib/websearchadminlib.py,
modules/websearch/web/admin/websearchadmin.py,
modules/websession/lib/webuser.py,
modules/websubmit/lib/websubmit_engine.py,
modules/websubmit/lib/websubmit_webinterface.py,
modules/websubmit/lib/websubmitadmin_dblayer.py,
modules/websubmit/web/publiline.py,
modules/websubmit/web/yourapprovals.py,
modules/websubmit/web/yoursubmissions.py,
modules/websubmit/web/admin/referees.py: Changed database access
code in order not to depend on MySQLdb but rather on dbquery only.
Functions like escape_string() or exceptions like DatabaseError
should rather be imported from there. Useful for potential future
database abstraction.
2006-06-20 'Frederic Gobry <[email protected]>'
* modules/websearch/lib/search_engine.py: restored display of HTML
MARC when no &ot= argument is specified
2006-06-20 Tibor Simko <[email protected]>
* modules/miscutil/doc/hacking/dbquery.html.wml,
modules/miscutil/lib/dbquery.py.wml: Improved documentation of
run_sql() API. Documented escape_string() and exception handling
use by the client code.
2006-06-20 Gregory Favre <[email protected]>
* modules/webmessage/lib/webmessage.py,
modules/webmessage/lib/webmessage_config.py,
modules/webmessage/lib/webmessage_dblayer.py,
modules/webmessage/lib/webmessage_templates.py,
modules/webmessage/lib/webmessage_webinterface.py: Fixed issues
generated by new url shema. Enhanced quota display. Fixed every FIX
ME still present in the code. Changed the get_groupnames_like
function: now retu rns only visible or already joined usergroups in
a dictionnary {group id: group name)
2006-06-20 Nicholas Robinson <[email protected]>
* modules/websubmit/web/admin/websubmitadmin.py: Corrected Access
control; added new arguments when configuring submission functions;
2006-06-20 Nicholas Robinson <[email protected]>
* modules/websubmit/lib/websubmitadmin_config.py: Changed names of
exceptions to reflect that they are WARNINGS
2006-06-20 Nicholas Robinson <[email protected]>
* modules/websubmit/lib/websubmitadmin_dblayer.py: Some cleaning of
function names and docstrings; Added function to correct the scores
of functions within a particular step of a submission
2006-06-20 Nicholas Robinson <[email protected]>
* modules/websubmit/lib/websubmitadmin_engine.py: Plugged 'delete a
function from a submission' functionality; other cleaning;
2006-06-20 Nicholas Robinson <[email protected]>
* modules/websubmit/lib/websubmitadmin_templates.py: Updated
templates related to configuring functions of a submission;
corrected displaying of warning messages to user in several
templates;
--
CDS Invenio Developers <[email protected]>