Changeset 16615 for main/kofacustom.edocons/trunk/src/kofacustom/edocons
- Timestamp:
- 13 Sep 2021, 12:24:36 (3 years ago)
- Location:
- main/kofacustom.edocons/trunk/src/kofacustom/edocons
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/applicant.py
r16589 r16615 22 22 from waeup.kofa.utils.helpers import attrs_to_fields 23 23 from kofacustom.nigeria.applicants.applicant import NigeriaApplicant 24 from kofacustom.e cns.applicants.interfaces import(24 from kofacustom.edocons.applicants.interfaces import( 25 25 ICustomApplicant, ICustomUGApplicantEdit, ICustomPGApplicantEdit, IPUTMEApplicantEdit) 26 26 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/batching.py
r16589 r16615 20 20 from kofacustom.nigeria.applicants.batching import NigeriaApplicantProcessor 21 21 from waeup.kofa.applicants.batching import ApplicantOnlinePaymentProcessor 22 from kofacustom.e cns.applicants.interfaces import (22 from kofacustom.edocons.applicants.interfaces import ( 23 23 ICustomApplicant, 24 24 ICustomApplicantUpdateByRegNo, -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/browser.py
r16589 r16615 25 25 NigeriaPDFApplicationSlip) 26 26 27 from kofacustom.e cns.interfaces import MessageFactory as _27 from kofacustom.edocons.interfaces import MessageFactory as _ 28 28 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/export.py
r16589 r16615 24 24 from kofacustom.nigeria.applicants.interfaces import ( 25 25 INigeriaUGApplicant, INigeriaPGApplicant) 26 from kofacustom.e cns.applicants.interfaces import (26 from kofacustom.edocons.applicants.interfaces import ( 27 27 ICustomUGApplicant, ICustomPGApplicant) 28 28 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/interfaces.py
r16589 r16615 37 37 IPUTMEApplicantEdit, 38 38 ) 39 from kofacustom.e cns.interfaces import MessageFactory as _40 from kofacustom.e cns.payments.interfaces import ICustomOnlinePayment39 from kofacustom.edocons.interfaces import MessageFactory as _ 40 from kofacustom.edocons.payments.interfaces import ICustomOnlinePayment 41 41 42 42 class ICustomUGApplicant(INigeriaUGApplicant): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/payment.py
r16589 r16615 24 24 from waeup.kofa.applicants.payment import ApplicantOnlinePayment 25 25 from waeup.kofa.utils.helpers import attrs_to_fields 26 from kofacustom.e cns.applicants.interfaces import ICustomApplicantOnlinePayment26 from kofacustom.edocons.applicants.interfaces import ICustomApplicantOnlinePayment 27 27 28 28 class CustomApplicantOnlinePayment(ApplicantOnlinePayment): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/tests/test_applicant.py
r16589 r16615 30 30 from waeup.kofa.interfaces import IFileStoreHandler, IFileStoreNameChooser 31 31 from waeup.kofa.testing import FunctionalTestCase 32 from kofacustom.e cns.applicants.applicant import (32 from kofacustom.edocons.applicants.applicant import ( 33 33 CustomApplicant, CustomApplicantFactory, 34 34 ) 35 from kofacustom.e cns.applicants.interfaces import ICustomApplicant36 from kofacustom.e cns.testing import FunctionalLayer35 from kofacustom.edocons.applicants.interfaces import ICustomApplicant 36 from kofacustom.edocons.testing import FunctionalLayer 37 37 38 38 class CustomApplicantTest(FunctionalTestCase): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/tests/test_browser.py
r16591 r16615 25 25 from zope.intid.interfaces import IIntIds 26 26 from hurry.workflow.interfaces import IWorkflowState 27 from kofacustom.e cns.testing import FunctionalLayer27 from kofacustom.edocons.testing import FunctionalLayer 28 28 from waeup.kofa.browser.tests.test_pdf import samples_dir 29 29 from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup 30 30 from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup 31 from kofacustom.e cns.applicants.export import CustomApplicantExporter32 from kofacustom.e cns.applicants.batching import CustomApplicantProcessor31 from kofacustom.edocons.applicants.export import CustomApplicantExporter 32 from kofacustom.edocons.applicants.batching import CustomApplicantProcessor 33 33 34 34 class CustomApplicantUITests(ApplicantsFullSetup): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/utils.py
r16589 r16615 22 22 from waeup.kofa.applicants.workflow import (INITIALIZED, 23 23 STARTED, PAID, ADMITTED, NOT_ADMITTED, SUBMITTED, CREATED) 24 from kofacustom.e cns.interfaces import MessageFactory as _24 from kofacustom.edocons.interfaces import MessageFactory as _ 25 25 26 26 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/browser/pages.py
r16589 r16615 21 21 LoginPage, CertificatePage, CertificateManageFormPage) 22 22 from waeup.kofa.university.interfaces import ICertificate 23 from kofacustom.e cns.interfaces import (23 from kofacustom.edocons.interfaces import ( 24 24 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 25 25 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/browser/tests.py
r16589 r16615 22 22 from zope.security.interfaces import Unauthorized 23 23 from waeup.kofa.testing import FunctionalTestCase 24 from kofacustom.e cns.testing import FunctionalLayer24 from kofacustom.edocons.testing import FunctionalLayer 25 25 from waeup.kofa.app import University 26 26 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/configuration.py
r16589 r16615 24 24 from waeup.kofa.configuration import ( 25 25 SessionConfigurationFactory, SessionConfiguration) 26 from kofacustom.e cns.interfaces import (26 from kofacustom.edocons.interfaces import ( 27 27 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 28 28 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/configure.zcml
r16589 r16615 1 1 <configure xmlns="http://namespaces.zope.org/zope" 2 2 xmlns:grok="http://namespaces.zope.org/grok"> 3 <include package="kofacustom.e cns" file="locales.zcml" />3 <include package="kofacustom.edocons" file="locales.zcml" /> 4 4 5 5 <!-- kofacustom.nigeria configures everything we basically need. -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/ftesting.zcml
r16589 r16615 2 2 xmlns="http://namespaces.zope.org/zope" 3 3 xmlns:kofa="http://namespaces.waeup.org/kofa" 4 i18n_domain="kofacustom.e cns"5 package="kofacustom.e cns"4 i18n_domain="kofacustom.edocons" 5 package="kofacustom.edocons" 6 6 > 7 7 8 <include package="kofacustom.e cns" />9 <include package="kofacustom.e cns" file="mail.zcml"/>8 <include package="kofacustom.edocons" /> 9 <include package="kofacustom.edocons" file="mail.zcml"/> 10 10 11 11 <!-- Where should the datacenter reside by default? --> -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/hostels/browser.py
r16589 r16615 21 21 from waeup.kofa.hostels.browser import ( 22 22 HostelAddFormPage, HostelDisplayFormPage, HostelManageFormPage) 23 from kofacustom.e cns.hostels.interfaces import ICustomHostel23 from kofacustom.edocons.hostels.interfaces import ICustomHostel 24 24 25 25 class CustomHostelAddFormPage(HostelAddFormPage): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/hostels/hostel.py
r16589 r16615 23 23 from waeup.kofa.utils.helpers import attrs_to_fields 24 24 from waeup.kofa.hostels.hostel import HostelFactory, BedFactory, Hostel, Bed 25 from kofacustom.e cns.hostels.interfaces import ICustomHostel, ICustomBed25 from kofacustom.edocons.hostels.interfaces import ICustomHostel, ICustomBed 26 26 27 27 class CustomHostel(Hostel): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/hostels/interfaces.py
r16589 r16615 25 25 from waeup.kofa.hostels.interfaces import IHostel, IBed 26 26 27 from kofacustom.e cns.interfaces import MessageFactory as _27 from kofacustom.edocons.interfaces import MessageFactory as _ 28 28 29 29 blocks = SimpleKofaVocabulary( -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/interfaces.py
r16589 r16615 23 23 ISessionConfiguration, academic_sessions_vocab) 24 24 25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.e cns')25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.edocons') 26 26 27 27 class ICustomSessionConfiguration(ISessionConfiguration): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/interswitch/browser.py
r16593 r16615 27 27 InterswitchPageStudent, InterswitchPageApplicant, 28 28 ) 29 from kofacustom.e cns.students.interfaces import ICustomStudentOnlinePayment30 from kofacustom.e cns.applicants.interfaces import ICustomApplicantOnlinePayment31 from kofacustom.e cns.interfaces import MessageFactory as _29 from kofacustom.edocons.students.interfaces import ICustomStudentOnlinePayment 30 from kofacustom.edocons.applicants.interfaces import ICustomApplicantOnlinePayment 31 from kofacustom.edocons.interfaces import MessageFactory as _ 32 32 33 33 PRODUCT_ID = '' # must be provided by Interswitch 34 SITE_NAME = 'e cns.waeup.org'34 SITE_NAME = 'edocons.waeup.org' 35 35 PROVIDER_ACCT = '00000000' 36 36 PROVIDER_BANK_ID = '00' 37 37 PROVIDER_ITEM_NAME = 'WAeAC' 38 INSTITUTION_NAME = 'E CNS'38 INSTITUTION_NAME = 'EDOCONS' 39 39 CURRENCY = '566' 40 40 GATEWAY_AMT = 150.0 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/interswitch/tests.py
r16591 r16615 24 24 from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup 25 25 from waeup.kofa.configuration import SessionConfiguration 26 from kofacustom.e cns.testing import FunctionalLayer26 from kofacustom.edocons.testing import FunctionalLayer 27 27 28 28 # Also run tests that send requests to external servers? … … 182 182 self.assertTrue( 183 183 'zope.mgr - ' 184 'kofacustom.e cns.interswitch.browser.CustomInterswitchPaymentRequestWebservicePageStudent - '184 'kofacustom.edocons.interswitch.browser.CustomInterswitchPaymentRequestWebservicePageStudent - ' 185 185 'X1000000 - successful schoolfee payment: p3547789850240\n' 186 186 in logcontent) -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/payments/interfaces.py
r16589 r16615 19 19 from zope import schema 20 20 from kofacustom.nigeria.payments.interfaces import INigeriaOnlinePayment 21 from kofacustom.e cns.interfaces import MessageFactory as _21 from kofacustom.edocons.interfaces import MessageFactory as _ 22 22 23 23 class ICustomOnlinePayment(INigeriaOnlinePayment): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/remita/webservices.py
r16589 r16615 18 18 19 19 from kofacustom.nigeria.remita.webservices import PaymentNotificationListenerWebservice 20 from kofacustom.e cns.remita.browser import MERCHANTID, HOST, HTTPS, API_KEY20 from kofacustom.edocons.remita.browser import MERCHANTID, HOST, HTTPS, API_KEY 21 21 22 22 class CustomPaymentNotificationListenerWebservice( -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/batching.py
r16589 r16615 20 20 from kofacustom.nigeria.students.batching import NigeriaStudentProcessor 21 21 from waeup.kofa.students.batching import StudentOnlinePaymentProcessor 22 from kofacustom.e cns.students.interfaces import (22 from kofacustom.edocons.students.interfaces import ( 23 23 ICustomStudent, 24 24 ICustomStudentUpdateByRegNo, -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/browser.py
r16589 r16615 41 41 ) 42 42 43 from kofacustom.e cns.students.interfaces import (43 from kofacustom.edocons.students.interfaces import ( 44 44 ICustomStudentOnlinePayment, ICustomStudentStudyCourse, 45 45 ICustomStudentStudyLevel) 46 from kofacustom.e cns.interfaces import MessageFactory as _46 from kofacustom.edocons.interfaces import MessageFactory as _ 47 47 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/export.py
r16589 r16615 18 18 """Exporters for student related stuff. 19 19 """ 20 from kofacustom.e cns.students.interfaces import (20 from kofacustom.edocons.students.interfaces import ( 21 21 ICustomStudent, 22 22 ICustomStudentStudyCourse, -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/interfaces.py
r16589 r16615 25 25 INigeriaStudentUpdateByRegNo, INigeriaStudentUpdateByMatricNo, 26 26 ) 27 from kofacustom.e cns.payments.interfaces import ICustomOnlinePayment28 from kofacustom.e cns.interfaces import MessageFactory as _27 from kofacustom.edocons.payments.interfaces import ICustomOnlinePayment 28 from kofacustom.edocons.interfaces import MessageFactory as _ 29 29 30 30 class ICustomStudentBase(INigeriaStudentBase): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/payments.py
r16589 r16615 26 26 from kofacustom.nigeria.students.payments import ( 27 27 NigeriaStudentOnlinePayment, NigeriaStudentOnlinePaymentFactory) 28 from kofacustom.e cns.students.interfaces import ICustomStudentOnlinePayment28 from kofacustom.edocons.students.interfaces import ICustomStudentOnlinePayment 29 29 30 30 class CustomStudentOnlinePayment(NigeriaStudentOnlinePayment): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/student.py
r16589 r16615 26 26 from waeup.kofa.utils.helpers import get_current_principal 27 27 from kofacustom.nigeria.students.student import NigeriaStudent 28 from kofacustom.e cns.students.interfaces import ICustomStudent28 from kofacustom.edocons.students.interfaces import ICustomStudent 29 29 30 30 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/studycourse.py
r16589 r16615 27 27 from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID 28 28 from kofacustom.nigeria.students.studycourse import NigeriaStudentStudyCourse 29 from kofacustom.e cns.students.interfaces import ICustomStudentStudyCourse29 from kofacustom.edocons.students.interfaces import ICustomStudentStudyCourse 30 30 31 31 class CustomStudentStudyCourse(NigeriaStudentStudyCourse): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/studylevel.py
r16589 r16615 28 28 CourseTicketFactory, StudentStudyLevelFactory) 29 29 from waeup.kofa.students.interfaces import IStudentNavigation 30 from kofacustom.e cns.students.interfaces import (30 from kofacustom.edocons.students.interfaces import ( 31 31 ICustomStudentStudyLevel, ICustomCourseTicket) 32 32 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/tests/test_browser.py
r16589 r16615 34 34 IExtFileStore, IFileStoreNameChooser) 35 35 from waeup.kofa.students.interfaces import IStudentsUtils 36 from kofacustom.e cns.testing import FunctionalLayer36 from kofacustom.edocons.testing import FunctionalLayer 37 37 38 38 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/tests/test_export.py
r16591 r16615 6 6 from waeup.kofa.students.tests.test_batching import ( 7 7 StudentImportExportSetup, curr_year) 8 from kofacustom.e cns.utils.utils import CustomKofaUtils9 from kofacustom.e cns.students.export import (8 from kofacustom.edocons.utils.utils import CustomKofaUtils 9 from kofacustom.edocons.students.export import ( 10 10 CustomStudentExporter, CustomStudentPaymentExporter) 11 from kofacustom.e cns.testing import FunctionalLayer11 from kofacustom.edocons.testing import FunctionalLayer 12 12 13 13 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/tests/test_student.py
r16589 r16615 22 22 from zope.interface import verify 23 23 from waeup.kofa.testing import FunctionalTestCase 24 from kofacustom.e cns.students.student import CustomStudent, CustomStudentFactory25 from kofacustom.e cns.students.studycourse import (24 from kofacustom.edocons.students.student import CustomStudent, CustomStudentFactory 25 from kofacustom.edocons.students.studycourse import ( 26 26 CustomStudentStudyCourse, CustomStudentStudyCourseFactory) 27 from kofacustom.e cns.students.studylevel import (27 from kofacustom.edocons.students.studylevel import ( 28 28 CustomStudentStudyLevel, CustomCourseTicket, 29 29 CustomStudentStudyLevelFactory, 30 30 CustomCourseTicketFactory) 31 from kofacustom.e cns.students.interfaces import (31 from kofacustom.edocons.students.interfaces import ( 32 32 ICustomStudent, ICustomStudentStudyCourse, 33 33 ICustomStudentStudyLevel, ICustomCourseTicket) 34 from kofacustom.e cns.testing import FunctionalLayer34 from kofacustom.edocons.testing import FunctionalLayer 35 35 36 36 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/utils.py
r16589 r16615 21 21 CLEARED, RETURNING, PAID, REGISTERED, VALIDATED) 22 22 from kofacustom.nigeria.students.utils import NigeriaStudentsUtils 23 from kofacustom.e cns.interfaces import MessageFactory as _23 from kofacustom.edocons.interfaces import MessageFactory as _ 24 24 25 25 class CustomStudentsUtils(NigeriaStudentsUtils): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/viewlets.py
r16589 r16615 20 20 from waeup.kofa.interfaces import REQUESTED 21 21 from waeup.kofa.browser.viewlets import ManageActionButton 22 from kofacustom.e cns.students.interfaces import (22 from kofacustom.edocons.students.interfaces import ( 23 23 ICustomStudentStudyCourse, ICustomStudentStudyLevel) 24 24 from waeup.kofa.students.fileviewlets import ( -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/testing.py
r16589 r16615 19 19 """ 20 20 import os.path 21 import kofacustom.e cns21 import kofacustom.edocons 22 22 from zope.app.testing.functional import ZCMLLayer 23 23 24 24 ftesting_zcml = os.path.join( 25 os.path.dirname(kofacustom.e cns.__file__), 'ftesting.zcml')25 os.path.dirname(kofacustom.edocons.__file__), 'ftesting.zcml') 26 26 FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer', 27 27 allow_teardown=True) -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/tests/test_configuration.py
r16589 r16615 25 25 from waeup.kofa.tests.test_configuration import ( 26 26 ConfigurationTest, SessionConfigurationFactoryTest) 27 from kofacustom.e cns.configuration import (27 from kofacustom.edocons.configuration import ( 28 28 CustomSessionConfiguration, CustomSessionConfigurationFactory) 29 from kofacustom.e cns.interfaces import(29 from kofacustom.edocons.interfaces import( 30 30 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 31 from kofacustom.e cns.testing import FunctionalLayer31 from kofacustom.edocons.testing import FunctionalLayer 32 32 33 33 class ConfigurationTest(ConfigurationTest): -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/tests/test_datacenter.py
r16589 r16615 18 18 from waeup.kofa.datacenter import DataCenter 19 19 from waeup.kofa.testing import FunctionalTestCase 20 from kofacustom.e cns.testing import FunctionalLayer20 from kofacustom.edocons.testing import FunctionalLayer 21 21 22 22 -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/tests/test_smtp.py
r16589 r16615 33 33 send_mail) 34 34 from waeup.kofa.testing import FunctionalTestCase 35 from kofacustom.e cns.testing import FunctionalLayer35 from kofacustom.edocons.testing import FunctionalLayer 36 36 37 37 # -
main/kofacustom.edocons/trunk/src/kofacustom/edocons/utils/tests.py
r16589 r16615 17 17 ## 18 18 from waeup.kofa.testing import FunctionalTestCase 19 from kofacustom.e cns.testing import FunctionalLayer19 from kofacustom.edocons.testing import FunctionalLayer 20 20 21 21
Note: See TracChangeset for help on using the changeset viewer.