Ignore:
Timestamp:
5 Jul 2022, 07:50:56 (2 years ago)
Author:
Henrik Bettermann
Message:

Initial setup

Location:
main/kofacustom.lpng/trunk/src/kofacustom/lpng
Files:
40 edited

Legend:

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

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

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

    r16718 r16983  
    4040    PG_OMIT_EDIT_FIELDS,
    4141    )
    42 from kofacustom.skeleton.applicants.interfaces import (
     42from kofacustom.lpng.applicants.interfaces import (
    4343    ICustomPGApplicant, ICustomUGApplicant, ICustomApplicant,
    4444    ICustomPGApplicantEdit, ICustomUGApplicantEdit,
     
    4646    )
    4747
    48 from kofacustom.skeleton.interfaces import MessageFactory as _
     48from kofacustom.lpng.interfaces import MessageFactory as _
    4949
    5050class CustomApplicantEditFormPage(NigeriaApplicantEditFormPage):
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/export.py

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

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

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

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

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

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

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

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

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

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

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

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

    r15644 r16983  
    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.lpng.hostels.interfaces import ICustomHostel, ICustomBed
    2626
    2727class CustomHostel(Hostel):
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/hostels/interfaces.py

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

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

    r16724 r16983  
    2727    InterswitchPageStudent, InterswitchPageApplicant,
    2828    )
    29 from kofacustom.skeleton.students.interfaces import ICustomStudentOnlinePayment
    30 from kofacustom.skeleton.applicants.interfaces import ICustomApplicantOnlinePayment
    31 from kofacustom.skeleton.interfaces import MessageFactory as _
     29from kofacustom.lpng.students.interfaces import ICustomStudentOnlinePayment
     30from kofacustom.lpng.applicants.interfaces import ICustomApplicantOnlinePayment
     31from kofacustom.lpng.interfaces import MessageFactory as _
    3232
    3333PRODUCT_ID = '' # must be provided by Interswitch
    34 SITE_NAME = 'skeleton.waeup.org'
     34SITE_NAME = 'lpng.waeup.org'
    3535PROVIDER_ACCT = '00000000'
    3636PROVIDER_BANK_ID = '00'
    3737PROVIDER_ITEM_NAME = 'WAeAC'
    38 INSTITUTION_NAME = 'SKELETON'
     38INSTITUTION_NAME = 'LPNG'
    3939CURRENCY = '566'
    4040GATEWAY_AMT = 150.0
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/interswitch/tests.py

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

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

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

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

    r16718 r16983  
    4242    )
    4343
    44 from kofacustom.skeleton.students.interfaces import (
     44from kofacustom.lpng.students.interfaces import (
    4545    ICustomStudentOnlinePayment, ICustomStudentStudyCourse,
    4646    ICustomStudentStudyLevel)
    47 from kofacustom.skeleton.interfaces import MessageFactory as _
     47from kofacustom.lpng.interfaces import MessageFactory as _
    4848
    4949class CustomPaymentsManageFormPage(PaymentsManageFormPage):
    5050    """ Page to manage the student payments. This manage form page is for
    51     both students and students officers. SKELETON does not allow students
     51    both students and students officers. LPNG does not allow students
    5252    to remove any payment ticket.
    5353    """
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/students/export.py

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

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

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

    r16717 r16983  
    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.lpng.students.interfaces import ICustomStudent
    2929
    3030
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/students/studycourse.py

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

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

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

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

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

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

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

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

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

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

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

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