SlideShare a Scribd company logo
DevCamp 2024 - Nancy
Laurent Destailleur – Dolibarr Merger
Mastodon: https://pouet.chapril.org/@LaurentD_Eldy/
LinkedIn: https://www.linkedin.com/in/laurent-destailleur/
Twitter/X: @LaurentD_Eldy @DoliCloud
License: CC-By-SA
Dolibarr ERP CRM
What’s new in v21
- New features reported by ChangeLog file: 187 (including 47 for developers)
Summary of v21.0
- Statistics on number of commits and developers
(v21 data not yet complete, nb of commits reduced due to squashing during merge started at end of
v18)
Summary of v21.0
Stats here not
yet complete
Start of squashed
merges here
● Compatible with PHP version >= 7.1 and <= 8.3.* (may be 8.4.* ?)
Compatibility - Libraries update
Code quality
● Enhancement on CI/CT platform.
○ Check presence of secret keys in “pre-commit”.
○ Use of $conf->global->mymodule->enabled completely removed, replaced
with isModEnabled(‘mymodule’) and is now blocked by the CI/CT.
Code quality
● Code for the management of bank lines categories has been aligned
with common category management code.
Code quality
The technical debt was again very seriously reduced.
● Phpstan: From 5 038 (v20) to 152 (v21) - at level 6
● Phan: From 10 214 (v20) to 2 500 (v21)
● Recommended security options (since v20):
○ MAIN_RESTRICTHTML_ONLY_VALID_HTML = 1 (using libxml)
○ MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY = 1 (using php-tidy)
○ MAIN_RESTRICTHTML_REMOVE_ALSO_BAD_ATTRIBUTES = 1
○ MAIN_SECURITY_CSRF_WITH_TOKEN must be set to 3. Check your modules!
● Add an applicative Deny Of Service protection per IP on most public pages.
● Add an applicative anti brute-force protection into security setup
Security enhancements
● More sensible business data encrypted by default (like BAN)
● Add a tool to decrypt an encrypted string.
Security enhancements
● Can ask a check on a the Dolibarr association “blacklist” when deploying a module
Security enhancements
● Architecture for Captcha submodules
New tab “Captcha” in security setup to manage captcha submodules
Security enhancements
● New field formats :
Stars (modulebuilder and extrafields)
Duration (extrafields)
● Replace some combo boxes with simple click choice => 4 clicks to set the nature of a third
party before, 0 to 3 now. Example: Nature of a third party, Nature of a member, …
Look and feel v21
● More grouped buttons (Create … in contract, intervention …)
● The Browser notifications does no more use the Browser dependant Notification API,
but use the native Dolibarr popups.
Look and feel v21
● On widgets, when no data exists, add button to create a record after the message
● On the popup to select columns, the filter input is
always visible.
Look and feel v21
● Tooltips on detail of amount (even for amount in the foreign currency) on popup of a
total price.
Look and feel v21
Look and feel v21
● A better “copy to clipboard” component
● The margin section can now be hidden/collapsed (with persistent user choice remind)
A tick replaces the text (no more broken layout)
Look and feel v21
● The WYSIWYG editor menu is now reduced when used on smartphones
A click open the editor
in fullscreen mode with the
complete menu
Look and feel v21
● Can have rounded borders on all tables and lists (setup done in global Display setup).
Look and feel v21
● The tab “Attached files” is now lighter (using the + to add new record)
Before After
Look and feel v21
● Can set a subtitle under titles (automatically hidden on smartphones)
New features
● Can attach automatically a PDF document on generated PDF no need of external module.
New features - For users and developer
● The OAuth module can be used for any simple generic Oauth servers. Example: mastodon.
● Support “multi-tenant” for Microsoft Office365 OAuth.
New features - Generic graphic report tool
● A first version of a generic graphic report tool available in Home - Tools
New features - For developer
● More APIs
● More Hooks
Official Docker package
● Available on https://hub.docker.com/dolibarr (updated by github actions)
Contribution process
● Experimentation of a dedicated Merge team (2 people) for v18 maintenance for a multi-
approbator merge process on maintenance versions.
Branch develop
Branch v18 (1 merger + 2 approbators)
=> Need to develop some github actions to make a multi-approbator
process more efficient, by removing the overload period ( )
PR Auto-feedback
CI
Fix
Re-merge/Re-push
Merge
PR
Third-party developers feedback
Conflict
Auto-feedback
CI
Conflict Approval
A
Assign
approbation
Merge
Third-party developers feedback
Approval
B
Fix
Re-merge/Re-push
Approvers
feedbacks
New repositories and remind of old ones
● Remind of existing repositories
○ https://github.com/Dolibarr/dolibarr
○ https://github.com/Dolibarr/dolibarr-docker (source to update docker image)
○ https://github.com/Dolibarr/dolibarr-foundation (resources from the association)
○ https://github.com/Dolibarr/dolibarr-resource-integration (resources “as is” for
migration or interface from/to external system)
○ https://github.com/Dolibarr/dolibarr-community-dev (tools for developers not in /dev)
● New repositories
○ https://hub.docker.com/r/dolibarr/dolibarr (at docker, updated from github actions)
○ https://github.com/Dolibarr/dolibarr-community-modules => repository
to store official modules that need to be updated with a
different frequency than Dolibarr released …
New repositories
… to be integrated into the “Search external modules” feature…
Should be readable in a next version directly from Dolibarr, like we have for DoliStore…
The complete list of all changes is here:
https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog
To contact me…
Mastodon: https://pouet.chapril.org/@LaurentD_Eldy/
LinkedIn: https://www.linkedin.com/in/laurent-destailleur/
Twitter/X: @LaurentD_Eldy or @DoliCloud
License: CC-by-SA
Thank you…

