Templates for Plone projects.
Project description
bobtemplates.plone
bobtemplates.plone provides mr.bob templates to generate packages for Plone projects.
Features
Package created with bobtemplates.plone use the current best-practices when creating an add-on. It also support’s GIT by default, to keep track of changes one is doing with the bobtemplates.
Provided templates
addon
buildout (useful setup a development buildout or to test new pending Plone versions)
Provided subtemplates
These templates are meant to be used inside a package which was created by the addon template.
behavior
content_type
controlpanel
form
indexer
mockup_pattern
portlet
restapi_service
subscriber
svelte_app
theme
theme_barceloneta
theme_basic
upgrade_step
view
viewlet
vocabulary
Compatibility
Add-on’s created with bobtemplates.plone are tested to work in Plone >= 5.2 and Python >= 3.7.
If you need to create Plone packages for older versions of Plone and Python, please use bobtemplates.plone 5.x. It should work on Linux, Mac and Windows.
Documentation
Full documentation for end users and template developers can be found on bobtemplatesplone.readthedocs.io.
plonecli
For easy usage see: plonecli
Installation
You can install bobtemplates.plone as every other normal Python package with pip user global or inside a virtualenv or better with pipx.
Installation with pip global for a user
pip install bobtemplates.plone --user
Installation with pipx
pipx installs bobtemplates.plone and all dependencies in a global isolated virtualenv.
pipx install bobtemplates.plone
Installation with pip in a virtualenv
You can also install bobtemplates.plone with pip in a virtualenv. If you don’t have an active virtualenv, you can create one inside your project directory.
python3 -m venv venv
Then either activate the virtualenv:
source ./venv/bin/activate
or just use the binaries directly inside the bin folder as below:
./venv/bin/pip install bobtemplates.plone
Usage
As bobtemplates.plone is a template for mr.bob, we use mrbob to run the templates.
If you are using pipx or have bobtemplates.plone globally installed, you can just use mrbob directly.
mrbob bobtemplates.plone:addon -O src/collective.foo
If you are using an unactivated virtualenv, you can use mrbob like this:
./venv/bin/mrbob bobtemplates.plone:addon -O src/collective.foo
If you are using an activated virtualenv, you can use mrbob like this:
Activate your virtualenv:
source venv/bin/activate
mrbob bobtemplates.plone:addon -O src/collective.foo
This will create your Plone package inside the src directory.
See the documentation of mr.bob for further information.
Configuration
You can set all mr.bob configuration parameters in your ~/.mrbob file.
Here is an example:
[mr.bob]
verbose = False
[variables]
author.name = Maik Derstappen
author.email = md@derico.de
author.github.user = MrTango
plone.version = 5.1.3-pending
#package.git.init = y
#package.git.autocommit = n
#package.git.disabled = n
[defaults]
dexterity_type_global_allow = n
dexterity_type_filter_content_types = y
dexterity_type_activate_default_behaviors = n
dexterity_type_supermodel = n
Contribute
Support
If you are having issues, please let us know. Just open an issue here.
Contributors
This package was originally based on bobtemplates.niteoweb and bobtemplates.ecreall
Maik Derstappen [MrTango]
Philip Bauer [pbauer]
Cédric Messiant [cedricmessiant]
Vincent Fretin [vincentfretin]
Thomas Desvenain [thomasdesvenain]
Domen Kožar [iElectric]
Nejc Zupan [zupo]
Patrick Gerken [do3cc]
Timo Stollenwerk [timo]
Johannes Raggam [thet]
Sven Strack [svx]
Héctor Velarde [hvelarde]
Aurore Mariscal [AuroreMariscal]
Víctor Fernández de Alba [sneridagh]
Alexander Loechel [loechel]
Peter Holzer [agitator]
Manuel Reinhardt [reinhardt]
Changelog
6.3.0 (2023-06-19)
New features:
Fix SCSS imports for latest Bootstrap 5.3. See Upgrade notes how you can update your existing theme. [petschki]
6.2.7 (2023-06-19)
theme_barceloneta: pin version of @plone/plonetheme-barceloneta-base to 3.0.x patch releases which is based on Bootstrap 5.2. Bootstrap 5.3 support will come with version 6.3.x. [petschki]
6.2.6 (2023-04-24)
Fix the GitLab CI cache for pip. [thet]
mockup_pattern: Fix .prettierignore file to not exclude files within the /resources directory. [thet]
Fix Plone 6 constraints file in addon template [MrTango]
6.2.5 (2023-03-02)
fix generated view template [MrTango]
6.2.4 (2023-03-01)
improve view template, fix name of test file and improve generated tests [MrTango]
6.2.3 (2023-02-22)
Add Plone Classifiers to show up in Plone add-on gallery [MrTango]
6.2.2 (2023-02-22)
mockup_pattern: Fix imports of config files to point to @patternslib/dev. [thet]
mockup_pattern: The parser attribute should be a static attribute. [thet]
improve view template, implement view interface [MrTango]
6.2.1 (2023-01-26)
replace backslash with os.path.sep #531 [me-kell]
fix missing tox.ini in addon template [MrTango]
fix missing comma in testing.py of addon template [MrTango]
6.2 (2022-10-28)
Improve namespace support #419 [mamico]
Add support for Python 3.10 / drop Python 3.7 in CI [pbauer]
use cmf.ManagePortal permission by default in forms [MrTango]
run applyChanges in forms by default [MrTango]
6.1 (2022-10-24)
Add sub-template form, to generate z3c.form based forms [MrTango]
6.0 (2022-10-24)
Improve namespace support #520 [mamico]
Upgrade @patternslib/dev dependency for the mockup_pattern template. [thet]
6.0b15 (2022-10-08)
Remove stale templates from theme_basic [santonelli]
Switch to class based Patterns in mockup_pattern template [thet]
Improve theme template README and theme.scss [MrTango]
6.0b14 (2022-10-07)
Update theme_barceloneta to use plonetheme-barceloneta-base 3.0.0b6 and use SCSS example import structure from Bootstrap documentation. [agitator]
Added mockup pattern template. [reinhardt, thet]
update theme package versions and improve readme [MrTango]
6.0b13 (2022-08-06)
Remove install of unnecessary system libraries on Github Actions. [wesleybl]
Fix import of ComponentLookupError in tests [MrTango]
6.0b12 (2022-05-03)
Add dummy style file in styles/theme.min.css to not break theme, when no css file was created [MrTango]
Add layer attribute to view registrations [MrTango]
6.0b11 (2022-03-04)
Remove deprecated theme_package template from entrypoints/bobregistry [MrTango]
Add CollectionView to view base class options [MrTango]
Add view_register_for question, to allow view registration for a specific content type [MrTango]
Increment .gitignore. [wesleybl]
Create an Interface for views by default [MrTango]
6.0b10 (2021-10-25)
Update theme_barceloneta to use plonetheme-barceloneta-base 3.0.0-alpha.7 [agitator]
Improve upgrade step template [MrTango]
Hide all upgrade profiles from site-creation and quickinstaller. [thet]
fix typo in README.rst [yurj]
6.0b9 (2021-10-23)
Theme: Add some tags/attributes to the HTML Filter [MrTango]
Cleanup and small Diazo fixes in theme template [MrTango]
6.0b8 (2021-10-21)
Added theme_basic as basic theme template for Plone 6 Classic UI [santonelli]
Template cleanup / Plone 6 fixes [MrTango]
Provide some bootstrap snippet as TinyMCE templates, in theme [MrTango]
Provide a Diazo rule, which by default deactivates RequireJS, so that one can use free style JS in the html. This well be removed when the ES6 branch is merged and RequireJS is finally gone [MrTango]
Improve some default Diazo rules [MrTango]
Improve view page template [MrTango]
Added RegistryPanel adapter to controlpanel subtemplate, to have Volto support [erral]
6.0b7 (2021-10-15)
Deprecated theme_package was removed, in 5.x it still exists [MrTango]
Cleanup theme template and update generated README [MrTango]
Add controlpanel subtemplate [erral]
Updated theme_barceloneta for Plone 6 classic - uses plonetheme-barceloneta-base npm package [agitator]
Updated TinyMCE template examples for Bootstrap 5 [agitator]
Multiple Plone 6 fixes and Plone 4 cleanup [MrTango]
6.0b6 (2021-10-13)
Provide Plone 6 buildout config and constraints in generated add-on’s [MrTango]
6.0b5 (2021-07-15)
Use codecov badge in add-on README instead of coveralls [MrTango]
6.0b4 (2021-07-15)
Add Upload coverage to Codecov GH-action and update DEVELOP.rst in add-on’s [MrTango]
6.0b3 (2021-07-13)
Update generated README from addon template, to replace Travis badge
6.0b2 (2021-07-13)
Further cleanup [MrTango]
6.0b1 (2021-07-12)
Drop Python 2 support [MrTango]
Drop support for Plone < 5.2 [MrTango]
Fix placeholder syntax in configure.zmcl files [MrTango]
Improve CI-Support with GitHub-Actions, in root package and generated add-on’s [MrTango]
Finalize Black code formater support in root package and generated add-on’s [MrTango]
5.2.1 (2021-06-03)
Do not create an empty docstring for the content-type class [erral]
Updated default Plone version for addon packages to 5.2.4 [MrTango]
Change default answer of “Use XML Model” to false, because the Python way is usually easier and provides a better developer experience [MrTango]
Pin importlib-metadata = >=1 to avoid broken buildout in new packages [MrTango]
Change bundle names for svelte_app, it’s now <my-app-name>-bundle.js/css, which makes it better distinguishable in Browser inspector [MrTango]
Optimize skeleton test matrix, to be much faster [MrTango]
Override index method in viewlets, not the render method. [MrTango]
5.2.0 (2020-11-12)
addon: switch from profiles/default/registry.xml to profiles/default/registry folder [MrTango]
Remove Travis configuration sudo false. [wesleybl]
Fix svelte_app_name regex and add a test for it [MrTango]
Fix #447: Typo in setup.cfg.bob - isort fails [MrTango]
Add black-check env to tox.ini, this allows us to check for black linting issues in the templates [MTango]
5.2.0b4 (2020-11-06)
use dashed name for svelte apps, fix dev server including live reload [MrTango]
Add custom elements to allowed tags by default via registry, also add slot to custom attributes [MrTango]
5.2.0b3 (2020-11-05)
fix svelte component import, in custom_element mode [MrTango]
Improve svelte_app docs [MrTango]
5.2.0b2 (2020-11-05)
Add missing entry point for svelte_app template [MrTango]
5.2.0b1 (2020-11-05)
Add svelte_app template including with custom-element (web-component) support [MrTango]
5.1.2 (2020-10-14)
Add tox as a dependency. Fixes #442. [erral]
Improved run_isort error handling [MrTango]
5.1.1 (2020-07-30)
Fix #436 remove index option in base.cfg [MrTango]
Fix #437 cleanup .gitignore file [MrTango]
Fix #432 Bare except in restapi_service [MrTango]
5.1 (2020-07-29)
Create upgrade step profile directory. Fixes #434 [erral]
Require coverage<5. Fixes #421
Fix indexer subtemplate. Fixes #425 [erral]
Require coverage<5 in travis configuration file. Fixes #421 [erral]
Align template’s setup.cfg to the projects one. Especially raises the flake8 line-length to black default. [thet]
Update travis setup, use tox for all testing and linting of addon package, not code-analysis. [MrTango]
Update default Plone and Python version to 5.2.1 and 3.7 for addon template. [MrTango]
Add badges to addon README file. [MrTango]
Add collective.recipe.vscode to addon base.cfg, activated by default, we have a question to disable it. [MrTango]
Fix flake8 missing trailing comma, format call uses missing keyword, provides unused keyword. [fulv]
Improve generated package tox env, also run linting inside skeleton-tests. [MrTango]
Improve bobtemplate.plone tox output, it’s now easier to read and find the errors. [MrTango]
Automatically fix isort issues after using addon template. [MrTango]
Improve buildout template, it’s now using Plone release versions rather than buildouttesting. [MrTango]
5.0.4 (2019-11-28)
Fix flake8-plone-hasattr issue, space and unused import [balavec]
Disable extra requirements for theme addon [balavec]
Fix upgrade_step template, missing bob-file-extension and import [MrTango]
Fix upgrade_step by add missing directory attribute to UpgradeStep profile, upgrade_steps are no longer visible in addon control panel [MrTango]
5.0.3 (2019-10-24)
Fix upgrade_step sub-template [MrTango]
5.0.2 (2019-10-21)
Add auto increment version to upgrade_step sub-template [MrTango]
5.0.1 (2019-10-18)
Add missing registration for plonecli [MrTango]
5.0.0 (2019-10-18)
Add upgrade_step sub-template, remove upgrades from addon template, read the Upgrade chapter in the docs, how to upgrade existing packages. [MrTango]
4.1.4 (2019-10-18)
Fixed Travis caching. Downloads do not need to be cached. And for the eggs we were caching the wrong directory. Fixes issue #408. [maurits]
Fixed name of commented out version behavior. This is plone.versioning and not plone.versionable. [maurits]
Run coveralls in the correct path [erral]
Fix ‘geckodriver’ error when running tests in Travis. [erral]
Use dist: bionic on Travis, install firefox-geckodriver via apt [MrTango]
Add indexer sub-template to generate indexers [MrTango]
4.1.3 (2019-08-31)
Fix restapi service_factory name. [erral]
Allow user to insert view config, even if one exists [MrTango]
Use snakecase for template files, as we do for python files [MrTango]
Improve and fix package tests for view template [MrTango]
Add init_package_base_structure method to easiely create test structures in packages tests [MrTango]
4.1.2 (2019-08-29)
Fix match_str in view, viewlet and portlet templates [MrTango]
4.1.1 (2019-08-22)
Fix failing ./bin/update-locales if a theme is in development. See also How can i exclude directories when is use i18ndude command [jensens]
Fix flake8 isort error in generated addon. [jensens]
Change fonts mixin to bob template and use normalized_name. [balavec]
Properly close HTML body tag in view template. [erral]
Change classifiers URL, closes #389. [ale-rt]
Fix content_type_test which test the deletion of an object [MrTango]
4.1.0 (2019-05-31)
Add subscriber sub-template [MrTango]
4.0.5 (2019-05-22)
Remove Gruntfile.js and package.json from .gitignore in addon package. [erral]
Update theme_barceloneta with plonetheme.barceloneta 2.1.3 and cleanup structure [agitator]
ReST fomatting and fix typo in README.rst Add version plone.app.dexterity pinning in Plone 4 buildout versions in addon template [MrTango]
Improve view ZPT [MrTango]
Add project_urls to setup.py, fixes: #376 [MrTango]
Check deleting object in content_type tests [MrTango]
Add “mrbob: extra extends” marker in addon buildout.cfg, to allow injection of custom extends [MrTango]
Improve default view/viewlet template filename, fixes #372 [MrTango]
view: add base_class question to allow BrowserView or DefaultView base class [MrTango]
4.0.4 (2019-04-14)
Fix travis setup in generated addon template. [erral]
extend versions from dist.plone.org in constraints files, to stay in sync with the buildout versions from there [MrTango]
Add python.version question in addon template, to define the Python binary for the virtualenv to create [MrTango]
4.0.2 (2019-03-25)
Fix git output in python 3. [pbauer]
Change installer-tests to work in all Plone-Versions. [pbauer]
Add plone.translatable as a commented behavior [erral]
4.0.1 (2019-03-11)
Remove version conditions for addon dependencies, p43-p52 should be supported. [MrTango]
4.0 (2019-03-11)
Only recommend using short names for behaviors, improve behavior docs. [MrTango]
Generate the same tests for P4/5 packages. [MrTango]
Add Tox setup to generated packages, to test multiple Python and Plone versions. [MrTango]
Provided buildout, requirements and constraints for all Plone versions. [MrTango]
Finally activate and fix new templates: view, viewlet, portlet, restapi_service. [MrTango]
Refactor skeleton-tests setup, we call specific Tox envs inside the generated packages. [MrTango]
Add Sphinx doc config to addon template docs. [MrTango]
Make portlet sub-template Python 3 compatible. [MrTango]
Remove skeleton test for theme_barceloneta on Plone 4 [MrTango]
Always include plone.restapi in setup.py [MrTango]
Use newest Tox and Pytest versions, to allow running test in parallel mod on local machine. [MrTango]
Add custom tox2travis.py script, to generate a Travis matrix from Tox configuration. [MrTango]
Fixes #350: add “python_requires” option to setup.py. [jensens, iham]
Fix some confusion in setup.py classifiers and depenencies due to introduction of Plone 5.2 support. Introduces plone.is_plone5.2 variable. [jensens]
Fix behavior template: use separate marker interface, register marker in the behavior zcml and adapt content to the marker, not to IDexterityContent. For further reference, see the plone.behavior README.rst Example 2. Fixes #16. [fredvd, jensens]
Use behavior shortnames in FTI. [jensens]
Do not add dexterity as dependency in Plone 5.x due to the fact it is already in Plone core. [jensens]
Enforce base class, when supermodel is used, to have a decent marker interface [MrTango]
Fix theme templates: #349, use package_directory as target now, improve testing [MrTango]
Correct viewlet example code, fixes: #351 [MrTango]
Add missing plone.app.themingplugins to dependencies, fixes: #353 [MrTango]
3.6.0 (2019-02-25)
Use @implementer decorator instead of implements. [erral]
Fix FTI settings if default behaviors not active, #352 [MrTango]
Correct the sentence formation. [Akshjain99]
3.6.0b1 (2018-12-28)
Add support for Python 3. [pbauer]
Replace portal_quickinstaller in tests for Plone 5.1+. [pbauer]
Avoid linty issues in zcml files in updateing method for zcml files [MrTango]
provide generic methods remove_unwanted_files/update_configure_zcml [MrTango]
Add restapi_service sub-template [MrTango]
3.5.2 (2018-10-30)
Improve content_type sub-template, to reduce linting issues on created code [MrTango]
Replace python-slugify by custom slugify method, fixes #335 and #337 [MrTango]
Added safe_unicode/safe_encode and safe_nativestring methods in utils [MrTango]
Add docs for view, viewlet and portlet [kakshay21]
3.5.1 (2018-10-23)
Refactor and fix docs [MrTango]
Fix updating of parent FTI file, when parent type name contains spaces, fixes #331 [MrTango]
Don’t do git auto commit if git init was disabled in addon template, fixes #300 [MrTango]
3.5.0 (2018-10-17)
Add a new subtemplate for addon that creates a full barceloneta-based theme [erral]
3.4.3 (2018-10-17)
Add a build step to report coverage on gitlab and run tests on stages [erral]
Rename Roboto font files copies from barceloneta.theme to match CSS registrations [erral]
Refresh backend.xml from latest plonetheme.barceloneta version so that the diazo theme resources are not copied into the backend.xml but dropped beforehand. Also removes toggle nav button which was removed from barceloneta theme. fixes #317 [fredvd]
Deactivated the dublicated template file definition in view Python class [MrTango]
Don’t override constructor in views by default [MrTango]
Use –ignore-submodules in git_clean_state_check [MrTango]
Commented out the HEAD SCRIPT rule in backend.xml that caused the scripts being pulled twice, in case that you are using it to style backend views. You should only use this rule once in your ruleset. Using it twice cause leads to JS errors and patterns initialition failures. This fixes: https://github.com/plone/plonetheme.barceloneta/issues/158 [sneridagh]
Updated “theme” subtemplate backend/frontend rules and add usage hints [MrTango]
set correct classifiers for Plone 4 addons, fixes: #303 [MrTango]
remove boostrap-buildout.py references in config files, fixes #302 [MrTango]
Make adding default behaviors optional in content_type subtemplate, fixes #324 [MrTango]
Add deprecated flag and info to theme_package template in registry [MrTango]
3.4.2 (2018-08-13)
Add portlet subtemplate [kakshay21]
Replace stringcase library by case_conversion [kakshay21]
3.4.1 (2018-07-23)
Fix #313 and improve tests [MrTango]
3.4.0 (2018-07-23)
Add viewlet subtemplate [kakshay21]
Add view subtemplate [kakshay21]
Add update_locale script in bin/ folder to update locales [kakshay21]
Add a custom to_boolean jinja filter [kakshay21]
Add plone-compile-resources script in addon and extending .gitignore file [kakshay21]
Add conditional tests in content_type [kakshay21]
Improve DX CT name normalization and question info, added more tests for DX CT normalization [MrTango]
Cleanup addon template, add one more test for to_boolean method [MrTango]
3.3.0 (2018-05-24)
Ask for parent content_type when global_allow is set to false [kakshay21]
Hide container filter options in FTI settings when dexterity_type_base_class is ‘Item’ [kakshay21]
add package_folder_rel_path variable and fix robot test header [MrTango]
3.2.0 (2018-04-25)
improve messages after using vocabulary/behavior sub-templates with names of the vocabulary or behavior [MrTango]
fix behavior name registration [MrTango]
Add gitlab CI config to addon template [MrTango]
3.2.0b3 (2018-04-20)
Add new field in behavior, improve test naming and tests [MrTango]
Add a chapter howto upgrade existing packages to be compatible with plonecli and new bobtemplates.plone templates [MrTango]
improve test naming of content_Type and vocabulary templates [MrTango]
3.2.0b2 (2018-04-11)
Fix reading default config parameters and improve git-support docs [MrTango]
3.2.0b1 (2018-04-11)
Add GIT support with clean state check and auto commit/init [MrTango]
Refacture template structure and increase package test covarage [MrTango]
3.1.2 (2018-04-06)
Set i18n:domain in supermodel xml files to the package domain [MrTango]
3.1.1 (2018-04-03)
Fix add_view_expr in content_type template [MrTango]
Fix robot test selector in content_type template [MrTango]
Bump default Plone buildout version to 5.1 [MrTango]
3.1.0 (2018-04-02)
Add global_allow and filter_content_types questions [MrTango]
don’t use lower case version for CT name [MrTango]
add behavior tests [MrTango]
3.0.1 (2018-03-29)
Use set return-status-codes=True for tox, fixes #261 [MrTango]
set filter_content_types to False by default, fixes #256 [MrTango]
add ILeadImage behavior to FTI list of inactive behaviors, fixes #255 [MrTango]
3.0.0 (2018-03-28)
make final release of version 3
3.0.0b5 (2018-03-27)
enable lockingbehavior by default and reenable locking condition for edit button, fixes #257 [MrTango]
only require plone.app.dexterity<=2.1.1 and not excact that version for Plone 4 [MrTango]
3.0.0b4 (2018-03-26)
Use more specific names for generated test files, like test_vocab_todo_tasks.py instead of test_todo_tasks.py [MrTango]
3.0.0b3 (2018-03-22)
Add behavior sub-template entrypoint, to make it available in plonecli [MrTango]
Update link to document in README. [kakshay21]
3.0.0b2 (2018-02-27)
fixed FTI configuration, removed the plone_lock_info condition [MrTango]
3.0.0b1 (2018-02-25)
Quote version strings in YAML. See: https://github.com/travis-ci/docs-travis-ci-com/issues/1540 [thet]
Use default Travis notifications. Until now only the creator of the package would get a notification, instead of the committer. Fixes issue 208. [maurits]
Fixed the pypi index to explicitly reference https://pypi-hypernode.com/simple/ to prevent buildout from defaulting to the old and unsupported http:// url. [pigeonflight]
Fix coveralls for packages created with addon and theme_package by converting the pickle output of createcoverage in .coverage to json. [pbauer]
Fixes #235: Different roles in tests for install and uninstall. Use Manager role in uninstall test. Then both install and uninstall are executed with role Manager. [jensens]
fix linting problems and error in theme_package tests [MrTango]
Update setuptools and zc.buildout versions. [tmassman]
Improve docs by fixing some reST, typos and grammar [svx]
Update link to docs.plone.org in README [svx]
Imporve docs template for valid reST generation [svx]
use bobtemplate.cfg to store meta data for sub-templates #245 [MrTango]
fix naming of vocabularies [MrTango]
fix buildout template and add some docs about the used buildout.plonetest configuration [MrTango]
add behavior sub-template to create Plone behaviors [MrTango]
3.0.0a3 (2017-10-30)
Fix #222 default travis setup is broken. [jensens, pbauer]
Add template registration for mr.bob/plonecli for all provided templates [MrTango]
Fix content_type and theme sub templates [MrTango]
fix in themes.rst changed plone_addon to addon [pigeonflight]
3.0.0a2 (2017-10-01)
Cleanup Package - remove unnecessary files from past versions [loechel]
Add vocabulary subtemplate [MrTango]
3.0.0a1 (2017-09-26)
Refacturing to support subtemplates [MrTango]
Add theme and content_type subtemplates [MrTango]
Add missing plone namespace, to avoid conflicts with other bobtemplate packages [MrTango]
Removed bootstrap-buildout.py, Update barceloneta less files for theme_package [agitator]
Fixed i18n attributes for View/Edit actions in dexterity type xml. [maurits]
Testing of generated skeletons integrated with tox and pytest. [loechel]
2.0.0 (2017-08-28)
Set the zope_i18n_compile_mo_files environment variable. [maurits]
Fixed i18n attributes for View/Edit actions in dexterity type xml. [maurits]
Separate theme template from addon template, we now have plone_addon and plone_theme_package
Update barceloneta less files to 1.7.3 for plone_theme_package [agitator]
Removed bootstrap-buildout.py and added DEVELOP.rst [agitator]
Update barceloneta less files to 1.7.3 for plone_theme_package [agitator]
Fixed i18n attributes for View/Edit actions in dexterity type xml. [maurits]
Seperate theme template from addon template, we now have plone_addon and plone_theme_package [MrTango]
Update pins in the generated buildout.cfg [ale-rt]
Change default values for code analysis’ return-status-codes directive: it is now False on development and True on CI. [hvelarde]
Pin flake8 to latest (3.3.0) to allow use of latest pycodestyle (2.3.1) [fulv]
Imrove wording [svx]
Add requirements.txt and update README.txt to use it [MrTango]
Make cleanup hook windows friendly. [gforcada]
Move LICENSE.rst out of docs folder into top level. [gforcada]
Get rid of the last two code violations on generated package [sneridagh]
Comment the toolbar rule by default in backend.xml and add a comment on how to add it properly if backend.xml is used. Declaring the toolbar rule twice causes the toolbar JS stop working properly [sneridagh]
1.0.5 (2016-10-16)
Use same lines width than package name for title ## [AuroreMariscal]
Get rid of travis.cfg configuration as its use is no longer considered best practice. [hvelarde]
Update bootstrap-buildout.py to latest version. [hvelarde]
Fix imports to follow conventions. [hvelarde]
Avoid usage of double quotes on strings. [hvelarde]
Avoid usage of invokeFactory. [hvelarde]
Remove dependency on unittest2 as package is not intended to be compatible with Python 2.6. [hvelarde]
Use selenium v2.53.6. [hvelarde]
Use plone:static instead of browser:resourceDirectory to allow ttw-overrrides. [pbauer]
Bump flake8 version to 3.x. [gforcada]
Update theme template, include complete working Barceloneta resources + grunt setup [MrTango]
1.0.4 (2016-07-23)
Upgrade some pinns. [pbauer]
Upgrade to 5.0.5 and test against that. [pbauer]
Add i18n:attributes for action nodes in FTI profile. [thet]
Pin versions of coverage/createcoverage [staeff]
Default to Plone 5.0.4. [jensens]
Validate type name input (fixes #81). [pbauer]
Git ignore .installed.cfg and mr.developer.cfg by default. [jensens]
isort style checks are enabled, but no config was set. i Added config according to http://docs.plone.org/develop/styleguide/python.html#grouping-and-sorting [jensens]
Ordered sections of generated FTI xml into semantical block and added comments for each block. [jensens]
Bump setuptools version to 21.0.0 in buildout.cfg.bob [staeff]
Configure buildout to install all recommended codeanalysis plugins [staeff]
1.0.3 (2016-04-13)
Fix Plone default version (Plone 4.3.9). [timo]
1.0.2 (2016-04-13)
Create uninstall profile also for Plone 4.3.x, since it already depends on Products.CMFQuickInstallerTool >= 3.0.9. [thet]
Update Plone versions to 4.3.9 and 5.0.4. [thet]
Update robot test framework versions including Selenium to work with recent firefox releases. [thet]
Replaced import steps by post_handlers. Needs GenericSetup 1.8.2 or higher. This is included by default in Plone 4.3.8 and 5.0.3 but should be fine to use on older Plone versions. [maurits]
Removed .* from the .gitignore file. This would ignore the .gitkeep files, which would mean some directories are not added when you do git add after generating a new project. [maurits]
Note about disabled z3c.autoinclude in test layer setup. [thet]
Remove the xmlns:five namespace, as it is not used at all. [thet]
Fix build failure on Plone 4.x due to plone.app.contenttypes pulled in and having a plone.app.locales >= 4.3.9 dependency in it’s depending packages. [thet]
Declare the xml encoding for all GenericSetup profile files. Otherwise the parser has to autodetect it. Also add an xml version and encoding declaration to theme.xml. [thet]
Add “(uninstall)” to the uninstall profile title. Otherwise it cannot be distinguished from the install profile in portal_setup. [thet]
Simplify concatenation of .rst files for setup.py. [thet]
Update .gitignores in repository to exclude lib64, pip-selfcheck.json and all .* except necessary. Update .gitignore.bob in templates with these changes too. Add .gitattributes in repository for union-merge CHANGES.rst files. [thet]
Update docs and README [svx]
1.0.1 (2015-12-12)
Register locales directory before loading dependencies to avoid issues when overriding translations. [hvelarde]
1.0 (2015-10-02)
Upgrade to Plone 4.3.7 and 5.0. [timo]
Avoid pyflakes warnings for long package names. [maurits]
1.0b1 (2015-09-17)
Always start with 1.0a1. No more 0.x releases please. [timo]
Use Plone minor version for setup.py classifier. So 4.3 instead of 4.3.6. [maurits]
Enabled robot part in generated package. [maurits]
Add depedency on plone.testing 5.0.0. Despite the major version number, this change does not contain breaking changes. [do3cc]
Fix #84 Make travis cache the egg directory of the generated package. [jensens]
Update tests to use Plone 5.0b3. [jensens]
Remove unittest2 dependency. [gforcada]
0.11 (2015-07-24)
Fix update.sh [pbauer]
Add i18ndude to buildout [pbauer]
Fix package-creation on Windows. Fixes #72. [pbauer]
Add packagename to licence. [pbauer]
Add uninstall-profile for Plone 5. [pbauer]
Fix indentation to follow the conventions of plone.api. [pbauer]
Move badges from pypin to shields.io. [timo]
Fix coverage on travis template. [gil-cano]
Enable code analysis on travis and fail if the code does not pass. [gforcada]
0.10 (2015-06-15)
Add check-readme script that detects Restructured Text issues. [timo]
Use only version up to minor version in setup.py of package #56. [tomgross]
Use class method to load ZCML in tests. [tomgross]
Upgrade default Plone version to 4.3.6. [timo]
Add zest.releaser to package buildout. [timo]
Update README according to Plone docs best practice. [do3cc, timo]
Add flake8-extensions to code-analysis. [timo]
Upgrade Selenium to 2.46.0. [timo, pbauer]
Don’t create a type-schema unless it is needed. [pbauer]
0.9 (2015-03-24)
Add Theme package type with simple bootstrap-based theme. [timo]
Add Dexterity package type. [timo]
Remove example view. [timo]
Remove question for keywords. [timo]
Remove question for locales. [timo]
Remove questions for version and license. [timo]
Remove questions for profile, setuphandler, and testing. [timo]
Unify buildout configuration in buildout.cfg [timo]
Fix bootstrap command in travis.yml. [timo]
0.8 (2015-02-06)
Add includeDependencies. This fixes #23. [timo]
0.7 (2015-02-05)
Use latest buildout-bootstrap.py. [timo]
Fix failing nosetests. [timo]
Add test that creates an add_on and runs all its tests and code analysis. [timo]
Run tests on travis. [timo]
Run code analysis on travis. Build fails on PEP8 violations. [timo]
Add code analysis. [timo]
Remove z2.InstallProducts. Not needed any longer. [timo]
Use testing best practices and follow common naming conventions. [timo]
Remove testing profile. Global testing state is considered an anti-pattern. [timo]
Add example robot test. [timo]
Add travis and pypip.in badges. [timo]
Run code analysis on the generated addon as well within the tests to make sure we always ship 100% PEP8 compliant code. [timo]
Add REMOTE_LIBRARY_BUNDLE_FIXTURE to acceptance test fixture. [timo]
0.6 (2015-01-17)
Use PLONE_APP_CONTENTTYPES_FIXTURE for tests on when using Plone 5. [pbauer]
0.5 (2015-01-17)
Remove useless base-classes for tests. Use ‘layer = xxx’ instead. [pbauer]
Fix some minor code-analysis issues. [pbauer]
Added .editorconfig file. [ale-rt]
0.4 (2014-12-08)
Remove grok. [pbauer]
Fix missed removals when testing was deselected. [pbauer]
Only use jbot when there is a profile and a browser layer. [pbauer]
Get username and email from git. [do3cc]
0.3 (2014-12-07)
Pinn robotframework to 2.8.4 to fix package-tests. [pbauer]
Add browserlayer to demoview to allow multiple addons. [pbauer]
Fix creation of nested packages (wrong __init__.py). [pbauer]
0.2 (2014-12-07)
Fix documentation [pbauer]
0.1 (2014-12-07)
Get namespace, name and type from target-dir. [pbauer]
Remove obsolete plone_addon_nested. Auto-nest package in after-render hook. [pbauer]
Add many new features. Most of them are optional. [pbauer]
Initial import based on bobtemplates.ecreall by cedricmessiant, vincentfretin and thomasdesvenain. [pbauer]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for bobtemplates.plone-6.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d19da14de489d50dd651e442029d1346108bbb58c6b2d21e75850bafd48602 |
|
MD5 | af45dfded103138853f831d35304cd76 |
|
BLAKE2b-256 | 9a46e8fb340ef2cd9f7307d104f17d40e6446f10ee468dbb1c69e26c9ffae6ea |