Changeset 8020


Ignore:
Timestamp:
2 Apr 2012, 11:05:40 (12 years ago)
Author:
Henrik Bettermann
Message:

Rename custom to uniben.

Location:
main/waeup.uniben/trunk
Files:
36 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/buildout-windows.cfg

    r7587 r8020  
    5252# This creates only the paster script in bin/.
    5353recipe = zc.recipe.egg
    54 eggs = waeup.custom
     54eggs = waeup.uniben
    5555       z3c.evalexception>=2.0
    5656       Paste
  • main/waeup.uniben/trunk/buildout.cfg

    r7825 r8020  
    6262# This creates all scripts in bin/. The kofactl created here is 'faulty'.
    6363recipe = zc.recipe.egg
    64 eggs = waeup.custom [beaker]
     64eggs = waeup.uniben [beaker]
    6565       z3c.evalexception>=2.0
    6666       Paste
     
    7474# fixed path to zdaemon.conf as argument.
    7575recipe = zc.recipe.egg
    76 eggs = waeup.custom [beaker]
     76eggs = waeup.uniben [beaker]
    7777arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
    7878scripts = kofactl=kofactl
     
    8989[test]
    9090recipe = zc.recipe.testrunner
    91 eggs = waeup.custom [beaker, test]
     91eggs = waeup.uniben [beaker, test]
    9292defaults = ['--tests-pattern', '^f?tests$', '-v']
    9393
     
    9595[i18n]
    9696recipe = z3c.recipe.i18n:i18n
    97 packages = waeup.custom
    98 eggs = waeup.custom
    99 domain = waeup.custom
    100 output = src/waeup/custom/locales
     97packages = waeup.uniben
     98eggs = waeup.uniben
     99domain = waeup.uniben
     100output = src/waeup/uniben/locales
    101101zcml =
    102102
     
    105105[zpasswd]
    106106recipe = z3c.recipe.dev:script
    107 eggs = waeup.custom
     107eggs = waeup.uniben
    108108module = zope.app.server.zpasswd
    109109method = main
     
    157157[waeupdocs]
    158158recipe = collective.recipe.sphinxbuilder
    159 eggs = waeup.custom[docs]
     159eggs = waeup.uniben[docs]
    160160source = ${buildout:directory}/docs/source
    161161build = ${buildout:directory}/docs/build
     
    164164[coverage-detect]
    165165recipe = zc.recipe.testrunner
    166 eggs = waeup.custom[beaker]
     166eggs = waeup.uniben[beaker]
    167167defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
    168168
  • main/waeup.uniben/trunk/etc/debug.ini.in

    r6891 r8020  
    5454
    5555[app:zope]
    56 use = egg:waeup.custom#debug
     56use = egg:waeup.uniben#debug
    5757filter-with = translogger
    5858exempt-exceptions = zope.security.interfaces.IUnauthorized
  • main/waeup.uniben/trunk/etc/deploy.ini.in

    r6891 r8020  
    4848
    4949[app:main]
    50 use = egg:waeup.custom
     50use = egg:waeup.uniben
    5151filter-with = translogger
    5252
  • main/waeup.uniben/trunk/etc/site.zcml.in

    r7825 r8020  
    11<configure xmlns="http://namespaces.zope.org/zope"
    22           xmlns:kofa="http://namespaces.waeup.org/kofa"
    3            i18n_domain="waeup.custom">
     3           i18n_domain="waeup.uniben">
    44
    5   <include package="waeup.custom" />
    6   <include package="waeup.custom" file="mail.zcml" />
     5  <include package="waeup.uniben" />
     6  <include package="waeup.uniben" file="mail.zcml" />
    77
    88  <!-- Where should the datacenter reside by default? -->
     
    1010      path="${buildout:directory}/var/datacenter" />
    1111
    12     <configure i18n_domain="waeup.custom">
     12    <configure i18n_domain="waeup.uniben">
    1313
    1414      <unauthenticatedPrincipal id="zope.anybody"
  • main/waeup.uniben/trunk/setup.py

    r7825 r8020  
    4343    read('README.txt')
    4444    + '\n\n'
    45     + read('src', 'waeup', 'custom', 'README.txt')
     45    + read('src', 'waeup', 'uniben', 'README.txt')
    4646    + '\n\n'
    4747    + read('CHANGES.txt')
     
    5151    )
    5252
    53 setup(name = 'waeup.custom',
     53setup(name = 'waeup.uniben',
    5454      version = version,
    5555      description = "A customized waeup.kofa",
     
    8989      # Add entry points here
    9090      [hurry.resource.libraries]
    91       waeup_custom = waeup.custom.browser.resources:waeup_custom
     91      waeup_uniben = waeup.uniben.browser.resources:waeup_uniben
    9292      [console_scripts]
    9393      kofa-debug = grokcore.startup:interactive_debug_prompt
  • main/waeup.uniben/trunk/src/waeup/uniben/README.txt

    r6890 r8020  
    1 The waeup.custom package
     1The waeup.uniben package
    22************************
    33
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/applicant.py

    r8012 r8020  
    2222from waeup.kofa.applicants.interfaces import IApplicantEdit
    2323from waeup.kofa.utils.helpers import attrs_to_fields
    24 from waeup.custom.applicants.interfaces import(
     24from waeup.uniben.applicants.interfaces import(
    2525    IApplicant, IUGApplicantEdit, IPGApplicantEdit)
    2626
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py

    r8017 r8020  
    2929from waeup.kofa.applicants.pdf import PDFApplicationSlip
    3030#from waeup.kofa.applicants.interfaces import IApplicant, IApplicantEdit
    31 from waeup.custom.applicants.interfaces import (
     31from waeup.uniben.applicants.interfaces import (
    3232    IPGApplicant, IUGApplicant, IPGApplicantEdit, IUGApplicantEdit)
    33 from waeup.custom.interfaces import MessageFactory as _
     33from waeup.uniben.interfaces import MessageFactory as _
    3434
    3535class RequestCallbackActionButton(RequestCallbackActionButton):
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py

    r8017 r8020  
    2121from zope import schema
    2222from waeup.kofa.applicants.interfaces import IApplicant, IApplicantProcessData
    23 from waeup.custom.interfaces import MessageFactory as _
     23from waeup.uniben.interfaces import MessageFactory as _
    2424
    2525class IUGApplicant(IApplicant):
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests.py

    r8017 r8020  
    2828from waeup.kofa.testing import FunctionalTestCase
    2929from waeup.kofa.applicants.container import ApplicantsContainer
    30 from waeup.custom.testing import FunctionalLayer
     30from waeup.uniben.testing import FunctionalLayer
    3131from waeup.kofa.interfaces import IBatchProcessor
    3232
  • main/waeup.uniben/trunk/src/waeup/uniben/browser/pages.py

    r7822 r8020  
    1919from waeup.kofa.browser.pages import (
    2020    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage)
    21 from waeup.custom.interfaces import (
     21from waeup.uniben.interfaces import (
    2222    ISessionConfiguration, ISessionConfigurationAdd)
    2323
  • main/waeup.uniben/trunk/src/waeup/uniben/browser/resources.py

    r7822 r8020  
    2222
    2323#: All local resources are registered under the name ``waeup_custom``.
    24 waeup_custom = Library('waeup_custom', 'static')
     24waeup_uniben = Library('waeup_uniben', 'static')
    2525
    2626custom_theme_1 = ResourceInclusion(
    27     waeup_custom, 'custom_theme_1.css',
     27    waeup_uniben, 'custom_theme_1.css',
    2828    depends = [waeup_base_css])
    2929
  • main/waeup.uniben/trunk/src/waeup/uniben/browser/tests.py

    r7822 r8020  
    2121from zope.component.hooks import setSite, clearSite
    2222from waeup.kofa.testing import FunctionalTestCase
    23 from waeup.custom.testing import FunctionalLayer
     23from waeup.uniben.testing import FunctionalLayer
    2424from waeup.kofa.app import University
    2525
  • main/waeup.uniben/trunk/src/waeup/uniben/browser/theming.py

    r7822 r8020  
    1818import grok
    1919from waeup.kofa.browser.interfaces import ITheme
    20 from waeup.custom.browser.resources import custom_theme_1
     20from waeup.uniben.browser.resources import custom_theme_1
    2121
    22 from waeup.custom.interfaces import MessageFactory as _
     22from waeup.uniben.interfaces import MessageFactory as _
    2323
    2424class CustomTheme1(grok.GlobalUtility):
  • main/waeup.uniben/trunk/src/waeup/uniben/configuration.py

    r7822 r8020  
    2424from waeup.kofa.configuration import (
    2525    SessionConfigurationFactory, SessionConfiguration)
    26 from waeup.custom.interfaces import (
     26from waeup.uniben.interfaces import (
    2727    ISessionConfiguration, ISessionConfigurationAdd)
    2828
  • main/waeup.uniben/trunk/src/waeup/uniben/configure.zcml

    r7695 r8020  
    44  <include package="grok" />
    55  <i18n:registerTranslations directory="locales" />
    6   <includeOverrides package="waeup.custom" file="overrides.zcml" />
     6  <includeOverrides package="waeup.uniben" file="overrides.zcml" />
    77</configure>
  • main/waeup.uniben/trunk/src/waeup/uniben/etranzact/browser.py

    r7976 r8020  
    2525from waeup.kofa.students.browser import write_log_message
    2626from waeup.kofa.students.viewlets import RequestCallbackActionButton
    27 from waeup.custom.interfaces import MessageFactory as _
    28 from waeup.custom.utils.utils import actions_after_payment
     27from waeup.uniben.interfaces import MessageFactory as _
     28from waeup.uniben.utils.utils import actions_after_payment
    2929
    3030TERMINAL_ID = '0000000001'
  • main/waeup.uniben/trunk/src/waeup/uniben/etranzact/browser_templates/enterpin.pt

    r7976 r8020  
    11<form tal:attributes="action view/action"
    2     method="POST" i18n:domain="waeup.custom">
     2    method="POST" i18n:domain="waeup.uniben">
    33  <table class="form-table">
    44    <tbody>
  • main/waeup.uniben/trunk/src/waeup/uniben/etranzact/tests.py

    r7995 r8020  
    1818from hurry.workflow.interfaces import IWorkflowState
    1919from waeup.kofa.students.tests.test_browser import StudentsFullSetup
    20 from waeup.custom.testing import FunctionalLayer
     20from waeup.uniben.testing import FunctionalLayer
    2121
    2222
  • main/waeup.uniben/trunk/src/waeup/uniben/ftesting.zcml

    r7822 r8020  
    22   xmlns="http://namespaces.zope.org/zope"
    33   xmlns:kofa="http://namespaces.waeup.org/kofa"
    4    i18n_domain="waeup.custom"
    5    package="waeup.custom"
     4   i18n_domain="waeup.uniben"
     5   package="waeup.uniben"
    66   >
    77
    88  <include package="grok" />
    9   <includeOverrides package="waeup.custom" />
    10   <includeOverrides package="waeup.custom" file="mail.zcml"/>
     9  <includeOverrides package="waeup.uniben" />
     10  <includeOverrides package="waeup.uniben" file="mail.zcml"/>
    1111
    1212  <!-- Where should the datacenter reside by default? -->
  • main/waeup.uniben/trunk/src/waeup/uniben/interfaces.py

    r7928 r8020  
    2222    ISessionConfiguration, academic_sessions_vocab)
    2323
    24 _ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.custom')
     24_ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.uniben')
    2525
    2626# It's recommended to replicate all fields from the base package here.
     
    7373        )
    7474
    75     # Additional fees in waeup.custom
     75    # Additional fees in waeup.uniben
    7676
    7777    maint_fee = schema.Float(
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py

    r7998 r8020  
    2626from waeup.kofa.students.browser import write_log_message
    2727from waeup.kofa.students.viewlets import RequestCallbackActionButton
    28 from waeup.custom.utils.utils import actions_after_payment
    29 from waeup.custom.interfaces import MessageFactory as _
     28from waeup.uniben.utils.utils import actions_after_payment
     29from waeup.uniben.interfaces import MessageFactory as _
    3030
    3131PRODUCT_ID = '57'
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser_templates/goto_interswitch.pt

    r7975 r8020  
    1 <form i18n:domain="waeup.custom"
     1<form i18n:domain="waeup.uniben"
    22  tal:attributes="action view/action" method="POST">
    33
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py

    r7998 r8020  
    1818from hurry.workflow.interfaces import IWorkflowState
    1919from waeup.kofa.students.tests.test_browser import StudentsFullSetup
    20 from waeup.custom.testing import FunctionalLayer
     20from waeup.uniben.testing import FunctionalLayer
    2121
    2222# Also run tests that send requests to external servers?
  • main/waeup.uniben/trunk/src/waeup/uniben/students/batching.py

    r7822 r8020  
    2424students, studycourses, payment tickets and accommodation tickets.
    2525"""
    26 from waeup.custom.students.interfaces import (
     26from waeup.uniben.students.interfaces import (
    2727    IStudent,
    2828    )
  • main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py

    r7998 r8020  
    2727    ExportPDFClearanceSlipPage)
    2828from waeup.kofa.students.viewlets import RequestCallbackActionButton
    29 from waeup.custom.students.interfaces import (
     29from waeup.uniben.students.interfaces import (
    3030    IStudent, IStudentPersonal,
    3131    IUGStudentClearance,IPGStudentClearance,
    3232    )
    33 from waeup.custom.interfaces import MessageFactory as _
     33from waeup.uniben.interfaces import MessageFactory as _
    3434
    3535class RequestCallbackActionButton(RequestCallbackActionButton):
  • main/waeup.uniben/trunk/src/waeup/uniben/students/student.py

    r7995 r8020  
    2323from waeup.kofa.utils.helpers import attrs_to_fields
    2424from waeup.kofa.students.student import Student, StudentFactory
    25 from waeup.custom.students.interfaces import IStudent, IStudentNavigation
     25from waeup.uniben.students.interfaces import IStudent, IStudentNavigation
    2626
    2727
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py

    r7995 r8020  
    2525from waeup.kofa.testing import FunctionalTestCase
    2626from waeup.kofa.students.batching import StudentProcessor as StudentProcessorBase
    27 from waeup.custom.students.batching import StudentProcessor
    28 from waeup.custom.testing import FunctionalLayer
     27from waeup.uniben.students.batching import StudentProcessor
     28from waeup.uniben.testing import FunctionalLayer
    2929
    3030STUDENT_SAMPLE_DATA = open(
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r7928 r8020  
    2020from waeup.kofa.students.utils import StudentsUtils
    2121from waeup.kofa.students.interfaces import IStudentsUtils
    22 from waeup.custom.interfaces import MessageFactory as _
     22from waeup.uniben.interfaces import MessageFactory as _
    2323
    2424def get_school_fee(student, surcharge):
  • main/waeup.uniben/trunk/src/waeup/uniben/testing.py

    r7419 r8020  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """Testing support for :mod:`waeup.custom`.
     18"""Testing support for :mod:`waeup.uniben`.
    1919"""
    2020import os.path
    21 import waeup.custom
     21import waeup.uniben
    2222from zope.app.testing.functional import ZCMLLayer
    2323
    2424ftesting_zcml = os.path.join(
    25     os.path.dirname(waeup.custom.__file__), 'ftesting.zcml')
     25    os.path.dirname(waeup.uniben.__file__), 'ftesting.zcml')
    2626FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
    2727                            allow_teardown=True)
  • main/waeup.uniben/trunk/src/waeup/uniben/tests/test_configuration.py

    r7822 r8020  
    2525from waeup.kofa.tests.test_configuration import (
    2626    ConfigurationTest, SessionConfigurationFactoryTest)
    27 from waeup.custom.configuration import (
     27from waeup.uniben.configuration import (
    2828    SessionConfiguration, SessionConfigurationFactory)
    29 from waeup.custom.interfaces import(
     29from waeup.uniben.interfaces import(
    3030    ISessionConfiguration, ISessionConfigurationAdd)
    31 from waeup.custom.testing import FunctionalLayer
     31from waeup.uniben.testing import FunctionalLayer
    3232
    3333class ConfigurationTest(ConfigurationTest):
  • main/waeup.uniben/trunk/src/waeup/uniben/tests/test_datacenter.py

    r7822 r8020  
    1818from waeup.kofa.datacenter import DataCenter
    1919from waeup.kofa.testing import FunctionalTestCase
    20 from waeup.custom.testing import FunctionalLayer
     20from waeup.uniben.testing import FunctionalLayer
    2121
    2222
  • main/waeup.uniben/trunk/src/waeup/uniben/tests/test_smtp.py

    r7822 r8020  
    3333    send_mail)
    3434from waeup.kofa.testing import FunctionalTestCase
    35 from waeup.custom.testing import FunctionalLayer
     35from waeup.uniben.testing import FunctionalLayer
    3636
    3737#
  • main/waeup.uniben/trunk/src/waeup/uniben/utils/tests.py

    r7822 r8020  
    1717##
    1818from waeup.kofa.testing import FunctionalTestCase
    19 from waeup.custom.testing import FunctionalLayer
     19from waeup.uniben.testing import FunctionalLayer
    2020
    2121
  • main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py

    r7926 r8020  
    2121from waeup.kofa.utils.utils import KofaUtils
    2222from waeup.kofa.accesscodes import create_accesscode
    23 from waeup.custom.interfaces import MessageFactory as _
     23from waeup.uniben.interfaces import MessageFactory as _
    2424
    2525def actions_after_payment(student, payment, view):
Note: See TracChangeset for help on using the changeset viewer.