Changeset 8460
- Timestamp:
- 16 May 2012, 13:10:04 (13 years ago)
- Location:
- main/waeup.fceokene/trunk
- Files:
-
- 6 deleted
- 48 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/README-zeo.txt
r8035 r8460 1 Deploying waeup. unibenas ZEO-install1 Deploying waeup.fceokene as ZEO-install 2 2 ************************************* 3 3 … … 14 14 ======================== 15 15 16 To install waeup. unibenZEO-based you can run `buildout` with the given16 To install waeup.fceokene ZEO-based you can run `buildout` with the given 17 17 (or your own) configuration file like this:: 18 18 -
main/waeup.fceokene/trunk/buildout-windows.cfg
r8360 r8460 25 25 # This creates only the paster script in bin/. 26 26 recipe = zc.recipe.egg 27 eggs = waeup. uniben27 eggs = waeup.fceokene 28 28 z3c.evalexception>=2.0 29 29 Paste -
main/waeup.fceokene/trunk/buildout-zeo.cfg
r8061 r8460 42 42 zeo.conf = 43 43 <zeo> 44 address 70 1044 address 7030 45 45 </zeo> 46 46 <blobstorage 1> … … 112 112 # See http://pypi.python.org/pypi/zc.recipe.egg for details... 113 113 recipe = zc.recipe.egg 114 eggs = waeup. uniben[beaker]114 eggs = waeup.fceokene [beaker] 115 115 arguments = "${buildout:parts-directory}/etc/zeo1.conf" 116 116 scripts = kofactl=zeo_client1 … … 119 119 # See http://pypi.python.org/pypi/zc.recipe.egg for details... 120 120 recipe = zc.recipe.egg 121 eggs = waeup. uniben[beaker]121 eggs = waeup.fceokene [beaker] 122 122 arguments = "${buildout:parts-directory}/etc/zeo2.conf" 123 123 scripts = kofactl=zeo_client2 -
main/waeup.fceokene/trunk/buildout.cfg
r8360 r8460 34 34 # This creates all scripts in bin/. The kofactl created here is 'faulty'. 35 35 recipe = zc.recipe.egg 36 eggs = waeup. uniben[beaker]36 eggs = waeup.fceokene [beaker] 37 37 z3c.evalexception>=2.0 38 38 Paste … … 47 47 # fixed path to zdaemon.conf as argument. 48 48 recipe = zc.recipe.egg 49 eggs = waeup. uniben[beaker]49 eggs = waeup.fceokene [beaker] 50 50 arguments = "${buildout:parts-directory}/etc/zdaemon.conf" 51 51 scripts = kofactl=kofactl … … 62 62 [test] 63 63 recipe = zc.recipe.testrunner 64 eggs = waeup. uniben[beaker, test]64 eggs = waeup.fceokene [beaker, test] 65 65 defaults = ['--tests-pattern', '^f?tests$', '-v'] 66 66 … … 68 68 [i18n] 69 69 recipe = z3c.recipe.i18n:i18n 70 packages = waeup. uniben71 eggs = waeup. uniben72 domain = waeup. uniben73 output = src/waeup/ uniben/locales70 packages = waeup.fceokene 71 eggs = waeup.fceokene 72 domain = waeup.fceokene 73 output = src/waeup/fceokene/locales 74 74 zcml = 75 75 … … 78 78 [zpasswd] 79 79 recipe = z3c.recipe.dev:script 80 eggs = waeup. uniben80 eggs = waeup.fceokene 81 81 module = zope.app.server.zpasswd 82 82 method = main … … 135 135 [waeupdocs] 136 136 recipe = collective.recipe.sphinxbuilder 137 eggs = waeup. uniben[docs]137 eggs = waeup.fceokene[docs] 138 138 source = ${buildout:directory}/docs/source 139 139 build = ${buildout:directory}/docs/build … … 142 142 [coverage-detect] 143 143 recipe = zc.recipe.testrunner 144 eggs = waeup. uniben[beaker]144 eggs = waeup.fceokene[beaker] 145 145 defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] 146 146 -
main/waeup.fceokene/trunk/etc/zeo1.ini.in
r8061 r8460 54 54 use = egg:Paste#http 55 55 host = 0.0.0.0 56 port = 70 1156 port = 7031 57 57 threadpool_workers = 50 58 58 use_threadpool = True -
main/waeup.fceokene/trunk/etc/zeo2.ini.in
r8061 r8460 54 54 use = egg:Paste#http 55 55 host = 0.0.0.0 56 port = 70 1256 port = 7032 57 57 threadpool_workers = 50 58 58 use_threadpool = True -
main/waeup.fceokene/trunk/etc/zope_zeo1.conf.in
r8133 r8460 24 24 # Uncomment this if you want to connect to a ZEO server instead: 25 25 <zeoclient> 26 server localhost:70 1026 server localhost:7030 27 27 storage 1 28 28 # ZEO client cache, in bytes -
main/waeup.fceokene/trunk/etc/zope_zeo2.conf.in
r8133 r8460 24 24 # Uncomment this if you want to connect to a ZEO server instead: 25 25 <zeoclient> 26 server localhost:70 1026 server localhost:7030 27 27 storage 1 28 28 # ZEO client cache, in bytes -
main/waeup.fceokene/trunk/setup.py
r8443 r8460 43 43 read('README.txt') 44 44 + '\n\n' 45 + read('src', 'waeup', ' uniben', 'README.txt')45 + read('src', 'waeup', 'fceokene', 'README.txt') 46 46 + '\n\n' 47 47 + read('CHANGES.txt') … … 51 51 ) 52 52 53 setup(name = 'waeup. uniben',53 setup(name = 'waeup.fceokene', 54 54 version = version, 55 55 description = "A customized waeup.kofa", … … 89 89 # Add entry points here 90 90 [hurry.resource.libraries] 91 waeup_custom = waeup. uniben.browser.resources:waeup_custom91 waeup_custom = waeup.fceokene.browser.resources:waeup_custom 92 92 [console_scripts] 93 93 kofa-debug = grokcore.startup:interactive_debug_prompt -
main/waeup.fceokene/trunk/src/waeup/fceokene/README.txt
r8020 r8460 1 The waeup. unibenpackage1 The waeup.fceokene package 2 2 ************************ 3 3 -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/applicant.py
r8204 r8460 21 21 from waeup.kofa.applicants.applicant import Applicant, ApplicantFactory 22 22 from waeup.kofa.utils.helpers import attrs_to_fields 23 from waeup. uniben.applicants.interfaces import(23 from waeup.fceokene.applicants.interfaces import( 24 24 ICustomApplicant, IUGApplicantEdit, IPGApplicantEdit) 25 25 -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/batching.py
r8378 r8460 21 21 from waeup.kofa.utils.batching import BatchProcessor 22 22 from waeup.kofa.applicants.batching import ApplicantProcessor 23 from waeup. uniben.applicants.interfaces import ICustomApplicant23 from waeup.fceokene.applicants.interfaces import ICustomApplicant 24 24 25 25 class CustomApplicantProcessor(ApplicantProcessor): -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/browser.py
r8421 r8460 35 35 PaymentReceiptActionButton) 36 36 from waeup.kofa.applicants.pdf import PDFApplicationSlip 37 from waeup. uniben.applicants.interfaces import (37 from waeup.fceokene.applicants.interfaces import ( 38 38 IPGApplicant, IUGApplicant, IPGApplicantEdit, IUGApplicantEdit, 39 39 ICustomApplicantOnlinePayment) 40 from waeup. uniben.interfaces import MessageFactory as _40 from waeup.fceokene.interfaces import MessageFactory as _ 41 41 42 42 #class RequestCallbackActionButton(RequestCallbackActionButton): -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/export.py
r8441 r8460 21 21 from waeup.kofa.applicants.interfaces import IApplicantBaseData 22 22 from waeup.kofa.applicants.export import ApplicantsExporter 23 from waeup. uniben.applicants.interfaces import IUGApplicant, IPGApplicant23 from waeup.fceokene.applicants.interfaces import IUGApplicant, IPGApplicant 24 24 25 25 class CustomApplicantsExporter(ApplicantsExporter): -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py
r8454 r8460 27 27 from waeup.kofa.schema import FormattedDate 28 28 from waeup.kofa.students.vocabularies import nats_vocab 29 from waeup. uniben.interfaces import (29 from waeup.fceokene.interfaces import ( 30 30 lgas_vocab, high_qual, high_grade, exam_types) 31 from waeup. uniben.interfaces import MessageFactory as _32 from waeup. uniben.payments.interfaces import ICustomOnlinePayment31 from waeup.fceokene.interfaces import MessageFactory as _ 32 from waeup.fceokene.payments.interfaces import ICustomOnlinePayment 33 33 34 34 class IUGApplicant(IApplicantBaseData): -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/payment.py
r8421 r8460 24 24 from waeup.kofa.applicants.payment import ApplicantOnlinePayment 25 25 from waeup.kofa.utils.helpers import attrs_to_fields 26 from waeup. uniben.applicants.interfaces import ICustomApplicantOnlinePayment26 from waeup.fceokene.applicants.interfaces import ICustomApplicantOnlinePayment 27 27 28 28 class CustomApplicantOnlinePayment(ApplicantOnlinePayment): -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/tests.py
r8196 r8460 33 33 from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup 34 34 from waeup.kofa.interfaces import IBatchProcessor 35 from waeup. uniben.testing import FunctionalLayer36 from waeup. uniben.applicants.export import CustomApplicantsExporter35 from waeup.fceokene.testing import FunctionalLayer 36 from waeup.fceokene.applicants.export import CustomApplicantsExporter 37 37 38 38 -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/utils.py
r8430 r8460 23 23 from hurry.workflow.interfaces import IWorkflowInfo, InvalidTransitionError 24 24 from waeup.kofa.applicants.utils import ApplicantsUtils 25 from waeup. uniben.interfaces import MessageFactory as _25 from waeup.fceokene.interfaces import MessageFactory as _ 26 26 27 27 -
main/waeup.fceokene/trunk/src/waeup/fceokene/browser/pages.py
r8247 r8460 19 19 from waeup.kofa.browser.pages import ( 20 20 SessionConfigurationAddFormPage, SessionConfigurationManageFormPage) 21 from waeup. uniben.interfaces import (21 from waeup.fceokene.interfaces import ( 22 22 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 23 23 -
main/waeup.fceokene/trunk/src/waeup/fceokene/browser/tests.py
r8441 r8460 22 22 from zope.security.interfaces import Unauthorized 23 23 from waeup.kofa.testing import FunctionalTestCase 24 from waeup. uniben.testing import FunctionalLayer24 from waeup.fceokene.testing import FunctionalLayer 25 25 from waeup.kofa.app import University 26 26 … … 52 52 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 53 53 self.browser.open('http://localhost/app/configuration') 54 self.assertMatches('... UnibenTheme...', self.browser.contents)54 self.assertMatches('...FCEOkene Theme...', self.browser.contents) 55 55 self.browser.getControl(name="form.skin").value = ['custom theme'] 56 56 self.browser.getControl("Save").click() 57 57 self.browser.open('http://localhost/app/configuration') 58 58 return 59 60 def test_access_live_url(self):61 # We can't access the system with basic authentication62 self.browser.addHeader('Authorization', 'Basic grok:grok')63 self.assertRaises(64 Unauthorized, self.browser.open, 'https://uniben-kofa.waeup.org')65 return -
main/waeup.fceokene/trunk/src/waeup/fceokene/browser/theming.py
r8441 r8460 18 18 import grok 19 19 from waeup.kofa.browser.interfaces import ITheme 20 from waeup. uniben.browser.resources import custom_theme, favicon20 from waeup.fceokene.browser.resources import custom_theme, favicon 21 21 22 from waeup. uniben.interfaces import MessageFactory as _22 from waeup.fceokene.interfaces import MessageFactory as _ 23 23 24 24 class CustomTheme(grok.GlobalUtility): … … 28 28 grok.name('custom theme') 29 29 30 description = _(u' UnibenTheme')30 description = _(u'FCEOkene Theme') 31 31 32 32 def getResources(self): -
main/waeup.fceokene/trunk/src/waeup/fceokene/configuration.py
r8204 r8460 24 24 from waeup.kofa.configuration import ( 25 25 SessionConfigurationFactory, SessionConfiguration) 26 from waeup. uniben.interfaces import (26 from waeup.fceokene.interfaces import ( 27 27 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 28 28 -
main/waeup.fceokene/trunk/src/waeup/fceokene/configure.zcml
r8035 r8460 1 1 <configure xmlns="http://namespaces.zope.org/zope"> 2 2 3 <include package="waeup. uniben" file="locales.zcml" />3 <include package="waeup.fceokene" file="locales.zcml" /> 4 4 <include package="grok" /> 5 <includeOverrides package="waeup. uniben" file="overrides.zcml" />5 <includeOverrides package="waeup.fceokene" file="overrides.zcml" /> 6 6 7 7 </configure> -
main/waeup.fceokene/trunk/src/waeup/fceokene/etranzact/browser.py
r8433 r8460 24 24 from waeup.kofa.students.viewlets import ApprovePaymentActionButton as APABStudent 25 25 from waeup.kofa.applicants.viewlets import ApprovePaymentActionButton as APABApplicant 26 from waeup. uniben.interfaces import MessageFactory as _27 from waeup. uniben.students.interfaces import ICustomStudentOnlinePayment28 from waeup. uniben.applicants.interfaces import ICustomApplicantOnlinePayment26 from waeup.fceokene.interfaces import MessageFactory as _ 27 from waeup.fceokene.students.interfaces import ICustomStudentOnlinePayment 28 from waeup.fceokene.applicants.interfaces import ICustomApplicantOnlinePayment 29 29 30 30 #TERMINAL_ID = '0500000003' -
main/waeup.fceokene/trunk/src/waeup/fceokene/etranzact/tests.py
r8430 r8460 20 20 from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup 21 21 from waeup.kofa.configuration import SessionConfiguration 22 from waeup. uniben.testing import FunctionalLayer22 from waeup.fceokene.testing import FunctionalLayer 23 23 24 24 -
main/waeup.fceokene/trunk/src/waeup/fceokene/ftesting.zcml
r8441 r8460 3 3 xmlns:kofa="http://namespaces.waeup.org/kofa" 4 4 i18n_domain="waeup.custom" 5 package="waeup. uniben"5 package="waeup.fceokene" 6 6 > 7 7 8 8 <include package="grok" /> 9 <includeOverrides package="waeup. uniben" />10 <includeOverrides package="waeup. uniben" file="mail.zcml"/>9 <includeOverrides package="waeup.fceokene" /> 10 <includeOverrides package="waeup.fceokene" file="mail.zcml"/> 11 11 12 12 <!-- Where should the datacenter reside by default? --> -
main/waeup.fceokene/trunk/src/waeup/fceokene/interfaces.py
r8441 r8460 21 21 from waeup.kofa.interfaces import (SimpleKofaVocabulary, 22 22 ISessionConfiguration, academic_sessions_vocab) 23 from waeup. uniben.utils.lgas import LGAS23 from waeup.fceokene.utils.lgas import LGAS 24 24 25 25 _ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.custom') -
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py
r8433 r8460 30 30 from waeup.kofa.applicants.viewlets import ApprovePaymentActionButton as APABApplicant 31 31 from waeup.kofa.payments.interfaces import payment_categories 32 from waeup. uniben.students.interfaces import ICustomStudentOnlinePayment33 from waeup. uniben.applicants.interfaces import ICustomApplicantOnlinePayment34 from waeup. uniben.interfaces import MessageFactory as _32 from waeup.fceokene.students.interfaces import ICustomStudentOnlinePayment 33 from waeup.fceokene.applicants.interfaces import ICustomApplicantOnlinePayment 34 from waeup.fceokene.interfaces import MessageFactory as _ 35 35 36 36 PRODUCT_ID = '57' 37 SITE_NAME = ' uniben-kofa.waeup.org'37 SITE_NAME = 'fceokene-kofa.waeup.org' 38 38 PROVIDER_ACCT = '1010764827' 39 39 PROVIDER_BANK_ID = '117' 40 40 PROVIDER_ITEM_NAME = 'BT Education' 41 INSTITUTION_NAME = ' Uniben'41 INSTITUTION_NAME = 'FCEOkene' 42 42 CURRENCY = '566' 43 43 #QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx' -
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py
r8281 r8460 20 20 from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup 21 21 from waeup.kofa.configuration import SessionConfiguration 22 from waeup. uniben.testing import FunctionalLayer22 from waeup.fceokene.testing import FunctionalLayer 23 23 24 24 # Also run tests that send requests to external servers? -
main/waeup.fceokene/trunk/src/waeup/fceokene/overrides.zcml
r8204 r8460 9 9 zope.publisher.interfaces.browser.IBrowserRequest" 10 10 provides="zope.formlib.interfaces.ISimpleInputWidget" 11 factory="waeup. uniben.widgets.phonewidget.CustomPhoneWidget"11 factory="waeup.fceokene.widgets.phonewidget.CustomPhoneWidget" 12 12 permission="zope.Public" 13 13 /> -
main/waeup.fceokene/trunk/src/waeup/fceokene/permissions.py
r8441 r8460 20 20 21 21 class CRPUOfficer(grok.Role): 22 """ Permissions of Uniben CRPU members.22 """ Permissions of FCEOkene staff. 23 23 24 24 """ 25 25 26 grok.name('waeup. CRPUOfficer')27 grok.title(u' Uniben CRPUOfficer')26 grok.name('waeup.FCEOkeneOfficer') 27 grok.title(u'FCEOkene Officer') 28 28 grok.permissions('waeup.managePortal', 'waeup.manageUsers', 29 29 'waeup.viewAcademics', 'waeup.manageAcademics', -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/batching.py
r8204 r8460 24 24 students, studycourses, payment tickets and accommodation tickets. 25 25 """ 26 from waeup. uniben.students.interfaces import (26 from waeup.fceokene.students.interfaces import ( 27 27 ICustomStudent, 28 28 ) -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/browser.py
r8421 r8460 33 33 from waeup.kofa.students.viewlets import ( 34 34 PaymentReceiptActionButton) 35 from waeup. uniben.students.interfaces import (35 from waeup.fceokene.students.interfaces import ( 36 36 ICustomStudentBase, ICustomStudent, ICustomStudentPersonal, 37 37 ICustomUGStudentClearance,ICustomPGStudentClearance, 38 38 ICustomStudentOnlinePayment, 39 39 ) 40 from waeup. uniben.interfaces import MessageFactory as _40 from waeup.fceokene.interfaces import MessageFactory as _ 41 41 42 42 #class RequestCallbackActionButton(RequestCallbackActionButton): -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/interfaces.py
r8454 r8460 29 29 from waeup.kofa.students.vocabularies import ( 30 30 nats_vocab, contextual_reg_num_source) 31 from waeup. uniben.interfaces import (31 from waeup.fceokene.interfaces import ( 32 32 lgas_vocab, high_qual, high_grade, exam_types) 33 from waeup. uniben.interfaces import MessageFactory as _34 from waeup. uniben.payments.interfaces import ICustomOnlinePayment33 from waeup.fceokene.interfaces import MessageFactory as _ 34 from waeup.fceokene.payments.interfaces import ICustomOnlinePayment 35 35 36 36 class ICustomStudentBase(IStudentBase): -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/payments.py
r8421 r8460 25 25 from waeup.kofa.students.payments import StudentOnlinePayment 26 26 from waeup.kofa.utils.helpers import attrs_to_fields 27 from waeup. uniben.students.interfaces import ICustomStudentOnlinePayment27 from waeup.fceokene.students.interfaces import ICustomStudentOnlinePayment 28 28 29 29 class CustomStudentOnlinePayment(StudentOnlinePayment): -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/student.py
r8204 r8460 23 23 from waeup.kofa.utils.helpers import attrs_to_fields 24 24 from waeup.kofa.students.student import Student, StudentFactory 25 from waeup. uniben.students.interfaces import ICustomStudent, IStudentNavigation25 from waeup.fceokene.students.interfaces import ICustomStudent, IStudentNavigation 26 26 27 27 -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/studycourse.py
r8328 r8460 23 23 from waeup.kofa.students.studycourse import ( 24 24 StudentStudyCourse, StudentStudyCourseFactory) 25 from waeup. uniben.students.interfaces import (25 from waeup.fceokene.students.interfaces import ( 26 26 ICustomStudentStudyCourse, IStudentNavigation) 27 27 from zope.interface import implementedBy -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/studylevel.py
r8326 r8460 27 27 StudentStudyLevel, CourseTicket, 28 28 CourseTicketFactory, StudentStudyLevelFactory) 29 from waeup. uniben.students.interfaces import (29 from waeup.fceokene.students.interfaces import ( 30 30 ICustomStudentStudyLevel, IStudentNavigation, ICustomCourseTicket) 31 31 -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r8328 r8460 28 28 from waeup.kofa.students.batching import StudentProcessor 29 29 from waeup.kofa.students.interfaces import IStudentsUtils 30 from waeup. uniben.students.batching import CustomStudentProcessor31 from waeup. uniben.testing import FunctionalLayer32 from waeup. uniben.students.utils import get_school_fee33 from waeup. uniben.students.interfaces import (30 from waeup.fceokene.students.batching import CustomStudentProcessor 31 from waeup.fceokene.testing import FunctionalLayer 32 from waeup.fceokene.students.utils import get_school_fee 33 from waeup.fceokene.students.interfaces import ( 34 34 ICustomStudentStudyCourse, ICustomStudent, 35 35 ICustomStudentStudyLevel, ICustomCourseTicket) -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_student.py
r8326 r8460 22 22 from zope.interface import verify 23 23 from waeup.kofa.testing import FunctionalTestCase 24 from waeup. uniben.students.student import CustomStudent, CustomStudentFactory25 from waeup. uniben.students.studycourse import (24 from waeup.fceokene.students.student import CustomStudent, CustomStudentFactory 25 from waeup.fceokene.students.studycourse import ( 26 26 CustomStudentStudyCourse, CustomStudentStudyCourseFactory) 27 from waeup. uniben.students.studylevel import (27 from waeup.fceokene.students.studylevel import ( 28 28 CustomStudentStudyLevel, CustomCourseTicket, 29 29 CustomStudentStudyLevelFactory, 30 30 CustomCourseTicketFactory) 31 from waeup. uniben.students.interfaces import (31 from waeup.fceokene.students.interfaces import ( 32 32 ICustomStudent, ICustomStudentStudyCourse, 33 33 ICustomStudentStudyLevel, ICustomCourseTicket) 34 from waeup. uniben.testing import FunctionalLayer34 from waeup.fceokene.testing import FunctionalLayer 35 35 36 36 -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r8441 r8460 21 21 from waeup.kofa.students.interfaces import IStudentsUtils 22 22 from waeup.kofa.accesscodes import create_accesscode 23 from waeup. uniben.interfaces import MessageFactory as _23 from waeup.fceokene.interfaces import MessageFactory as _ 24 24 25 25 def get_school_fee(student): … … 130 130 } 131 131 132 # Unibenseparators132 # FCEOkene separators 133 133 SEPARATORS_DICT = { 134 134 'form.fst_sit_fname': _(u'First Sitting Record'), … … 139 139 'form.nysc_year': _(u'NYSC Information'), 140 140 'form.employer': _(u'Employment History'), 141 'form.former_matric': _(u'Former UnibenStudent'),141 'form.former_matric': _(u'Former FCEOkene Student'), 142 142 } 143 143 144 # Unibenprefix145 STUDENT_ID_PREFIX = u' B'144 # FCEOkene prefix 145 STUDENT_ID_PREFIX = u'O' -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/viewlets.py
r8136 r8460 22 22 from waeup.kofa.students.browser import ExportPDFClearanceSlipPage 23 23 24 from waeup. uniben.interfaces import MessageFactory as _24 from waeup.fceokene.interfaces import MessageFactory as _ 25 25 26 26 # LGA Identification -
main/waeup.fceokene/trunk/src/waeup/fceokene/testing.py
r8441 r8460 19 19 """ 20 20 import os.path 21 import waeup. uniben21 import waeup.fceokene 22 22 from zope.app.testing.functional import ZCMLLayer 23 23 24 24 ftesting_zcml = os.path.join( 25 os.path.dirname(waeup. uniben.__file__), 'ftesting.zcml')25 os.path.dirname(waeup.fceokene.__file__), 'ftesting.zcml') 26 26 FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer', 27 27 allow_teardown=True) -
main/waeup.fceokene/trunk/src/waeup/fceokene/tests/test_configuration.py
r8204 r8460 25 25 from waeup.kofa.tests.test_configuration import ( 26 26 ConfigurationTest, SessionConfigurationFactoryTest) 27 from waeup. uniben.configuration import (27 from waeup.fceokene.configuration import ( 28 28 CustomSessionConfiguration, CustomSessionConfigurationFactory) 29 from waeup. uniben.interfaces import(29 from waeup.fceokene.interfaces import( 30 30 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 31 from waeup. uniben.testing import FunctionalLayer31 from waeup.fceokene.testing import FunctionalLayer 32 32 33 33 class ConfigurationTest(ConfigurationTest): -
main/waeup.fceokene/trunk/src/waeup/fceokene/tests/test_datacenter.py
r8020 r8460 18 18 from waeup.kofa.datacenter import DataCenter 19 19 from waeup.kofa.testing import FunctionalTestCase 20 from waeup. uniben.testing import FunctionalLayer20 from waeup.fceokene.testing import FunctionalLayer 21 21 22 22 -
main/waeup.fceokene/trunk/src/waeup/fceokene/tests/test_smtp.py
r8020 r8460 33 33 send_mail) 34 34 from waeup.kofa.testing import FunctionalTestCase 35 from waeup. uniben.testing import FunctionalLayer35 from waeup.fceokene.testing import FunctionalLayer 36 36 37 37 # -
main/waeup.fceokene/trunk/src/waeup/fceokene/utils/tests.py
r8020 r8460 17 17 ## 18 18 from waeup.kofa.testing import FunctionalTestCase 19 from waeup. uniben.testing import FunctionalLayer19 from waeup.fceokene.testing import FunctionalLayer 20 20 21 21 -
main/waeup.fceokene/trunk/src/waeup/fceokene/utils/utils.py
r8386 r8460 21 21 import pytz 22 22 from waeup.kofa.utils.utils import KofaUtils, sorted_phone_prefixes 23 from waeup. uniben.interfaces import MessageFactory as _23 from waeup.fceokene.interfaces import MessageFactory as _ 24 24 25 25 INT_PHONE_PREFIXES = [
Note: See TracChangeset for help on using the changeset viewer.