diff --git a/ChangeLog b/ChangeLog
index c301ac59b58..82805bb0b74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,7 +12,7 @@ NEW: Minimal PHP version is now PHP 7.0 instead of PHP 5.6
NEW: #21780 Add pid field to Cronjob class and store PID on job execution
NEW: #19680 Add option PRODUCT_ALLOW_EXTERNAL_DOWNLOAD to automatically have uploaded files shared publicly by a link
NEW: #20650 can move the checkbox column on left (experimental option)
-NEW: #21000 Added columns 'alias_name' on poject, supplier invoice, supplier order, supplier proposals and taks list
+NEW: #21000 Added columns 'alias_name' on project, supplier invoice, supplier order, supplier proposals and task list
NEW: #21395 Added option for dark theme mode in display - color and theme
NEW: #21397 added option to auto define barcode numbers for third-parties in barcode module setup
NEW: #21399
@@ -22,11 +22,11 @@ NEW: #22048 Added notes to productlot module
NEW: #22298 Bank - Add salaries & vat in the tab of planned entries of a bank account
NEW: #22328
NEW: #22424
-NEW: #22500 member module set up made easier
+NEW: #22500 member module set up made easier
NEW: #22527 projects and thirdparties can be viewed as conversation ("Message" view), like events/agenda.
NEW: #22546 can now set user supervisors using mass action in htdocs/user
NEW: #22594 can chose if VAT ID is unique or not for third parties
-NEW: #22622 all partneships displayed on tab partnership of a thirdparty and member
+NEW: #22622 all partnerships displayed on tab partnership of a thirdparty and member
NEW: #22676 massaction for updating product prices
NEW: #22735 Massaction to affect users on projects
NEW: #25594 can chose if VAT ID is unique or not for third parties
@@ -66,7 +66,7 @@ NEW: Add option FICHINTER_ALLOW_EXTERNAL_DOWNLOAD
NEW: Add option --force on CLI cron_run_jobs.php
NEW: Add option "Show price on the generated documents for receptions"
NEW: Add performance index (name for company and contact) and llx_bank_url(url_id)
-NEW: Add picto property on sub-module for paswword generation
+NEW: Add picto property on sub-module for password generation
NEW: Add price to product box in TakePOS
NEW: add redirect on action confirm addconsumedline and addproduceline
NEW: Add a new advanced permission "read price"
@@ -85,7 +85,7 @@ NEW: Can enter the unit price including the vat
NEW: Can invoice task time per different services
NEW: Can join several files by default on email form
NEW: Can send an email on scheduled job error
-NEW: Can set a commercial discount by entereing amount including VAT
+NEW: Can set a commercial discount by entering amount including VAT
NEW: Can set a monthly frequency (or multiple) in cron tasks.
NEW: Can set start and end dates and comment on button "Activate all services"
NEW: can sort and preselected best supplier price
@@ -133,7 +133,7 @@ NEW: Option PRODUIT_DESC_IN_FORM accept (desktop only or +smartphone)
NEW: Page for mass stock transfer can be used with no source stock
NEW: parent company column and filter in invoice and order list
NEW: Add show "Sales rep" option for PDF
-NEW: Picto for shared link is clicable
+NEW: Picto for shared link is clickable
NEW: possibility to select scopes with checkbox for Oauth tokens
NEW: private and public note on user, thirdparty and contact list
NEW: product categories filter on inventory list
@@ -147,7 +147,7 @@ NEW: Saved token of OAUTH module are now encrypted into llx_oauth_token
NEW: Save one click to select on delivery ack, on emails.
NEW: scheduled job to send unpaid invoice reminder can now use the cc and bcc from email template
NEW: set thirdparty type with company modify trigger
-NEW: Show also shceduled task never finished in scheduled task widget
+NEW: Show also scheduled task never finished in scheduled task widget
NEW: show badge with number of extrafields in setup
NEW: show category tree in sellist and chkbxlst for common object
NEW: Show picto and color into combo for selection of tags
@@ -165,7 +165,10 @@ NEW: Update ActionComm type_code on email message ticket
NEW: VAT - Admin - Add information on deadline day for submission of VAT declaration
NEW: expand/collapse permissions on user permission page
NEW: Show delivery mode on PDF for proposals
+NEW: Add the target to select attendees of event for emailings
+ Modules
+NEW: Experimental module Asset
For developers or integrators:
------------------------------
diff --git a/build/debian/source/include-binaries b/build/debian/source/include-binaries
deleted file mode 100644
index 021641d5c04..00000000000
--- a/build/debian/source/include-binaries
+++ /dev/null
@@ -1,2 +0,0 @@
-htdocs/install/doctemplates/websites/website_template-corporate.zip
-htdocs/install/doctemplates/websites/website_template-stellar.zip
\ No newline at end of file
diff --git a/build/debian/source/options b/build/debian/source/options
new file mode 100644
index 00000000000..4918d029b84
--- /dev/null
+++ b/build/debian/source/options
@@ -0,0 +1,3 @@
+# Use bzip2 instead of gzip
+compression = "bzip2"
+compression-level = 9
diff --git a/build/generate_filelist_xml.php b/build/generate_filelist_xml.php
index 3d72ebe6739..b122f9b0305 100755
--- a/build/generate_filelist_xml.php
+++ b/build/generate_filelist_xml.php
@@ -55,14 +55,24 @@ if (empty($argv[1])) {
$i=0;
+$result=array();
while ($i < $argc) {
if (!empty($argv[$i])) {
- parse_str($argv[$i]); // set all params $release, $includecustom, $includeconstant, $buildzip ...
+ parse_str($argv[$i], $result); // set all params $release, $includecustom, $includeconstant, $buildzip ...
}
- if (preg_match('/includeconstant=/', $argv[$i])) {
- $tmp=explode(':', $includeconstant, 3); // $includeconstant has been set with previous parse_str()
+ if (!empty($result["release"])) {
+ $release = $result["release"];
+ }
+ if (!empty($result["includecustom"])) {
+ $includecustom = $result["includecustom"];
+ }
+ if (!empty($result["includeconstant"])) {
+ $includeconstants[$i] = $result["includeconstant"];
+ }
+ if (preg_match('/includeconstant=/', strval($argv[$i]))) {
+ $tmp=explode(':', $result['includeconstant'], 3); // $includeconstant has been set with previous parse_str()
if (count($tmp) != 3) {
- print "Error: Bad parameter includeconstant=".$includeconstant."\n";
+ print "Error: Bad parameter includeconstant=".$result['includeconstant'] ."\n";
exit -1;
}
$includeconstants[$tmp[0]][$tmp[1]] = $tmp[2];
@@ -71,7 +81,7 @@ while ($i < $argc) {
}
if (empty($release)) {
- print "Error: Missing release paramater\n";
+ print "Error: Missing release parameter\n";
print "Usage: ".$script_file." release=autostable|auto[-mybuild]|x.y.z[-mybuild] [includecustom=1] [includeconstant=CC:MY_CONF_NAME:value]\n";
exit -1;
}
diff --git a/dev/dolibarr_changes.txt b/dev/dolibarr_changes.txt
index cbfecbbc19f..461db52f959 100644
--- a/dev/dolibarr_changes.txt
+++ b/dev/dolibarr_changes.txt
@@ -283,6 +283,9 @@ RESTLER:
elseif (count($value) && isset($value[0]) && is_numeric($value[0]))
+* Add CommentParser.php line 406 & 407 to remove a warning on api request in php 8.1
+ empty($value[0]) ? null :
+ empty($value[1]) ? null :
+With swagger 2 provided into /explorer:
----------------------------------------
diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php
index d2b1aaa3348..01d89f1168d 100644
--- a/htdocs/accountancy/bookkeeping/balance.php
+++ b/htdocs/accountancy/bookkeeping/balance.php
@@ -239,10 +239,17 @@ if ($action != 'export_csv') {
print '';
print '';
+
$parameters = array();
$reshook = $hookmanager->executeHooks('addMoreActionsButtonsList', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
+ if ($reshook < 0) {
+ setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
+ }
+
+ $button = empty($hookmanager->resPrint) ? '' : $hookmanager->resPrint;
+
if (empty($reshook)) {
- $button = 'global->ACCOUNTING_EXPORT_FORMAT.')" />';
+ $button .= 'global->ACCOUNTING_EXPORT_FORMAT.')" />';
print '