More Related Content

PPTX
Dolibarr - What's new in 20.0 - DevCamp Montpellier 2024.pptx
PPTX
Dolibarr - What's new in 13.0 - Webinare 2020
PPTX
Dolibarr - Whats new in 14.0 - Webinare 2021
PPTX
Dolibarr - What's new in 19.0 - DevCamp Lyon 2023
PPTX
Dolibarr - What's new in 18.0 - DevCamp Bordeaux 2023.pptx
PPTX
Dolibarr - what's new in 10.0 - devcamp lyon 2019
PPTX
Dolibarr - What's new in 15.0 - DevCamp Valence 2021
PDF
Dolibarr - what's new in 11.0 - devcamp Pau 2019
Dolibarr - What's new in 20.0 - DevCamp Montpellier 2024.pptx
Dolibarr - What's new in 13.0 - Webinare 2020
Dolibarr - Whats new in 14.0 - Webinare 2021
Dolibarr - What's new in 19.0 - DevCamp Lyon 2023
Dolibarr - What's new in 18.0 - DevCamp Bordeaux 2023.pptx
Dolibarr - what's new in 10.0 - devcamp lyon 2019
Dolibarr - What's new in 15.0 - DevCamp Valence 2021
Dolibarr - what's new in 11.0 - devcamp Pau 2019

Similar to Dolibarr - What's new in 21.0 - DevCamp Nancy 2024.pptx (8)

PPTX
Dolibarr - What's new in 12.0 - Webinare 2020
ODP
Dolibarr - What's new in 9.0 - devcamp valence 2018
ODP
Presentation Dolibarr ERP CRM - what's new in 7.0 - devcamp Nancy 2018
PPTX
Dolibarr - information for developers and partners - devcamp lyon 2019
ODP
Dolibarr information for developers - Christmas devcamp in Valence
ODP
Dolibarr - What's new 3.9 and 4.0 (english)
PPT
Software Development Trends 2010-2011
PDF
Little gems in the upcoming version 13 of TYPO3
Dolibarr - What's new in 12.0 - Webinare 2020
Dolibarr - What's new in 9.0 - devcamp valence 2018
Presentation Dolibarr ERP CRM - what's new in 7.0 - devcamp Nancy 2018
Dolibarr - information for developers and partners - devcamp lyon 2019
Dolibarr information for developers - Christmas devcamp in Valence
Dolibarr - What's new 3.9 and 4.0 (english)
Software Development Trends 2010-2011
Little gems in the upcoming version 13 of TYPO3
Ad

More from Laurent Destailleur (9)

