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

Rename uniben to fceokene (completely untested).

Configure h2 ports.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene
Files:
6 deleted
39 edited
1 copied
1 moved

Legend:

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

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

    r8204 r8460  
    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.fceokene.applicants.interfaces import(
    2424    ICustomApplicant, IUGApplicantEdit, IPGApplicantEdit)
    2525
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/batching.py

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

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

    r8441 r8460  
    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.fceokene.applicants.interfaces import IUGApplicant, IPGApplicant
    2424
    2525class CustomApplicantsExporter(ApplicantsExporter):
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py

    r8454 r8460  
    2727from waeup.kofa.schema import FormattedDate
    2828from waeup.kofa.students.vocabularies import nats_vocab
    29 from waeup.uniben.interfaces import (
     29from waeup.fceokene.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.fceokene.interfaces import MessageFactory as _
     32from waeup.fceokene.payments.interfaces import ICustomOnlinePayment
    3333
    3434class IUGApplicant(IApplicantBaseData):
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/payment.py

    r8421 r8460  
    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.fceokene.applicants.interfaces import ICustomApplicantOnlinePayment
    2727
    2828class CustomApplicantOnlinePayment(ApplicantOnlinePayment):
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/tests.py

    r8196 r8460  
    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.fceokene.testing import FunctionalLayer
     36from waeup.fceokene.applicants.export import CustomApplicantsExporter
    3737
    3838
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/utils.py

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

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

    r8441 r8460  
    2222from zope.security.interfaces import Unauthorized
    2323from waeup.kofa.testing import FunctionalTestCase
    24 from waeup.uniben.testing import FunctionalLayer
     24from waeup.fceokene.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('...FCEOkene Theme...', self.browser.contents)
    5555        self.browser.getControl(name="form.skin").value = ['custom theme']
    5656        self.browser.getControl("Save").click()
    5757        self.browser.open('http://localhost/app/configuration')
    5858        return
    59 
    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
  • main/waeup.fceokene/trunk/src/waeup/fceokene/browser/theming.py

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

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

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

    r8433 r8460  
    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.fceokene.interfaces import MessageFactory as _
     27from waeup.fceokene.students.interfaces import ICustomStudentOnlinePayment
     28from waeup.fceokene.applicants.interfaces import ICustomApplicantOnlinePayment
    2929
    3030#TERMINAL_ID = '0500000003'
  • main/waeup.fceokene/trunk/src/waeup/fceokene/etranzact/tests.py

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

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

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

    r8433 r8460  
    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.fceokene.students.interfaces import ICustomStudentOnlinePayment
     33from waeup.fceokene.applicants.interfaces import ICustomApplicantOnlinePayment
     34from waeup.fceokene.interfaces import MessageFactory as _
    3535
    3636PRODUCT_ID = '57'
    37 SITE_NAME = 'uniben-kofa.waeup.org'
     37SITE_NAME = 'fceokene-kofa.waeup.org'
    3838PROVIDER_ACCT = '1010764827'
    3939PROVIDER_BANK_ID = '117'
    4040PROVIDER_ITEM_NAME = 'BT Education'
    41 INSTITUTION_NAME = 'Uniben'
     41INSTITUTION_NAME = 'FCEOkene'
    4242CURRENCY = '566'
    4343#QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx'
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py

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

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

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

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

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

    r8454 r8460  
    2929from waeup.kofa.students.vocabularies import (
    3030    nats_vocab, contextual_reg_num_source)
    31 from waeup.uniben.interfaces import (
     31from waeup.fceokene.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.fceokene.interfaces import MessageFactory as _
     34from waeup.fceokene.payments.interfaces import ICustomOnlinePayment
    3535
    3636class ICustomStudentBase(IStudentBase):
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/payments.py

    r8421 r8460  
    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.fceokene.students.interfaces import ICustomStudentOnlinePayment
    2828
    2929class CustomStudentOnlinePayment(StudentOnlinePayment):
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/student.py

    r8204 r8460  
    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.fceokene.students.interfaces import ICustomStudent, IStudentNavigation
    2626
    2727
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/studycourse.py

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

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

    r8328 r8460  
    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.fceokene.students.batching import CustomStudentProcessor
     31from waeup.fceokene.testing import FunctionalLayer
     32from waeup.fceokene.students.utils import get_school_fee
     33from waeup.fceokene.students.interfaces import (
    3434    ICustomStudentStudyCourse, ICustomStudent,
    3535    ICustomStudentStudyLevel, ICustomCourseTicket)
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_student.py

    r8326 r8460  
    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.fceokene.students.student import CustomStudent, CustomStudentFactory
     25from waeup.fceokene.students.studycourse import (
    2626    CustomStudentStudyCourse, CustomStudentStudyCourseFactory)
    27 from waeup.uniben.students.studylevel import (
     27from waeup.fceokene.students.studylevel import (
    2828    CustomStudentStudyLevel, CustomCourseTicket,
    2929    CustomStudentStudyLevelFactory,
    3030    CustomCourseTicketFactory)
    31 from waeup.uniben.students.interfaces import (
     31from waeup.fceokene.students.interfaces import (
    3232    ICustomStudent, ICustomStudentStudyCourse,
    3333    ICustomStudentStudyLevel, ICustomCourseTicket)
    34 from waeup.uniben.testing import FunctionalLayer
     34from waeup.fceokene.testing import FunctionalLayer
    3535
    3636
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r8441 r8460  
    2121from waeup.kofa.students.interfaces import IStudentsUtils
    2222from waeup.kofa.accesscodes import create_accesscode
    23 from waeup.uniben.interfaces import MessageFactory as _
     23from waeup.fceokene.interfaces import MessageFactory as _
    2424
    2525def get_school_fee(student):
     
    130130        }
    131131
    132     # Uniben separators
     132    # FCEOkene 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 FCEOkene Student'),
    142142        }
    143143
    144     # Uniben prefix
    145     STUDENT_ID_PREFIX = u'B'
     144    # FCEOkene prefix
     145    STUDENT_ID_PREFIX = u'O'
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/viewlets.py

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

    r8441 r8460  
    1919"""
    2020import os.path
    21 import waeup.uniben
     21import waeup.fceokene
    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.fceokene.__file__), 'ftesting.zcml')
    2626FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
    2727                            allow_teardown=True)
  • main/waeup.fceokene/trunk/src/waeup/fceokene/tests/test_configuration.py

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

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

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

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

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