Ignore:
Timestamp:
31 Aug 2021, 14:41:29 (3 years ago)
Author:
Henrik Bettermann
Message:

Change from skeleton to ecns.

Location:
main/kofacustom.ecns/trunk/src/kofacustom/ecns
Files:
40 edited
1 moved

Legend:

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

    r15614 r16589  
    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.ecns.applicants.interfaces import(
    2525    ICustomApplicant, ICustomUGApplicantEdit, ICustomPGApplicantEdit, IPUTMEApplicantEdit)
    2626
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/applicants/batching.py

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

    r15614 r16589  
    2525    NigeriaPDFApplicationSlip)
    2626
    27 from kofacustom.skeleton.interfaces import MessageFactory as _
     27from kofacustom.ecns.interfaces import MessageFactory as _
    2828
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/applicants/export.py

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

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

    r15614 r16589  
    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.ecns.applicants.interfaces import ICustomApplicantOnlinePayment
    2727
    2828class CustomApplicantOnlinePayment(ApplicantOnlinePayment):
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/applicants/tests/test_applicant.py

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

    r15614 r16589  
    2525from zope.intid.interfaces import IIntIds
    2626from hurry.workflow.interfaces import IWorkflowState
    27 from kofacustom.skeleton.testing import FunctionalLayer
     27from kofacustom.ecns.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.ecns.applicants.export import CustomApplicantExporter
     32from kofacustom.ecns.applicants.batching import CustomApplicantProcessor
    3333
    3434class CustomApplicantUITests(ApplicantsFullSetup):
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/applicants/utils.py

    r15614 r16589  
    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.ecns.interfaces import MessageFactory as _
    2525
    2626
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/browser/pages.py

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

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

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

    r15614 r16589  
    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.ecns" file="locales.zcml" />
    44
    55  <!-- kofacustom.nigeria configures everything we basically need.
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/ftesting.zcml

    r15614 r16589  
    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.ecns"
     5   package="kofacustom.ecns"
    66   >
    77
    8   <include package="kofacustom.skeleton" />
    9   <include package="kofacustom.skeleton" file="mail.zcml"/>
     8  <include package="kofacustom.ecns" />
     9  <include package="kofacustom.ecns" file="mail.zcml"/>
    1010
    1111  <!-- Where should the datacenter reside by default? -->
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/hostels/browser.py

    r15644 r16589  
    2121from waeup.kofa.hostels.browser import (
    2222    HostelAddFormPage, HostelDisplayFormPage, HostelManageFormPage)
    23 from kofacustom.skeleton.hostels.interfaces import ICustomHostel
     23from kofacustom.ecns.hostels.interfaces import ICustomHostel
    2424
    2525class CustomHostelAddFormPage(HostelAddFormPage):
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/hostels/hostel.py

    r15644 r16589  
    2323from waeup.kofa.utils.helpers import attrs_to_fields
    2424from waeup.kofa.hostels.hostel import HostelFactory, BedFactory, Hostel, Bed
    25 from kofacustom.skeleton.hostels.interfaces import ICustomHostel, ICustomBed
     25from kofacustom.ecns.hostels.interfaces import ICustomHostel, ICustomBed
    2626
    2727class CustomHostel(Hostel):
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/hostels/interfaces.py

    r15644 r16589  
    2525from waeup.kofa.hostels.interfaces import IHostel, IBed
    2626
    27 from kofacustom.skeleton.interfaces import MessageFactory as _
     27from kofacustom.ecns.interfaces import MessageFactory as _
    2828
    2929blocks = SimpleKofaVocabulary(
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/interfaces.py

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

    r15756 r16589  
    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.ecns.students.interfaces import ICustomStudentOnlinePayment
     29from kofacustom.ecns.applicants.interfaces import ICustomApplicantOnlinePayment
     30from kofacustom.ecns.interfaces import MessageFactory as _
    3131
    3232PRODUCT_ID = '' # must be provided by Interswitch
    33 SITE_NAME = 'skeleton-kofa.waeup.org'
     33SITE_NAME = 'ecns-kofa.waeup.org'
    3434PROVIDER_ACCT = '00000000'
    3535PROVIDER_BANK_ID = '00'
    36 PROVIDER_ITEM_NAME = 'BT Education'
    37 INSTITUTION_NAME = 'Skeleton'
     36PROVIDER_ITEM_NAME = 'WAeAC'
     37INSTITUTION_NAME = 'ECNS'
    3838CURRENCY = '566'
    3939GATEWAY_AMT = 150.0
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/interswitch/tests.py

    r15756 r16589  
    2424from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
    2525from waeup.kofa.configuration import SessionConfiguration
    26 from kofacustom.skeleton.testing import FunctionalLayer
     26from kofacustom.ecns.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.ecns.interswitch.browser.CustomInterswitchPaymentRequestWebservicePageStudent - '
    183183            'X1000000 - successful schoolfee payment: p3547789850240\n'
    184184            in logcontent)
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/payments/interfaces.py

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

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

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

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

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

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

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

    r15614 r16589  
    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.ecns.students.interfaces import ICustomStudent
    2929
    3030
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/students/studycourse.py

    r15614 r16589  
    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.ecns.students.interfaces import ICustomStudentStudyCourse
    3030
    3131class CustomStudentStudyCourse(NigeriaStudentStudyCourse):
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/students/studylevel.py

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

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

    r15756 r16589  
    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.ecns.utils.utils import CustomKofaUtils
     9from kofacustom.ecns.students.export import (
    1010    CustomStudentExporter, CustomStudentPaymentExporter)
    11 from kofacustom.skeleton.testing import FunctionalLayer
     11from kofacustom.ecns.testing import FunctionalLayer
    1212
    1313
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/students/tests/test_student.py

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

    r15614 r16589  
    2121    CLEARED, RETURNING, PAID, REGISTERED, VALIDATED)
    2222from kofacustom.nigeria.students.utils import NigeriaStudentsUtils
    23 from kofacustom.skeleton.interfaces import MessageFactory as _
     23from kofacustom.ecns.interfaces import MessageFactory as _
    2424
    2525class CustomStudentsUtils(NigeriaStudentsUtils):
     
    2929
    3030    # refix
    31     STUDENT_ID_PREFIX = u'X'
     31    STUDENT_ID_PREFIX = u'N'
  • main/kofacustom.ecns/trunk/src/kofacustom/ecns/students/viewlets.py

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

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

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

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

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

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