Browse Source

Prepare 19.0

Laurent Destailleur 1 year ago
parent
commit
20321d67da
2 changed files with 43 additions and 41 deletions
  1. 42 40
      ChangeLog
  2. 1 1
      htdocs/install/check.php

+ 42 - 40
ChangeLog

@@ -7,20 +7,17 @@ English Dolibarr ChangeLog
 
 For users:
 ----------
+NEW: Compatibility with PHP 8.2
 NEW: Close #20930 Use ajax for state loading after country change
 NEW: #23331 Add support for parent projects (#24856)
-NEW: #19501 Add two hooks in dolreceiptprinter.php (#26439)
 NEW: #22531 Expense report - Add two fields into export : Qty & Unit price (excl.) (#26309)
 NEW: #22626 date filter thirdparties contracts projects (#22707)
 NEW: #24085 Add the Project filter
 NEW: #25312 Support extrafields in selectForForms
-NEW: #25512 applicative anti bruteforce - security on too many login attempts (#25520)
 NEW: #26312 Manage intermediate BIC - SQL Part (#26325)
-NEW: Accountancy - Add hooks on PrintFieldList for expensereportsjournal, purchasesjournal, sellsjournal
-NEW: Accountancy - Add quick navigation with keyb. shortcut on ledger (#26221)
+NEW: Accountancy - Add quick navigation with keyboard shortcut on ledger (#26221)
 NEW: Accountancy - FEC/FEC2 format export with attachments (#26192)
 NEW: Accountancy - Option to choose length of lettering code
-NEW: add a $notrigger param to Product::updatePrice() method (#26404)
 NEW: Add a button to create a product or a service from an order or an invoice (#26173)
 NEW: Add a button to re-encrypt data of a dolcrypt extrafield password
 NEW: Add a CLI tool to regenerate all documents
@@ -29,13 +26,11 @@ NEW: Add all id prof checker on thirdparty for code compta customer and supplier
 NEW: add and list external contributors on ticket public interface
 NEW: Add a protection on purgeFiles
 NEW: Add a public page to list all open surveys
-NEW: Add a rule to fix empty($conf->global->...) into !getDolGlobal...
 NEW: Add chart of accounts PCG08-PYME-CAT for ES in catalan language
-NEW: Add column extraparams on societe_rib
 NEW: add constant to check if qty shipped not greater than qty ordered
 NEW: Add context for the movement stock (role toconsume/toproduce) on mrp
 NEW: Add contract link on ticket
-NEW: Add culum Technical ID in liste det order (#26164)
+NEW: Add culum Technical ID in list of details lines of an order (#26164)
 NEW: ADD: custom compute for exports
 NEW: Add custom Text on footer total (#26334)
 NEW: Add different picto for each type of extrafields (date, string, ...)
@@ -49,15 +44,9 @@ NEW: Add ext payment system ID in the payment page with link to Stripe
 NEW: Add field TechnicalID in list of users
 NEW: Add filter on status of line of a dictionary
 NEW: Add get_substitutionarray_other() on shipping odt (#25080)
-NEW: Add hook on selectLotDataList() function (#25368)
-NEW: add Hooks and prepare extrafields management for product invoices consumptions (#26280)
-NEW: Add hooks on import, step 5 - 6 (#24915)
-NEW: add hook tabContentCreateSupplierOrder (#26418)
-NEW: add hook tabContentViewSupplierInvoice (#26431)
 NEW: add IdProfCheck on thirdparty for BE (xxxx.xxx.xxx)
 NEW: Add index on prelevement_demande
-NEW: Add invoice subtype in customer template invoice (#26543)
-NEW: Add invoice subtype in template invoice (SQL part) (#26535)
+NEW: Add invoice subtype in customer invoice (#26543) and template invoice (SQL part) (#26535)
 NEW: Add label to price level when changing price (#26240)
 NEW: Add modifications of template invoices into agenda
 NEW: Add more company informations (ProfId7 to 10) (#25266)
@@ -65,15 +54,11 @@ NEW: Add more information to holiday mailings (#25461)
 NEW: Add more param on fetch() to prepare perf optimization
 NEW: Add more tables activated by module activation only
 NEW: Add new field into $fields array + Creation of the function getChildWarehouse()
-NEW: add new hook AfterImportInsert
-NEW: add new hook OrderCard (#26380)
-NEW: add new hook tabContentCreateOrder (#26408)
 NEW: Add option for cancel consumed and produced lines (delete lines and rollback stocks) when delete or cancel an manufacturing order (#26254)
 NEW: Add option in PDF for purchase order and quotation to hide prices
 NEW: Add option TAKEPOS_HIDE_PRODUCT_PRICES to hide prices in TakePOS
 NEW: add order supplier submit notif
 NEW: add parent product column on list
-NEW: Add phpunit for REST API of contacts
 NEW: Add picto in product/service list in object lines (#25511)
 NEW: Add possibility to choose separator #21426
 NEW: Add preselected update keys attribute to import class and select it by default if filled
@@ -84,13 +69,9 @@ NEW: Add refactoring user permission (#26162)
 NEW: add sorting of product price list by customer (#26483)
 NEW: Add tab Events/Agenda on recurring invoices
 NEW: Add the formEditObjectLine hook on commande card and invoice card
-NEW: Add the formEditObjectLine hook on invoice card
 NEW: Add the picto phone of thirdparty on the kanban view of projects
 NEW: Add the status of partnership to select partnership for emailing
 NEW: add Ticket tab on contract
-NEW: Add triggers COMPANY_RIB_XXX already present in companybankaccount.class.php
-NEW: Add triggers on import success
-NEW: Add trigger when delete a bank account line
 NEW: agenda per user use quarter hour split instead of half hour split
 NEW: Allow generation of delivery note through REST-API (#26226)
 NEW: Allow sync of currency rates with currency layer by default.
@@ -129,11 +110,7 @@ NEW: Factorize a lot of code for numbering modules
 NEW: filter on from/to period rather than month/year (#26378)
 NEW: FontAwesome - Add possibility to select another version
 NEW: Form for add object's property on moduleBuilder
-NEW: functionality add section changeLog to Doc in MB
-NEW: functionality for Add api url to documentation in ModuleBuilder
-NEW: functionality for Checkin comments begin and end before each actions
 NEW: functionality for combined salary invoice and supplier invoice (#26541)
-NEW: functionality for edit properties in description tab for ModuleBuilder
 NEW: functionality for get bon prelevement in ligne order (#26540)
 NEW: functionality for request_transfer (#26078)
 NEW: functionality mmassactions for delete projects
@@ -152,7 +129,6 @@ NEW: Invoice time from task, make task note better display in invoice line
 NEW: lazy load to substitute project variables (#26451)
 NEW: LDAP Active Directory UserAccountControl (#25507)
 NEW: Library including math and financial functions (#25035)
-NEW: Line be most height in list
 NEW: Loan - Can upload a file with drag and drop
 NEW: Manage rate indirect. (#26449)
 NEW: memorize model name for pdf hooks
@@ -161,8 +137,6 @@ NEW: Merge the "Create ..." buttons on contract into one.
 NEW: More accurate tooltip on what admin permissions are
 NEW: (#24834) new option for hide the footer (#25464)
 NEW: (#25044) new option for choose project visibility
-NEW: [Add hook in user bank page]
-NEW: functionality for remove dictionary in ModuleBuilder
 NEW: new option for hide the footer of tickets on the public interface
 NEW: no need to create invoice supplier object on supplier card for standalone credit note
 NEW: Option to show label, ref+label or only ref of product in TakePOS
@@ -170,7 +144,6 @@ NEW: payment full amount detail tooltip
 NEW: possibility to deselect line when create a recurring invoice + missing to use fk_parent_line
 NEW: Project - List - use select2 multiselect for status
 NEW: Propagate invoice extrafields into template invoice (#26529)
-NEW: Remove hardcoded code for OVH sms. Generic method is ok now.
 NEW: remove include_subwarehouse form llx_inventory database table
 NEW: resource improvements - data structure (#26285)
 NEW: Retrieve vat details from the Greek Ministry of Finance GSIS SOAP web service and autocomplete third party fields
@@ -182,10 +155,9 @@ NEW: shipment can include service (for information and invoicing) (#26407)
 NEW: Show id of module on the tooltip module help page
 NEW: show VAT free amount on payment input close #26208 (#26209)
 NEW: start and end date for due date filter on invoice list
-NEW: subproduct triggers in product class (#25142)
-NEW: - Sub total in list (#26165)
+NEW: Sub total in list (#26165)
 NEW: Suport html content for combo list of email recipient
-NEW: Support of js into the Dolibarr server preview
+NEW: Website: Support of js into the Dolibarr server preview
 NEW: TakePOS - add constant to check qty asked is available (#24820)
 NEW: TakePOS - add constant to choose contact instead of customer (#24807)
 NEW: TakePOS - amount label with or without tax in free product (#24829)
@@ -203,6 +175,9 @@ NEW: VAT rate - Add entity
 NEW: webportal site account
 NEW: When an user unset the batch management of products, transformation of each batch stock mouvement in global stock mouvement
 
+SEC: #25512 applicative anti bruteforce - security on too many login attempts (#25520)
+SEC: Add action confirm_... as sensitive to need a CSRF token
+
 
 For developers or integrators:
 ------------------------------
@@ -213,6 +188,8 @@ NEW Tool in dev/tools/rector to autofix code using style coding practice rules
 PERF: Removed a useless fetch_thirdparty
 PERF: Perf avoid 2 useless fetch into the triggers of agenda.
 PERF: performance & code quality enhancements template sections
+
+QUAL: Remove hardcoded code for OVH sms. Generic method is ok now.
 QUAL: Code fix using rector
 QUAL: Force subclass MINVERSION (#26314)
 QUAL: group all flag images into 1 sprite file. (#26459)
@@ -223,25 +200,50 @@ QUAL: Standardize code and look and feel for dictionaries
 QUAL: Standardize code. Renamed ID of user properties into ->user_xxx_id
 QUAL: Use dol_clone with parameter 2 for ->oldcopy
 QUAL: use switch case instead of if elseif statements for actions
-SEC: Add action confirm_... as sensitive to need a CSRF token
+
+NEW: [Add hook in user bank page]
+NEW: #19501 Add two hooks in dolreceiptprinter.php (#26439)
+NEW: Accountancy - Add hooks on PrintFieldList for expensereportsjournal, purchasesjournal, sellsjournal
+NEW: add a $notrigger param to Product::updatePrice() method (#26404)
+NEW: Add a rule to fix empty($conf->global->...) into !getDolGlobal...
+NEW: Add column extraparams on societe_rib
+NEW: Add hook on selectLotDataList() function (#25368)
+NEW: add Hooks and prepare extrafields management for product invoices consumptions (#26280)
+NEW: Add hooks on import, step 5 - 6 (#24915)
+NEW: add hook tabContentCreateSupplierOrder (#26418)
+NEW: add hook tabContentViewSupplierInvoice (#26431)
+NEW: add new hook AfterImportInsert
+NEW: add new hook OrderCard (#26380)
+NEW: add new hook tabContentCreateOrder (#26408)
+NEW: Add phpunit for REST API of contacts
+NEW: Add triggers COMPANY_RIB_XXX already present in companybankaccount.class.php
+NEW: Add triggers on import success
+NEW: Add trigger when deleting a bank account line
+NEW: subproduct triggers in product class (#25142)
+NEW: ModuleBuilder: functionality add section changeLog to Doc in MB
+NEW: ModuleBuilder: functionality for Add api url to documentation in ModuleBuilder
+NEW: ModuleBuilder: functionality for Checkin comments begin and end before each actions
+NEW: ModuleBuilder: functionality for edit properties in description tab for ModuleBuilder
+NEW: ModuleBuilder: functionality for remove dictionary in ModuleBuilder
 
 
 WARNING:
+--------
 
-Following changes may create regressions for some external modules, but were necessary to make Dolibarr better:
+The following changes may create regressions for some external modules, but were necessary to make Dolibarr better:
 * The property ->brouillon has been removed from all classes. It was not reliable and was a duplicate of ->status == self::STATUS_DRAFT.
 * The duplicated and deprecated property ->date_livraison that was renamed into ->delivery_date has been completely removed.
 * The property ->user_close to store ID of closing user has been renamed into ->user_closing_id.
 * The property ->user_validation to store ID of user validating has been renamed into ->user_validation_id.
 * The property ->user_creation to store ID of user of creation has been renamed into ->user_creation_id.
 * The property ->user_modification to store ID of user of modification has been renamed into ->user_modification_id.
-* The duplicate property ->user_creat, ->date_creat, ->date_valid has been removed  
+* The duplicate property ->user_creat, ->date_creat, ->date_valid has been removed (use instead user_creation, date_creation, date_validation). 
 * The method get_substitutionarray_shipment_lines() has been removed. Use the generic get_substitutionarray_lines() instead.
 * The method ProductcustomerPrice->fetch_all_log() has been renamed into camel case ->fetchAllLog()
-* Recheck setup of your module workflow to see if you need to enable the new setting to have shipment set to billed automatically when
+* Recheck the setup of your module Workflow to see if you need to enable the new setting to have shipment set to billed automatically when
   an invoice from a shipment is validated (and if your process is to make invoice on shipment and not on order), because this setup has changed.
-* It was possible to use a variable $soc or $right inside a php code condition of some extrafields properties, this is no more true (this 2 variables are no more global variables).
-* New hook files of modules actions_mymodule.class.php should "extends CommonHookActions"
+* It was possible to use a variable $soc or $right inside a PHP code condition of some extrafields properties, this is no more true (this 2 variables are no more global variables).
+* New hook files of modules actions_mymodule.class.php should now "extends CommonHookActions"
 * Endpoint for API /partnershipapi and /recruitment has been renamed into /partnerships and /recruitments to follow name conventions.
 
 

+ 1 - 1
htdocs/install/check.php

@@ -99,7 +99,7 @@ if (empty($force_install_nophpinfo)) {
 print "<br>\n";
 
 // Check PHP version max
-$arrayphpmaxversionwarning = array(8, 1, 0);
+$arrayphpmaxversionwarning = array(8, 2, 0);
 if (versioncompare(versionphparray(), $arrayphpmaxversionwarning) > 0 && versioncompare(versionphparray(), $arrayphpmaxversionwarning) < 3) {        // Maximum to use (warning if higher)
 	print '<img src="../theme/eldy/img/error.png" alt="Error" class="valignmiddle"> '.$langs->trans("ErrorPHPVersionTooHigh", versiontostring($arrayphpmaxversionwarning));
 	$checksok = 1; // 0=error, 1=warning