Commit Graph

9404 Commits

Author SHA1 Message Date
Frédéric FRANCE
98c92337f1 Update security.php (#31777)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-12 13:46:13 +01:00
lvessiller-opendsi
6c9c177763 NEW VAT by state (#31628)
* NEW VAT by state

* Fix global conf in looad tva function

* Fix load vat rates in memory

* Revert fk_tva column in state dict and load_tva function

* NEW vat rate with department in dict

* Fix isset not nullable

* Fix order VAT rate desc to set as default
2024-11-11 17:57:32 +01:00
MDW
9ec4618199 Qual: Fix FunctionArray phan notices (#31754)
* Qual: Fix FunctionArray phan notices

* Fix class name in typing of htdocs/modulebuilder/index.php

* Fix customreports phpdoc

* Adjust file type after completeFileArrayWithDatabaseInfo

* Further phpdoc typing improvements

* More phpdoc

* Improve typing with cast on position field

* Force phpstan version

* Add phpstan exception

* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Frédéric FRANCE
661059ca9a fix phpstan (#31763)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 14:33:53 +01:00
Frédéric FRANCE
92ef950e6d fix phpstan (#31761)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* hide new error with phpstan 1.12.9
2024-11-10 23:47:14 +01:00
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Laurent Destailleur
c1891c7886 Debug v21 2024-11-09 17:00:48 +01:00
Laurent Destailleur
254c15fae1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-09 15:55:41 +01:00
Laurent Destailleur
51f21e9901 Fix token 2024-11-08 16:39:25 +01:00
Laurent Destailleur
6f410e2e67 Clean code 2024-11-08 15:24:58 +01:00
Laurent Destailleur
b232bb8d45 Debug v21 2024-11-08 14:21:52 +01:00
Alexandre SPANGARO
4cc154293e Fix language key (#31726)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-08 02:48:37 +01:00
Frédéric FRANCE
41a4f42b31 add phpdoc and clean phpstan baseline (#31717)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-07 17:31:40 +01:00
Laurent Destailleur
51117eea91 Clean code 2024-11-07 15:49:49 +01:00
Laurent Destailleur
d756c4dc27 NEW Add hook getLoginPageExtraContent, getPasswordResetPageExtraContent
and getPasswordForgottenPageExtraContent.
2024-11-07 15:40:14 +01:00
Laurent Destailleur
5f292a4e85 Fix phan 2024-11-07 15:02:12 +01:00
Laurent Destailleur
c79138b892 Debug v21 2024-11-07 14:00:16 +01:00
Laurent Destailleur
e478f72d2b debug v21 2024-11-07 13:06:45 +01:00
Laurent Destailleur
31f147622a The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
2024-11-07 12:26:42 +01:00
thomas-Ngr
9374a31b33 Fix const INVOICE_USE_RETAINED_WARRANTY (#30533)
* Fix const INVOICE_USE_RETAINED_WARRANTY being set as -1 when it should be empty

* fix missing translation

* fix missing translation

* Manage update for INVOICE_USE_RETAINED_WARRANTY

* use native setAsSelect() form function
2024-11-07 05:14:07 +01:00
Laurent Destailleur
f785de0f96 Fix phan 2024-11-07 04:39:04 +01:00
Anthony Berton
a5e1f09043 NEW - Add terms of sale on documents (#24846)
* NEW -  Add terms to sale on documents

* FIx

* Move in pdf other

* Change termstosale in termsofsale

* Copy

* Update admin.lang

* Update pdf_other.php

* // Terms to sale

* Update pdf_other.php

* Update pdf_einstein.modules.php

* Update pdf_eratosthene.modules.php

* Update pdf_crabe.modules.php

* Update pdf_sponge.modules.php

* Update pdf_azur.modules.php

* Update pdf_cyan.modules.php

* Update societe.class.php

* Clean

* Update pdf_other.php

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-07 03:20:49 +01:00
Laurent Destailleur
0e55db7caf WIP Captcha architecture 2024-11-06 23:02:46 +01:00
Laurent Destailleur
84c343cada WIP Captcha module architecture 2024-11-06 22:15:25 +01:00
Laurent Destailleur
b03684c0ee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:28 +01:00
Laurent Destailleur
13ce7cfd04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:14 +01:00
Frédéric FRANCE
0d7bc505d3 add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
VIAL-GOUTEYRON Quentin
bc8d443898 FIX: Corrected typo preventing data from being saved (#31716)
* FIX: Corrected typo preventing data from being saved

* fix missing length
2024-11-06 19:18:24 +01:00
Laurent Destailleur
4bdd848bbe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 13:26:08 +01:00
Laurent Destailleur
141755fa17 Add more code to help debug 2024-11-06 13:20:25 +01:00
Laurent Destailleur
71cde0e95f Look and feel v21 2024-11-05 19:18:06 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Laurent Destailleur
7a74831be4 Fix phan 2024-11-04 16:38:11 +01:00
Laurent Destailleur
7e6a41bbd9 Share common code 2024-11-04 13:56:05 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Laurent Destailleur
2e89306a21 Look and feel v21 2024-10-30 18:46:04 +01:00
Laurent Destailleur
d9a5636b77 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-29 15:55:42 +01:00
Laurent Destailleur
3caead1dc0 Help debug with button "Refresh token" 2024-10-29 13:01:14 +01:00
Laurent Destailleur
09668af4f4 Work on generic captcha architecture 2024-10-28 03:06:35 +01:00
Laurent Destailleur
34eb56ba53 Removed the deprecated page MAIN_HELPCENTER_DISABLELINK 2024-10-28 02:07:37 +01:00
Laurent Destailleur
3baa3c85ad css 2024-10-27 23:05:23 +01:00
Laurent Destailleur
cb0ab53709 Look and feel v21 2024-10-27 14:08:59 +01:00
Laurent Destailleur
c41274dbd1 Debug v21 2024-10-26 21:09:09 +02:00
MDW
67e9eaff46 Qual: Fix phan/phpstan notices in class files (part 2) (#31523)
* Qual: Fix phan notices in class files (part 2)

* Qual: Fix phan notices doleditor...events.class

* Qual: Fix phan notices defaultvalues...formprojet.class

* Qual: Fix notices formsetup...formwebsite.class

* Qual: Fix phan notices in class files (part 2)

* Qual: Fix phan notices doleditor...events.class

* Qual: Fix phan notices defaultvalues...formprojet.class

* Qual: Fix notices formsetup...formwebsite.class
2024-10-26 18:24:40 +02:00
Laurent Destailleur
3d49587253 Clean setup of ckeditor 2024-10-26 16:40:40 +02:00
Laurent Destailleur
9396be1dbc Clean ckeditor setup 2024-10-26 16:22:05 +02:00
Frédéric FRANCE
17e69f8a21 fix phpstan (#31565)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-26 13:03:52 +02:00
Laurent Destailleur
ea64d0baa0 Debug the list of print jobs 2024-10-25 19:05:51 +02:00
Alexandre SPANGARO
0bccfde432 NEW PDF - Add Customer accountancy code (#31544) 2024-10-25 13:43:35 +02:00
Frédéric FRANCE
331c5e9f4b fix phpstan (#31547)
* fix phpstan

* fix phpstan

* fix phpstan
2024-10-25 13:24:10 +02:00