Changeset 7822


Ignore:
Timestamp:
9 Mar 2012, 07:26:31 (13 years ago)
Author:
Henrik Bettermann
Message:

Rename sirp to kofa.

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  
    2020
    2121import grok
    22 from waeup.sirp.applicants.utils import ApplicantsUtils
     22from waeup.kofa.applicants.utils import ApplicantsUtils
    2323
    2424class ApplicantsUtils(ApplicantsUtils):
  • main/waeup.custom/trunk/src/waeup/custom/browser/pages.py

    r7419 r7822  
    1717##
    1818import grok
    19 from waeup.sirp.browser.pages import (
     19from waeup.kofa.browser.pages import (
    2020    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage)
    2121from waeup.custom.interfaces import (
  • main/waeup.custom/trunk/src/waeup/custom/browser/resources.py

    r7419 r7822  
    1717##
    1818import grok
    19 from waeup.sirp.browser.resources import (
     19from waeup.kofa.browser.resources import (
    2020    Library, ResourceInclusion, waeup_base_css,
    2121    )
  • main/waeup.custom/trunk/src/waeup/custom/browser/tests.py

    r7569 r7822  
    2020from zope.testbrowser.testing import Browser
    2121from zope.component.hooks import setSite, clearSite
    22 from waeup.sirp.testing import FunctionalTestCase
     22from waeup.kofa.testing import FunctionalTestCase
    2323from waeup.custom.testing import FunctionalLayer
    24 from waeup.sirp.app import University
     24from waeup.kofa.app import University
    2525
    2626class CustomPackageBrowserTests(FunctionalTestCase):
  • main/waeup.custom/trunk/src/waeup/custom/browser/theming.py

    r7695 r7822  
    1717##
    1818import grok
    19 from waeup.sirp.browser.interfaces import ITheme
     19from waeup.kofa.browser.interfaces import ITheme
    2020from waeup.custom.browser.resources import custom_theme_1
    2121
     
    2323
    2424class CustomTheme1(grok.GlobalUtility):
    25     """A custom theme based on the SIRP base theme.
     25    """A custom theme based on the Kofa base theme.
    2626    """
    2727    grok.implements(ITheme)
  • main/waeup.custom/trunk/src/waeup/custom/configuration.py

    r7419 r7822  
    2121import grok
    2222from zope.interface import implementedBy
    23 from waeup.sirp.utils.helpers import attrs_to_fields
    24 from waeup.sirp.configuration import (
     23from waeup.kofa.utils.helpers import attrs_to_fields
     24from waeup.kofa.configuration import (
    2525    SessionConfigurationFactory, SessionConfiguration)
    2626from waeup.custom.interfaces import (
  • main/waeup.custom/trunk/src/waeup/custom/ftesting.zcml

    r7586 r7822  
    11<configure
    22   xmlns="http://namespaces.zope.org/zope"
    3    xmlns:sirp="http://namespaces.waeup.org/sirp"
     3   xmlns:kofa="http://namespaces.waeup.org/kofa"
    44   i18n_domain="waeup.custom"
    55   package="waeup.custom"
     
    1111
    1212  <!-- Where should the datacenter reside by default? -->
    13   <sirp:datacenter
     13  <kofa:datacenter
    1414      path="../../../parts/test/datacenter" />
    1515
  • main/waeup.custom/trunk/src/waeup/custom/interfaces.py

    r7695 r7822  
    1919import zope.i18nmessageid
    2020from zope import schema
    21 from waeup.sirp.interfaces import (
     21from waeup.kofa.interfaces import (
    2222    ISessionConfiguration, academic_sessions_vocab)
    2323
  • main/waeup.custom/trunk/src/waeup/custom/locales/de/LC_MESSAGES/waeup.custom.po

    r7697 r7822  
    1414msgid ""
    1515msgstr ""
    16 "Project-Id-Version: WAeUP.SIRP\n"
     16"Project-Id-Version: WAeUP.Kofa\n"
    1717"POT-Creation-Date: Thu Feb 23 18:36:34 2012\n"
    18 "PO-Revision-Date: 2012-02-23 18:43+0100\n"
     18"PO-Revision-Date: 2012-03-09 08:17+0100\n"
    1919"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
    2020"Language-Team: WAeUP Germany <henrik@waeup.org>\n"
  • main/waeup.custom/trunk/src/waeup/custom/locales/fr/LC_MESSAGES/waeup.custom.po

    r7699 r7822  
    1414msgid ""
    1515msgstr ""
    16 "Project-Id-Version: WAeUP.SIRP\n"
     16"Project-Id-Version: WAeUP.Kofa\n"
    1717"POT-Creation-Date: Thu Feb 23 18:36:34 2012\n"
    18 "PO-Revision-Date: 2012-02-23 21:27+0100\n"
     18"PO-Revision-Date: 2012-03-09 08:17+0100\n"
    1919"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
    2020"Language-Team: WAeUP Niger <isouaba@waeup.org>\n"
  • main/waeup.custom/trunk/src/waeup/custom/locales/ha/LC_MESSAGES/waeup.custom.po

    r7699 r7822  
    1414msgid ""
    1515msgstr ""
    16 "Project-Id-Version: WAeUP.SIRP\n"
     16"Project-Id-Version: WAeUP.Kofa\n"
    1717"POT-Creation-Date: Thu Feb 23 18:36:34 2012\n"
    18 "PO-Revision-Date: 2012-02-23 21:27+0100\n"
     18"PO-Revision-Date: 2012-03-09 08:16+0100\n"
    1919"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
    2020"Language-Team: WAeUP Niger <isouaba@waeup.org>\n"
  • main/waeup.custom/trunk/src/waeup/custom/locales/yo/LC_MESSAGES/waeup.custom.po

    r7699 r7822  
    1414msgid ""
    1515msgstr ""
    16 "Project-Id-Version: WAeUP.SIRP\n"
     16"Project-Id-Version: WAeUP.Kofa\n"
    1717"POT-Creation-Date: Thu Feb 23 18:36:34 2012\n"
    18 "PO-Revision-Date: 2012-02-23 21:27+0100\n"
     18"PO-Revision-Date: 2012-03-09 08:17+0100\n"
    1919"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
    2020"Language-Team: WAeUP Nigeria <isouaba@waeup.org>\n"
  • main/waeup.custom/trunk/src/waeup/custom/mail.zcml

    r7504 r7822  
    2929   background thread and sends mail independently from requests.
    3030
    31    By default in SIRP we have a fake mailer activated, that does not
     31   By default in Kofa we have a fake mailer activated, that does not
    3232   send real mail to the outside world.
    3333  -->
  • main/waeup.custom/trunk/src/waeup/custom/students/batching.py

    r7525 r7822  
    2727    IStudent,
    2828    )
    29 from waeup.sirp.students.batching import StudentProcessor
     29from waeup.kofa.students.batching import StudentProcessor
    3030
    3131class StudentProcessor(StudentProcessor):
  • main/waeup.custom/trunk/src/waeup/custom/students/browser.py

    r7525 r7822  
    1818import grok
    1919from zope.formlib.textwidgets import BytesDisplayWidget
    20 from waeup.sirp.widgets.datewidget import (
     20from waeup.kofa.widgets.datewidget import (
    2121    FriendlyDateWidget, FriendlyDateDisplayWidget
    2222    )
     
    2424    IStudent, IStudentPersonal, IStudentClearance, IStudentClearanceEdit
    2525    )
    26 from waeup.sirp.students.browser import (
     26from waeup.kofa.students.browser import (
    2727    StudentPersonalDisplayFormPage, StudentPersonalManageFormPage,
    2828    StudentClearanceManageFormPage, StudentClearanceEditFormPage,
  • main/waeup.custom/trunk/src/waeup/custom/students/interfaces.py

    r7618 r7822  
    1717##
    1818from zope import schema
    19 from waeup.sirp.schema import TextLineChoice
    20 from waeup.sirp.interfaces import SimpleSIRPVocabulary
    21 from waeup.sirp.students.interfaces import (
     19from waeup.kofa.schema import TextLineChoice
     20from waeup.kofa.interfaces import SimpleKofaVocabulary
     21from waeup.kofa.students.interfaces import (
    2222    IStudentBase,IStudentClearance,IStudentPersonal,IStudentNavigation,
    2323    )
    24 from waeup.sirp.students.vocabularies import (
     24from waeup.kofa.students.vocabularies import (
    2525    lgas_vocab, nats_vocab, contextual_reg_num_source)
    2626
     
    4646        default = 'unmarried',
    4747        required = False,
    48         vocabulary = SimpleSIRPVocabulary(
     48        vocabulary = SimpleKofaVocabulary(
    4949            ('Unmarried', 'unmarried'),
    5050            ('Married', 'married'),)
  • main/waeup.custom/trunk/src/waeup/custom/students/student.py

    r7603 r7822  
    2121import grok
    2222from zope.interface import implementedBy
    23 from waeup.sirp.utils.helpers import attrs_to_fields
    24 from waeup.sirp.students.student import Student, StudentFactory
     23from waeup.kofa.utils.helpers import attrs_to_fields
     24from waeup.kofa.students.student import Student, StudentFactory
    2525from waeup.custom.students.interfaces import (
    2626    IStudent, IStudentNavigation,
  • main/waeup.custom/trunk/src/waeup/custom/students/tests.py

    r7604 r7822  
    2020import tempfile
    2121from zope.component.hooks import setSite, clearSite
    22 from waeup.sirp.app import University
    23 from waeup.sirp.students.tests.test_browser import StudentsFullSetup
    24 from waeup.sirp.testing import FunctionalTestCase
    25 from waeup.sirp.students.batching import StudentProcessor as StudentProcessorBase
     22from waeup.kofa.app import University
     23from waeup.kofa.students.tests.test_browser import StudentsFullSetup
     24from waeup.kofa.testing import FunctionalTestCase
     25from waeup.kofa.students.batching import StudentProcessor as StudentProcessorBase
    2626from waeup.custom.students.batching import StudentProcessor
    2727from waeup.custom.testing import FunctionalLayer
  • main/waeup.custom/trunk/src/waeup/custom/students/utils.py

    r7621 r7822  
    1717##
    1818import grok
    19 from waeup.sirp.students.workflow import CLEARED, RETURNING
    20 from waeup.sirp.students.utils import StudentsUtils
    21 from waeup.sirp.students.interfaces import IStudentsUtils
     19from waeup.kofa.students.workflow import CLEARED, RETURNING
     20from waeup.kofa.students.utils import StudentsUtils
     21from waeup.kofa.students.interfaces import IStudentsUtils
    2222
    2323def get_school_fee(student, surcharge):
  • main/waeup.custom/trunk/src/waeup/custom/tests/test_configuration.py

    r7502 r7822  
    2020from zope.component.interfaces import IFactory
    2121from zope.interface import verify
    22 from waeup.sirp.testing import FunctionalTestCase
    23 from waeup.sirp.configuration import ConfigurationContainer
    24 from waeup.sirp.interfaces import IConfigurationContainer
    25 from waeup.sirp.tests.test_configuration import (
     22from waeup.kofa.testing import FunctionalTestCase
     23from waeup.kofa.configuration import ConfigurationContainer
     24from waeup.kofa.interfaces import IConfigurationContainer
     25from waeup.kofa.tests.test_configuration import (
    2626    ConfigurationTest, SessionConfigurationFactoryTest)
    2727from waeup.custom.configuration import (
  • main/waeup.custom/trunk/src/waeup/custom/tests/test_datacenter.py

    r7586 r7822  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 from waeup.sirp.datacenter import DataCenter
    19 from waeup.sirp.testing import FunctionalTestCase
     18from waeup.kofa.datacenter import DataCenter
     19from waeup.kofa.testing import FunctionalTestCase
    2020from waeup.custom.testing import FunctionalLayer
    2121
  • main/waeup.custom/trunk/src/waeup/custom/tests/test_smtp.py

    r7504 r7822  
    2727from zope.component.hooks import setSite
    2828from zope.sendmail.interfaces import IMailDelivery
    29 from waeup.sirp.app import University
    30 from waeup.sirp.interfaces import IMailService
    31 from waeup.sirp.smtp import (
     29from waeup.kofa.app import University
     30from waeup.kofa.interfaces import IMailService
     31from waeup.kofa.smtp import (
    3232    encode_header_item, encode_address, encode_body, FakeSMTPDelivery,
    3333    send_mail)
    34 from waeup.sirp.testing import FunctionalTestCase
     34from waeup.kofa.testing import FunctionalTestCase
    3535from waeup.custom.testing import FunctionalLayer
    3636
     
    103103            'test program', 'no-reply@waeup.org',
    104104            'test mail receiver', EXTERNAL_MAIL_RECEIVER,
    105             'Test Mail from WAeUP SIRP',
     105            'Test Mail from WAeUP Kofa',
    106106            'Hi from test mailer!\n\nRegards,\nTest Programme\n'
    107107            )
     
    120120            'test program', 'no-reply@waeup.org',
    121121            'test mail receiver', EXTERNAL_MAIL_RECEIVER,
    122             'Test Mail from WAeUP SIRP',
     122            'Test Mail from WAeUP Kofa',
    123123            'Hi from test mailer!\n\nRegards,\nTest Programme\n'
    124124            )
  • main/waeup.custom/trunk/src/waeup/custom/utils/tests.py

    r7586 r7822  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 from waeup.sirp.testing import FunctionalTestCase
     18from waeup.kofa.testing import FunctionalTestCase
    1919from waeup.custom.testing import FunctionalLayer
    2020
  • main/waeup.custom/trunk/src/waeup/custom/utils/utils.py

    r7695 r7822  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """Customize general helper utilities for SIRP.
     18"""Customize general helper utilities for Kofa.
    1919"""
    2020import os
    21 from waeup.sirp.utils.utils import SIRPUtils
     21from waeup.kofa.utils.utils import KofaUtils
    2222
    2323
    24 class SIRPUtils(SIRPUtils):
     24class KofaUtils(KofaUtils):
    2525    """A collection of methods subject to customization.
    2626    """
Note: See TracChangeset for help on using the changeset viewer.