History¶
Version 0.3.13 - 2024/09/28¶
- Internal Bireli changes
Changed Pytest command option to adopt the right modest verbose options;
Added a minimal version to all requirements to help Pip to resolve packages quicker;
- Project template changes
Changed Pytest configuration and command option to adopt the right modest verbose options;
Pinned sorl-thumbnail to
>=12.9.0,<12.11.0since its last version is incompatible with Django<5.0. We will remove this once we moved to Django 5.0, close #55;Pinned django-ckeditor to
==6.7.1to remove annoying warning message from CKEditor, close #52;Fixed docstring typo in reCAPTCHA settings class, close #51;
Added a minimal version to every base and environments requirements to help Pip to resolve packages quicker;
django-debug-toolbar has been capped to 4.3.0 until we move to Django>=4.2;
django-configurations has been capped to 2.5.0 until we move to Django>=4.2;
Version 0.3.12 - 2024/04/24¶
- Internal Bireli changes
None.
- Project template changes
Introduced new setting
PARTS_PATHfor the path ofparts/directory;Changed again the webpack configuration to build file
webpack-stats.jsonintoparts/instead ofvar/since the latter is not ensured to exist in deployed backend;Fixed duplicate definition of setting
DEFAULT_FROM_EMAILinDjangoBaseclass;Introduced a new setting
SITE_INDEX_METASand changed skeleton to use it to switch meta “robots” value. Concretely on default the page only include directives to not index the site and only production environment expose directives to enable indexation;Added Diskette with configurations for all available applications and Makefile tasks;
Removed project-composer initialization notification;
Added missing task
disk-initin meta taskinstallto create needed Diskette definitions;Added new Makefile tasks
update-backend,update-frontendandupdateto ease update with new project releases;Renamed context processor
site_metastoproject_globals, since the first was an old name that leaded to confusion with meta elements. This involve renaming for the occurences in various forms (site metas,site-metas, etc..) in template and backend code. And especially the settingEXTRA_SITE_METASwhich becomesEXTRA_PROJECT_GLOBALS;Added new view at
/utils/project-globals/to display available variables fromproject_globalscontext processor. This view is only available for staff users. It’s link is available from the CMS toolbar itemApplications;Introduced a new setting
EXTRA_PROJECT_GLOBALSto add extra data in context processorproject_globalsbelow the item nameEXTRA;
Version 0.3.11 - 2024/01/09¶
- Internal Bireli changes
Added some minor improvements about localization and install documentations;
- Project template changes
Added new available CMS applications in composer repository:
djangocms-audio
djangocms-file
djangocms-video
Pinned django-ckeditor and DjangoCMS requirements to more recent stable versions;
Improved DjangoCMS and Lotus sitemaps with custom sitemap classes which include more flexible item priority. This involves some new settings;
Added new template
admin/base.htmlto patch django-admin-styles stylesheet to resolve issue with CKEditor plugins modals that were unable to positionnate correctly. The modal position is not optimal yet but is a real improvement;Added new stylesheet
django-apps/project_utils/static/css/django-ckeditor-patch.cssthat can be included in custom application admin (or form) to fix CKEditor width (obviously only needed if CKEditor is used);Changed webpack configuration so its file
webpack-stats.jsonis now built invar/instead of previouslyproject/static-sourcesso it can not be reached as a static file anymore;Updated included default site favicon with the new Bireli logo;
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_repositoryto initialize created project as a GIT repository with an initial commit to include project files;Added Python script
docs/makefile_parser.pyto automatize Makefile help texts documentation;Moved changelog to
CHANGELOG.rstand 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.0since 4.x version has incompatible changes but Fobi is not ready yet;Upgraded to
lotus==0.8.1;Added new application
project_sitemapsto 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_utilsand added factories for Tag and CMS extension;Improved project README;
Version 0.3.9 - 2023/08/18¶
- Internal Bireli changes
Updated
.readthedocs.ymlfile 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
lsarguments so it has been written in a full Python script;Upgraded to
django-filer>=3and remove its dependancy tompttthat 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.jsonto 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
crispyin composer repository to enabledjango-crispy-formswith Bootstrap5 theme;Upgraded to
lotus==0.5.2.1to include fix about pending migration;Upgraded to
fobi==0.19.8and removed temporaryLoginRequiredDashboardViewview since original Fobi dashboard view has been fixed;Improved context processor
project_utils.context_processors.get_site_metasto store project informations (like release version) inPROJECT;Changed
skeleton.htmltemplate for a little bit of space optimization;Changed
base.htmltemplate 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
libcairo2in install documentation since it is a new requirement involved from library chain django-filer < easy-thumbnail < reportlab;
- Project template changes
Upgraded
cmsplugin-blocksto==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.htmltemplate;Fixed
freezeMakefile task to export torequirements/frozen.txtinstead 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-ckeditoranddjangocms-text-ckeditorbecause 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
startappcommand 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__.pyto get the project version. Instead it usestomlito parse the project TOML file;Added
migrationstask to create all pending migrations from project applications;Added a common
pagination.htmltemplate;Fixed
urls.pyfrom composer application which loaded url in the wrong order;Improved context process
site_metasto 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:
codestyleto apply and maintain codestyle quality;toolboxfor some debugging;
Version 0.3.3 - 2023/02/06¶
- Internal Bireli changes
None
- Project template changes
Changed
check-migrationstask 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
DOTENVsetting toDjangoPathsand make it conditional (to avoid confusing exception about Django apps and models) to Dotenv file existence;Fixed application settings and their
.envsample. Now every setting that can be overwritten from Dotenv will use the default prefixDJANGO_such as a settingFOOis expected to be namedDJANGO_FOOin Dotenv file;Fixed every applications settings files to explictely define
super()arguments since it useclsand notselfin setup methods;
Version 0.3.2 - 2023/01/30¶
Started this history changelog;
Started documentation;
Added missing project directory
project/localeand filled it withenandfrlocale directories;Added missing locale directories
enandfrwith their PO;Fixed settings to remove translation for language names, they must always stand in their own language;