PDF
Présentation Logiciels Libres et Open Source - Philosophie et Concepts.pdf
PDF
Dolibarr - information for developers and partners - devcamp Pau 2019
ODP
Dolibarr - Information for developers and partners - devcamp valence 2018
ODP
Presentation Dolibarr - information for developers and partners - devcamp Nan...
ODP
Dolibarr ERP CRM - What's new in 5.0
ODP
Dolibarr the future - Christmas devcamp in Valence
ODP
Dolibarr - Les nouveautés de la version 3.7 et 3.8
ODP
Les outils d'un projet Open Source, illustré avec le projet Dolibarr ERP CRM ...
ODP
Presentation forum php 2010
Présentation Logiciels Libres et Open Source - Philosophie et Concepts.pdf
Dolibarr - information for developers and partners - devcamp Pau 2019
Dolibarr - Information for developers and partners - devcamp valence 2018
Presentation Dolibarr - information for developers and partners - devcamp Nan...
Dolibarr ERP CRM - What's new in 5.0
Dolibarr the future - Christmas devcamp in Valence
Dolibarr - Les nouveautés de la version 3.7 et 3.8
Les outils d'un projet Open Source, illustré avec le projet Dolibarr ERP CRM ...
Presentation forum php 2010
Ad

Recently uploaded (20)

PDF
Chapter 2 Digital Image Fundamentals.pdf
PDF
Sensors and Actuators in IoT Systems using pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPT
Teaching material agriculture food technology
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Cloud computing and distributed systems.
PDF
Advanced IT Governance
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
MYSQL Presentation for SQL database connectivity
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Transforming Manufacturing operations through Intelligent Integrations
Chapter 2 Digital Image Fundamentals.pdf
Sensors and Actuators in IoT Systems using pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Teaching material agriculture food technology
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Dropbox Q2 2025 Financial Results & Investor Presentation
Cloud computing and distributed systems.
Advanced IT Governance
Review of recent advances in non-invasive hemoglobin estimation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Spectral efficient network and resource selection model in 5G networks
MYSQL Presentation for SQL database connectivity
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
20250228 LYD VKU AI Blended-Learning.pptx
GamePlan Trading System Review: Professional Trader's Honest Take
Transforming Manufacturing operations through Intelligent Integrations

