- Timestamp:
- 22 Sep 2016, 20:11:06 (8 years ago)
- Location:
- main/ikobacustom.uniben/trunk
- Files:
-
- 40 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.uniben/trunk/README.txt
r13790 r14178 1 ikobacustom. skeleton1 ikobacustom.uniben 2 2 ******************** 3 3 … … 12 12 (py27)$ ./bin/buildout -c buildout-init.cfg 13 13 14 (py27)$ python bootstrap.py15 16 14 (py27)$ ./bin/buildout -
main/ikobacustom.uniben/trunk/buildout.cfg
r12304 r14178 50 50 host = 0.0.0.0 51 51 # default is 8080 52 base_port = 808053 zeo1_port = 808054 zeo2_port = 808155 zeo3_port = 808256 server_port = 810052 base_port = 7151 53 zeo1_port = 7151 54 zeo2_port = 7151 55 zeo3_port = 7152 56 server_port = 7150 57 57 # default 7. Number of pre-opened ZODB threads/client 58 58 pool_size = 7 … … 63 63 # number of preopened paster threads, default 10 64 64 threadpool_workers = 10 65 devel_pkg = ikobacustom. skeleton65 devel_pkg = ikobacustom.uniben 66 66 67 67 [app] 68 68 # This creates all scripts in bin/. The ikobactl created here is 'faulty'. 69 69 recipe = zc.recipe.egg 70 eggs = ikobacustom. skeleton [beaker, diazo]70 eggs = ikobacustom.uniben [beaker, diazo] 71 71 z3c.evalexception>=2.0 72 72 Paste … … 82 82 # fixed path to zdaemon.conf as argument. 83 83 recipe = zc.recipe.egg 84 eggs = ikobacustom. skeleton [beaker, diazo]84 eggs = ikobacustom.uniben [beaker, diazo] 85 85 waeup.ikoba 86 86 arguments = "${buildout:parts-directory}/etc/zdaemon.conf" … … 101 101 [test] 102 102 recipe = zc.recipe.testrunner 103 eggs = ikobacustom. skeleton [beaker, test]103 eggs = ikobacustom.uniben [beaker, test] 104 104 defaults = ['--tests-pattern', '^f?tests$', '-v'] 105 105 … … 107 107 [i18n] 108 108 recipe = z3c.recipe.i18n:i18n 109 packages = ikobacustom. skeleton110 eggs = ikobacustom. skeleton111 domain = ikobacustom. skeleton112 output = src/ikobacustom/ skeleton/locales109 packages = ikobacustom.uniben 110 eggs = ikobacustom.uniben 111 domain = ikobacustom.uniben 112 output = src/ikobacustom/uniben/locales 113 113 zcml = 114 114 … … 117 117 [zpasswd] 118 118 recipe = z3c.recipe.dev:script 119 eggs = ikobacustom. skeleton119 eggs = ikobacustom.uniben 120 120 module = zope.app.server.zpasswd 121 121 method = main … … 187 187 #[waeupdocs] 188 188 #recipe = collective.recipe.sphinxbuilder 189 #eggs = ikobacustom. skeleton[docs]189 #eggs = ikobacustom.uniben[docs] 190 190 #source = ${buildout:directory}/docs/source 191 191 #build = ${buildout:directory}/docs/build … … 194 194 [coverage-detect] 195 195 recipe = zc.recipe.testrunner 196 eggs = ikobacustom. skeleton[beaker]196 eggs = ikobacustom.uniben[beaker] 197 197 defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] 198 198 … … 215 215 diazo [wsgi] 216 216 PasteScript 217 ikobacustom. skeleton [beaker,diazo]217 ikobacustom.uniben [beaker,diazo] -
main/ikobacustom.uniben/trunk/etc/site.zcml.in
r12405 r14178 1 1 <configure xmlns="http://namespaces.zope.org/zope" 2 2 xmlns:ikoba="http://namespaces.waeup.org/ikoba" 3 i18n_domain="ikobacustom. skeleton">3 i18n_domain="ikobacustom.uniben"> 4 4 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" /> 7 7 8 8 <!-- install job container … … 33 33 path="${buildout:directory}/etc/paypal.conf" /> 34 34 35 <configure i18n_domain="ikobacustom. skeleton">35 <configure i18n_domain="ikobacustom.uniben"> 36 36 37 37 <unauthenticatedPrincipal id="zope.anybody" … … 46 46 title="Manager" 47 47 login="grok" 48 password_manager="S HA1"49 password=" 321b9cd3739bd029629243732eb682db005a7541f7509622"48 password_manager="SSHA" 49 password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8" 50 50 /> 51 51 -
main/ikobacustom.uniben/trunk/layout/rules.xml
r13811 r14178 50 50 51 51 <!-- maintenance mode warning --> 52 <drop css:theme="div. kofa-maintenance"52 <drop css:theme="div.ikoba-maintenance" 53 53 css:if-not-content="div.maintenance-warning" /> 54 54 <replace css:theme-children="div.maintenance-warning" -
main/ikobacustom.uniben/trunk/layout/theme.html
r13811 r14178 89 89 90 90 <div class="row"> 91 <div class="col-md-12 container kofa-maintenance">91 <div class="col-md-12 container ikoba-maintenance"> 92 92 <div class="well"> 93 93 <div class="maintenance-warning"> … … 95 95 </div> <!-- /maintenance-warning --> 96 96 </div> <!-- /well --> 97 </div> <!-- / kofa-maintenance -->97 </div> <!-- /ikoba-maintenance --> 98 98 </div> 99 99 -
main/ikobacustom.uniben/trunk/setup.py
r12175 r14178 52 52 ) 53 53 54 setup(name = 'ikobacustom. skeleton',54 setup(name = 'ikobacustom.uniben', 55 55 version = version, 56 56 description = "Customizations of the waeup.ikoba package", -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/configure.zcml
r12175 r14178 6 6 --> 7 7 <include package="waeup.ikoba" /> 8 <include package="ikobacustom. skeleton" file="locales.zcml" />8 <include package="ikobacustom.uniben" file="locales.zcml" /> 9 9 <grok:grok package="." /> 10 10 … … 14 14 zope.publisher.interfaces.browser.IBrowserRequest" 15 15 provides="zope.formlib.interfaces.ISimpleInputWidget" 16 factory="ikobacustom. skeleton.widgets.phonewidget.NigeriaPhoneWidget"16 factory="ikobacustom.uniben.widgets.phonewidget.NigeriaPhoneWidget" 17 17 permission="zope.Public" 18 18 /> -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/batching.py
r12286 r14178 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """Batch processing for skeleton documents.18 """Batch processing for uniben documents. 19 19 """ 20 20 import grok … … 22 22 CustomerProcessor, 23 23 CustomerDocumentProcessorBase, ContractProcessorBase) 24 from ikobacustom. skeleton.customers.interfaces import (24 from ikobacustom.uniben.customers.interfaces import ( 25 25 ISkeletonCustomer, 26 26 ISkeletonCustomerDocument, ISkeletonContract) 27 from ikobacustom. skeleton.interfaces import MessageFactory as _27 from ikobacustom.uniben.interfaces import MessageFactory as _ 28 28 29 29 … … 31 31 """A batch processor for ICustomer objects. 32 32 """ 33 util_name = ' skeletoncustomerprocessor'33 util_name = 'unibencustomerprocessor' 34 34 grok.name(util_name) 35 35 name = _('Skeleton Customer Processor') … … 40 40 """A batch processor for ISkeletonCustomerDocument objects. 41 41 """ 42 util_name = ' skeletoncustomerdocumentprocessor'42 util_name = 'unibencustomerdocumentprocessor' 43 43 grok.name(util_name) 44 44 name = _('Skeleton Customer Document Processor') … … 50 50 """A batch processor for ISkeletonContract objects. 51 51 """ 52 util_name = ' skeletoncontractprocessor'52 util_name = 'unibencontractprocessor' 53 53 grok.name(util_name) 54 54 name = _('Skeleton Customer Contract Processor') -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/browser.py
r13067 r14178 21 21 from waeup.ikoba.customers.browser import ( 22 22 PDFContractSlip, CustomerBaseEditFormPage) 23 from ikobacustom. skeleton.interfaces import MessageFactory as _23 from ikobacustom.uniben.interfaces import MessageFactory as _ 24 24 25 25 class PDFContractSlip(PDFContractSlip): -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/contracts.py
r12502 r14178 26 26 from waeup.ikoba.customers.interfaces import ICustomerNavigation 27 27 from waeup.ikoba.customers.contracts import ContractBase 28 from ikobacustom. skeleton.interfaces import MessageFactory as _29 from ikobacustom. skeleton.customers.interfaces import (28 from ikobacustom.uniben.interfaces import MessageFactory as _ 29 from ikobacustom.uniben.customers.interfaces import ( 30 30 ISkeletonContract, ISkeletonContractEdit, ISkeletonContractProcess, 31 31 ISkeletonContractOfficialUse) -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/customer.py
r12399 r14178 25 25 from waeup.ikoba.customers.customer import Customer 26 26 from waeup.ikoba.customers.interfaces import ICustomerNavigation 27 from ikobacustom. skeleton.customers.interfaces import ISkeletonCustomer28 from ikobacustom. skeleton.interfaces import MessageFactory as _27 from ikobacustom.uniben.customers.interfaces import ISkeletonCustomer 28 from ikobacustom.uniben.interfaces import MessageFactory as _ 29 29 30 30 … … 46 46 grok.implements(IFactory) 47 47 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." 50 50 51 51 def __call__(self, *args, **kw): -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/documents.py
r12355 r14178 25 25 from waeup.ikoba.customers.interfaces import ICustomerNavigation 26 26 from waeup.ikoba.customers.documents import CustomerDocumentBase 27 from ikobacustom. skeleton.interfaces import MessageFactory as _28 from ikobacustom. skeleton.customers.interfaces import ISkeletonCustomerDocument27 from ikobacustom.uniben.interfaces import MessageFactory as _ 28 from ikobacustom.uniben.customers.interfaces import ISkeletonCustomerDocument 29 29 30 30 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/export.py
r12502 r14178 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """Exporters for skeleton customer objects and subobjects.18 """Exporters for uniben customer objects and subobjects. 19 19 """ 20 20 import grok 21 21 from waeup.ikoba.customers.export import ( 22 22 CustomerExporter, CustomerDocumentExporterBase, ContractExporterBase) 23 from ikobacustom. skeleton.customers.interfaces import (23 from ikobacustom.uniben.customers.interfaces import ( 24 24 ISkeletonCustomer, ISkeletonCustomerDocument, ISkeletonContractProcess) 25 from ikobacustom. skeleton.interfaces import MessageFactory as _25 from ikobacustom.uniben.interfaces import MessageFactory as _ 26 26 27 27 class SkeletonCustomerExporter(CustomerExporter): … … 35 35 """Exporter for documents. 36 36 """ 37 grok.name(' skeletoncustomerdocuments')37 grok.name('unibencustomerdocuments') 38 38 iface = ISkeletonCustomerDocument 39 39 title = _(u'Skeleton Customer Documents') … … 44 44 """Exporter for Contract instances. 45 45 """ 46 grok.name(' skeletoncontracts')46 grok.name('unibencontracts') 47 47 iface = ISkeletonContractProcess 48 48 title = _(u'Skeleton Customer Contracts') -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/fileviewlets.py
r13067 r14178 23 23 FileDisplay, FileUpload, Image) 24 24 25 from ikobacustom. skeleton.customers.documents import SkeletonCustomerDocument25 from ikobacustom.uniben.customers.documents import SkeletonCustomerDocument 26 26 27 27 from waeup.ikoba.customers.browser import ( -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/interfaces.py
r12502 r14178 24 24 ConCatProductSource, CustomerDocumentSource) 25 25 from waeup.ikoba.products.productoptions import ProductOptionField 26 from ikobacustom. skeleton.interfaces import MessageFactory as _26 from ikobacustom.uniben.interfaces import MessageFactory as _ 27 27 28 28 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_browser.py
r12665 r14178 30 30 from waeup.ikoba.customers.tests.test_batching import CustomerImportExportSetup 31 31 from waeup.ikoba.customers.tests.test_browser import CustomersFullSetup 32 from ikobacustom. skeleton.customers.export import (32 from ikobacustom.uniben.customers.export import ( 33 33 SkeletonCustomerExporter, 34 34 SkeletonCustomerDocumentExporter, 35 35 SkeletonContractExporter) 36 from ikobacustom. skeleton.customers.batching import (36 from ikobacustom.uniben.customers.batching import ( 37 37 SkeletonCustomerProcessor, 38 38 SkeletonCustomerDocumentProcessor, 39 39 SkeletonContractProcessor) 40 from ikobacustom. skeleton.testing import FunctionalLayer, samples_dir40 from ikobacustom.uniben.testing import FunctionalLayer, samples_dir 41 41 42 42 SAMPLE_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 28 28 from waeup.ikoba.customers.contracts import ContractsContainer 29 29 30 from ikobacustom. skeleton.testing import (FunctionalLayer, FunctionalTestCase)31 from ikobacustom. skeleton.customers.contracts import SkeletonContract32 from ikobacustom. skeleton.customers.interfaces import ISkeletonContract30 from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase) 31 from ikobacustom.uniben.customers.contracts import SkeletonContract 32 from ikobacustom.uniben.customers.interfaces import ISkeletonContract 33 33 34 34 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_customer.py
r12273 r14178 17 17 ## 18 18 """ 19 Tests for skeleton customers.19 Tests for uniben customers. 20 20 """ 21 21 import tempfile … … 30 30 from waeup.ikoba.customers.container import CustomersContainer 31 31 32 from ikobacustom. skeleton.testing import (FunctionalLayer, FunctionalTestCase)33 from ikobacustom. skeleton.customers.customer import SkeletonCustomer34 from ikobacustom. skeleton.customers.interfaces import ISkeletonCustomer32 from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase) 33 from ikobacustom.uniben.customers.customer import SkeletonCustomer 34 from ikobacustom.uniben.customers.interfaces import ISkeletonCustomer 35 35 36 36 class SkeletonCustomerTestCase(FunctionalTestCase): -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/tests/test_document.py
r12292 r14178 28 28 from waeup.ikoba.customers.documents import CustomerDocumentsContainer 29 29 30 from ikobacustom. skeleton.testing import (FunctionalLayer, FunctionalTestCase)31 from ikobacustom. skeleton.customers.documents import SkeletonCustomerDocument32 from ikobacustom. skeleton.customers.interfaces import ISkeletonCustomerDocument30 from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase) 31 from ikobacustom.uniben.customers.documents import SkeletonCustomerDocument 32 from ikobacustom.uniben.customers.interfaces import ISkeletonCustomerDocument 33 33 34 34 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/utils.py
r12530 r14178 25 25 SUBMITTED, VERIFIED, REJECTED, 26 26 EXPIRED, PROVISIONALLY) 27 from ikobacustom. skeleton.interfaces import MessageFactory as _27 from ikobacustom.uniben.interfaces import MessageFactory as _ 28 28 29 29 class SkeletonCustomersUtils(CustomersUtils): … … 62 62 EXPORTER_NAMES = ( 63 63 'customers', 64 ' skeletoncustomerdocuments',65 ' skeletoncontracts')64 'unibencustomerdocuments', 65 'unibencontracts') -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/__init__.py
r12269 r14178 2 2 """ 3 3 # Make this a package. 4 from ikobacustom. skeleton.documents.document import SkeletonDocument4 from ikobacustom.uniben.documents.document import SkeletonDocument 5 5 6 6 __all__ = [ -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/batching.py
r12274 r14178 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """Batch processing for skeleton documents.18 """Batch processing for uniben documents. 19 19 """ 20 20 import grok 21 21 from waeup.ikoba.documents.batching import DocumentProcessorBase 22 from ikobacustom. skeleton.documents.interfaces import ISkeletonDocument23 from ikobacustom. skeleton.interfaces import MessageFactory as _22 from ikobacustom.uniben.documents.interfaces import ISkeletonDocument 23 from ikobacustom.uniben.interfaces import MessageFactory as _ 24 24 25 25 … … 27 27 """A batch processor for ISkeletonDocument objects. 28 28 """ 29 util_name = ' skeletondocumentprocessor'29 util_name = 'unibendocumentprocessor' 30 30 grok.name(util_name) 31 31 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/document.py
r12399 r14178 24 24 from waeup.ikoba.utils.helpers import attrs_to_fields 25 25 from waeup.ikoba.documents.document import PublicDocumentBase 26 from ikobacustom. skeleton.documents.interfaces import ISkeletonDocument27 from ikobacustom. skeleton.interfaces import MessageFactory as _26 from ikobacustom.uniben.documents.interfaces import ISkeletonDocument 27 from ikobacustom.uniben.interfaces import MessageFactory as _ 28 28 29 29 … … 45 45 grok.name(u'waeup.SkeletonDocument') 46 46 title = u"Create a new document.", 47 description = u"This factory instantiates new skeleton documents."47 description = u"This factory instantiates new uniben documents." 48 48 49 49 def __call__(self, *args, **kw): -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/export.py
r12292 r14178 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """Exporters for skeleton documents.18 """Exporters for uniben documents. 19 19 """ 20 20 import grok 21 21 from waeup.ikoba.documents.export import DocumentExporterBase 22 from ikobacustom. skeleton.documents.interfaces import ISkeletonDocument23 from ikobacustom. skeleton.interfaces import MessageFactory as _22 from ikobacustom.uniben.documents.interfaces import ISkeletonDocument 23 from ikobacustom.uniben.interfaces import MessageFactory as _ 24 24 25 25 … … 27 27 """Exporter for documents. 28 28 """ 29 grok.name(' skeletondocuments')29 grok.name('unibendocuments') 30 30 iface = ISkeletonDocument 31 31 class_name = 'SkeletonDocument' -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/interfaces.py
r12292 r14178 17 17 ## 18 18 from waeup.ikoba.documents.interfaces import IPublicDocument 19 from ikobacustom. skeleton.interfaces import MessageFactory as _19 from ikobacustom.uniben.interfaces import MessageFactory as _ 20 20 21 21 22 22 class ISkeletonDocument(IPublicDocument): 23 """A representation of a skeleton document.23 """A representation of a uniben document. 24 24 25 25 """ -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/tests/test_browser.py
r12290 r14178 27 27 from zope.interface.verify import verifyObject, verifyClass 28 28 from waeup.ikoba.documents.tests.test_batching import DocumentImportExportSetup 29 from ikobacustom. skeleton.documents.document import SkeletonDocument30 from ikobacustom. skeleton.documents.export import SkeletonDocumentExporter31 from ikobacustom. skeleton.documents.batching import SkeletonDocumentProcessor32 from ikobacustom. skeleton.testing import FunctionalLayer29 from ikobacustom.uniben.documents.document import SkeletonDocument 30 from ikobacustom.uniben.documents.export import SkeletonDocumentExporter 31 from ikobacustom.uniben.documents.batching import SkeletonDocumentProcessor 32 from ikobacustom.uniben.testing import FunctionalLayer 33 33 34 34 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/tests/test_document.py
r12292 r14178 17 17 ## 18 18 """ 19 Tests for skeleton documents.19 Tests for uniben documents. 20 20 """ 21 21 from zope.interface.verify import verifyClass, verifyObject … … 23 23 from waeup.ikoba.documents.container import DocumentsContainer 24 24 25 from ikobacustom. skeleton.testing import (FunctionalLayer, FunctionalTestCase)26 from ikobacustom. skeleton.documents.document import SkeletonDocument27 from ikobacustom. skeleton.documents.interfaces import ISkeletonDocument25 from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase) 26 from ikobacustom.uniben.documents.document import SkeletonDocument 27 from ikobacustom.uniben.documents.interfaces import ISkeletonDocument 28 28 29 29 class SkeletonDocumentTestCase(FunctionalTestCase): -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/documents/utils.py
r12411 r14178 19 19 """ 20 20 from waeup.ikoba.documents.utils import DocumentsUtils 21 from ikobacustom. skeleton.interfaces import MessageFactory as _21 from ikobacustom.uniben.interfaces import MessageFactory as _ 22 22 23 23 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/ftesting.zcml
r12175 r14178 2 2 xmlns="http://namespaces.zope.org/zope" 3 3 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" 6 6 > 7 7 8 8 <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" /> 11 11 12 12 <!-- Where should the datacenter reside by default? -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/interfaces.py
r12176 r14178 20 20 from zope import schema 21 21 from zc.sourcefactory.basic import BasicSourceFactory 22 from ikobacustom. skeleton.utils.lgas import LGAS22 from ikobacustom.uniben.utils.lgas import LGAS 23 23 24 _ = MessageFactory = zope.i18nmessageid.MessageFactory('ikobacustom. skeleton')24 _ = MessageFactory = zope.i18nmessageid.MessageFactory('ikobacustom.uniben') 25 25 26 26 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/__init__.py
r12177 r14178 2 2 """ 3 3 # Make this a package. 4 from ikobacustom. skeleton.products.product import SkeletonProduct4 from ikobacustom.uniben.products.product import SkeletonProduct 5 5 6 6 __all__ = [ -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/batching.py
r12284 r14178 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """Batch processing for skeleton products.18 """Batch processing for uniben products. 19 19 """ 20 20 import grok 21 21 from waeup.ikoba.products.batching import ProductProcessor 22 from ikobacustom. skeleton.products.interfaces import ISkeletonProduct23 from ikobacustom. skeleton.interfaces import MessageFactory as _22 from ikobacustom.uniben.products.interfaces import ISkeletonProduct 23 from ikobacustom.uniben.interfaces import MessageFactory as _ 24 24 25 25 class SkeletonProductProcessor(ProductProcessor): … … 27 27 iface = ISkeletonProduct 28 28 name = _('Skeleton Product Processor') 29 util_name = ' skeletonproductprocessor'29 util_name = 'unibenproductprocessor' 30 30 grok.name(util_name) -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/export.py
r12270 r14178 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """Exporters for skeleton products.18 """Exporters for uniben products. 19 19 """ 20 20 import grok 21 21 from waeup.ikoba.utils.helpers import iface_names 22 22 from waeup.ikoba.products.export import ProductExporter 23 from ikobacustom. skeleton.products.interfaces import ISkeletonProduct24 from ikobacustom. skeleton.interfaces import MessageFactory as _23 from ikobacustom.uniben.products.interfaces import ISkeletonProduct 24 from ikobacustom.uniben.interfaces import MessageFactory as _ 25 25 26 26 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/interfaces.py
r12292 r14178 17 17 ## 18 18 from waeup.ikoba.products.interfaces import IProduct 19 from ikobacustom. skeleton.interfaces import MessageFactory as _19 from ikobacustom.uniben.interfaces import MessageFactory as _ 20 20 21 21 22 22 class ISkeletonProduct(IProduct): 23 """A representation of a skeleton product.23 """A representation of a uniben product. 24 24 25 25 """ -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/product.py
r12399 r14178 24 24 from waeup.ikoba.utils.helpers import attrs_to_fields 25 25 from waeup.ikoba.products.product import Product 26 from ikobacustom. skeleton.products.interfaces import ISkeletonProduct27 from ikobacustom. skeleton.interfaces import MessageFactory as _26 from ikobacustom.uniben.products.interfaces import ISkeletonProduct 27 from ikobacustom.uniben.interfaces import MessageFactory as _ 28 28 29 29 … … 45 45 grok.name(u'waeup.Product') 46 46 title = u"Create a new product.", 47 description = u"This factory instantiates new skeleton products."47 description = u"This factory instantiates new uniben products." 48 48 49 49 def __call__(self, *args, **kw): -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/tests/test_browser.py
r12685 r14178 27 27 from zope.interface.verify import verifyObject, verifyClass 28 28 from waeup.ikoba.products.tests.test_batching import ProductImportExportSetup 29 from ikobacustom. skeleton.products.product import SkeletonProduct30 from ikobacustom. skeleton.products.export import SkeletonProductExporter31 from ikobacustom. skeleton.products.batching import SkeletonProductProcessor32 from ikobacustom. skeleton.testing import FunctionalLayer29 from ikobacustom.uniben.products.product import SkeletonProduct 30 from ikobacustom.uniben.products.export import SkeletonProductExporter 31 from ikobacustom.uniben.products.batching import SkeletonProductProcessor 32 from ikobacustom.uniben.testing import FunctionalLayer 33 33 34 34 -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/products/tests/test_product.py
r12177 r14178 17 17 ## 18 18 """ 19 Tests for skeleton products.19 Tests for uniben products. 20 20 """ 21 21 from zope.interface.verify import verifyClass, verifyObject … … 24 24 from waeup.ikoba.products.container import ProductsContainer 25 25 26 from ikobacustom. skeleton.testing import (FunctionalLayer, FunctionalTestCase)27 from ikobacustom. skeleton.products.product import SkeletonProduct28 from ikobacustom. skeleton.products.interfaces import ISkeletonProduct26 from ikobacustom.uniben.testing import (FunctionalLayer, FunctionalTestCase) 27 from ikobacustom.uniben.products.product import SkeletonProduct 28 from ikobacustom.uniben.products.interfaces import ISkeletonProduct 29 29 30 30 class SkeletonProductTestCase(FunctionalTestCase): -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/testing.py
r12369 r14178 20 20 import os 21 21 import tempfile 22 import ikobacustom. skeleton22 import ikobacustom.uniben 23 23 from zope.app.testing.functional import ZCMLLayer 24 24 from waeup.ikoba.testing import FunctionalTestCase 25 25 26 # Some funcional layer that groks ikobacustom. skeleton.26 # Some funcional layer that groks ikobacustom.uniben. 27 27 ftesting_zcml = os.path.join( 28 os.path.dirname(ikobacustom. skeleton.__file__), 'ftesting.zcml')28 os.path.dirname(ikobacustom.uniben.__file__), 'ftesting.zcml') 29 29 FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer', 30 30 allow_teardown=True) … … 34 34 # and return its path. 35 35 tmp_dir = os.path.join( 36 tempfile.gettempdir(), 'ikobacustom. skeleton.pdf-samples')36 tempfile.gettempdir(), 'ikobacustom.uniben.pdf-samples') 37 37 if not os.path.exists(tmp_dir): 38 38 os.mkdir(tmp_dir) -
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/utils/utils.py
r12489 r14178 20 20 import pytz 21 21 from waeup.ikoba.utils.utils import IkobaUtils, sorted_phone_prefixes 22 from ikobacustom. skeleton.interfaces import MessageFactory as _22 from ikobacustom.uniben.interfaces import MessageFactory as _ 23 23 24 24 INT_PHONE_PREFIXES = [ … … 66 66 'products', 67 67 'customers', 68 ' skeletoncustomerdocuments',69 ' skeletoncontracts')68 'unibencustomerdocuments', 69 'unibencontracts') 70 70 71 71 BATCH_PROCESSOR_NAMES = ( 72 ' skeletoncustomerprocessor',73 ' skeletoncustomerdocumentprocessor',74 ' skeletoncontractprocessor',75 ' skeletonproductprocessor',72 'unibencustomerprocessor', 73 'unibencustomerdocumentprocessor', 74 'unibencontractprocessor', 75 'unibenproductprocessor', 76 76 'pdfdocumentprocessor', 77 77 'htmldocumentprocessor', -
main/ikobacustom.uniben/trunk/versions.cfg
r13790 r14178 1 # Versions of packages used by kofacustom. skeleton1 # Versions of packages used by kofacustom.uniben 2 2 [buildout] 3 3 extends = sources/waeup.ikoba/versions.cfg
Note: See TracChangeset for help on using the changeset viewer.