Changeset 11832 for main/kofacustom.pcn/trunk
- Timestamp:
- 13 Oct 2014, 10:40:59 (10 years ago)
- Location:
- main/kofacustom.pcn/trunk
- Files:
-
- 40 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.pcn/trunk/CHANGES.txt
r11829 r11832 2 2 ******* 3 3 4 1. 2dev (unreleased)4 1.0dev (unreleased) 5 5 =================== 6 6 7 * Adjust to layout changes made in base package.8 7 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 Diazo15 layout.16 17 1.0 (2014-06-16)18 ================19 20 * Initial version. -
main/kofacustom.pcn/trunk/README.txt
r11688 r11832 1 waeup. sampleuni1 waeup.pcn 2 2 *************** 3 3 4 `waeup. sampleuni` is a Python package providing a student information4 `waeup.pcn` is a Python package providing a student information 5 5 portal based on WAeUP Kofa. 6 6 … … 16 16 The Subversion_ repository location of this package is 17 17 18 https://svn.waeup.org/repos/main/waeup. sampleuni/18 https://svn.waeup.org/repos/main/waeup.pcn/ 19 19 20 20 .. _Subversion: http://subversion.apache.org/ -
main/kofacustom.pcn/trunk/buildout-zeo.cfg
r11687 r11832 118 118 # See http://pypi.python.org/pypi/zc.recipe.egg for details... 119 119 recipe = zc.recipe.egg 120 eggs = kofacustom. sampleuni[beaker, diazo]120 eggs = kofacustom.pcn [beaker, diazo] 121 121 arguments = "${buildout:parts-directory}/etc/zeo1.conf" 122 122 scripts = kofactl=zeo_client1 … … 125 125 # See http://pypi.python.org/pypi/zc.recipe.egg for details... 126 126 recipe = zc.recipe.egg 127 eggs = kofacustom. sampleuni[beaker, diazo]127 eggs = kofacustom.pcn [beaker, diazo] 128 128 arguments = "${buildout:parts-directory}/etc/zeo2.conf" 129 129 scripts = kofactl=zeo_client2 -
main/kofacustom.pcn/trunk/buildout.cfg
r11706 r11832 57 57 # number of preopened paster threads, default 10 58 58 threadpool_workers = 10 59 devel_pkg = kofacustom. sampleuni59 devel_pkg = kofacustom.pcn 60 60 61 61 [app] 62 62 # This creates all scripts in bin/. The kofactl created here is 'faulty'. 63 63 recipe = zc.recipe.egg 64 eggs = kofacustom. sampleuni[beaker, diazo]64 eggs = kofacustom.pcn [beaker, diazo] 65 65 z3c.evalexception>=2.0 66 66 Paste … … 76 76 # fixed path to zdaemon.conf as argument. 77 77 recipe = zc.recipe.egg 78 eggs = kofacustom. sampleuni[beaker, diazo]78 eggs = kofacustom.pcn [beaker, diazo] 79 79 arguments = "${buildout:parts-directory}/etc/zdaemon.conf" 80 80 scripts = kofactl=kofactl … … 91 91 [test] 92 92 recipe = zc.recipe.testrunner 93 eggs = kofacustom. sampleuni[beaker, test]93 eggs = kofacustom.pcn [beaker, test] 94 94 defaults = ['--tests-pattern', '^f?tests$', '-v'] 95 95 … … 97 97 [i18n] 98 98 recipe = z3c.recipe.i18n:i18n 99 packages = kofacustom. sampleuni100 eggs = kofacustom. sampleuni101 domain = kofacustom. sampleuni102 output = src/kofacustom/ sampleuni/locales99 packages = kofacustom.pcn 100 eggs = kofacustom.pcn 101 domain = kofacustom.pcn 102 output = src/kofacustom/pcn/locales 103 103 zcml = 104 104 … … 107 107 [zpasswd] 108 108 recipe = z3c.recipe.dev:script 109 eggs = kofacustom. sampleuni109 eggs = kofacustom.pcn 110 110 module = zope.app.server.zpasswd 111 111 method = main … … 175 175 [coverage-detect] 176 176 recipe = zc.recipe.testrunner 177 eggs = kofacustom. sampleuni[beaker]177 eggs = kofacustom.pcn[beaker] 178 178 defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] 179 179 … … 196 196 diazo [wsgi] 197 197 PasteScript 198 kofacustom. sampleuni[beaker, diazo]198 kofacustom.pcn [beaker, diazo] -
main/kofacustom.pcn/trunk/etc/site.zcml.in
r11687 r11832 1 1 <configure xmlns="http://namespaces.zope.org/zope" 2 2 xmlns:kofa="http://namespaces.waeup.org/kofa" 3 i18n_domain="kofacustom. sampleuni">3 i18n_domain="kofacustom.pcn"> 4 4 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" /> 7 7 8 8 <!-- install job container … … 29 29 path="${buildout:directory}/var/datacenter" /> 30 30 31 <configure i18n_domain="kofacustom. sampleuni">31 <configure i18n_domain="kofacustom.pcn"> 32 32 33 33 <unauthenticatedPrincipal id="zope.anybody" -
main/kofacustom.pcn/trunk/setup.py
r11709 r11832 46 46 ) 47 47 48 setup(name = 'kofacustom. sampleuni',48 setup(name = 'kofacustom.pcn', 49 49 version = version, 50 50 description = "A customized waeup.kofa", -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/applicant.py
r11687 r11832 22 22 from waeup.kofa.utils.helpers import attrs_to_fields 23 23 from waeup.kofa.applicants.applicant import Applicant 24 from kofacustom. sampleuni.applicants.interfaces import(24 from kofacustom.pcn.applicants.interfaces import( 25 25 ICustomApplicant, ICustomApplicantEdit) 26 26 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/batching.py
r11687 r11832 20 20 from waeup.kofa.utils.batching import BatchProcessor 21 21 from waeup.kofa.applicants.batching import ApplicantProcessor 22 from kofacustom. sampleuni.applicants.interfaces import ICustomApplicant22 from kofacustom.pcn.applicants.interfaces import ICustomApplicant 23 23 24 24 class CustomApplicantProcessor(ApplicantProcessor): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/browser.py
r11687 r11832 21 21 from waeup.kofa.applicants.browser import ( 22 22 ApplicantRegistrationPage, ApplicantsContainerPage) 23 from kofacustom. sampleuni.interfaces import MessageFactory as _23 from kofacustom.pcn.interfaces import MessageFactory as _ 24 24 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/export.py
r11687 r11832 21 21 from waeup.kofa.applicants.interfaces import IApplicantBaseData 22 22 from waeup.kofa.applicants.export import ApplicantsExporter 23 from kofacustom. sampleuni.applicants.interfaces import ICustomApplicant23 from kofacustom.pcn.applicants.interfaces import ICustomApplicant 24 24 25 25 class CustomApplicantsExporter(ApplicantsExporter): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/interfaces.py
r11687 r11832 24 24 IApplicantEdit, 25 25 ) 26 from kofacustom. sampleuni.interfaces import MessageFactory as _26 from kofacustom.pcn.interfaces import MessageFactory as _ 27 27 28 28 class ICustomApplicant(IApplicantBaseData): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/payment.py
r11687 r11832 24 24 from waeup.kofa.applicants.payment import ApplicantOnlinePayment 25 25 from waeup.kofa.utils.helpers import attrs_to_fields 26 from kofacustom. sampleuni.applicants.interfaces import ICustomApplicantOnlinePayment26 from kofacustom.pcn.applicants.interfaces import ICustomApplicantOnlinePayment 27 27 28 28 class CustomApplicantOnlinePayment(ApplicantOnlinePayment): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/tests/test_applicant.py
r11687 r11832 30 30 from waeup.kofa.interfaces import IFileStoreHandler, IFileStoreNameChooser 31 31 from waeup.kofa.testing import FunctionalTestCase 32 from kofacustom. sampleuni.applicants.applicant import (32 from kofacustom.pcn.applicants.applicant import ( 33 33 CustomApplicant, CustomApplicantFactory, 34 34 ) 35 from kofacustom. sampleuni.applicants.interfaces import ICustomApplicant36 from kofacustom. sampleuni.testing import FunctionalLayer35 from kofacustom.pcn.applicants.interfaces import ICustomApplicant 36 from kofacustom.pcn.testing import FunctionalLayer 37 37 38 38 class CustomApplicantTest(FunctionalTestCase): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/tests/test_browser.py
r11687 r11832 24 24 from zope.catalog.interfaces import ICatalog 25 25 from zope.intid.interfaces import IIntIds 26 from kofacustom. sampleuni.testing import FunctionalLayer26 from kofacustom.pcn.testing import FunctionalLayer 27 27 from waeup.kofa.schoolgrades import ResultEntry 28 28 from waeup.kofa.utils.utils import KofaUtils 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. sampleuni.applicants.export import CustomApplicantsExporter32 from kofacustom. sampleuni.applicants.batching import CustomApplicantProcessor31 from kofacustom.pcn.applicants.export import CustomApplicantsExporter 32 from kofacustom.pcn.applicants.batching import CustomApplicantProcessor 33 33 34 34 class CustomApplicantUITests(ApplicantsFullSetup): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/utils.py
r11687 r11832 20 20 21 21 from waeup.kofa.applicants.utils import ApplicantsUtils 22 from kofacustom. sampleuni.interfaces import MessageFactory as _22 from kofacustom.pcn.interfaces import MessageFactory as _ 23 23 24 24 class ApplicantsUtils(ApplicantsUtils): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser/pages.py
r11687 r11832 21 21 LoginPage, CertificatePage, CertificateManageFormPage) 22 22 from waeup.kofa.university.interfaces import ICertificate 23 from kofacustom. sampleuni.interfaces import (23 from kofacustom.pcn.interfaces import ( 24 24 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 25 25 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser/tests.py
r11687 r11832 22 22 from zope.security.interfaces import Unauthorized 23 23 from waeup.kofa.testing import FunctionalTestCase 24 from kofacustom. sampleuni.testing import FunctionalLayer24 from kofacustom.pcn.testing import FunctionalLayer 25 25 from waeup.kofa.app import University 26 26 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/configuration.py
r11687 r11832 24 24 from waeup.kofa.configuration import ( 25 25 SessionConfigurationFactory, SessionConfiguration) 26 from kofacustom. sampleuni.interfaces import (26 from kofacustom.pcn.interfaces import ( 27 27 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 28 28 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/configure.zcml
r11687 r11832 1 1 <configure xmlns="http://namespaces.zope.org/zope" 2 2 xmlns:grok="http://namespaces.zope.org/grok"> 3 <include package="kofacustom. sampleuni" file="locales.zcml" />3 <include package="kofacustom.pcn" file="locales.zcml" /> 4 4 5 5 <include package="waeup.kofa" /> -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/ftesting.zcml
r11687 r11832 2 2 xmlns="http://namespaces.zope.org/zope" 3 3 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" 6 6 > 7 7 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"/> 10 10 11 11 <!-- Where should the datacenter reside by default? --> -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/interfaces.py
r11687 r11832 23 23 ISessionConfiguration, academic_sessions_vocab) 24 24 25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom. sampleuni')25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.pcn') 26 26 27 27 # It's recommended to replicate all fields from the base package here. -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/payments/interfaces.py
r11687 r11832 19 19 from zope import schema 20 20 from waeup.kofa.payments.interfaces import IOnlinePayment 21 from kofacustom. sampleuni.interfaces import MessageFactory as _21 from kofacustom.pcn.interfaces import MessageFactory as _ 22 22 23 23 class ICustomOnlinePayment(IOnlinePayment): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/batching.py
r11687 r11832 24 24 students, studycourses, payment tickets and accommodation tickets. 25 25 """ 26 from kofacustom. sampleuni.students.interfaces import (26 from kofacustom.pcn.students.interfaces import ( 27 27 ICustomStudent, ICustomStudentUpdateByRegNo, 28 28 ICustomStudentUpdateByMatricNo, -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/browser.py
r11687 r11832 32 32 from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket 33 33 from waeup.kofa.students.workflow import FORBIDDEN_POSTGRAD_TRANS 34 from kofacustom. sampleuni.students.interfaces import (34 from kofacustom.pcn.students.interfaces import ( 35 35 ICustomStudentOnlinePayment, ICustomStudentStudyCourse, 36 36 ICustomStudentStudyLevel) 37 from kofacustom. sampleuni.interfaces import MessageFactory as _37 from kofacustom.pcn.interfaces import MessageFactory as _ 38 38 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/export.py
r11687 r11832 18 18 """Exporters for student related stuff. 19 19 """ 20 from kofacustom. sampleuni.students.interfaces import (20 from kofacustom.pcn.students.interfaces import ( 21 21 ICustomStudent, 22 22 ICustomStudentStudyCourse, -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/interfaces.py
r11687 r11832 24 24 IStudentUpdateByRegNo, IStudentUpdateByMatricNo, 25 25 ) 26 from kofacustom. sampleuni.payments.interfaces import ICustomOnlinePayment27 from kofacustom. sampleuni.interfaces import MessageFactory as _26 from kofacustom.pcn.payments.interfaces import ICustomOnlinePayment 27 from kofacustom.pcn.interfaces import MessageFactory as _ 28 28 29 29 class ICustomStudentBase(IStudentBase): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/payments.py
r11687 r11832 26 26 StudentOnlinePayment, StudentOnlinePaymentFactory) 27 27 from waeup.kofa.utils.helpers import attrs_to_fields 28 from kofacustom. sampleuni.students.interfaces import ICustomStudentOnlinePayment28 from kofacustom.pcn.students.interfaces import ICustomStudentOnlinePayment 29 29 30 30 class CustomStudentOnlinePayment(StudentOnlinePayment): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/student.py
r11687 r11832 26 26 from waeup.kofa.utils.helpers import get_current_principal 27 27 from waeup.kofa.students.student import Student 28 from kofacustom. sampleuni.students.interfaces import ICustomStudent28 from kofacustom.pcn.students.interfaces import ICustomStudent 29 29 30 30 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/studycourse.py
r11687 r11832 27 27 from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID 28 28 from waeup.kofa.students.studycourse import StudentStudyCourse 29 from kofacustom. sampleuni.students.interfaces import ICustomStudentStudyCourse29 from kofacustom.pcn.students.interfaces import ICustomStudentStudyCourse 30 30 31 31 class CustomStudentStudyCourse(StudentStudyCourse): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/studylevel.py
r11687 r11832 28 28 CourseTicketFactory, StudentStudyLevelFactory) 29 29 from waeup.kofa.students.interfaces import IStudentNavigation 30 from kofacustom. sampleuni.students.interfaces import (30 from kofacustom.pcn.students.interfaces import ( 31 31 ICustomStudentStudyLevel, ICustomCourseTicket) 32 32 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/tests/test_browser.py
r11687 r11832 34 34 IExtFileStore, IFileStoreNameChooser) 35 35 from waeup.kofa.students.interfaces import IStudentsUtils 36 from kofacustom. sampleuni.testing import FunctionalLayer36 from kofacustom.pcn.testing import FunctionalLayer 37 37 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/tests/test_export.py
r11687 r11832 5 5 from waeup.kofa.schoolgrades import ResultEntry 6 6 from waeup.kofa.students.tests.test_batching import StudentImportExportSetup 7 from kofacustom. sampleuni.utils.utils import CustomKofaUtils8 from kofacustom. sampleuni.students.export import (7 from kofacustom.pcn.utils.utils import CustomKofaUtils 8 from kofacustom.pcn.students.export import ( 9 9 CustomStudentsExporter, CustomStudentPaymentsExporter) 10 from kofacustom. sampleuni.testing import FunctionalLayer10 from kofacustom.pcn.testing import FunctionalLayer 11 11 12 12 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/tests/test_student.py
r11687 r11832 22 22 from zope.interface import verify 23 23 from waeup.kofa.testing import FunctionalTestCase 24 from kofacustom. sampleuni.students.student import CustomStudent, CustomStudentFactory25 from kofacustom. sampleuni.students.studycourse import (24 from kofacustom.pcn.students.student import CustomStudent, CustomStudentFactory 25 from kofacustom.pcn.students.studycourse import ( 26 26 CustomStudentStudyCourse, CustomStudentStudyCourseFactory) 27 from kofacustom. sampleuni.students.studylevel import (27 from kofacustom.pcn.students.studylevel import ( 28 28 CustomStudentStudyLevel, CustomCourseTicket, 29 29 CustomStudentStudyLevelFactory, 30 30 CustomCourseTicketFactory) 31 from kofacustom. sampleuni.students.interfaces import (31 from kofacustom.pcn.students.interfaces import ( 32 32 ICustomStudent, ICustomStudentStudyCourse, 33 33 ICustomStudentStudyLevel, ICustomCourseTicket) 34 from kofacustom. sampleuni.testing import FunctionalLayer34 from kofacustom.pcn.testing import FunctionalLayer 35 35 36 36 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/utils.py
r11687 r11832 21 21 CLEARED, RETURNING, PAID, REGISTERED, VALIDATED) 22 22 from waeup.kofa.students.utils import StudentsUtils 23 from kofacustom. sampleuni.interfaces import MessageFactory as _23 from kofacustom.pcn.interfaces import MessageFactory as _ 24 24 25 25 class CustomStudentsUtils(StudentsUtils): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/students/viewlets.py
r11687 r11832 20 20 from waeup.kofa.interfaces import REQUESTED 21 21 from waeup.kofa.browser.viewlets import ManageActionButton 22 from kofacustom. sampleuni.students.interfaces import (22 from kofacustom.pcn.students.interfaces import ( 23 23 ICustomStudentStudyCourse, ICustomStudentStudyLevel) 24 24 from waeup.kofa.students.viewlets import ( -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/testing.py
r11687 r11832 19 19 """ 20 20 import os.path 21 import kofacustom. sampleuni21 import kofacustom.pcn 22 22 from zope.app.testing.functional import ZCMLLayer 23 23 24 24 ftesting_zcml = os.path.join( 25 os.path.dirname(kofacustom. sampleuni.__file__), 'ftesting.zcml')25 os.path.dirname(kofacustom.pcn.__file__), 'ftesting.zcml') 26 26 FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer', 27 27 allow_teardown=True) -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/tests/test_configuration.py
r11687 r11832 25 25 from waeup.kofa.tests.test_configuration import ( 26 26 ConfigurationTest, SessionConfigurationFactoryTest) 27 from kofacustom. sampleuni.configuration import (27 from kofacustom.pcn.configuration import ( 28 28 CustomSessionConfiguration, CustomSessionConfigurationFactory) 29 from kofacustom. sampleuni.interfaces import(29 from kofacustom.pcn.interfaces import( 30 30 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 31 from kofacustom. sampleuni.testing import FunctionalLayer31 from kofacustom.pcn.testing import FunctionalLayer 32 32 33 33 class ConfigurationTest(ConfigurationTest): -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/tests/test_datacenter.py
r11687 r11832 18 18 from waeup.kofa.datacenter import DataCenter 19 19 from waeup.kofa.testing import FunctionalTestCase 20 from kofacustom. sampleuni.testing import FunctionalLayer20 from kofacustom.pcn.testing import FunctionalLayer 21 21 22 22 -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/tests/test_smtp.py
r11687 r11832 33 33 send_mail) 34 34 from waeup.kofa.testing import FunctionalTestCase 35 from kofacustom. sampleuni.testing import FunctionalLayer35 from kofacustom.pcn.testing import FunctionalLayer 36 36 37 37 # -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/utils/tests.py
r11687 r11832 17 17 ## 18 18 from waeup.kofa.testing import FunctionalTestCase 19 from kofacustom. sampleuni.testing import FunctionalLayer19 from kofacustom.pcn.testing import FunctionalLayer 20 20 21 21
Note: See TracChangeset for help on using the changeset viewer.