Changeset 11832 for main/kofacustom.pcn


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

Replace 'sampleuni' by 'pcn'.

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

Legend:

Unmodified
Added
Removed
  • main/kofacustom.pcn/trunk/CHANGES.txt

    r11829 r11832  
    22*******
    33
    4 1.2dev (unreleased)
     41.0dev (unreleased)
    55===================
    66
    7 * Adjust to layout changes made in base package.
    87
    9 1.1 (2014-06-24)
    10 ================
    11 
    12 * Remove waeup.kofa from sources. Use waeup.kofa PyPI package instead.
    13 
    14 * Copy layout folder from waeup.kofa. kofacustom.sampleuni uses its own Diazo
    15   layout.
    16 
    17 1.0 (2014-06-16)
    18 ================
    19 
    20 * Initial version.
  • main/kofacustom.pcn/trunk/README.txt

    r11688 r11832  
    1 waeup.sampleuni
     1waeup.pcn
    22***************
    33
    4 `waeup.sampleuni` is a Python package providing a student information
     4`waeup.pcn` is a Python package providing a student information
    55portal based on WAeUP Kofa.
    66
     
    1616The Subversion_ repository location of this package is
    1717
    18   https://svn.waeup.org/repos/main/waeup.sampleuni/
     18  https://svn.waeup.org/repos/main/waeup.pcn/
    1919
    2020.. _Subversion: http://subversion.apache.org/
  • main/kofacustom.pcn/trunk/buildout-zeo.cfg

    r11687 r11832  
    118118# See http://pypi.python.org/pypi/zc.recipe.egg for details...
    119119recipe = zc.recipe.egg
    120 eggs = kofacustom.sampleuni [beaker, diazo]
     120eggs = kofacustom.pcn [beaker, diazo]
    121121arguments = "${buildout:parts-directory}/etc/zeo1.conf"
    122122scripts = kofactl=zeo_client1
     
    125125# See http://pypi.python.org/pypi/zc.recipe.egg for details...
    126126recipe = zc.recipe.egg
    127 eggs = kofacustom.sampleuni [beaker, diazo]
     127eggs = kofacustom.pcn [beaker, diazo]
    128128arguments = "${buildout:parts-directory}/etc/zeo2.conf"
    129129scripts = kofactl=zeo_client2
  • main/kofacustom.pcn/trunk/buildout.cfg

    r11706 r11832  
    5757# number of preopened paster threads, default 10
    5858threadpool_workers = 10
    59 devel_pkg = kofacustom.sampleuni
     59devel_pkg = kofacustom.pcn
    6060
    6161[app]
    6262# This creates all scripts in bin/. The kofactl created here is 'faulty'.
    6363recipe = zc.recipe.egg
    64 eggs = kofacustom.sampleuni [beaker, diazo]
     64eggs = kofacustom.pcn [beaker, diazo]
    6565       z3c.evalexception>=2.0
    6666       Paste
     
    7676# fixed path to zdaemon.conf as argument.
    7777recipe = zc.recipe.egg
    78 eggs = kofacustom.sampleuni [beaker, diazo]
     78eggs = kofacustom.pcn [beaker, diazo]
    7979arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
    8080scripts = kofactl=kofactl
     
    9191[test]
    9292recipe = zc.recipe.testrunner
    93 eggs = kofacustom.sampleuni [beaker, test]
     93eggs = kofacustom.pcn [beaker, test]
    9494defaults = ['--tests-pattern', '^f?tests$', '-v']
    9595
     
    9797[i18n]
    9898recipe = z3c.recipe.i18n:i18n
    99 packages = kofacustom.sampleuni
    100 eggs = kofacustom.sampleuni
    101 domain = kofacustom.sampleuni
    102 output = src/kofacustom/sampleuni/locales
     99packages = kofacustom.pcn
     100eggs = kofacustom.pcn
     101domain = kofacustom.pcn
     102output = src/kofacustom/pcn/locales
    103103zcml =
    104104
     
    107107[zpasswd]
    108108recipe = z3c.recipe.dev:script
    109 eggs = kofacustom.sampleuni
     109eggs = kofacustom.pcn
    110110module = zope.app.server.zpasswd
    111111method = main
     
    175175[coverage-detect]
    176176recipe = zc.recipe.testrunner
    177 eggs = kofacustom.sampleuni[beaker]
     177eggs = kofacustom.pcn[beaker]
    178178defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
    179179
     
    196196    diazo [wsgi]
    197197    PasteScript
    198     kofacustom.sampleuni [beaker, diazo]
     198    kofacustom.pcn [beaker, diazo]
  • main/kofacustom.pcn/trunk/etc/site.zcml.in

    r11687 r11832  
    11<configure xmlns="http://namespaces.zope.org/zope"
    22           xmlns:kofa="http://namespaces.waeup.org/kofa"
    3            i18n_domain="kofacustom.sampleuni">
     3           i18n_domain="kofacustom.pcn">
    44
    5   <include package="kofacustom.sampleuni" />
    6   <include package="kofacustom.sampleuni" file="mail.zcml" />
     5  <include package="kofacustom.pcn" />
     6  <include package="kofacustom.pcn" file="mail.zcml" />
    77
    88  <!-- install job container
     
    2929      path="${buildout:directory}/var/datacenter" />
    3030
    31     <configure i18n_domain="kofacustom.sampleuni">
     31    <configure i18n_domain="kofacustom.pcn">
    3232
    3333      <unauthenticatedPrincipal id="zope.anybody"
  • main/kofacustom.pcn/trunk/setup.py

    r11709 r11832  
    4646    )
    4747
    48 setup(name = 'kofacustom.sampleuni',
     48setup(name = 'kofacustom.pcn',
    4949      version = version,
    5050      description = "A customized waeup.kofa",
  • 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.