Changeset 7822 for main/waeup.custom/trunk
- Timestamp:
- 9 Mar 2012, 07:26:31 (13 years ago)
- Location:
- main/waeup.custom/trunk/src/waeup/custom
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.custom/trunk/src/waeup/custom/applicants/utils.py
r7696 r7822 20 20 21 21 import grok 22 from waeup. sirp.applicants.utils import ApplicantsUtils22 from waeup.kofa.applicants.utils import ApplicantsUtils 23 23 24 24 class ApplicantsUtils(ApplicantsUtils): -
main/waeup.custom/trunk/src/waeup/custom/browser/pages.py
r7419 r7822 17 17 ## 18 18 import grok 19 from waeup. sirp.browser.pages import (19 from waeup.kofa.browser.pages import ( 20 20 SessionConfigurationAddFormPage, SessionConfigurationManageFormPage) 21 21 from waeup.custom.interfaces import ( -
main/waeup.custom/trunk/src/waeup/custom/browser/resources.py
r7419 r7822 17 17 ## 18 18 import grok 19 from waeup. sirp.browser.resources import (19 from waeup.kofa.browser.resources import ( 20 20 Library, ResourceInclusion, waeup_base_css, 21 21 ) -
main/waeup.custom/trunk/src/waeup/custom/browser/tests.py
r7569 r7822 20 20 from zope.testbrowser.testing import Browser 21 21 from zope.component.hooks import setSite, clearSite 22 from waeup. sirp.testing import FunctionalTestCase22 from waeup.kofa.testing import FunctionalTestCase 23 23 from waeup.custom.testing import FunctionalLayer 24 from waeup. sirp.app import University24 from waeup.kofa.app import University 25 25 26 26 class CustomPackageBrowserTests(FunctionalTestCase): -
main/waeup.custom/trunk/src/waeup/custom/browser/theming.py
r7695 r7822 17 17 ## 18 18 import grok 19 from waeup. sirp.browser.interfaces import ITheme19 from waeup.kofa.browser.interfaces import ITheme 20 20 from waeup.custom.browser.resources import custom_theme_1 21 21 … … 23 23 24 24 class CustomTheme1(grok.GlobalUtility): 25 """A custom theme based on the SIRPbase theme.25 """A custom theme based on the Kofa base theme. 26 26 """ 27 27 grok.implements(ITheme) -
main/waeup.custom/trunk/src/waeup/custom/configuration.py
r7419 r7822 21 21 import grok 22 22 from zope.interface import implementedBy 23 from waeup. sirp.utils.helpers import attrs_to_fields24 from waeup. sirp.configuration import (23 from waeup.kofa.utils.helpers import attrs_to_fields 24 from waeup.kofa.configuration import ( 25 25 SessionConfigurationFactory, SessionConfiguration) 26 26 from waeup.custom.interfaces import ( -
main/waeup.custom/trunk/src/waeup/custom/ftesting.zcml
r7586 r7822 1 1 <configure 2 2 xmlns="http://namespaces.zope.org/zope" 3 xmlns: sirp="http://namespaces.waeup.org/sirp"3 xmlns:kofa="http://namespaces.waeup.org/kofa" 4 4 i18n_domain="waeup.custom" 5 5 package="waeup.custom" … … 11 11 12 12 <!-- Where should the datacenter reside by default? --> 13 < sirp:datacenter13 <kofa:datacenter 14 14 path="../../../parts/test/datacenter" /> 15 15 -
main/waeup.custom/trunk/src/waeup/custom/interfaces.py
r7695 r7822 19 19 import zope.i18nmessageid 20 20 from zope import schema 21 from waeup. sirp.interfaces import (21 from waeup.kofa.interfaces import ( 22 22 ISessionConfiguration, academic_sessions_vocab) 23 23 -
main/waeup.custom/trunk/src/waeup/custom/locales/de/LC_MESSAGES/waeup.custom.po
r7697 r7822 14 14 msgid "" 15 15 msgstr "" 16 "Project-Id-Version: WAeUP. SIRP\n"16 "Project-Id-Version: WAeUP.Kofa\n" 17 17 "POT-Creation-Date: Thu Feb 23 18:36:34 2012\n" 18 "PO-Revision-Date: 2012-0 2-23 18:43+0100\n"18 "PO-Revision-Date: 2012-03-09 08:17+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" 20 20 "Language-Team: WAeUP Germany <henrik@waeup.org>\n" -
main/waeup.custom/trunk/src/waeup/custom/locales/fr/LC_MESSAGES/waeup.custom.po
r7699 r7822 14 14 msgid "" 15 15 msgstr "" 16 "Project-Id-Version: WAeUP. SIRP\n"16 "Project-Id-Version: WAeUP.Kofa\n" 17 17 "POT-Creation-Date: Thu Feb 23 18:36:34 2012\n" 18 "PO-Revision-Date: 2012-0 2-23 21:27+0100\n"18 "PO-Revision-Date: 2012-03-09 08:17+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" 20 20 "Language-Team: WAeUP Niger <isouaba@waeup.org>\n" -
main/waeup.custom/trunk/src/waeup/custom/locales/ha/LC_MESSAGES/waeup.custom.po
r7699 r7822 14 14 msgid "" 15 15 msgstr "" 16 "Project-Id-Version: WAeUP. SIRP\n"16 "Project-Id-Version: WAeUP.Kofa\n" 17 17 "POT-Creation-Date: Thu Feb 23 18:36:34 2012\n" 18 "PO-Revision-Date: 2012-0 2-23 21:27+0100\n"18 "PO-Revision-Date: 2012-03-09 08:16+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" 20 20 "Language-Team: WAeUP Niger <isouaba@waeup.org>\n" -
main/waeup.custom/trunk/src/waeup/custom/locales/yo/LC_MESSAGES/waeup.custom.po
r7699 r7822 14 14 msgid "" 15 15 msgstr "" 16 "Project-Id-Version: WAeUP. SIRP\n"16 "Project-Id-Version: WAeUP.Kofa\n" 17 17 "POT-Creation-Date: Thu Feb 23 18:36:34 2012\n" 18 "PO-Revision-Date: 2012-0 2-23 21:27+0100\n"18 "PO-Revision-Date: 2012-03-09 08:17+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" 20 20 "Language-Team: WAeUP Nigeria <isouaba@waeup.org>\n" -
main/waeup.custom/trunk/src/waeup/custom/mail.zcml
r7504 r7822 29 29 background thread and sends mail independently from requests. 30 30 31 By default in SIRPwe have a fake mailer activated, that does not31 By default in Kofa we have a fake mailer activated, that does not 32 32 send real mail to the outside world. 33 33 --> -
main/waeup.custom/trunk/src/waeup/custom/students/batching.py
r7525 r7822 27 27 IStudent, 28 28 ) 29 from waeup. sirp.students.batching import StudentProcessor29 from waeup.kofa.students.batching import StudentProcessor 30 30 31 31 class StudentProcessor(StudentProcessor): -
main/waeup.custom/trunk/src/waeup/custom/students/browser.py
r7525 r7822 18 18 import grok 19 19 from zope.formlib.textwidgets import BytesDisplayWidget 20 from waeup. sirp.widgets.datewidget import (20 from waeup.kofa.widgets.datewidget import ( 21 21 FriendlyDateWidget, FriendlyDateDisplayWidget 22 22 ) … … 24 24 IStudent, IStudentPersonal, IStudentClearance, IStudentClearanceEdit 25 25 ) 26 from waeup. sirp.students.browser import (26 from waeup.kofa.students.browser import ( 27 27 StudentPersonalDisplayFormPage, StudentPersonalManageFormPage, 28 28 StudentClearanceManageFormPage, StudentClearanceEditFormPage, -
main/waeup.custom/trunk/src/waeup/custom/students/interfaces.py
r7618 r7822 17 17 ## 18 18 from zope import schema 19 from waeup. sirp.schema import TextLineChoice20 from waeup. sirp.interfaces import SimpleSIRPVocabulary21 from waeup. sirp.students.interfaces import (19 from waeup.kofa.schema import TextLineChoice 20 from waeup.kofa.interfaces import SimpleKofaVocabulary 21 from waeup.kofa.students.interfaces import ( 22 22 IStudentBase,IStudentClearance,IStudentPersonal,IStudentNavigation, 23 23 ) 24 from waeup. sirp.students.vocabularies import (24 from waeup.kofa.students.vocabularies import ( 25 25 lgas_vocab, nats_vocab, contextual_reg_num_source) 26 26 … … 46 46 default = 'unmarried', 47 47 required = False, 48 vocabulary = Simple SIRPVocabulary(48 vocabulary = SimpleKofaVocabulary( 49 49 ('Unmarried', 'unmarried'), 50 50 ('Married', 'married'),) -
main/waeup.custom/trunk/src/waeup/custom/students/student.py
r7603 r7822 21 21 import grok 22 22 from zope.interface import implementedBy 23 from waeup. sirp.utils.helpers import attrs_to_fields24 from waeup. sirp.students.student import Student, StudentFactory23 from waeup.kofa.utils.helpers import attrs_to_fields 24 from waeup.kofa.students.student import Student, StudentFactory 25 25 from waeup.custom.students.interfaces import ( 26 26 IStudent, IStudentNavigation, -
main/waeup.custom/trunk/src/waeup/custom/students/tests.py
r7604 r7822 20 20 import tempfile 21 21 from zope.component.hooks import setSite, clearSite 22 from waeup. sirp.app import University23 from waeup. sirp.students.tests.test_browser import StudentsFullSetup24 from waeup. sirp.testing import FunctionalTestCase25 from waeup. sirp.students.batching import StudentProcessor as StudentProcessorBase22 from waeup.kofa.app import University 23 from waeup.kofa.students.tests.test_browser import StudentsFullSetup 24 from waeup.kofa.testing import FunctionalTestCase 25 from waeup.kofa.students.batching import StudentProcessor as StudentProcessorBase 26 26 from waeup.custom.students.batching import StudentProcessor 27 27 from waeup.custom.testing import FunctionalLayer -
main/waeup.custom/trunk/src/waeup/custom/students/utils.py
r7621 r7822 17 17 ## 18 18 import grok 19 from waeup. sirp.students.workflow import CLEARED, RETURNING20 from waeup. sirp.students.utils import StudentsUtils21 from waeup. sirp.students.interfaces import IStudentsUtils19 from waeup.kofa.students.workflow import CLEARED, RETURNING 20 from waeup.kofa.students.utils import StudentsUtils 21 from waeup.kofa.students.interfaces import IStudentsUtils 22 22 23 23 def get_school_fee(student, surcharge): -
main/waeup.custom/trunk/src/waeup/custom/tests/test_configuration.py
r7502 r7822 20 20 from zope.component.interfaces import IFactory 21 21 from zope.interface import verify 22 from waeup. sirp.testing import FunctionalTestCase23 from waeup. sirp.configuration import ConfigurationContainer24 from waeup. sirp.interfaces import IConfigurationContainer25 from waeup. sirp.tests.test_configuration import (22 from waeup.kofa.testing import FunctionalTestCase 23 from waeup.kofa.configuration import ConfigurationContainer 24 from waeup.kofa.interfaces import IConfigurationContainer 25 from waeup.kofa.tests.test_configuration import ( 26 26 ConfigurationTest, SessionConfigurationFactoryTest) 27 27 from waeup.custom.configuration import ( -
main/waeup.custom/trunk/src/waeup/custom/tests/test_datacenter.py
r7586 r7822 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 from waeup. sirp.datacenter import DataCenter19 from waeup. sirp.testing import FunctionalTestCase18 from waeup.kofa.datacenter import DataCenter 19 from waeup.kofa.testing import FunctionalTestCase 20 20 from waeup.custom.testing import FunctionalLayer 21 21 -
main/waeup.custom/trunk/src/waeup/custom/tests/test_smtp.py
r7504 r7822 27 27 from zope.component.hooks import setSite 28 28 from zope.sendmail.interfaces import IMailDelivery 29 from waeup. sirp.app import University30 from waeup. sirp.interfaces import IMailService31 from waeup. sirp.smtp import (29 from waeup.kofa.app import University 30 from waeup.kofa.interfaces import IMailService 31 from waeup.kofa.smtp import ( 32 32 encode_header_item, encode_address, encode_body, FakeSMTPDelivery, 33 33 send_mail) 34 from waeup. sirp.testing import FunctionalTestCase34 from waeup.kofa.testing import FunctionalTestCase 35 35 from waeup.custom.testing import FunctionalLayer 36 36 … … 103 103 'test program', 'no-reply@waeup.org', 104 104 'test mail receiver', EXTERNAL_MAIL_RECEIVER, 105 'Test Mail from WAeUP SIRP',105 'Test Mail from WAeUP Kofa', 106 106 'Hi from test mailer!\n\nRegards,\nTest Programme\n' 107 107 ) … … 120 120 'test program', 'no-reply@waeup.org', 121 121 'test mail receiver', EXTERNAL_MAIL_RECEIVER, 122 'Test Mail from WAeUP SIRP',122 'Test Mail from WAeUP Kofa', 123 123 'Hi from test mailer!\n\nRegards,\nTest Programme\n' 124 124 ) -
main/waeup.custom/trunk/src/waeup/custom/utils/tests.py
r7586 r7822 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 from waeup. sirp.testing import FunctionalTestCase18 from waeup.kofa.testing import FunctionalTestCase 19 19 from waeup.custom.testing import FunctionalLayer 20 20 -
main/waeup.custom/trunk/src/waeup/custom/utils/utils.py
r7695 r7822 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """Customize general helper utilities for SIRP.18 """Customize general helper utilities for Kofa. 19 19 """ 20 20 import os 21 from waeup. sirp.utils.utils import SIRPUtils21 from waeup.kofa.utils.utils import KofaUtils 22 22 23 23 24 class SIRPUtils(SIRPUtils):24 class KofaUtils(KofaUtils): 25 25 """A collection of methods subject to customization. 26 26 """
Note: See TracChangeset for help on using the changeset viewer.