Ignore:
Timestamp:
13 Nov 2014, 16:03:08 (10 years ago)
Author:
Henrik Bettermann
Message:

More renaming: University -> Institution, Student -> Customer
Change portal title.

Location:
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/batching.txt

    r11949 r11952  
    2020* accepts a single data type identified by an interface.
    2121
    22 * knows about the places inside a site (University) where to store,
     22* knows about the places inside a site (Institution) where to store,
    2323  remove or update the data.
    2424
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/browser.py

    r11949 r11952  
    2525from waeup.ikoba.interfaces import IObjectHistory
    2626
    27 from waeup.ikoba.interfaces import IUniversity
     27from waeup.ikoba.interfaces import IInstitution
    2828
    2929class ReindexPage(UtilityView, grok.View):
     
    3232    Reindexes a catalog. For managers only.
    3333    """
    34     grok.context(IUniversity)
     34    grok.context(IInstitution)
    3535    grok.name('reindex')
    3636    grok.require('waeup.managePortal')
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/helpers.txt

    r11949 r11952  
    185185     ... <BLANKLINE>
    186186     ... <body>
    187      ... <form action="http://localhost/myuniversity/faculties/TF/add"
     187     ... <form action="http://localhost/myinstitution/faculties/TF/add"
    188188     ...       method="post" class="edit-form"
    189189     ...       enctype="multipart/form-data">
     
    194194     ... """)
    195195     <BLANKLINE>
    196      <form action="http://localhost/myuniversity/faculties/TF/add"
     196     <form action="http://localhost/myinstitution/faculties/TF/add"
    197197           method="post" class="edit-form"
    198198           enctype="multipart/form-data">
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/logger.py

    r11949 r11952  
    6767
    6868The datacenter and its storage are created automatically when you
    69 create a :class:`waeup.ikoba.app.University`. This also means that
     69create a :class:`waeup.ikoba.app.Institution`. This also means that
    7070logging with the `Logger` mix-in will work only inside so-called sites
    71 (`University` instances put into ZODB are such `sites`).
     71(`Institution` instances put into ZODB are such `sites`).
    7272
    7373Other components in this module help to make everything work.
     
    386386    return
    387387
    388 from waeup.ikoba.interfaces import IUniversity
    389 @grok.subscribe(IUniversity, grok.IObjectRemovedEvent)
     388from waeup.ikoba.interfaces import IInstitution
     389@grok.subscribe(IInstitution, grok.IObjectRemovedEvent)
    390390def handle_site_removed(obj, event):
    391391    collector = queryUtility(ILoggerCollector)
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_batching.py

    r11949 r11952  
    3030from zope.component.interfaces import IFactory
    3131from zope.interface import Interface, implements, verify
    32 from waeup.ikoba.app import University
     32from waeup.ikoba.app import Institution
    3333from waeup.ikoba.interfaces import (
    3434    ICSVExporter, IBatchProcessor, IExportJobContainer, IJobManager,
     
    137137
    138138        # Setup a sample site for each test
    139         app = University()
     139        app = Institution()
    140140        self.dc_root = tempfile.mkdtemp()
    141141        app['datacenter'].setStoragePath(self.dc_root)
     
    597597    def test_active_site(self):
    598598        # we get the datafinder if one is installed and site set
    599         self.getRootFolder()['app'] = University()
     599        self.getRootFolder()['app'] = Institution()
    600600        finder = getUtility(IExportContainerFinder)
    601601        setSite(self.getRootFolder()['app'])
     
    606606    def test_broken_site(self):
    607607        # if the current site has no ExportContainer, we get None
    608         self.getRootFolder()['app'] = University()
     608        self.getRootFolder()['app'] = Institution()
    609609        app = self.getRootFolder()['app']
    610610        del app['datacenter'] # datacenter _is_ the export container
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_converters.py

    r11949 r11952  
    3232    Interface, implements, invariant, Invalid, implementedBy, verify)
    3333
    34 from waeup.ikoba.app import University
     34from waeup.ikoba.app import Institution
    3535from waeup.ikoba.testing import FunctionalLayer, FunctionalTestCase
    3636from waeup.ikoba.interfaces import (
     
    155155
    156156        # Setup a sample site for each test
    157         app = University()
     157        app = Institution()
    158158        self.dc_root = tempfile.mkdtemp()
    159159        app['datacenter'].setStoragePath(self.dc_root)
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/tests/test_logger.py

    r11949 r11952  
    2525from zope.component.hooks import setSite, clearSite
    2626from zope.interface.verify import verifyClass, verifyObject
    27 from waeup.ikoba.app import University
     27from waeup.ikoba.app import Institution
    2828from waeup.ikoba.testing import FunctionalLayer, FunctionalTestCase
    2929
     
    4949        super(LoggersTests, self).setUp()
    5050        # Setup a sample site for each test
    51         app = University()
     51        app = Institution()
    5252        self.dc_root = tempfile.mkdtemp()
    5353        self.dc_root2 = None
     
    223223
    224224        # Setup a sample site for each test
    225         app = University()
     225        app = Institution()
    226226        self.dc_root = tempfile.mkdtemp()
    227227        app['datacenter'].setStoragePath(self.dc_root)
     
    281281        super(LoggerCollectorTests, self).setUp()
    282282        # Setup a sample site for each test
    283         app = University()
     283        app = Institution()
    284284        self.dc_root = tempfile.mkdtemp()
    285285        app['datacenter'].setStoragePath(self.dc_root)
     
    377377        super(LogfileChangeTests, self).setUp()
    378378        # Setup a sample site for each test
    379         app = University()
     379        app = Institution()
    380380        self.dc_root = tempfile.mkdtemp()
    381381        self.dc_root_new = None
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/utils/utils.py

    r11949 r11952  
    136136        }
    137137
    138     DISABLE_PAYMENT_GROUP_DICT = {
    139         'sf_all': 'School Fee - All Students',
    140         }
    141 
    142138    APP_CATS_DICT = {
    143139        'basic': 'Basic Application',
     
    267263
    268264${b}
    269 Student Registration and Information Portal of
     265Application and Registration Portal of
    270266${c}.
    271267
Note: See TracChangeset for help on using the changeset viewer.