CVS Commit Overview for 2008-02-11
==================================

2008-02-11  Nicholas Robinson <[email protected]>

        * modules/webstyle/lib/webstyle_templates.py: Fixed a bug: An
        attempt was made to call the string "replace" method  on the values
        found in sys.exc_info()[0] and sys.exc_info()[1]. These  values are
        not strings - they are in fact a type and an object respectively.
        They have therefore been cast to strings.

2008-02-11  Jerome Caffaro <[email protected]>

        * modules/websearch/doc/search-guide.webdoc: XHTML valid markup.

2008-02-11  Tibor Simko <[email protected]>

        * modules/websearch/lib/websearch_external_collections_searcher.py:
        Fixed Kiss author link for authors with incomplete first name.
        Thanks to Tony for reporting the problem.  Also, removed trailing
        whitespace.

2008-02-11  Nicholas Robinson <[email protected]>

        * modules/websubmit/lib/websubmit_engine.py: In
        'print_function_calls', added the framework to allow WebSubmit
        functions  to be called with 'user_info' (a dictionary of user
        information) as a 4th  keyword argument.   This is the new model
        for WebSubmit functions. They should now be created   and called
        with four parameters, thus a declaration like this:     def
        Function_Name(parameters, curdir, form, user_info):

         WebSubmit will first attempt to call the function like this:
           function(parameters=parameters,
                    curdir=curdir,
                    form=form,
                    user_info=user_info)
         If the function is a legacy function (i.e. doesn't accept
        user_info),
         a TypeError will be raised when WebSubmit attempts to call it.
        WebSubmit
         will therefore try once more to call it without user_info, like
        this:
           function(parameters=parameters,
                    curdir=curdir,
                    form=form)

         So, from now on, all new WebSubmit functions should defined with
        the 4th
         user_info parameter.

2008-02-11  Nicholas Robinson <[email protected]>

        * modules/websubmit/lib/functions/Add_Files.py,
        modules/websubmit/lib/functions/Allocate_ALEPH_SYS.py,
        modules/websubmit/lib/functions/CaseEDS.py,
        modules/websubmit/lib/functions/Check_Group.py,
        modules/websubmit/lib/functions/Convert_RecXML_to_RecALEPH.py,
        modules/websubmit/lib/functions/Create_Cplx_Approval.py,
        modules/websubmit/lib/functions/Create_Modify_Interface.py,
        modules/websubmit/lib/functions/Create_Recid.py,
        modules/websubmit/lib/functions/Finish_Submission.py,
        modules/websubmit/lib/functions/Get_Info.py,
        modules/websubmit/lib/functions/Get_Recid.py,
        modules/websubmit/lib/functions/Get_Report_Number.py,
        modules/websubmit/lib/functions/Get_Sysno.py,
        modules/websubmit/lib/functions/Insert_Modify_Record.py,
        modules/websubmit/lib/functions/Insert_Record.py,
        modules/websubmit/lib/functions/Is_Original_Submitter.py,
        modules/websubmit/lib/functions/Is_Referee.py,
        modules/websubmit/lib/functions/Mail_New_Record_Notification.py,
        modules/websubmit/lib/functions/Mail_Submitter.py,
        modules/websubmit/lib/functions/Make_Modify_Record.py,
        modules/websubmit/lib/functions/Make_Record.py,
        modules/websubmit/lib/functions/Move_Files_Archive.py,
        modules/websubmit/lib/functions/Move_Files_to_Storage.py,
        modules/websubmit/lib/functions/Move_From_Pending.py,
        modules/websubmit/lib/functions/Move_to_Done.py,
        modules/websubmit/lib/functions/Move_to_Pending.py,
        modules/websubmit/lib/functions/Print_Success_APP.py,
        modules/websubmit/lib/functions/Print_Success_CPLX.py,
        modules/websubmit/lib/functions/Print_Success_DEL.py,
        modules/websubmit/lib/functions/Print_Success_MBI.py,
        modules/websubmit/lib/functions/Print_Success.py,
        modules/websubmit/lib/functions/Print_Success_SRV.py,
        modules/websubmit/lib/functions/Report_Number_Generation.py,
        modules/websubmit/lib/functions/Send_APP_Mail.py,
        modules/websubmit/lib/functions/Send_Approval_Request.py,
        modules/websubmit/lib/functions/Send_Modify_Mail.py,
        modules/websubmit/lib/functions/Send_Request_For_Direct_Approval.py,
        modules/websubmit/lib/functions/Send_Request_For_Publication.py,
        modules/websubmit/lib/functions/Send_Request_For_Refereeing_Process.py,
        modules/websubmit/lib/functions/Send_SRV_Mail.py,
        modules/websubmit/lib/functions/Test_Status.py,
        modules/websubmit/lib/functions/Update_Approval_DB.py,
        modules/websubmit/lib/functions/Upload_Files.py,
        modules/websubmit/lib/functions/Format_Record.py: Added 4th
        parameter "user_info" (defaulting to None) to definition of
        WebSubmit functions.   "user_info" should be a dictionary
        containing information about the logged-   in user (e.g. email
        address, user id, preferences, etc.) Functions should   be able to
        make use of this information.

-- 
CDS Invenio Developers <[email protected]>


Reply via email to