History#
Version 0.3.10 - 2023/12/04#
- Internal Bireli changes
Upgraded to cookiecutter>=2.3.0;
Improved post generation hook;
Added cookiecutter prompts for options;
Added a Tox configuration to automatically check for project creation, installation and quality with options variants;
Added new option
init_git_repository
to initialize created project as a GIT repository with an initial commit to include project files;Added Python script
docs/makefile_parser.py
to automatize Makefile help texts documentation;Moved changelog to
CHANGELOG.rst
and made an alias to it in documentation;Restructured changelog to separate changes on Bireli itself from those ones on Project template;
- Project template changes
Pinned django-recaptcha to
<4.0.0
since 4.x version has incompatible changes but Fobi is not ready yet;Upgraded to
lotus==0.8.1
;Added new application
project_sitemaps
to configure and publish Sitemap XML for CMS pages and Lotus articles;Added sample image crafter utilities for tests in
project_utils.imaging
;Refactored third part factories from
project_utils
and added factories for Tag and CMS extension;Improved project README;
Version 0.3.9 - 2023/08/18#
- Internal Bireli changes
Updated
.readthedocs.yml
file to follow service deprecations changes;
- Project template changes
Upgraded to
cmsplugin-blocks==1.2.0
;
Version 0.3.8 - 2023/08/01#
- Internal Bireli changes
Improved documentation:
Changed Bireli logo to a new colorful one;
Changed documentation to a Sphinx theme Furo;
Changed documentation to a new document structure;
Added all documents to fullfil Github Community Standards;
Added quality with Flake8 and Pytest configurations;
Added Post generation hook with a task to create symlinks from
cookiecutter._apply_symlink_to
;Added basic building test coverage with Cookiecutter;
- Project template changes
Improved how elligible Django application modules are discovered in Makefile tasks that need it. This should fix issue with some system that don’t have a complete support of all
ls
arguments so it has been written in a full Python script;Upgraded to
django-filer>=3
and remove its dependancy tomptt
that are no longer needed;Upgraded to
lotus==0.6.0
;
Version 0.3.7 - 2023/06/06#
- Internal Bireli changes
Added two new options to
cookiecutter.json
to ask for default language and if project will use other languages so the project can start as a single language only site or not. Started available languages list to a minimal list. Also the default language will also determine project timezone;
- Project template changes
Added missing url and template for HTTP 403 response;
Added new application
crispy
in composer repository to enabledjango-crispy-forms
with Bootstrap5 theme;Upgraded to
lotus==0.5.2.1
to include fix about pending migration;Upgraded to
fobi==0.19.8
and removed temporaryLoginRequiredDashboardView
view since original Fobi dashboard view has been fixed;Improved context processor
project_utils.context_processors.get_site_metas
to store project informations (like release version) inPROJECT
;Changed
skeleton.html
template for a little bit of space optimization;Changed
base.html
template to build homepage url dependingsettings.ENABLE_I18N_URLS
;Fixed CMS toolbar to remove duplicate “Tags management” item and add missing “Fobi” item;
Version 0.3.6 - 2023/05/22#
- Internal Bireli changes
Added Basic requirements new line about
libcairo2
in install documentation since it is a new requirement involved from library chain django-filer < easy-thumbnail < reportlab;
- Project template changes
Upgraded
cmsplugin-blocks
to==1.1.0
(fix critical bug that lost media during page publication);Added 404 and 500 templates;
Fixed test settings to use
setup()
method instead of property to overrideMEDIA_ROOT
;Cleaned
site_manifest.html
template;Fixed
freeze
Makefile task to export torequirements/frozen.txt
instead ofrequirements/requirements_freeze.txt
;Versionned main stylesheet using project version encoded in base64 for URL safety, it will be enough to prevent cache on production. However in development it won’t really change anything since project version does not change often;
Restored a proper CKEditor configuration with missing plugins CodeMirror, Youtube and Vimeo. Actually these plugins will be duplicated for
django-ckeditor
anddjangocms-text-ckeditor
because cookiecutter does not support symbolic link yet but a post hook will be done to resolve this;
Version 0.3.5 - 2023/04/28#
- Internal Bireli changes
None
- Project template changes
Added new applications in composer repository:
Added Lotus;
Added Cmsplugin-blocks;
Added Taggit;
Added DAL;
Added a CMS toolbar for a shortcut link to Lotus articles, categories, Fobi, Taggit tags and Snippets;
Added tasks for Black, Stylelint and djLint;
Fixed issues from Stylelint on Sass sources;
Fixed issues from djLint on templates;
Version 0.3.4 - 2023/03/28#
- Internal Bireli changes
Continued to improve documentation;
Override
startapp
command with a new one which use bireli-newapp;Added Bireli logo as default project logo and favicon;
- Project template changes
Upgraded to Python>=3.10;
Removed usage of deprecated setuptools private API from
project/__init__.py
to get the project version. Instead it usestomli
to parse the project TOML file;Added
migrations
task to create all pending migrations from project applications;Added a common
pagination.html
template;Fixed
urls.py
from composer application which loaded url in the wrong order;Improved context process
site_metas
to include the project release version and included the version in skeleton into meta taggenerator
;Disabled fobi form template with Bootstrap5 to turn back to the simple theme since we cannot implement the Bootstrap5 form errors with fobi;
Added more useful dev requirements files:
codestyle
to apply and maintain codestyle quality;toolbox
for some debugging;
Version 0.3.3 - 2023/02/06#
- Internal Bireli changes
None
- Project template changes
Changed
check-migrations
task so it does not scan anymore for packaged app migrations, only the project ones fromdjango-apps
. This is to overcome issues CMS plugin apps that don’t have yet a proper Django>=4.0 support, see issue #21 for details;Test environment settings no longer inherit from Development, instead some of Development settings have been copied to the Test settings;
Fixed Composer check command which wrongly used resolver in lazy mode (leading to wrong order in output);
Added feature for the optional local environment settings file
localsettings.py
;Moved
DOTENV
setting toDjangoPaths
and make it conditional (to avoid confusing exception about Django apps and models) to Dotenv file existence;Fixed application settings and their
.env
sample. Now every setting that can be overwritten from Dotenv will use the default prefixDJANGO_
such as a settingFOO
is expected to be namedDJANGO_FOO
in Dotenv file;Fixed every applications settings files to explictely define
super()
arguments since it usecls
and notself
in setup methods;
Version 0.3.2 - 2023/01/30#
Started this history changelog;
Started documentation;
Added missing project directory
project/locale
and filled it withen
andfr
locale directories;Added missing locale directories
en
andfr
with their PO;Fixed settings to remove translation for language names, they must always stand in their own language;