Commit Graph

380 Commits

Author SHA1 Message Date
Regis Houssin
40567ce7f6 FIX E_STRICT is deprecated since PHP 8.4 2025-01-29 18:13:03 +01:00
Laurent Destailleur (aka Eldy)
3b1bc8bbb1 Prepare v22 dev 2025-01-05 16:14:21 +01:00
Laurent Destailleur (aka Eldy)
862ddc45bc Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-03 16:43:31 +01:00
Laurent Destailleur (aka Eldy)
1e0479d19d Prepare 20.0.4 2024-12-29 18:11:59 +01:00
Laurent Destailleur (aka Eldy)
8c1eab62da Prepare 20.0.3 2024-12-29 14:54:04 +01:00
Laurent Destailleur
28f657ea1d Better error message 2024-11-20 13:22:37 +01:00
Laurent Destailleur
f546b603e9 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-13 11:10:25 +01:00
Laurent Destailleur
dd16c087e5 Prepare 20.0.2 2024-11-13 10:07:57 +01:00
Frédéric FRANCE
2f207dd347 switching on phpstan v2 level 10 (#31764)
* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* version

* fix phpstan

* fix phpstan

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* update baseline
2024-11-12 23:18:02 +01:00
Laurent Destailleur
f5262ceefa Prepare 20.0.1 2024-10-07 15:25:19 +02:00
MDW
46eb5f83c2 Qual: Updates for phpstan notices (#30509)
* Fix int<0> typing to int<0,0> for phpstan

* Fix phpdoc for phpstan

* Fix phpdoc for phpstan

* Qual: Several phpstan notice fixes

* Fix phpdoc

* Qual: totalpaid is never null, remove null test

* improve phpdoc typing

* Also return null to statisfy phpstan

* Allow null value for $var

* object->Object to make it meaningful

* Type EvalMathStack properties

* Comment out unused private methods (phpstan)

* Changes for phpstan (return values, phpdoc, code)

* Change order of tests for phpstan

* phpdoc object to Object for correct typing

* Typing hing for phpstan

* UPdate test for phpstan

* Change phpdoc position for phpstan

* Update phpdoc for phpstan

This needs further improvement

* Change $op to $ope to fix phpstan

* Update sqlite3.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-01 12:59:45 +02:00
Laurent Destailleur
efa186431a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-06 17:51:03 +02:00
Laurent Destailleur
c65660dc15 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-07-06 17:49:42 +02:00
Laurent Destailleur
11491bb067 Fix error code 2024-07-06 17:44:20 +02:00
Laurent Destailleur
64259c9238 Prepare 20.0 2024-06-20 11:45:15 +02:00
Laurent Destailleur
eff58002aa Prepare v21 2024-06-19 20:20:03 +02:00
Laurent Destailleur
8fb54f3bb3 Prepare 20.0 beta 2024-05-23 21:46:46 +02:00
Laurent Destailleur
f12378d732 Prepare 19.0.2 2024-05-05 00:12:36 +02:00
Laurent Destailleur
584e54c130 Fix the http header must reuse the secured one into top_htmlhead() 2024-05-03 03:26:04 +02:00
Laurent Destailleur
ef9c6aa04c Try to FIX #28482 2024-03-24 15:34:19 +01:00
Laurent Destailleur
401d32cad5 Update filefunc.inc.php 2024-03-23 19:41:38 +01:00
Laurent Destailleur
4e483e4010 Update filefunc.inc.php 2024-03-23 19:39:47 +01:00
le-reparateur
68cd3d657f Update filefunc.inc.php
Fix #28993
2024-03-21 17:08:14 +01:00
MDW
f1ea8bee83 Fix PhanPluginUseReturnValueInternalKnown by returning value 2024-03-16 00:00:24 +01:00
Laurent Destailleur
390f18f557 FIX #yogosha20932 2024-03-14 22:06:43 +01:00
Laurent Destailleur
d199b042b4 Prepare 19.0.1 2024-03-03 18:50:28 +01:00
Laurent Destailleur
8001413e13 Merge pull request #27817 from mdeweerd/fix/https_detection
FIX Https detection
2024-01-26 03:53:45 +01:00
MDW
3c2bc3a842 FIX Https detection
theme/eldy/manifest.json.php was returning http:// links instead of the
https link defined in the configuration.
I found that this is because I am behide a proxy and that isHTTPS does
the detection as expected.

Therefore that function is used to detect https which results in the correct
urls.

Detected on my 18.0.2 installation
2024-01-26 03:12:53 +01:00
MDW
bd002480ce Qual: Spelling htdocs/[d-k]* (#27427)
Highlights:

- htdocs/install/doctemplates/websites/website_template-restaurant/containers/page249.tpl.php

  Potential functional change (fix) because toekn was changed to token:
   `<input type=hidden name=toekn`

- htdocs/install/upgrade2.php
  $filles changed to $children

- htdocs/intracommreport/class/intracommreport.class.php
  Local $enveloppe changed to $envelope.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-13 19:48:41 +01:00
MDW
58ba3e31fa Qual: Fix spelling for crypted and referer (#27408)
# Qual: Fix spelling for crypted and referer.

The proper spelling is encrypted and referrer, but the code has
some occurences where referer and crypted need to be maintained.

To make verification easier, this spelling correction is limited to
mostly these corrections and some minor translations and a only a
few other corrections.

crypted and referer are added as exceptions for spelling after this fix.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 10:07:06 +01:00
Laurent Destailleur
3d9866f461 Prepare 19.0 2024-01-03 17:33:13 +01:00
Laurent Destailleur
e6fe8ec1a6 Prepare v20 2024-01-03 14:46:56 +01:00
Laurent Destailleur
fbf91cc211 Fix #yogosha19665 2023-12-21 11:43:30 +01:00
Laurent Destailleur
20a9a9d298 Debug v19. dolibarr_main_stream_enabled must be changed into
dolibarr_main_stream_to_disable
2023-12-07 14:56:06 +01:00
Laurent Destailleur
2db1cc29d0 Prepare 18.0.4 2023-11-29 21:01:51 +01:00
Laurent Destailleur
46662c1ed4 Prepare freeze 2023-11-13 03:31:35 +01:00
Laurent Destailleur
8fde7bafdb Prepare 18.0.3 2023-11-01 23:48:09 +01:00
Laurent Destailleur
bf5df76117 Prepare 18.0.2 2023-10-06 16:05:20 +02:00
Laurent Destailleur
93bbd6770e Fix function stream_wrapper_restore not found 2023-09-29 11:20:30 +02:00
Laurent Destailleur
106e4b95b8 Prepare for 18.0.1 2023-08-29 19:29:26 +02:00
Laurent Destailleur
e12bfb3e3c Can re-enable a default disabled stream with conf.php 2023-07-29 17:31:27 +02:00
Laurent Destailleur
69c7579610 Reenable phar 2023-07-29 16:41:20 +02:00
Laurent Destailleur
9c62e76c46 NEW Disable not used PHP streams 2023-07-25 12:30:09 +02:00
Laurent Destailleur
54daacca44 Prepare v18 stable 2023-07-10 03:31:51 +02:00
Laurent Destailleur
a2671fdbb2 Prepare v19 2023-07-05 12:15:44 +02:00
Laurent Destailleur
bd4e5c3675 Debug v18 2023-06-05 14:52:02 +02:00
Laurent Destailleur
42bf39fd58 Prepare freeze 2023-05-21 13:19:03 +02:00
Laurent Destailleur
cd2e82f4a5 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-07 00:22:27 +01:00
Laurent Destailleur
5bddb31b90 Fix csrf on referrer is duplicate with csrf on token. We keep token only 2023-02-06 21:23:02 +01:00
Laurent Destailleur
26972c55a8 Fix warnings 2023-01-17 23:56:22 +01:00