Changeset 14178 for main


Ignore:
Timestamp:
22 Sep 2016, 20:11:06 (8 years ago)
Author:
Henrik Bettermann
Message:

Renaming and further adjustments.

Location:
main/ikobacustom.uniben/trunk
Files:
40 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.uniben/trunk/README.txt

    r13790 r14178  
    1 ikobacustom.skeleton
     1ikobacustom.uniben
    22********************
    33
     
    1212  (py27)$ ./bin/buildout -c buildout-init.cfg
    1313
    14   (py27)$ python bootstrap.py
    15 
    1614  (py27)$ ./bin/buildout
  • main/ikobacustom.uniben/trunk/buildout.cfg

    r12304 r14178  
    5050host = 0.0.0.0
    5151# default is 8080
    52 base_port = 8080
    53 zeo1_port = 8080
    54 zeo2_port = 8081
    55 zeo3_port = 8082
    56 server_port = 8100
     52base_port = 7151
     53zeo1_port = 7151
     54zeo2_port = 7151
     55zeo3_port = 7152
     56server_port = 7150
    5757# default 7. Number of pre-opened ZODB threads/client
    5858pool_size = 7
     
    6363# number of preopened paster threads, default 10
    6464threadpool_workers = 10
    65 devel_pkg = ikobacustom.skeleton
     65devel_pkg = ikobacustom.uniben
    6666
    6767[app]
    6868# This creates all scripts in bin/. The ikobactl created here is 'faulty'.
    6969recipe = zc.recipe.egg
    70 eggs = ikobacustom.skeleton [beaker, diazo]
     70eggs = ikobacustom.uniben [beaker, diazo]
    7171       z3c.evalexception>=2.0
    7272       Paste
     
    8282# fixed path to zdaemon.conf as argument.
    8383recipe = zc.recipe.egg
    84 eggs = ikobacustom.skeleton [beaker, diazo]
     84eggs = ikobacustom.uniben [beaker, diazo]
    8585       waeup.ikoba
    8686arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
     
    101101[test]
    102102recipe = zc.recipe.testrunner
    103 eggs = ikobacustom.skeleton [beaker, test]
     103eggs = ikobacustom.uniben [beaker, test]
    104104defaults = ['--tests-pattern', '^f?tests$', '-v']
    105105
     
    107107[i18n]
    108108recipe = z3c.recipe.i18n:i18n
    109 packages = ikobacustom.skeleton
    110 eggs = ikobacustom.skeleton
    111 domain = ikobacustom.skeleton
    112 output = src/ikobacustom/skeleton/locales
     109packages = ikobacustom.uniben
     110eggs = ikobacustom.uniben
     111domain = ikobacustom.uniben
     112output = src/ikobacustom/uniben/locales
    113113zcml =
    114114
     
    117117[zpasswd]
    118118recipe = z3c.recipe.dev:script
    119 eggs = ikobacustom.skeleton
     119eggs = ikobacustom.uniben
    120120module = zope.app.server.zpasswd
    121121method = main
     
    187187#[waeupdocs]
    188188#recipe = collective.recipe.sphinxbuilder
    189 #eggs = ikobacustom.skeleton[docs]
     189#eggs = ikobacustom.uniben[docs]
    190190#source = ${buildout:directory}/docs/source
    191191#build = ${buildout:directory}/docs/build
     
    194194[coverage-detect]
    195195recipe = zc.recipe.testrunner
    196 eggs = ikobacustom.skeleton[beaker]
     196eggs = ikobacustom.uniben[beaker]
    197197defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
    198198
     
    215215    diazo [wsgi]
    216216    PasteScript
    217     ikobacustom.skeleton [beaker,diazo]
     217    ikobacustom.uniben [beaker,diazo]
  • main/ikobacustom.uniben/trunk/etc/site.zcml.in

    r12405 r14178  
    11<configure xmlns="http://namespaces.zope.org/zope"
    22           xmlns:ikoba="http://namespaces.waeup.org/ikoba"
    3            i18n_domain="ikobacustom.skeleton">
     3           i18n_domain="ikobacustom.uniben">
    44
    5   <include package="ikobacustom.skeleton" />
    6   <include package="ikobacustom.skeleton" file="mail.zcml" />
     5  <include package="ikobacustom.uniben" />
     6  <include package="ikobacustom.uniben" file="mail.zcml" />
    77
    88  <!-- install job container
     
    3333      path="${buildout:directory}/etc/paypal.conf" />
    3434
    35     <configure i18n_domain="ikobacustom.skeleton">
     35    <configure i18n_domain="ikobacustom.uniben">
    3636
    3737      <unauthenticatedPrincipal id="zope.anybody"
     
    4646                 title="Manager"
    4747                 login="grok"
    48                  password_manager="SHA1"
    49                  password="321b9cd3739bd029629243732eb682db005a7541f7509622"
     48                 password_manager="SSHA"
     49                 password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8"
    5050                 />
    5151
  • main/ikobacustom.uniben/trunk/layout/rules.xml

    r13811 r14178  
    5050
    5151    <!-- maintenance mode warning -->
    52     <drop css:theme="div.kofa-maintenance"
     52    <drop css:theme="div.ikoba-maintenance"
    5353          css:if-not-content="div.maintenance-warning" />
    5454    <replace css:theme-children="div.maintenance-warning"
  • main/ikobacustom.uniben/trunk/layout/theme.html

    r13811 r14178  
    8989
    9090      <div class="row">
    91         <div class="col-md-12 container kofa-maintenance">
     91        <div class="col-md-12 container ikoba-maintenance">
    9292          <div class="well">
    9393            <div class="maintenance-warning">
     
    9595            </div> <!-- /maintenance-warning -->
    9696          </div> <!-- /well -->
    97         </div> <!-- /kofa-maintenance -->
     97        </div> <!-- /ikoba-maintenance -->
    9898      </div>
    9999
  • main/ikobacustom.uniben/trunk/setup.py

    r12175 r14178  
    5252    )
    5353
    54 setup(name = 'ikobacustom.skeleton',
     54setup(name = 'ikobacustom.uniben',
    5555      version = version,
    5656      description = "Customizations of the waeup.ikoba package",
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/configure.zcml

    r12175 r14178  
    66  -->
    77  <include package="waeup.ikoba" />
    8   <include package="ikobacustom.skeleton" file="locales.zcml" />
     8  <include package="ikobacustom.uniben" file="locales.zcml" />
    99  <grok:grok package="." />
    1010
     
    1414           zope.publisher.interfaces.browser.IBrowserRequest"
    1515      provides="zope.formlib.interfaces.ISimpleInputWidget"
    16       factory="ikobacustom.skeleton.widgets.phonewidget.NigeriaPhoneWidget"
     16      factory="ikobacustom.uniben.widgets.phonewidget.NigeriaPhoneWidget"
    1717      permission="zope.Public"
    1818      />
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/batching.py

    r12286 r14178  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """Batch processing for skeleton documents.
     18"""Batch processing for uniben documents.
    1919"""
    2020import grok
     
    2222    CustomerProcessor,
    2323    CustomerDocumentProcessorBase, ContractProcessorBase)
    24 from ikobacustom.skeleton.customers.interfaces import (
     24from ikobacustom.uniben.customers.interfaces import (
    2525    ISkeletonCustomer,
    2626    ISkeletonCustomerDocument, ISkeletonContract)
    27 from ikobacustom.skeleton.interfaces import MessageFactory as _
     27from ikobacustom.uniben.interfaces import MessageFactory as _
    2828
    2929
     
    3131    """A batch processor for ICustomer objects.
    3232    """
    33     util_name = 'skeletoncustomerprocessor'
     33    util_name = 'unibencustomerprocessor'
    3434    grok.name(util_name)
    3535    name = _('Skeleton Customer Processor')
     
    4040    """A batch processor for ISkeletonCustomerDocument objects.
    4141    """
    42     util_name = 'skeletoncustomerdocumentprocessor'
     42    util_name = 'unibencustomerdocumentprocessor'
    4343    grok.name(util_name)
    4444    name = _('Skeleton Customer Document Processor')
     
    5050    """A batch processor for ISkeletonContract objects.
    5151    """
    52     util_name = 'skeletoncontractprocessor'
     52    util_name = 'unibencontractprocessor'
    5353    grok.name(util_name)
    5454    name = _('Skeleton Customer Contract Processor')
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/browser.py

    r13067 r14178  
    2121from waeup.ikoba.customers.browser import (
    2222    PDFContractSlip, CustomerBaseEditFormPage)
    23 from ikobacustom.skeleton.interfaces import MessageFactory as _
     23from ikobacustom.uniben.interfaces import MessageFactory as _
    2424
    2525class PDFContractSlip(PDFContractSlip):
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/contracts.py

    r12502 r14178  
    2626from waeup.ikoba.customers.interfaces import ICustomerNavigation
    2727from waeup.ikoba.customers.contracts import ContractBase
    28 from ikobacustom.skeleton.interfaces import MessageFactory as _
    29 from ikobacustom.skeleton.customers.interfaces import (
     28from ikobacustom.uniben.interfaces import MessageFactory as _
     29from ikobacustom.uniben.customers.interfaces import (
    3030    ISkeletonContract, ISkeletonContractEdit, ISkeletonContractProcess,
    3131    ISkeletonContractOfficialUse)
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/customer.py

    r12399 r14178  
    2525from waeup.ikoba.customers.customer import Customer
    2626from waeup.ikoba.customers.interfaces import ICustomerNavigation
    27 from ikobacustom.skeleton.customers.interfaces import ISkeletonCustomer
    28 from ikobacustom.skeleton.interfaces import MessageFactory as _
     27from ikobacustom.uniben.customers.interfaces import ISkeletonCustomer
     28from ikobacustom.uniben.interfaces import MessageFactory as _
    2929
    3030
     
    4646    grok.implements(IFactory)
    4747    grok.name(u'waeup.Customer')
    48     title = u"Create a new skeleton customer.",
    49     description = u"This factory instantiates new skeleton customer instances."
     48    title = u"Create a new uniben customer.",
     49    description = u"This factory instantiates new uniben customer instances."
    5050
    5151    def __call__(self, *args, **kw):
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/documents.py

    r12355 r14178  
    2525from waeup.ikoba.customers.interfaces import ICustomerNavigation
    2626from waeup.ikoba.customers.documents import CustomerDocumentBase
    27 from ikobacustom.skeleton.interfaces import MessageFactory as _
    28 from ikobacustom.skeleton.customers.interfaces import ISkeletonCustomerDocument
     27from ikobacustom.uniben.interfaces import MessageFactory as _
     28from ikobacustom.uniben.customers.interfaces import ISkeletonCustomerDocument
    2929
    3030
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/export.py

    r12502 r14178  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """Exporters for skeleton customer objects and subobjects.
     18"""Exporters for uniben customer objects and subobjects.
    1919"""
    2020import grok
    2121from waeup.ikoba.customers.export import (
    2222    CustomerExporter, CustomerDocumentExporterBase, ContractExporterBase)
    23 from ikobacustom.skeleton.customers.interfaces import (
     23from ikobacustom.uniben.customers.interfaces import (
    2424    ISkeletonCustomer, ISkeletonCustomerDocument, ISkeletonContractProcess)
    25 from ikobacustom.skeleton.interfaces import MessageFactory as _
     25from ikobacustom.uniben.interfaces import MessageFactory as _
    2626
    2727class SkeletonCustomerExporter(CustomerExporter):
     
    3535    """Exporter for documents.
    3636    """
    37     grok.name('skeletoncustomerdocuments')
     37    grok.name('unibencustomerdocuments')
    3838    iface = ISkeletonCustomerDocument
    3939    title = _(u'Skeleton Customer Documents')
     
    4444    """Exporter for Contract instances.
    4545    """
    46     grok.name('skeletoncontracts')
     46    grok.name('unibencontracts')
    4747    iface = ISkeletonContractProcess
    4848    title = _(u'Skeleton Customer Contracts')
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/fileviewlets.py

    r13067 r14178  
    2323    FileDisplay, FileUpload, Image)
    2424
    25 from ikobacustom.skeleton.customers.documents import SkeletonCustomerDocument
     25from ikobacustom.uniben.customers.documents import SkeletonCustomerDocument
    2626
    2727from waeup.ikoba.customers.browser import (
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/interfaces.py

    r12502 r14178  
    2424    ConCatProductSource, CustomerDocumentSource)
    2525from waeup.ikoba.products.productoptions import ProductOptionField
    26 from ikobacustom.skeleton.interfaces import MessageFactory as _
     26from ikobacustom.uniben.interfaces import MessageFactory as _
    2727
    2828
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_browser.py

    r12665 r14178  
    3030from waeup.ikoba.customers.tests.test_batching import CustomerImportExportSetup
    3131from waeup.ikoba.customers.tests.test_browser import CustomersFullSetup
    32 from ikobacustom.skeleton.customers.export import (
     32from ikobacustom.uniben.customers.export import (
    3333    SkeletonCustomerExporter,
    3434    SkeletonCustomerDocumentExporter,
    3535    SkeletonContractExporter)
    36 from ikobacustom.skeleton.customers.batching import (
     36from ikobacustom.uniben.customers.batching import (
    3737    SkeletonCustomerProcessor,
    3838    SkeletonCustomerDocumentProcessor,
    3939    SkeletonContractProcessor)
    40 from ikobacustom.skeleton.testing import FunctionalLayer, samples_dir
     40from ikobacustom.uniben.testing import FunctionalLayer, samples_dir
    4141
    4242SAMPLE_IMAGE = os.path.join(os.path.dirname(__file__), 'test_image.jpg')
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_contract.py

    r12292 r14178  
    2828from waeup.ikoba.customers.contracts import ContractsContainer
    2929
    30 from ikobacustom.skeleton.testing import (FunctionalLayer, FunctionalTestCase)
    31 from ikobacustom.skeleton.customers.contracts import SkeletonContract
    32 from ikobacustom.skeleton.customers.interfaces import ISkeletonContract
     30from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase)
     31from ikobacustom.uniben.customers.contracts import SkeletonContract
     32from ikobacustom.uniben.customers.interfaces import ISkeletonContract
    3333
    3434
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_customer.py

    r12273 r14178  
    1717##
    1818"""
    19 Tests for skeleton customers.
     19Tests for uniben customers.
    2020"""
    2121import tempfile
     
    3030from waeup.ikoba.customers.container import CustomersContainer
    3131
    32 from ikobacustom.skeleton.testing import (FunctionalLayer, FunctionalTestCase)
    33 from ikobacustom.skeleton.customers.customer import SkeletonCustomer
    34 from ikobacustom.skeleton.customers.interfaces import ISkeletonCustomer
     32from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase)
     33from ikobacustom.uniben.customers.customer import SkeletonCustomer
     34from ikobacustom.uniben.customers.interfaces import ISkeletonCustomer
    3535
    3636class SkeletonCustomerTestCase(FunctionalTestCase):
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_document.py

    r12292 r14178  
    2828from waeup.ikoba.customers.documents import CustomerDocumentsContainer
    2929
    30 from ikobacustom.skeleton.testing import (FunctionalLayer, FunctionalTestCase)
    31 from ikobacustom.skeleton.customers.documents import SkeletonCustomerDocument
    32 from ikobacustom.skeleton.customers.interfaces import ISkeletonCustomerDocument
     30from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase)
     31from ikobacustom.uniben.customers.documents import SkeletonCustomerDocument
     32from ikobacustom.uniben.customers.interfaces import ISkeletonCustomerDocument
    3333
    3434
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/utils.py

    r12530 r14178  
    2525    SUBMITTED, VERIFIED, REJECTED,
    2626    EXPIRED, PROVISIONALLY)
    27 from ikobacustom.skeleton.interfaces import MessageFactory as _
     27from ikobacustom.uniben.interfaces import MessageFactory as _
    2828
    2929class SkeletonCustomersUtils(CustomersUtils):
     
    6262    EXPORTER_NAMES = (
    6363        'customers',
    64         'skeletoncustomerdocuments',
    65         'skeletoncontracts')
     64        'unibencustomerdocuments',
     65        'unibencontracts')
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/__init__.py

    r12269 r14178  
    22"""
    33# Make this a package.
    4 from ikobacustom.skeleton.documents.document import SkeletonDocument
     4from ikobacustom.uniben.documents.document import SkeletonDocument
    55
    66__all__ = [
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/batching.py

    r12274 r14178  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """Batch processing for skeleton documents.
     18"""Batch processing for uniben documents.
    1919"""
    2020import grok
    2121from waeup.ikoba.documents.batching import DocumentProcessorBase
    22 from ikobacustom.skeleton.documents.interfaces import ISkeletonDocument
    23 from ikobacustom.skeleton.interfaces import MessageFactory as _
     22from ikobacustom.uniben.documents.interfaces import ISkeletonDocument
     23from ikobacustom.uniben.interfaces import MessageFactory as _
    2424
    2525
     
    2727    """A batch processor for ISkeletonDocument objects.
    2828    """
    29     util_name = 'skeletondocumentprocessor'
     29    util_name = 'unibendocumentprocessor'
    3030    grok.name(util_name)
    3131
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/document.py

    r12399 r14178  
    2424from waeup.ikoba.utils.helpers import attrs_to_fields
    2525from waeup.ikoba.documents.document import PublicDocumentBase
    26 from ikobacustom.skeleton.documents.interfaces import ISkeletonDocument
    27 from ikobacustom.skeleton.interfaces import MessageFactory as _
     26from ikobacustom.uniben.documents.interfaces import ISkeletonDocument
     27from ikobacustom.uniben.interfaces import MessageFactory as _
    2828
    2929
     
    4545    grok.name(u'waeup.SkeletonDocument')
    4646    title = u"Create a new document.",
    47     description = u"This factory instantiates new skeleton documents."
     47    description = u"This factory instantiates new uniben documents."
    4848
    4949    def __call__(self, *args, **kw):
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/export.py

    r12292 r14178  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """Exporters for skeleton documents.
     18"""Exporters for uniben documents.
    1919"""
    2020import grok
    2121from waeup.ikoba.documents.export import DocumentExporterBase
    22 from ikobacustom.skeleton.documents.interfaces import ISkeletonDocument
    23 from ikobacustom.skeleton.interfaces import MessageFactory as _
     22from ikobacustom.uniben.documents.interfaces import ISkeletonDocument
     23from ikobacustom.uniben.interfaces import MessageFactory as _
    2424
    2525
     
    2727    """Exporter for documents.
    2828    """
    29     grok.name('skeletondocuments')
     29    grok.name('unibendocuments')
    3030    iface = ISkeletonDocument
    3131    class_name = 'SkeletonDocument'
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/interfaces.py

    r12292 r14178  
    1717##
    1818from waeup.ikoba.documents.interfaces import IPublicDocument
    19 from ikobacustom.skeleton.interfaces import MessageFactory as _
     19from ikobacustom.uniben.interfaces import MessageFactory as _
    2020
    2121
    2222class ISkeletonDocument(IPublicDocument):
    23     """A representation of a skeleton document.
     23    """A representation of a uniben document.
    2424
    2525    """
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/tests/test_browser.py

    r12290 r14178  
    2727from zope.interface.verify import verifyObject, verifyClass
    2828from waeup.ikoba.documents.tests.test_batching import DocumentImportExportSetup
    29 from ikobacustom.skeleton.documents.document import SkeletonDocument
    30 from ikobacustom.skeleton.documents.export import SkeletonDocumentExporter
    31 from ikobacustom.skeleton.documents.batching import SkeletonDocumentProcessor
    32 from ikobacustom.skeleton.testing import FunctionalLayer
     29from ikobacustom.uniben.documents.document import SkeletonDocument
     30from ikobacustom.uniben.documents.export import SkeletonDocumentExporter
     31from ikobacustom.uniben.documents.batching import SkeletonDocumentProcessor
     32from ikobacustom.uniben.testing import FunctionalLayer
    3333
    3434
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/tests/test_document.py

    r12292 r14178  
    1717##
    1818"""
    19 Tests for skeleton documents.
     19Tests for uniben documents.
    2020"""
    2121from zope.interface.verify import verifyClass, verifyObject
     
    2323from waeup.ikoba.documents.container import DocumentsContainer
    2424
    25 from ikobacustom.skeleton.testing import (FunctionalLayer, FunctionalTestCase)
    26 from ikobacustom.skeleton.documents.document import SkeletonDocument
    27 from ikobacustom.skeleton.documents.interfaces import ISkeletonDocument
     25from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase)
     26from ikobacustom.uniben.documents.document import SkeletonDocument
     27from ikobacustom.uniben.documents.interfaces import ISkeletonDocument
    2828
    2929class SkeletonDocumentTestCase(FunctionalTestCase):
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/utils.py

    r12411 r14178  
    1919"""
    2020from waeup.ikoba.documents.utils import DocumentsUtils
    21 from ikobacustom.skeleton.interfaces import MessageFactory as _
     21from ikobacustom.uniben.interfaces import MessageFactory as _
    2222
    2323
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/ftesting.zcml

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

    r12176 r14178  
    2020from zope import schema
    2121from zc.sourcefactory.basic import BasicSourceFactory
    22 from ikobacustom.skeleton.utils.lgas import LGAS
     22from ikobacustom.uniben.utils.lgas import LGAS
    2323
    24 _ = MessageFactory = zope.i18nmessageid.MessageFactory('ikobacustom.skeleton')
     24_ = MessageFactory = zope.i18nmessageid.MessageFactory('ikobacustom.uniben')
    2525
    2626
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/__init__.py

    r12177 r14178  
    22"""
    33# Make this a package.
    4 from ikobacustom.skeleton.products.product import SkeletonProduct
     4from ikobacustom.uniben.products.product import SkeletonProduct
    55
    66__all__ = [
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/batching.py

    r12284 r14178  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """Batch processing for skeleton products.
     18"""Batch processing for uniben products.
    1919"""
    2020import grok
    2121from waeup.ikoba.products.batching import ProductProcessor
    22 from ikobacustom.skeleton.products.interfaces import ISkeletonProduct
    23 from ikobacustom.skeleton.interfaces import MessageFactory as _
     22from ikobacustom.uniben.products.interfaces import ISkeletonProduct
     23from ikobacustom.uniben.interfaces import MessageFactory as _
    2424
    2525class SkeletonProductProcessor(ProductProcessor):
     
    2727    iface = ISkeletonProduct
    2828    name = _('Skeleton Product Processor')
    29     util_name = 'skeletonproductprocessor'
     29    util_name = 'unibenproductprocessor'
    3030    grok.name(util_name)
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/export.py

    r12270 r14178  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """Exporters for skeleton products.
     18"""Exporters for uniben products.
    1919"""
    2020import grok
    2121from waeup.ikoba.utils.helpers import iface_names
    2222from waeup.ikoba.products.export import ProductExporter
    23 from ikobacustom.skeleton.products.interfaces import ISkeletonProduct
    24 from ikobacustom.skeleton.interfaces import MessageFactory as _
     23from ikobacustom.uniben.products.interfaces import ISkeletonProduct
     24from ikobacustom.uniben.interfaces import MessageFactory as _
    2525
    2626
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/interfaces.py

    r12292 r14178  
    1717##
    1818from waeup.ikoba.products.interfaces import IProduct
    19 from ikobacustom.skeleton.interfaces import MessageFactory as _
     19from ikobacustom.uniben.interfaces import MessageFactory as _
    2020
    2121
    2222class ISkeletonProduct(IProduct):
    23     """A representation of a skeleton product.
     23    """A representation of a uniben product.
    2424
    2525    """
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/product.py

    r12399 r14178  
    2424from waeup.ikoba.utils.helpers import attrs_to_fields
    2525from waeup.ikoba.products.product import Product
    26 from ikobacustom.skeleton.products.interfaces import ISkeletonProduct
    27 from ikobacustom.skeleton.interfaces import MessageFactory as _
     26from ikobacustom.uniben.products.interfaces import ISkeletonProduct
     27from ikobacustom.uniben.interfaces import MessageFactory as _
    2828
    2929
     
    4545    grok.name(u'waeup.Product')
    4646    title = u"Create a new product.",
    47     description = u"This factory instantiates new skeleton products."
     47    description = u"This factory instantiates new uniben products."
    4848
    4949    def __call__(self, *args, **kw):
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/tests/test_browser.py

    r12685 r14178  
    2727from zope.interface.verify import verifyObject, verifyClass
    2828from waeup.ikoba.products.tests.test_batching import ProductImportExportSetup
    29 from ikobacustom.skeleton.products.product import SkeletonProduct
    30 from ikobacustom.skeleton.products.export import SkeletonProductExporter
    31 from ikobacustom.skeleton.products.batching import SkeletonProductProcessor
    32 from ikobacustom.skeleton.testing import FunctionalLayer
     29from ikobacustom.uniben.products.product import SkeletonProduct
     30from ikobacustom.uniben.products.export import SkeletonProductExporter
     31from ikobacustom.uniben.products.batching import SkeletonProductProcessor
     32from ikobacustom.uniben.testing import FunctionalLayer
    3333
    3434
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/tests/test_product.py

    r12177 r14178  
    1717##
    1818"""
    19 Tests for skeleton products.
     19Tests for uniben products.
    2020"""
    2121from zope.interface.verify import verifyClass, verifyObject
     
    2424from waeup.ikoba.products.container import ProductsContainer
    2525
    26 from ikobacustom.skeleton.testing import (FunctionalLayer, FunctionalTestCase)
    27 from ikobacustom.skeleton.products.product import SkeletonProduct
    28 from ikobacustom.skeleton.products.interfaces import ISkeletonProduct
     26from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase)
     27from ikobacustom.uniben.products.product import SkeletonProduct
     28from ikobacustom.uniben.products.interfaces import ISkeletonProduct
    2929
    3030class SkeletonProductTestCase(FunctionalTestCase):
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/testing.py

    r12369 r14178  
    2020import os
    2121import tempfile
    22 import ikobacustom.skeleton
     22import ikobacustom.uniben
    2323from zope.app.testing.functional import ZCMLLayer
    2424from waeup.ikoba.testing import FunctionalTestCase
    2525
    26 # Some funcional layer that groks ikobacustom.skeleton.
     26# Some funcional layer that groks ikobacustom.uniben.
    2727ftesting_zcml = os.path.join(
    28     os.path.dirname(ikobacustom.skeleton.__file__), 'ftesting.zcml')
     28    os.path.dirname(ikobacustom.uniben.__file__), 'ftesting.zcml')
    2929FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
    3030                            allow_teardown=True)
     
    3434    # and return its path.
    3535    tmp_dir = os.path.join(
    36         tempfile.gettempdir(), 'ikobacustom.skeleton.pdf-samples')
     36        tempfile.gettempdir(), 'ikobacustom.uniben.pdf-samples')
    3737    if not os.path.exists(tmp_dir):
    3838        os.mkdir(tmp_dir)
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/utils/utils.py

    r12489 r14178  
    2020import pytz
    2121from waeup.ikoba.utils.utils import IkobaUtils, sorted_phone_prefixes
    22 from ikobacustom.skeleton.interfaces import MessageFactory as _
     22from ikobacustom.uniben.interfaces import MessageFactory as _
    2323
    2424INT_PHONE_PREFIXES = [
     
    6666        'products',
    6767        'customers',
    68         'skeletoncustomerdocuments',
    69         'skeletoncontracts')
     68        'unibencustomerdocuments',
     69        'unibencontracts')
    7070
    7171    BATCH_PROCESSOR_NAMES = (
    72         'skeletoncustomerprocessor',
    73         'skeletoncustomerdocumentprocessor',
    74         'skeletoncontractprocessor',
    75         'skeletonproductprocessor',
     72        'unibencustomerprocessor',
     73        'unibencustomerdocumentprocessor',
     74        'unibencontractprocessor',
     75        'unibenproductprocessor',
    7676        'pdfdocumentprocessor',
    7777        'htmldocumentprocessor',
  • main/ikobacustom.uniben/trunk/versions.cfg

    r13790 r14178  
    1 # Versions of packages used by kofacustom.skeleton
     1# Versions of packages used by kofacustom.uniben
    22[buildout]
    33extends = sources/waeup.ikoba/versions.cfg
Note: See TracChangeset for help on using the changeset viewer.