Ignore:
Timestamp:
13 Oct 2014, 10:40:59 (10 years ago)
Author:
Henrik Bettermann
Message:

Replace 'sampleuni' by 'pcn'.

Location:
main/kofacustom.pcn/trunk/src/kofacustom/pcn
Files:
34 edited
1 moved

Legend:

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

    r11687 r11832  
    2222from waeup.kofa.utils.helpers import attrs_to_fields
    2323from waeup.kofa.applicants.applicant import Applicant
    24 from kofacustom.sampleuni.applicants.interfaces import(
     24from kofacustom.pcn.applicants.interfaces import(
    2525    ICustomApplicant, ICustomApplicantEdit)
    2626
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/batching.py

    r11687 r11832  
    2020from waeup.kofa.utils.batching import BatchProcessor
    2121from waeup.kofa.applicants.batching import ApplicantProcessor
    22 from kofacustom.sampleuni.applicants.interfaces import ICustomApplicant
     22from kofacustom.pcn.applicants.interfaces import ICustomApplicant
    2323
    2424class CustomApplicantProcessor(ApplicantProcessor):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/browser.py

    r11687 r11832  
    2121from waeup.kofa.applicants.browser import (
    2222    ApplicantRegistrationPage, ApplicantsContainerPage)
    23 from kofacustom.sampleuni.interfaces import MessageFactory as _
     23from kofacustom.pcn.interfaces import MessageFactory as _
    2424
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/export.py

    r11687 r11832  
    2121from waeup.kofa.applicants.interfaces import IApplicantBaseData
    2222from waeup.kofa.applicants.export import ApplicantsExporter
    23 from kofacustom.sampleuni.applicants.interfaces import ICustomApplicant
     23from kofacustom.pcn.applicants.interfaces import ICustomApplicant
    2424
    2525class CustomApplicantsExporter(ApplicantsExporter):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/interfaces.py

    r11687 r11832  
    2424    IApplicantEdit,
    2525    )
    26 from kofacustom.sampleuni.interfaces import MessageFactory as _
     26from kofacustom.pcn.interfaces import MessageFactory as _
    2727
    2828class ICustomApplicant(IApplicantBaseData):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/payment.py

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

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

    r11687 r11832  
    2424from zope.catalog.interfaces import ICatalog
    2525from zope.intid.interfaces import IIntIds
    26 from kofacustom.sampleuni.testing import FunctionalLayer
     26from kofacustom.pcn.testing import FunctionalLayer
    2727from waeup.kofa.schoolgrades import ResultEntry
    2828from waeup.kofa.utils.utils import KofaUtils
    2929from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
    3030from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup
    31 from kofacustom.sampleuni.applicants.export import CustomApplicantsExporter
    32 from kofacustom.sampleuni.applicants.batching import CustomApplicantProcessor
     31from kofacustom.pcn.applicants.export import CustomApplicantsExporter
     32from kofacustom.pcn.applicants.batching import CustomApplicantProcessor
    3333
    3434class CustomApplicantUITests(ApplicantsFullSetup):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/utils.py

    r11687 r11832  
    2020
    2121from waeup.kofa.applicants.utils import ApplicantsUtils
    22 from kofacustom.sampleuni.interfaces import MessageFactory as _
     22from kofacustom.pcn.interfaces import MessageFactory as _
    2323
    2424class ApplicantsUtils(ApplicantsUtils):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser/pages.py

    r11687 r11832  
    2121    LoginPage, CertificatePage, CertificateManageFormPage)
    2222from waeup.kofa.university.interfaces import ICertificate
    23 from kofacustom.sampleuni.interfaces import (
     23from kofacustom.pcn.interfaces import (
    2424    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
    2525
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser/tests.py

    r11687 r11832  
    2222from zope.security.interfaces import Unauthorized
    2323from waeup.kofa.testing import FunctionalTestCase
    24 from kofacustom.sampleuni.testing import FunctionalLayer
     24from kofacustom.pcn.testing import FunctionalLayer
    2525from waeup.kofa.app import University
    2626
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/configuration.py

    r11687 r11832  
    2424from waeup.kofa.configuration import (
    2525    SessionConfigurationFactory, SessionConfiguration)
    26 from kofacustom.sampleuni.interfaces import (
     26from kofacustom.pcn.interfaces import (
    2727    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
    2828
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/configure.zcml

    r11687 r11832  
    11<configure xmlns="http://namespaces.zope.org/zope"
    22           xmlns:grok="http://namespaces.zope.org/grok">
    3   <include package="kofacustom.sampleuni" file="locales.zcml" />
     3  <include package="kofacustom.pcn" file="locales.zcml" />
    44
    55  <include package="waeup.kofa" />
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/ftesting.zcml

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

    r11687 r11832  
    2323    ISessionConfiguration, academic_sessions_vocab)
    2424
    25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.sampleuni')
     25_ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.pcn')
    2626
    2727# It's recommended to replicate all fields from the base package here.
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/payments/interfaces.py

    r11687 r11832  
    1919from zope import schema
    2020from waeup.kofa.payments.interfaces import IOnlinePayment
    21 from kofacustom.sampleuni.interfaces import MessageFactory as _
     21from kofacustom.pcn.interfaces import MessageFactory as _
    2222
    2323class ICustomOnlinePayment(IOnlinePayment):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/batching.py

    r11687 r11832  
    2424students, studycourses, payment tickets and accommodation tickets.
    2525"""
    26 from kofacustom.sampleuni.students.interfaces import (
     26from kofacustom.pcn.students.interfaces import (
    2727    ICustomStudent, ICustomStudentUpdateByRegNo,
    2828    ICustomStudentUpdateByMatricNo,
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/browser.py

    r11687 r11832  
    3232from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket
    3333from waeup.kofa.students.workflow import FORBIDDEN_POSTGRAD_TRANS
    34 from kofacustom.sampleuni.students.interfaces import (
     34from kofacustom.pcn.students.interfaces import (
    3535    ICustomStudentOnlinePayment, ICustomStudentStudyCourse,
    3636    ICustomStudentStudyLevel)
    37 from kofacustom.sampleuni.interfaces import MessageFactory as _
     37from kofacustom.pcn.interfaces import MessageFactory as _
    3838
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/export.py

    r11687 r11832  
    1818"""Exporters for student related stuff.
    1919"""
    20 from kofacustom.sampleuni.students.interfaces import (
     20from kofacustom.pcn.students.interfaces import (
    2121    ICustomStudent,
    2222    ICustomStudentStudyCourse,
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/interfaces.py

    r11687 r11832  
    2424    IStudentUpdateByRegNo, IStudentUpdateByMatricNo,
    2525    )
    26 from kofacustom.sampleuni.payments.interfaces import ICustomOnlinePayment
    27 from kofacustom.sampleuni.interfaces import MessageFactory as _
     26from kofacustom.pcn.payments.interfaces import ICustomOnlinePayment
     27from kofacustom.pcn.interfaces import MessageFactory as _
    2828
    2929class ICustomStudentBase(IStudentBase):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/payments.py

    r11687 r11832  
    2626    StudentOnlinePayment, StudentOnlinePaymentFactory)
    2727from waeup.kofa.utils.helpers import attrs_to_fields
    28 from kofacustom.sampleuni.students.interfaces import ICustomStudentOnlinePayment
     28from kofacustom.pcn.students.interfaces import ICustomStudentOnlinePayment
    2929
    3030class CustomStudentOnlinePayment(StudentOnlinePayment):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/student.py

    r11687 r11832  
    2626from waeup.kofa.utils.helpers import get_current_principal
    2727from waeup.kofa.students.student import Student
    28 from kofacustom.sampleuni.students.interfaces import ICustomStudent
     28from kofacustom.pcn.students.interfaces import ICustomStudent
    2929
    3030
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/studycourse.py

    r11687 r11832  
    2727from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID
    2828from waeup.kofa.students.studycourse import StudentStudyCourse
    29 from kofacustom.sampleuni.students.interfaces import ICustomStudentStudyCourse
     29from kofacustom.pcn.students.interfaces import ICustomStudentStudyCourse
    3030
    3131class CustomStudentStudyCourse(StudentStudyCourse):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/studylevel.py

    r11687 r11832  
    2828    CourseTicketFactory, StudentStudyLevelFactory)
    2929from waeup.kofa.students.interfaces import IStudentNavigation
    30 from kofacustom.sampleuni.students.interfaces import (
     30from kofacustom.pcn.students.interfaces import (
    3131    ICustomStudentStudyLevel, ICustomCourseTicket)
    3232
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/tests/test_browser.py

    r11687 r11832  
    3434    IExtFileStore, IFileStoreNameChooser)
    3535from waeup.kofa.students.interfaces import IStudentsUtils
    36 from kofacustom.sampleuni.testing import FunctionalLayer
     36from kofacustom.pcn.testing import FunctionalLayer
    3737
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/tests/test_export.py

    r11687 r11832  
    55from waeup.kofa.schoolgrades import ResultEntry
    66from waeup.kofa.students.tests.test_batching import StudentImportExportSetup
    7 from kofacustom.sampleuni.utils.utils import CustomKofaUtils
    8 from kofacustom.sampleuni.students.export import (
     7from kofacustom.pcn.utils.utils import CustomKofaUtils
     8from kofacustom.pcn.students.export import (
    99    CustomStudentsExporter, CustomStudentPaymentsExporter)
    10 from kofacustom.sampleuni.testing import FunctionalLayer
     10from kofacustom.pcn.testing import FunctionalLayer
    1111
    1212
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/tests/test_student.py

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

    r11687 r11832  
    2121    CLEARED, RETURNING, PAID, REGISTERED, VALIDATED)
    2222from waeup.kofa.students.utils import StudentsUtils
    23 from kofacustom.sampleuni.interfaces import MessageFactory as _
     23from kofacustom.pcn.interfaces import MessageFactory as _
    2424
    2525class CustomStudentsUtils(StudentsUtils):
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/viewlets.py

    r11687 r11832  
    2020from waeup.kofa.interfaces import REQUESTED
    2121from waeup.kofa.browser.viewlets import ManageActionButton
    22 from kofacustom.sampleuni.students.interfaces import (
     22from kofacustom.pcn.students.interfaces import (
    2323    ICustomStudentStudyCourse, ICustomStudentStudyLevel)
    2424from waeup.kofa.students.viewlets import (
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/testing.py

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

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

    r11687 r11832  
    1818from waeup.kofa.datacenter import DataCenter
    1919from waeup.kofa.testing import FunctionalTestCase
    20 from kofacustom.sampleuni.testing import FunctionalLayer
     20from kofacustom.pcn.testing import FunctionalLayer
    2121
    2222
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/tests/test_smtp.py

    r11687 r11832  
    3333    send_mail)
    3434from waeup.kofa.testing import FunctionalTestCase
    35 from kofacustom.sampleuni.testing import FunctionalLayer
     35from kofacustom.pcn.testing import FunctionalLayer
    3636
    3737#
  • main/kofacustom.pcn/trunk/src/kofacustom/pcn/utils/tests.py

    r11687 r11832  
    1717##
    1818from waeup.kofa.testing import FunctionalTestCase
    19 from kofacustom.sampleuni.testing import FunctionalLayer
     19from kofacustom.pcn.testing import FunctionalLayer
    2020
    2121
Note: See TracChangeset for help on using the changeset viewer.