Changeset 8444


Ignore:
Timestamp:
14 May 2012, 10:04:25 (13 years ago)
Author:
Henrik Bettermann
Message:

Rename uniben to aaue.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
41 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/README.txt

    r8020 r8444  
    1 The waeup.uniben package
     1The waeup.aaue package
    22************************
    33
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/applicant.py

    r8204 r8444  
    2121from waeup.kofa.applicants.applicant import Applicant, ApplicantFactory
    2222from waeup.kofa.utils.helpers import attrs_to_fields
    23 from waeup.uniben.applicants.interfaces import(
     23from waeup.aaue.applicants.interfaces import(
    2424    ICustomApplicant, IUGApplicantEdit, IPGApplicantEdit)
    2525
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/batching.py

    r8378 r8444  
    2121from waeup.kofa.utils.batching import BatchProcessor
    2222from waeup.kofa.applicants.batching import ApplicantProcessor
    23 from waeup.uniben.applicants.interfaces import ICustomApplicant
     23from waeup.aaue.applicants.interfaces import ICustomApplicant
    2424
    2525class CustomApplicantProcessor(ApplicantProcessor):
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py

    r8421 r8444  
    3535    PaymentReceiptActionButton)
    3636from waeup.kofa.applicants.pdf import PDFApplicationSlip
    37 from waeup.uniben.applicants.interfaces import (
     37from waeup.aaue.applicants.interfaces import (
    3838    IPGApplicant, IUGApplicant, IPGApplicantEdit, IUGApplicantEdit,
    3939    ICustomApplicantOnlinePayment)
    40 from waeup.uniben.interfaces import MessageFactory as _
     40from waeup.aaue.interfaces import MessageFactory as _
    4141
    4242#class RequestCallbackActionButton(RequestCallbackActionButton):
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/export.py

    r8441 r8444  
    2121from waeup.kofa.applicants.interfaces import IApplicantBaseData
    2222from waeup.kofa.applicants.export import ApplicantsExporter
    23 from waeup.uniben.applicants.interfaces import IUGApplicant, IPGApplicant
     23from waeup.aaue.applicants.interfaces import IUGApplicant, IPGApplicant
    2424
    2525class CustomApplicantsExporter(ApplicantsExporter):
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py

    r8430 r8444  
    2727from waeup.kofa.schema import FormattedDate
    2828from waeup.kofa.students.vocabularies import nats_vocab
    29 from waeup.uniben.interfaces import (
     29from waeup.aaue.interfaces import (
    3030    lgas_vocab, high_qual, high_grade, exam_types)
    31 from waeup.uniben.interfaces import MessageFactory as _
    32 from waeup.uniben.payments.interfaces import ICustomOnlinePayment
     31from waeup.aaue.interfaces import MessageFactory as _
     32from waeup.aaue.payments.interfaces import ICustomOnlinePayment
    3333
    3434class IUGApplicant(IApplicantBaseData):
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/payment.py

    r8421 r8444  
    2424from waeup.kofa.applicants.payment import ApplicantOnlinePayment
    2525from waeup.kofa.utils.helpers import attrs_to_fields
    26 from waeup.uniben.applicants.interfaces import ICustomApplicantOnlinePayment
     26from waeup.aaue.applicants.interfaces import ICustomApplicantOnlinePayment
    2727
    2828class CustomApplicantOnlinePayment(ApplicantOnlinePayment):
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests.py

    r8196 r8444  
    3333from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup
    3434from waeup.kofa.interfaces import IBatchProcessor
    35 from waeup.uniben.testing import FunctionalLayer
    36 from waeup.uniben.applicants.export import CustomApplicantsExporter
     35from waeup.aaue.testing import FunctionalLayer
     36from waeup.aaue.applicants.export import CustomApplicantsExporter
    3737
    3838
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/utils.py

    r8430 r8444  
    2323from hurry.workflow.interfaces import IWorkflowInfo, InvalidTransitionError
    2424from waeup.kofa.applicants.utils import ApplicantsUtils
    25 from waeup.uniben.interfaces import MessageFactory as _
     25from waeup.aaue.interfaces import MessageFactory as _
    2626
    2727
  • main/waeup.aaue/trunk/src/waeup/aaue/browser/pages.py

    r8247 r8444  
    1919from waeup.kofa.browser.pages import (
    2020    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage)
    21 from waeup.uniben.interfaces import (
     21from waeup.aaue.interfaces import (
    2222    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
    2323
  • main/waeup.aaue/trunk/src/waeup/aaue/browser/resources.py

    r8441 r8444  
    2121    )
    2222
    23 #: All local resources are registered under the name ``waeup_uniben``.
    24 waeup_uniben = Library('waeup_uniben', 'static')
     23#: All local resources are registered under the name ``waeup_custom``.
     24waeup_custom = Library('waeup_custom', 'static')
    2525
    2626custom_theme = ResourceInclusion(
    27     waeup_uniben, 'custom_theme.css',
     27    waeup_custom, 'custom_theme.css',
    2828    depends = [waeup_base_css])
    2929
    30 favicon = ResourceInclusion(waeup_uniben, 'favicon.ico')
     30favicon = ResourceInclusion(waeup_custom, 'favicon.ico')
  • main/waeup.aaue/trunk/src/waeup/aaue/browser/static/custom_theme.css

    r8441 r8444  
    4444
    4545body {
    46   background-color: #f3eff2;
    4746}
    4847
  • main/waeup.aaue/trunk/src/waeup/aaue/browser/tests.py

    r8441 r8444  
    2222from zope.security.interfaces import Unauthorized
    2323from waeup.kofa.testing import FunctionalTestCase
    24 from waeup.uniben.testing import FunctionalLayer
     24from waeup.aaue.testing import FunctionalLayer
    2525from waeup.kofa.app import University
    2626
     
    5252        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    5353        self.browser.open('http://localhost/app/configuration')
    54         self.assertMatches('...Uniben Theme...', self.browser.contents)
     54        self.assertMatches('...AAUE Theme...', self.browser.contents)
    5555        self.browser.getControl(name="form.skin").value = ['custom theme']
    5656        self.browser.getControl("Save").click()
     
    5858        return
    5959
    60     def test_access_live_url(self):
    61         # We can't access the system with basic authentication
    62         self.browser.addHeader('Authorization', 'Basic grok:grok')
    63         self.assertRaises(
    64             Unauthorized, self.browser.open, 'https://uniben-kofa.waeup.org')
    65         return
     60    #def test_access_live_url(self):
     61    #    # We can't access the system with basic authentication
     62    #    self.browser.addHeader('Authorization', 'Basic grok:grok')
     63    #    self.assertRaises(
     64    #        Unauthorized, self.browser.open, 'https://aaue.waeup.org')
     65    #    return
  • main/waeup.aaue/trunk/src/waeup/aaue/browser/theming.py

    r8441 r8444  
    1818import grok
    1919from waeup.kofa.browser.interfaces import ITheme
    20 from waeup.uniben.browser.resources import custom_theme, favicon
     20from waeup.aaue.browser.resources import custom_theme, favicon
    2121
    22 from waeup.uniben.interfaces import MessageFactory as _
     22from waeup.aaue.interfaces import MessageFactory as _
    2323
    2424class CustomTheme(grok.GlobalUtility):
     
    2828    grok.name('custom theme')
    2929
    30     description = _(u'Uniben Theme')
     30    description = _(u'AAUE Theme')
    3131
    3232    def getResources(self):
  • main/waeup.aaue/trunk/src/waeup/aaue/configuration.py

    r8204 r8444  
    2424from waeup.kofa.configuration import (
    2525    SessionConfigurationFactory, SessionConfiguration)
    26 from waeup.uniben.interfaces import (
     26from waeup.aaue.interfaces import (
    2727    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
    2828
  • main/waeup.aaue/trunk/src/waeup/aaue/configure.zcml

    r8035 r8444  
    11<configure xmlns="http://namespaces.zope.org/zope">
    22
    3   <include package="waeup.uniben" file="locales.zcml" />
     3  <include package="waeup.aaue" file="locales.zcml" />
    44  <include package="grok" />
    5   <includeOverrides package="waeup.uniben" file="overrides.zcml" />
     5  <includeOverrides package="waeup.aaue" file="overrides.zcml" />
    66
    77</configure>
  • main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py

    r8433 r8444  
    2424from waeup.kofa.students.viewlets import ApprovePaymentActionButton as APABStudent
    2525from waeup.kofa.applicants.viewlets import ApprovePaymentActionButton as APABApplicant
    26 from waeup.uniben.interfaces import MessageFactory as _
    27 from waeup.uniben.students.interfaces import ICustomStudentOnlinePayment
    28 from waeup.uniben.applicants.interfaces import ICustomApplicantOnlinePayment
     26from waeup.aaue.interfaces import MessageFactory as _
     27from waeup.aaue.students.interfaces import ICustomStudentOnlinePayment
     28from waeup.aaue.applicants.interfaces import ICustomApplicantOnlinePayment
    2929
    3030#TERMINAL_ID = '0500000003'
  • main/waeup.aaue/trunk/src/waeup/aaue/etranzact/tests.py

    r8430 r8444  
    2020from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
    2121from waeup.kofa.configuration import SessionConfiguration
    22 from waeup.uniben.testing import FunctionalLayer
     22from waeup.aaue.testing import FunctionalLayer
    2323
    2424
  • main/waeup.aaue/trunk/src/waeup/aaue/ftesting.zcml

    r8441 r8444  
    33   xmlns:kofa="http://namespaces.waeup.org/kofa"
    44   i18n_domain="waeup.custom"
    5    package="waeup.uniben"
     5   package="waeup.aaue"
    66   >
    77
    88  <include package="grok" />
    9   <includeOverrides package="waeup.uniben" />
    10   <includeOverrides package="waeup.uniben" file="mail.zcml"/>
     9  <includeOverrides package="waeup.aaue" />
     10  <includeOverrides package="waeup.aaue" file="mail.zcml"/>
    1111
    1212  <!-- Where should the datacenter reside by default? -->
  • main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py

    r8441 r8444  
    2121from waeup.kofa.interfaces import (SimpleKofaVocabulary,
    2222    ISessionConfiguration, academic_sessions_vocab)
    23 from waeup.uniben.utils.lgas import LGAS
     23from waeup.aaue.utils.lgas import LGAS
    2424
    2525_ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.custom')
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py

    r8433 r8444  
    3030from waeup.kofa.applicants.viewlets import ApprovePaymentActionButton as APABApplicant
    3131from waeup.kofa.payments.interfaces import payment_categories
    32 from waeup.uniben.students.interfaces import ICustomStudentOnlinePayment
    33 from waeup.uniben.applicants.interfaces import ICustomApplicantOnlinePayment
    34 from waeup.uniben.interfaces import MessageFactory as _
     32from waeup.aaue.students.interfaces import ICustomStudentOnlinePayment
     33from waeup.aaue.applicants.interfaces import ICustomApplicantOnlinePayment
     34from waeup.aaue.interfaces import MessageFactory as _
    3535
    3636PRODUCT_ID = '57'
    37 SITE_NAME = 'uniben-kofa.waeup.org'
     37SITE_NAME = 'aaue.waeup.org'
    3838PROVIDER_ACCT = '1010764827'
    3939PROVIDER_BANK_ID = '117'
    4040PROVIDER_ITEM_NAME = 'BT Education'
    41 INSTITUTION_NAME = 'Uniben'
     41INSTITUTION_NAME = 'AAUE'
    4242CURRENCY = '566'
    4343#QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx'
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py

    r8281 r8444  
    2020from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
    2121from waeup.kofa.configuration import SessionConfiguration
    22 from waeup.uniben.testing import FunctionalLayer
     22from waeup.aaue.testing import FunctionalLayer
    2323
    2424# Also run tests that send requests to external servers?
  • main/waeup.aaue/trunk/src/waeup/aaue/overrides.zcml

    r8204 r8444  
    99           zope.publisher.interfaces.browser.IBrowserRequest"
    1010      provides="zope.formlib.interfaces.ISimpleInputWidget"
    11       factory="waeup.uniben.widgets.phonewidget.CustomPhoneWidget"
     11      factory="waeup.aaue.widgets.phonewidget.CustomPhoneWidget"
    1212      permission="zope.Public"
    1313      />
  • main/waeup.aaue/trunk/src/waeup/aaue/permissions.py

    r8441 r8444  
    2020
    2121class CRPUOfficer(grok.Role):
    22     """ Permissions of Uniben CRPU members.
     22    """ Permissions of AAUE staff.
    2323
    2424    """
    2525
    2626    grok.name('waeup.CRPUOfficer')
    27     grok.title(u'Uniben CRPU Officer')
     27    grok.title(u'AAUE Officer')
    2828    grok.permissions('waeup.managePortal', 'waeup.manageUsers',
    2929                     'waeup.viewAcademics', 'waeup.manageAcademics',
  • main/waeup.aaue/trunk/src/waeup/aaue/students/batching.py

    r8204 r8444  
    2424students, studycourses, payment tickets and accommodation tickets.
    2525"""
    26 from waeup.uniben.students.interfaces import (
     26from waeup.aaue.students.interfaces import (
    2727    ICustomStudent,
    2828    )
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r8421 r8444  
    3333from waeup.kofa.students.viewlets import (
    3434    PaymentReceiptActionButton)
    35 from waeup.uniben.students.interfaces import (
     35from waeup.aaue.students.interfaces import (
    3636    ICustomStudentBase, ICustomStudent, ICustomStudentPersonal,
    3737    ICustomUGStudentClearance,ICustomPGStudentClearance,
    3838    ICustomStudentOnlinePayment,
    3939    )
    40 from waeup.uniben.interfaces import MessageFactory as _
     40from waeup.aaue.interfaces import MessageFactory as _
    4141
    4242#class RequestCallbackActionButton(RequestCallbackActionButton):
  • main/waeup.aaue/trunk/src/waeup/aaue/students/interfaces.py

    r8441 r8444  
    2929from waeup.kofa.students.vocabularies import (
    3030    nats_vocab, contextual_reg_num_source)
    31 from waeup.uniben.interfaces import (
     31from waeup.aaue.interfaces import (
    3232    lgas_vocab, high_qual, high_grade, exam_types)
    33 from waeup.uniben.interfaces import MessageFactory as _
    34 from waeup.uniben.payments.interfaces import ICustomOnlinePayment
     33from waeup.aaue.interfaces import MessageFactory as _
     34from waeup.aaue.payments.interfaces import ICustomOnlinePayment
    3535
    3636class ICustomStudentBase(IStudentBase):
  • main/waeup.aaue/trunk/src/waeup/aaue/students/payments.py

    r8421 r8444  
    2525from waeup.kofa.students.payments import StudentOnlinePayment
    2626from waeup.kofa.utils.helpers import attrs_to_fields
    27 from waeup.uniben.students.interfaces import ICustomStudentOnlinePayment
     27from waeup.aaue.students.interfaces import ICustomStudentOnlinePayment
    2828
    2929class CustomStudentOnlinePayment(StudentOnlinePayment):
  • main/waeup.aaue/trunk/src/waeup/aaue/students/student.py

    r8204 r8444  
    2323from waeup.kofa.utils.helpers import attrs_to_fields
    2424from waeup.kofa.students.student import Student, StudentFactory
    25 from waeup.uniben.students.interfaces import ICustomStudent, IStudentNavigation
     25from waeup.aaue.students.interfaces import ICustomStudent, IStudentNavigation
    2626
    2727
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studycourse.py

    r8328 r8444  
    2323from waeup.kofa.students.studycourse import (
    2424    StudentStudyCourse, StudentStudyCourseFactory)
    25 from waeup.uniben.students.interfaces import (
     25from waeup.aaue.students.interfaces import (
    2626    ICustomStudentStudyCourse, IStudentNavigation)
    2727from zope.interface import implementedBy
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r8326 r8444  
    2727    StudentStudyLevel, CourseTicket,
    2828    CourseTicketFactory, StudentStudyLevelFactory)
    29 from waeup.uniben.students.interfaces import (
     29from waeup.aaue.students.interfaces import (
    3030    ICustomStudentStudyLevel, IStudentNavigation, ICustomCourseTicket)
    3131
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py

    r8328 r8444  
    2828from waeup.kofa.students.batching import StudentProcessor
    2929from waeup.kofa.students.interfaces import IStudentsUtils
    30 from waeup.uniben.students.batching import CustomStudentProcessor
    31 from waeup.uniben.testing import FunctionalLayer
    32 from waeup.uniben.students.utils import get_school_fee
    33 from waeup.uniben.students.interfaces import (
     30from waeup.aaue.students.batching import CustomStudentProcessor
     31from waeup.aaue.testing import FunctionalLayer
     32from waeup.aaue.students.utils import get_school_fee
     33from waeup.aaue.students.interfaces import (
    3434    ICustomStudentStudyCourse, ICustomStudent,
    3535    ICustomStudentStudyLevel, ICustomCourseTicket)
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_student.py

    r8326 r8444  
    2222from zope.interface import verify
    2323from waeup.kofa.testing import FunctionalTestCase
    24 from waeup.uniben.students.student import CustomStudent, CustomStudentFactory
    25 from waeup.uniben.students.studycourse import (
     24from waeup.aaue.students.student import CustomStudent, CustomStudentFactory
     25from waeup.aaue.students.studycourse import (
    2626    CustomStudentStudyCourse, CustomStudentStudyCourseFactory)
    27 from waeup.uniben.students.studylevel import (
     27from waeup.aaue.students.studylevel import (
    2828    CustomStudentStudyLevel, CustomCourseTicket,
    2929    CustomStudentStudyLevelFactory,
    3030    CustomCourseTicketFactory)
    31 from waeup.uniben.students.interfaces import (
     31from waeup.aaue.students.interfaces import (
    3232    ICustomStudent, ICustomStudentStudyCourse,
    3333    ICustomStudentStudyLevel, ICustomCourseTicket)
    34 from waeup.uniben.testing import FunctionalLayer
     34from waeup.aaue.testing import FunctionalLayer
    3535
    3636
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r8441 r8444  
    2121from waeup.kofa.students.interfaces import IStudentsUtils
    2222from waeup.kofa.accesscodes import create_accesscode
    23 from waeup.uniben.interfaces import MessageFactory as _
     23from waeup.aaue.interfaces import MessageFactory as _
    2424
    2525def get_school_fee(student):
     
    130130        }
    131131
    132     # Uniben separators
     132    # AAUE separators
    133133    SEPARATORS_DICT = {
    134134        'form.fst_sit_fname': _(u'First Sitting Record'),
     
    139139        'form.nysc_year': _(u'NYSC Information'),
    140140        'form.employer': _(u'Employment History'),
    141         'form.former_matric': _(u'Former Uniben Student'),
     141        'form.former_matric': _(u'Former AAUE Student'),
    142142        }
    143143
    144     # Uniben prefix
    145     STUDENT_ID_PREFIX = u'B'
     144    # AAUE prefix
     145    STUDENT_ID_PREFIX = u'E'
  • main/waeup.aaue/trunk/src/waeup/aaue/students/viewlets.py

    r8136 r8444  
    2222from waeup.kofa.students.browser import ExportPDFClearanceSlipPage
    2323
    24 from waeup.uniben.interfaces import MessageFactory as _
     24from waeup.aaue.interfaces import MessageFactory as _
    2525
    2626# LGA Identification
  • main/waeup.aaue/trunk/src/waeup/aaue/testing.py

    r8441 r8444  
    1919"""
    2020import os.path
    21 import waeup.uniben
     21import waeup.aaue
    2222from zope.app.testing.functional import ZCMLLayer
    2323
    2424ftesting_zcml = os.path.join(
    25     os.path.dirname(waeup.uniben.__file__), 'ftesting.zcml')
     25    os.path.dirname(waeup.aaue.__file__), 'ftesting.zcml')
    2626FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
    2727                            allow_teardown=True)
  • main/waeup.aaue/trunk/src/waeup/aaue/tests/test_configuration.py

    r8204 r8444  
    2525from waeup.kofa.tests.test_configuration import (
    2626    ConfigurationTest, SessionConfigurationFactoryTest)
    27 from waeup.uniben.configuration import (
     27from waeup.aaue.configuration import (
    2828    CustomSessionConfiguration, CustomSessionConfigurationFactory)
    29 from waeup.uniben.interfaces import(
     29from waeup.aaue.interfaces import(
    3030    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
    31 from waeup.uniben.testing import FunctionalLayer
     31from waeup.aaue.testing import FunctionalLayer
    3232
    3333class ConfigurationTest(ConfigurationTest):
  • main/waeup.aaue/trunk/src/waeup/aaue/tests/test_datacenter.py

    r8020 r8444  
    1818from waeup.kofa.datacenter import DataCenter
    1919from waeup.kofa.testing import FunctionalTestCase
    20 from waeup.uniben.testing import FunctionalLayer
     20from waeup.aaue.testing import FunctionalLayer
    2121
    2222
  • main/waeup.aaue/trunk/src/waeup/aaue/tests/test_smtp.py

    r8020 r8444  
    3333    send_mail)
    3434from waeup.kofa.testing import FunctionalTestCase
    35 from waeup.uniben.testing import FunctionalLayer
     35from waeup.aaue.testing import FunctionalLayer
    3636
    3737#
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/tests.py

    r8020 r8444  
    1717##
    1818from waeup.kofa.testing import FunctionalTestCase
    19 from waeup.uniben.testing import FunctionalLayer
     19from waeup.aaue.testing import FunctionalLayer
    2020
    2121
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r8386 r8444  
    2121import pytz
    2222from waeup.kofa.utils.utils import KofaUtils, sorted_phone_prefixes
    23 from waeup.uniben.interfaces import MessageFactory as _
     23from waeup.aaue.interfaces import MessageFactory as _
    2424
    2525INT_PHONE_PREFIXES = [
Note: See TracChangeset for help on using the changeset viewer.