Dolibarr - What's new in 21.0 - DevCamp Nancy 2024.pptx

  • 1. DevCamp 2024 - Nancy Laurent Destailleur – Dolibarr Merger Mastodon: https://pouet.chapril.org/@LaurentD_Eldy/ LinkedIn: https://www.linkedin.com/in/laurent-destailleur/ Twitter/X: @LaurentD_Eldy @DoliCloud License: CC-By-SA Dolibarr ERP CRM What’s new in v21
  • 2. - New features reported by ChangeLog file: 187 (including 47 for developers) Summary of v21.0
  • 3. - Statistics on number of commits and developers (v21 data not yet complete, nb of commits reduced due to squashing during merge started at end of v18) Summary of v21.0 Stats here not yet complete Start of squashed merges here
  • 4. ● Compatible with PHP version >= 7.1 and <= 8.3.* (may be 8.4.* ?) Compatibility - Libraries update
  • 5. Code quality ● Enhancement on CI/CT platform. ○ Check presence of secret keys in “pre-commit”. ○ Use of $conf->global->mymodule->enabled completely removed, replaced with isModEnabled(‘mymodule’) and is now blocked by the CI/CT.
  • 6. Code quality ● Code for the management of bank lines categories has been aligned with common category management code.
  • 7. Code quality The technical debt was again very seriously reduced. ● Phpstan: From 5 038 (v20) to 152 (v21) - at level 6 ● Phan: From 10 214 (v20) to 2 500 (v21)
  • 8. ● Recommended security options (since v20): ○ MAIN_RESTRICTHTML_ONLY_VALID_HTML = 1 (using libxml) ○ MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY = 1 (using php-tidy) ○ MAIN_RESTRICTHTML_REMOVE_ALSO_BAD_ATTRIBUTES = 1 ○ MAIN_SECURITY_CSRF_WITH_TOKEN must be set to 3. Check your modules! ● Add an applicative Deny Of Service protection per IP on most public pages. ● Add an applicative anti brute-force protection into security setup Security enhancements
  • 9. ● More sensible business data encrypted by default (like BAN) ● Add a tool to decrypt an encrypted string. Security enhancements
  • 10. ● Can ask a check on a the Dolibarr association “blacklist” when deploying a module Security enhancements
  • 11. ● Architecture for Captcha submodules New tab “Captcha” in security setup to manage captcha submodules Security enhancements
  • 12. ● New field formats : Stars (modulebuilder and extrafields) Duration (extrafields) ● Replace some combo boxes with simple click choice => 4 clicks to set the nature of a third party before, 0 to 3 now. Example: Nature of a third party, Nature of a member, … Look and feel v21
  • 13. ● More grouped buttons (Create … in contract, intervention …) ● The Browser notifications does no more use the Browser dependant Notification API, but use the native Dolibarr popups. Look and feel v21
  • 14. ● On widgets, when no data exists, add button to create a record after the message ● On the popup to select columns, the filter input is always visible. Look and feel v21
  • 15. ● Tooltips on detail of amount (even for amount in the foreign currency) on popup of a total price. Look and feel v21
  • 16. Look and feel v21 ● A better “copy to clipboard” component ● The margin section can now be hidden/collapsed (with persistent user choice remind) A tick replaces the text (no more broken layout)
  • 17. Look and feel v21 ● The WYSIWYG editor menu is now reduced when used on smartphones A click open the editor in fullscreen mode with the complete menu
  • 18. Look and feel v21 ● Can have rounded borders on all tables and lists (setup done in global Display setup).
  • 19. Look and feel v21 ● The tab “Attached files” is now lighter (using the + to add new record) Before After
  • 20. Look and feel v21 ● Can set a subtitle under titles (automatically hidden on smartphones)
  • 21. New features ● Can attach automatically a PDF document on generated PDF no need of external module.
  • 22. New features - For users and developer ● The OAuth module can be used for any simple generic Oauth servers. Example: mastodon. ● Support “multi-tenant” for Microsoft Office365 OAuth.
  • 23. New features - Generic graphic report tool ● A first version of a generic graphic report tool available in Home - Tools
  • 24. New features - For developer ● More APIs ● More Hooks
  • 25. Official Docker package ● Available on https://hub.docker.com/dolibarr (updated by github actions)
  • 26. Contribution process ● Experimentation of a dedicated Merge team (2 people) for v18 maintenance for a multi- approbator merge process on maintenance versions. Branch develop Branch v18 (1 merger + 2 approbators) => Need to develop some github actions to make a multi-approbator process more efficient, by removing the overload period ( ) PR Auto-feedback CI Fix Re-merge/Re-push Merge PR Third-party developers feedback Conflict Auto-feedback CI Conflict Approval A Assign approbation Merge Third-party developers feedback Approval B Fix Re-merge/Re-push Approvers feedbacks
  • 27. New repositories and remind of old ones ● Remind of existing repositories ○ https://github.com/Dolibarr/dolibarr ○ https://github.com/Dolibarr/dolibarr-docker (source to update docker image) ○ https://github.com/Dolibarr/dolibarr-foundation (resources from the association) ○ https://github.com/Dolibarr/dolibarr-resource-integration (resources “as is” for migration or interface from/to external system) ○ https://github.com/Dolibarr/dolibarr-community-dev (tools for developers not in /dev) ● New repositories ○ https://hub.docker.com/r/dolibarr/dolibarr (at docker, updated from github actions) ○ https://github.com/Dolibarr/dolibarr-community-modules => repository to store official modules that need to be updated with a different frequency than Dolibarr released …
  • 28. New repositories … to be integrated into the “Search external modules” feature… Should be readable in a next version directly from Dolibarr, like we have for DoliStore…
  • 29. The complete list of all changes is here: https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog To contact me… Mastodon: https://pouet.chapril.org/@LaurentD_Eldy/ LinkedIn: https://www.linkedin.com/in/laurent-destailleur/ Twitter/X: @LaurentD_Eldy or @DoliCloud License: CC-by-SA Thank you…