Changeset 8020 for main/waeup.uniben/trunk/src/waeup/uniben
- Timestamp:
- 2 Apr 2012, 11:05:40 (13 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 30 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
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.