Ignore:
Timestamp:
27 Apr 2018, 07:35:05 (7 years ago)
Author:
Henrik Bettermann
Message:

Initialize ESITM portal.

Location:
main/kofacustom.esitm/trunk/src/kofacustom/esitm
Files:
37 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/applicants/applicant.py

    r10765 r14995  
    2222from waeup.kofa.utils.helpers import attrs_to_fields
    2323from kofacustom.nigeria.applicants.applicant import NigeriaApplicant
    24 from kofacustom.skeleton.applicants.interfaces import(
     24from kofacustom.esitm.applicants.interfaces import(
    2525    ICustomApplicant, ICustomUGApplicantEdit, ICustomPGApplicantEdit, IPUTMEApplicantEdit)
    2626
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/applicants/batching.py

    r14818 r14995  
    2020from kofacustom.nigeria.applicants.batching import NigeriaApplicantProcessor
    2121from waeup.kofa.applicants.batching import ApplicantOnlinePaymentProcessor
    22 from kofacustom.skeleton.applicants.interfaces import (
     22from kofacustom.esitm.applicants.interfaces import (
    2323    ICustomApplicant,
    2424    ICustomApplicantUpdateByRegNo,
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/applicants/browser.py

    r10765 r14995  
    2525    NigeriaPDFApplicationSlip)
    2626
    27 from kofacustom.skeleton.interfaces import MessageFactory as _
     27from kofacustom.esitm.interfaces import MessageFactory as _
    2828
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/applicants/export.py

    r13983 r14995  
    2424from kofacustom.nigeria.applicants.interfaces import (
    2525    INigeriaUGApplicant, INigeriaPGApplicant)
    26 from kofacustom.skeleton.applicants.interfaces import (
     26from kofacustom.esitm.applicants.interfaces import (
    2727    ICustomUGApplicant, ICustomPGApplicant)
    2828
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/applicants/interfaces.py

    r10765 r14995  
    3737    IPUTMEApplicantEdit,
    3838    )
    39 from kofacustom.skeleton.interfaces import MessageFactory as _
    40 from kofacustom.skeleton.payments.interfaces import ICustomOnlinePayment
     39from kofacustom.esitm.interfaces import MessageFactory as _
     40from kofacustom.esitm.payments.interfaces import ICustomOnlinePayment
    4141
    4242class ICustomUGApplicant(INigeriaUGApplicant):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/applicants/payment.py

    r10765 r14995  
    2424from waeup.kofa.applicants.payment import ApplicantOnlinePayment
    2525from waeup.kofa.utils.helpers import attrs_to_fields
    26 from kofacustom.skeleton.applicants.interfaces import ICustomApplicantOnlinePayment
     26from kofacustom.esitm.applicants.interfaces import ICustomApplicantOnlinePayment
    2727
    2828class CustomApplicantOnlinePayment(ApplicantOnlinePayment):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/applicants/tests/test_applicant.py

    r10765 r14995  
    3030from waeup.kofa.interfaces import IFileStoreHandler, IFileStoreNameChooser
    3131from waeup.kofa.testing import FunctionalTestCase
    32 from kofacustom.skeleton.applicants.applicant import (
     32from kofacustom.esitm.applicants.applicant import (
    3333    CustomApplicant, CustomApplicantFactory,
    3434    )
    35 from kofacustom.skeleton.applicants.interfaces import ICustomApplicant
    36 from kofacustom.skeleton.testing import FunctionalLayer
     35from kofacustom.esitm.applicants.interfaces import ICustomApplicant
     36from kofacustom.esitm.testing import FunctionalLayer
    3737
    3838class CustomApplicantTest(FunctionalTestCase):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/applicants/tests/test_browser.py

    r14276 r14995  
    2525from zope.intid.interfaces import IIntIds
    2626from hurry.workflow.interfaces import IWorkflowState
    27 from kofacustom.skeleton.testing import FunctionalLayer
     27from kofacustom.esitm.testing import FunctionalLayer
    2828from waeup.kofa.browser.tests.test_pdf import samples_dir
    2929from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
    3030from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup
    31 from kofacustom.skeleton.applicants.export import CustomApplicantExporter
    32 from kofacustom.skeleton.applicants.batching import CustomApplicantProcessor
     31from kofacustom.esitm.applicants.export import CustomApplicantExporter
     32from kofacustom.esitm.applicants.batching import CustomApplicantProcessor
    3333
    3434class CustomApplicantUITests(ApplicantsFullSetup):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/applicants/utils.py

    r10765 r14995  
    2222from waeup.kofa.applicants.workflow import (INITIALIZED,
    2323    STARTED, PAID, ADMITTED, NOT_ADMITTED, SUBMITTED, CREATED)
    24 from kofacustom.skeleton.interfaces import MessageFactory as _
     24from kofacustom.esitm.interfaces import MessageFactory as _
    2525
    2626
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/browser/pages.py

    r10765 r14995  
    2121    LoginPage, CertificatePage, CertificateManageFormPage)
    2222from waeup.kofa.university.interfaces import ICertificate
    23 from kofacustom.skeleton.interfaces import (
     23from kofacustom.esitm.interfaces import (
    2424    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
    2525
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/browser/tests.py

    r13629 r14995  
    2222from zope.security.interfaces import Unauthorized
    2323from waeup.kofa.testing import FunctionalTestCase
    24 from kofacustom.skeleton.testing import FunctionalLayer
     24from kofacustom.esitm.testing import FunctionalLayer
    2525from waeup.kofa.app import University
    2626
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/configuration.py

    r10765 r14995  
    2424from waeup.kofa.configuration import (
    2525    SessionConfigurationFactory, SessionConfiguration)
    26 from kofacustom.skeleton.interfaces import (
     26from kofacustom.esitm.interfaces import (
    2727    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
    2828
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/configure.zcml

    r10765 r14995  
    11<configure xmlns="http://namespaces.zope.org/zope"
    22           xmlns:grok="http://namespaces.zope.org/grok">
    3   <include package="kofacustom.skeleton" file="locales.zcml" />
     3  <include package="kofacustom.esitm" file="locales.zcml" />
    44
    55  <!-- kofacustom.nigeria configures everything we basically need.
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/ftesting.zcml

    r10765 r14995  
    22   xmlns="http://namespaces.zope.org/zope"
    33   xmlns:kofa="http://namespaces.waeup.org/kofa"
    4    i18n_domain="kofacustom.skeleton"
    5    package="kofacustom.skeleton"
     4   i18n_domain="kofacustom.esitm"
     5   package="kofacustom.esitm"
    66   >
    77
    8   <include package="kofacustom.skeleton" />
    9   <include package="kofacustom.skeleton" file="mail.zcml"/>
     8  <include package="kofacustom.esitm" />
     9  <include package="kofacustom.esitm" file="mail.zcml"/>
    1010
    1111  <!-- Where should the datacenter reside by default? -->
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/interfaces.py

    r14457 r14995  
    2323    ISessionConfiguration, academic_sessions_vocab)
    2424
    25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.skeleton')
     25_ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.esitm')
    2626
    2727class ICustomSessionConfiguration(ISessionConfiguration):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/interswitch/browser.py

    r14276 r14995  
    2626    InterswitchPageStudent, InterswitchPageApplicant,
    2727    )
    28 from kofacustom.skeleton.students.interfaces import ICustomStudentOnlinePayment
    29 from kofacustom.skeleton.applicants.interfaces import ICustomApplicantOnlinePayment
    30 from kofacustom.skeleton.interfaces import MessageFactory as _
     28from kofacustom.esitm.students.interfaces import ICustomStudentOnlinePayment
     29from kofacustom.esitm.applicants.interfaces import ICustomApplicantOnlinePayment
     30from kofacustom.esitm.interfaces import MessageFactory as _
    3131
    3232PRODUCT_ID = '' # must be provided by Interswitch
    33 SITE_NAME = 'skeleton-kofa.waeup.org'
     33SITE_NAME = 'esitm-kofa.waeup.org'
    3434PROVIDER_ACCT = '00000000'
    3535PROVIDER_BANK_ID = '00'
    3636PROVIDER_ITEM_NAME = 'BT Education'
    37 INSTITUTION_NAME = 'Skeleton'
     37INSTITUTION_NAME = 'ESITM'
    3838CURRENCY = '566'
    3939GATEWAY_AMT = 150.0
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/interswitch/tests.py

    r14874 r14995  
    2424from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
    2525from waeup.kofa.configuration import SessionConfiguration
    26 from kofacustom.skeleton.testing import FunctionalLayer
     26from kofacustom.esitm.testing import FunctionalLayer
    2727
    2828# Also run tests that send requests to external servers?
     
    180180        self.assertTrue(
    181181            'zope.mgr - '
    182             'kofacustom.skeleton.interswitch.browser.CustomInterswitchPaymentRequestWebservicePageStudent - '
     182            'kofacustom.esitm.interswitch.browser.CustomInterswitchPaymentRequestWebservicePageStudent - '
    183183            'X1000000 - successful schoolfee payment: p3547789850240\n'
    184184            in logcontent)
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/payments/interfaces.py

    r10765 r14995  
    1919from zope import schema
    2020from kofacustom.nigeria.payments.interfaces import INigeriaOnlinePayment
    21 from kofacustom.skeleton.interfaces import MessageFactory as _
     21from kofacustom.esitm.interfaces import MessageFactory as _
    2222
    2323class ICustomOnlinePayment(INigeriaOnlinePayment):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/remita/webservices.py

    r14993 r14995  
    1818
    1919from kofacustom.nigeria.remita.webservices import PaymentNotificationListenerWebservice
    20 from kofacustom.skeleton.remita.browser import MERCHANTID, HOST, HTTPS, API_KEY
     20from kofacustom.esitm.remita.browser import MERCHANTID, HOST, HTTPS, API_KEY
    2121
    2222class CustomPaymentNotificationListenerWebservice(
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/batching.py

    r14818 r14995  
    2020from kofacustom.nigeria.students.batching import NigeriaStudentProcessor
    2121from waeup.kofa.students.batching import StudentOnlinePaymentProcessor
    22 from kofacustom.skeleton.students.interfaces import (
     22from kofacustom.esitm.students.interfaces import (
    2323    ICustomStudent,
    2424    ICustomStudentUpdateByRegNo,
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/browser.py

    r13062 r14995  
    4141    )
    4242
    43 from kofacustom.skeleton.students.interfaces import (
     43from kofacustom.esitm.students.interfaces import (
    4444    ICustomStudentOnlinePayment, ICustomStudentStudyCourse,
    4545    ICustomStudentStudyLevel)
    46 from kofacustom.skeleton.interfaces import MessageFactory as _
     46from kofacustom.esitm.interfaces import MessageFactory as _
    4747
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/export.py

    r12878 r14995  
    1818"""Exporters for student related stuff.
    1919"""
    20 from kofacustom.skeleton.students.interfaces import (
     20from kofacustom.esitm.students.interfaces import (
    2121    ICustomStudent,
    2222    ICustomStudentStudyCourse,
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/interfaces.py

    r13740 r14995  
    2525    INigeriaStudentUpdateByRegNo, INigeriaStudentUpdateByMatricNo,
    2626    )
    27 from kofacustom.skeleton.payments.interfaces import ICustomOnlinePayment
    28 from kofacustom.skeleton.interfaces import MessageFactory as _
     27from kofacustom.esitm.payments.interfaces import ICustomOnlinePayment
     28from kofacustom.esitm.interfaces import MessageFactory as _
    2929
    3030class ICustomStudentBase(INigeriaStudentBase):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/payments.py

    r13629 r14995  
    2626from kofacustom.nigeria.students.payments import (
    2727    NigeriaStudentOnlinePayment, NigeriaStudentOnlinePaymentFactory)
    28 from kofacustom.skeleton.students.interfaces import ICustomStudentOnlinePayment
     28from kofacustom.esitm.students.interfaces import ICustomStudentOnlinePayment
    2929
    3030class CustomStudentOnlinePayment(NigeriaStudentOnlinePayment):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/student.py

    r10765 r14995  
    2626from waeup.kofa.utils.helpers import get_current_principal
    2727from kofacustom.nigeria.students.student import NigeriaStudent
    28 from kofacustom.skeleton.students.interfaces import ICustomStudent
     28from kofacustom.esitm.students.interfaces import ICustomStudent
    2929
    3030
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/studycourse.py

    r10765 r14995  
    2727from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID
    2828from kofacustom.nigeria.students.studycourse import NigeriaStudentStudyCourse
    29 from kofacustom.skeleton.students.interfaces import ICustomStudentStudyCourse
     29from kofacustom.esitm.students.interfaces import ICustomStudentStudyCourse
    3030
    3131class CustomStudentStudyCourse(NigeriaStudentStudyCourse):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/studylevel.py

    r10765 r14995  
    2828    CourseTicketFactory, StudentStudyLevelFactory)
    2929from waeup.kofa.students.interfaces import IStudentNavigation
    30 from kofacustom.skeleton.students.interfaces import (
     30from kofacustom.esitm.students.interfaces import (
    3131    ICustomStudentStudyLevel, ICustomCourseTicket)
    3232
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/tests/test_browser.py

    r13629 r14995  
    3434    IExtFileStore, IFileStoreNameChooser)
    3535from waeup.kofa.students.interfaces import IStudentsUtils
    36 from kofacustom.skeleton.testing import FunctionalLayer
     36from kofacustom.esitm.testing import FunctionalLayer
    3737
    3838
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/tests/test_export.py

    r14558 r14995  
    66from waeup.kofa.students.tests.test_batching import (
    77    StudentImportExportSetup, curr_year)
    8 from kofacustom.skeleton.utils.utils import CustomKofaUtils
    9 from kofacustom.skeleton.students.export import (
     8from kofacustom.esitm.utils.utils import CustomKofaUtils
     9from kofacustom.esitm.students.export import (
    1010    CustomStudentExporter, CustomStudentPaymentExporter)
    11 from kofacustom.skeleton.testing import FunctionalLayer
     11from kofacustom.esitm.testing import FunctionalLayer
    1212
    1313
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/tests/test_student.py

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

    r10765 r14995  
    2121    CLEARED, RETURNING, PAID, REGISTERED, VALIDATED)
    2222from kofacustom.nigeria.students.utils import NigeriaStudentsUtils
    23 from kofacustom.skeleton.interfaces import MessageFactory as _
     23from kofacustom.esitm.interfaces import MessageFactory as _
    2424
    2525class CustomStudentsUtils(NigeriaStudentsUtils):
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/students/viewlets.py

    r13062 r14995  
    2020from waeup.kofa.interfaces import REQUESTED
    2121from waeup.kofa.browser.viewlets import ManageActionButton
    22 from kofacustom.skeleton.students.interfaces import (
     22from kofacustom.esitm.students.interfaces import (
    2323    ICustomStudentStudyCourse, ICustomStudentStudyLevel)
    2424from waeup.kofa.students.fileviewlets import (
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/testing.py

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

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

    r10765 r14995  
    1818from waeup.kofa.datacenter import DataCenter
    1919from waeup.kofa.testing import FunctionalTestCase
    20 from kofacustom.skeleton.testing import FunctionalLayer
     20from kofacustom.esitm.testing import FunctionalLayer
    2121
    2222
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/tests/test_smtp.py

    r10765 r14995  
    3333    send_mail)
    3434from waeup.kofa.testing import FunctionalTestCase
    35 from kofacustom.skeleton.testing import FunctionalLayer
     35from kofacustom.esitm.testing import FunctionalLayer
    3636
    3737#
  • main/kofacustom.esitm/trunk/src/kofacustom/esitm/utils/tests.py

    r10765 r14995  
    1717##
    1818from waeup.kofa.testing import FunctionalTestCase
    19 from kofacustom.skeleton.testing import FunctionalLayer
     19from kofacustom.esitm.testing import FunctionalLayer
    2020
    2121
Note: See TracChangeset for help on using the changeset viewer.