Changeset 8020
- Timestamp:
- 2 Apr 2012, 11:05:40 (13 years ago)
- Location:
- main/waeup.uniben/trunk
- Files:
-
- 36 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/buildout-windows.cfg
r7587 r8020 52 52 # This creates only the paster script in bin/. 53 53 recipe = zc.recipe.egg 54 eggs = waeup. custom54 eggs = waeup.uniben 55 55 z3c.evalexception>=2.0 56 56 Paste -
main/waeup.uniben/trunk/buildout.cfg
r7825 r8020 62 62 # This creates all scripts in bin/. The kofactl created here is 'faulty'. 63 63 recipe = zc.recipe.egg 64 eggs = waeup. custom[beaker]64 eggs = waeup.uniben [beaker] 65 65 z3c.evalexception>=2.0 66 66 Paste … … 74 74 # fixed path to zdaemon.conf as argument. 75 75 recipe = zc.recipe.egg 76 eggs = waeup. custom[beaker]76 eggs = waeup.uniben [beaker] 77 77 arguments = "${buildout:parts-directory}/etc/zdaemon.conf" 78 78 scripts = kofactl=kofactl … … 89 89 [test] 90 90 recipe = zc.recipe.testrunner 91 eggs = waeup. custom[beaker, test]91 eggs = waeup.uniben [beaker, test] 92 92 defaults = ['--tests-pattern', '^f?tests$', '-v'] 93 93 … … 95 95 [i18n] 96 96 recipe = z3c.recipe.i18n:i18n 97 packages = waeup. custom98 eggs = waeup. custom99 domain = waeup. custom100 output = src/waeup/ custom/locales97 packages = waeup.uniben 98 eggs = waeup.uniben 99 domain = waeup.uniben 100 output = src/waeup/uniben/locales 101 101 zcml = 102 102 … … 105 105 [zpasswd] 106 106 recipe = z3c.recipe.dev:script 107 eggs = waeup. custom107 eggs = waeup.uniben 108 108 module = zope.app.server.zpasswd 109 109 method = main … … 157 157 [waeupdocs] 158 158 recipe = collective.recipe.sphinxbuilder 159 eggs = waeup. custom[docs]159 eggs = waeup.uniben[docs] 160 160 source = ${buildout:directory}/docs/source 161 161 build = ${buildout:directory}/docs/build … … 164 164 [coverage-detect] 165 165 recipe = zc.recipe.testrunner 166 eggs = waeup. custom[beaker]166 eggs = waeup.uniben[beaker] 167 167 defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] 168 168 -
main/waeup.uniben/trunk/etc/debug.ini.in
r6891 r8020 54 54 55 55 [app:zope] 56 use = egg:waeup. custom#debug56 use = egg:waeup.uniben#debug 57 57 filter-with = translogger 58 58 exempt-exceptions = zope.security.interfaces.IUnauthorized -
main/waeup.uniben/trunk/etc/deploy.ini.in
r6891 r8020 48 48 49 49 [app:main] 50 use = egg:waeup. custom50 use = egg:waeup.uniben 51 51 filter-with = translogger 52 52 -
main/waeup.uniben/trunk/etc/site.zcml.in
r7825 r8020 1 1 <configure xmlns="http://namespaces.zope.org/zope" 2 2 xmlns:kofa="http://namespaces.waeup.org/kofa" 3 i18n_domain="waeup. custom">3 i18n_domain="waeup.uniben"> 4 4 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" /> 7 7 8 8 <!-- Where should the datacenter reside by default? --> … … 10 10 path="${buildout:directory}/var/datacenter" /> 11 11 12 <configure i18n_domain="waeup. custom">12 <configure i18n_domain="waeup.uniben"> 13 13 14 14 <unauthenticatedPrincipal id="zope.anybody" -
main/waeup.uniben/trunk/setup.py
r7825 r8020 43 43 read('README.txt') 44 44 + '\n\n' 45 + read('src', 'waeup', ' custom', 'README.txt')45 + read('src', 'waeup', 'uniben', 'README.txt') 46 46 + '\n\n' 47 47 + read('CHANGES.txt') … … 51 51 ) 52 52 53 setup(name = 'waeup. custom',53 setup(name = 'waeup.uniben', 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.custom.browser.resources:waeup_custom91 waeup_uniben = waeup.uniben.browser.resources:waeup_uniben 92 92 [console_scripts] 93 93 kofa-debug = grokcore.startup:interactive_debug_prompt -
main/waeup.uniben/trunk/src/waeup/uniben/README.txt
r6890 r8020 1 The waeup. custompackage1 The waeup.uniben package 2 2 ************************ 3 3 -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/applicant.py
r8012 r8020 22 22 from waeup.kofa.applicants.interfaces import IApplicantEdit 23 23 from waeup.kofa.utils.helpers import attrs_to_fields 24 from waeup. custom.applicants.interfaces import(24 from waeup.uniben.applicants.interfaces import( 25 25 IApplicant, IUGApplicantEdit, IPGApplicantEdit) 26 26 -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r8017 r8020 29 29 from waeup.kofa.applicants.pdf import PDFApplicationSlip 30 30 #from waeup.kofa.applicants.interfaces import IApplicant, IApplicantEdit 31 from waeup. custom.applicants.interfaces import (31 from waeup.uniben.applicants.interfaces import ( 32 32 IPGApplicant, IUGApplicant, IPGApplicantEdit, IUGApplicantEdit) 33 from waeup. custom.interfaces import MessageFactory as _33 from waeup.uniben.interfaces import MessageFactory as _ 34 34 35 35 class RequestCallbackActionButton(RequestCallbackActionButton): -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py
r8017 r8020 21 21 from zope import schema 22 22 from waeup.kofa.applicants.interfaces import IApplicant, IApplicantProcessData 23 from waeup. custom.interfaces import MessageFactory as _23 from waeup.uniben.interfaces import MessageFactory as _ 24 24 25 25 class IUGApplicant(IApplicant): -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests.py
r8017 r8020 28 28 from waeup.kofa.testing import FunctionalTestCase 29 29 from waeup.kofa.applicants.container import ApplicantsContainer 30 from waeup. custom.testing import FunctionalLayer30 from waeup.uniben.testing import FunctionalLayer 31 31 from waeup.kofa.interfaces import IBatchProcessor 32 32 -
main/waeup.uniben/trunk/src/waeup/uniben/browser/pages.py
r7822 r8020 19 19 from waeup.kofa.browser.pages import ( 20 20 SessionConfigurationAddFormPage, SessionConfigurationManageFormPage) 21 from waeup. custom.interfaces import (21 from waeup.uniben.interfaces import ( 22 22 ISessionConfiguration, ISessionConfigurationAdd) 23 23 -
main/waeup.uniben/trunk/src/waeup/uniben/browser/resources.py
r7822 r8020 22 22 23 23 #: All local resources are registered under the name ``waeup_custom``. 24 waeup_ custom = Library('waeup_custom', 'static')24 waeup_uniben = Library('waeup_uniben', 'static') 25 25 26 26 custom_theme_1 = ResourceInclusion( 27 waeup_ custom, 'custom_theme_1.css',27 waeup_uniben, 'custom_theme_1.css', 28 28 depends = [waeup_base_css]) 29 29 -
main/waeup.uniben/trunk/src/waeup/uniben/browser/tests.py
r7822 r8020 21 21 from zope.component.hooks import setSite, clearSite 22 22 from waeup.kofa.testing import FunctionalTestCase 23 from waeup. custom.testing import FunctionalLayer23 from waeup.uniben.testing import FunctionalLayer 24 24 from waeup.kofa.app import University 25 25 -
main/waeup.uniben/trunk/src/waeup/uniben/browser/theming.py
r7822 r8020 18 18 import grok 19 19 from waeup.kofa.browser.interfaces import ITheme 20 from waeup. custom.browser.resources import custom_theme_120 from waeup.uniben.browser.resources import custom_theme_1 21 21 22 from waeup. custom.interfaces import MessageFactory as _22 from waeup.uniben.interfaces import MessageFactory as _ 23 23 24 24 class CustomTheme1(grok.GlobalUtility): -
main/waeup.uniben/trunk/src/waeup/uniben/configuration.py
r7822 r8020 24 24 from waeup.kofa.configuration import ( 25 25 SessionConfigurationFactory, SessionConfiguration) 26 from waeup. custom.interfaces import (26 from waeup.uniben.interfaces import ( 27 27 ISessionConfiguration, ISessionConfigurationAdd) 28 28 -
main/waeup.uniben/trunk/src/waeup/uniben/configure.zcml
r7695 r8020 4 4 <include package="grok" /> 5 5 <i18n:registerTranslations directory="locales" /> 6 <includeOverrides package="waeup. custom" file="overrides.zcml" />6 <includeOverrides package="waeup.uniben" file="overrides.zcml" /> 7 7 </configure> -
main/waeup.uniben/trunk/src/waeup/uniben/etranzact/browser.py
r7976 r8020 25 25 from waeup.kofa.students.browser import write_log_message 26 26 from waeup.kofa.students.viewlets import RequestCallbackActionButton 27 from waeup. custom.interfaces import MessageFactory as _28 from waeup. custom.utils.utils import actions_after_payment27 from waeup.uniben.interfaces import MessageFactory as _ 28 from waeup.uniben.utils.utils import actions_after_payment 29 29 30 30 TERMINAL_ID = '0000000001' -
main/waeup.uniben/trunk/src/waeup/uniben/etranzact/browser_templates/enterpin.pt
r7976 r8020 1 1 <form tal:attributes="action view/action" 2 method="POST" i18n:domain="waeup. custom">2 method="POST" i18n:domain="waeup.uniben"> 3 3 <table class="form-table"> 4 4 <tbody> -
main/waeup.uniben/trunk/src/waeup/uniben/etranzact/tests.py
r7995 r8020 18 18 from hurry.workflow.interfaces import IWorkflowState 19 19 from waeup.kofa.students.tests.test_browser import StudentsFullSetup 20 from waeup. custom.testing import FunctionalLayer20 from waeup.uniben.testing import FunctionalLayer 21 21 22 22 -
main/waeup.uniben/trunk/src/waeup/uniben/ftesting.zcml
r7822 r8020 2 2 xmlns="http://namespaces.zope.org/zope" 3 3 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" 6 6 > 7 7 8 8 <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"/> 11 11 12 12 <!-- Where should the datacenter reside by default? --> -
main/waeup.uniben/trunk/src/waeup/uniben/interfaces.py
r7928 r8020 22 22 ISessionConfiguration, academic_sessions_vocab) 23 23 24 _ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup. custom')24 _ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.uniben') 25 25 26 26 # It's recommended to replicate all fields from the base package here. … … 73 73 ) 74 74 75 # Additional fees in waeup. custom75 # Additional fees in waeup.uniben 76 76 77 77 maint_fee = schema.Float( -
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py
r7998 r8020 26 26 from waeup.kofa.students.browser import write_log_message 27 27 from waeup.kofa.students.viewlets import RequestCallbackActionButton 28 from waeup. custom.utils.utils import actions_after_payment29 from waeup. custom.interfaces import MessageFactory as _28 from waeup.uniben.utils.utils import actions_after_payment 29 from waeup.uniben.interfaces import MessageFactory as _ 30 30 31 31 PRODUCT_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" 2 2 tal:attributes="action view/action" method="POST"> 3 3 -
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py
r7998 r8020 18 18 from hurry.workflow.interfaces import IWorkflowState 19 19 from waeup.kofa.students.tests.test_browser import StudentsFullSetup 20 from waeup. custom.testing import FunctionalLayer20 from waeup.uniben.testing import FunctionalLayer 21 21 22 22 # Also run tests that send requests to external servers? -
main/waeup.uniben/trunk/src/waeup/uniben/students/batching.py
r7822 r8020 24 24 students, studycourses, payment tickets and accommodation tickets. 25 25 """ 26 from waeup. custom.students.interfaces import (26 from waeup.uniben.students.interfaces import ( 27 27 IStudent, 28 28 ) -
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r7998 r8020 27 27 ExportPDFClearanceSlipPage) 28 28 from waeup.kofa.students.viewlets import RequestCallbackActionButton 29 from waeup. custom.students.interfaces import (29 from waeup.uniben.students.interfaces import ( 30 30 IStudent, IStudentPersonal, 31 31 IUGStudentClearance,IPGStudentClearance, 32 32 ) 33 from waeup. custom.interfaces import MessageFactory as _33 from waeup.uniben.interfaces import MessageFactory as _ 34 34 35 35 class RequestCallbackActionButton(RequestCallbackActionButton): -
main/waeup.uniben/trunk/src/waeup/uniben/students/student.py
r7995 r8020 23 23 from waeup.kofa.utils.helpers import attrs_to_fields 24 24 from waeup.kofa.students.student import Student, StudentFactory 25 from waeup. custom.students.interfaces import IStudent, IStudentNavigation25 from waeup.uniben.students.interfaces import IStudent, IStudentNavigation 26 26 27 27 -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r7995 r8020 25 25 from waeup.kofa.testing import FunctionalTestCase 26 26 from waeup.kofa.students.batching import StudentProcessor as StudentProcessorBase 27 from waeup. custom.students.batching import StudentProcessor28 from waeup. custom.testing import FunctionalLayer27 from waeup.uniben.students.batching import StudentProcessor 28 from waeup.uniben.testing import FunctionalLayer 29 29 30 30 STUDENT_SAMPLE_DATA = open( -
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r7928 r8020 20 20 from waeup.kofa.students.utils import StudentsUtils 21 21 from waeup.kofa.students.interfaces import IStudentsUtils 22 from waeup. custom.interfaces import MessageFactory as _22 from waeup.uniben.interfaces import MessageFactory as _ 23 23 24 24 def get_school_fee(student, surcharge): -
main/waeup.uniben/trunk/src/waeup/uniben/testing.py
r7419 r8020 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """Testing support for :mod:`waeup. custom`.18 """Testing support for :mod:`waeup.uniben`. 19 19 """ 20 20 import os.path 21 import waeup. custom21 import waeup.uniben 22 22 from zope.app.testing.functional import ZCMLLayer 23 23 24 24 ftesting_zcml = os.path.join( 25 os.path.dirname(waeup. custom.__file__), 'ftesting.zcml')25 os.path.dirname(waeup.uniben.__file__), 'ftesting.zcml') 26 26 FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer', 27 27 allow_teardown=True) -
main/waeup.uniben/trunk/src/waeup/uniben/tests/test_configuration.py
r7822 r8020 25 25 from waeup.kofa.tests.test_configuration import ( 26 26 ConfigurationTest, SessionConfigurationFactoryTest) 27 from waeup. custom.configuration import (27 from waeup.uniben.configuration import ( 28 28 SessionConfiguration, SessionConfigurationFactory) 29 from waeup. custom.interfaces import(29 from waeup.uniben.interfaces import( 30 30 ISessionConfiguration, ISessionConfigurationAdd) 31 from waeup. custom.testing import FunctionalLayer31 from waeup.uniben.testing import FunctionalLayer 32 32 33 33 class ConfigurationTest(ConfigurationTest): -
main/waeup.uniben/trunk/src/waeup/uniben/tests/test_datacenter.py
r7822 r8020 18 18 from waeup.kofa.datacenter import DataCenter 19 19 from waeup.kofa.testing import FunctionalTestCase 20 from waeup. custom.testing import FunctionalLayer20 from waeup.uniben.testing import FunctionalLayer 21 21 22 22 -
main/waeup.uniben/trunk/src/waeup/uniben/tests/test_smtp.py
r7822 r8020 33 33 send_mail) 34 34 from waeup.kofa.testing import FunctionalTestCase 35 from waeup. custom.testing import FunctionalLayer35 from waeup.uniben.testing import FunctionalLayer 36 36 37 37 # -
main/waeup.uniben/trunk/src/waeup/uniben/utils/tests.py
r7822 r8020 17 17 ## 18 18 from waeup.kofa.testing import FunctionalTestCase 19 from waeup. custom.testing import FunctionalLayer19 from waeup.uniben.testing import FunctionalLayer 20 20 21 21 -
main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py
r7926 r8020 21 21 from waeup.kofa.utils.utils import KofaUtils 22 22 from waeup.kofa.accesscodes import create_accesscode 23 from waeup. custom.interfaces import MessageFactory as _23 from waeup.uniben.interfaces import MessageFactory as _ 24 24 25 25 def actions_after_payment(student, payment, view):
Note: See TracChangeset for help on using the changeset viewer.