Commit graph

136676 commits

Author SHA1 Message Date
Laurent Destailleur
2f415cafcd Try to fix phan warning 2024-08-02 17:06:07 +02:00
Laurent Destailleur
b138957cfb Try to fix phpstan 2024-08-02 16:51:31 +02:00
Laurent Destailleur
a7c7317d97 Fix regression 2024-08-02 16:48:01 +02:00
Laurent Destailleur
dd61bff4da Code simpler 2024-08-02 16:39:29 +02:00
Laurent Destailleur
d967409f86 css look and feel v21 2024-08-02 16:36:30 +02:00
Laurent Destailleur
eabfc6606f Try to fix phpstan warning 2024-08-02 16:16:56 +02:00
Laurent Destailleur
d59568e73b Trans 2024-08-02 15:32:54 +02:00
Laurent Destailleur
033f0aa0a7 Fix translations 2024-08-02 14:52:34 +02:00
Laurent Destailleur
a41d9daa21 Debug v20 2024-08-02 14:35:42 +02:00
Laurent Destailleur
3d7d901f80 Debug look and feel v20 2024-08-02 14:19:19 +02:00
Laurent Destailleur
16c1c01617 Debug v20 - Fix roworder of stocktransfer 2024-08-02 14:07:43 +02:00
Laurent Destailleur
12e6579724 FIX fatal error 2024-08-02 13:52:04 +02:00
Laurent Destailleur
f002fb4ed1 Use the non deprecated function loadRights instead of getrights 2024-08-02 10:36:43 +02:00
Laurent Destailleur
56d4a30bdf Code comment 2024-08-01 17:05:29 +02:00
Laurent Destailleur
4a9d039d0e NEW enhance the OAUTH2 token manager. Can refresh a token from page. 2024-08-01 17:05:13 +02:00
Laurent Destailleur
edd56da1f8 Fix to force to get a token with the refresh token 2024-08-01 16:31:53 +02:00
Laurent Destailleur
9cc098b24c NEW Can show raw value of oauth token 2024-08-01 14:28:05 +02:00
Laurent Destailleur
cbc28b0afd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-08-01 14:02:36 +02:00
Laurent Destailleur
6593a7e8d6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-01 13:58:42 +02:00
Laurent Destailleur
e5aa605994 Debug v21 - Fix regression 2024-08-01 13:58:29 +02:00
Laurent Destailleur
534570a85b Disable deprecated entry 2024-08-01 13:39:27 +02:00
Laurent Destailleur
269a8a2fa1 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-08-01 13:36:59 +02:00
Laurent Destailleur
faac9602f8 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-08-01 13:31:51 +02:00
Laurent Destailleur
27435508a3 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-08-01 13:30:05 +02:00
Laurent Destailleur
a5cba3235e Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-08-01 13:29:38 +02:00
MDW
6a98adcc3c
Qual: Further phpdoc fixes for phpstan (#30506)
* Fix int<0> typing to int<0,0> for phpstan

* Fix phpdoc for phpstan

* Fix phpdoc for phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-01 13:25:01 +02:00
Laurent Destailleur
4fc272698f Clean code 2024-08-01 13:07:12 +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
03676d0b36 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-01 12:53:14 +02:00
atm-adrien
2c92e57fe7
FIX : Display the real_PMP on inventory when its value is equal to 0 (#22291)
* FIX : Display the real_PMP on inventory when its value is equal to 0

* FIX : PR Returns

* FIX : PR returns
2024-08-01 12:52:53 +02:00
MDW
75a4a31841
Qual: CommonObject improvements (Phan notices) (#30507)
Improve phpdoc, initialisation, field test
2024-08-01 12:49:01 +02:00
Laurent Destailleur
34fefcaeb2 Clean code 2024-08-01 12:46:30 +02:00
Frédéric FRANCE
bc0b5a876f
fix travis test (#30517) 2024-08-01 12:41:44 +02:00
Laurent Destailleur
483a30078d Try to avoid to reload token when not necessary. 2024-08-01 11:55:49 +02:00
Laurent Destailleur
66da3d7f9b Debug v20 - Fix use of oauth for alternative send email setup 2024-08-01 11:46:54 +02:00
Laurent Destailleur
efb8a9d4d3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-01 11:36:38 +02:00
Laurent Destailleur
46cde6431a NEW Can use a specific profile to send email for password forgotten 2024-08-01 11:36:21 +02:00
Laurent Destailleur
2efb14c767 Debug v20 - Fix use of oauth for alternative send email setup 2024-08-01 11:35:42 +02:00
MDW
63aab818e6
Qual: Fixes related to CMailFile for phan notices (#30510)
* Qual: Fix CMailFile related phan notices

# Qual: Fix CMailFile related phan notices

Fix several phan notices by typing and typing checks.

* Fix initialisation of CMailFile instantiation

* Update phan baseline

* Update mails_emailing.php

* Update mails_emailing.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-01 11:09:26 +02:00
Frédéric FRANCE
173dc1a70e
fix constructor expects int (#30512)
* constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-01 10:52:53 +02:00
Laurent Destailleur
2068f29b44 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-01 10:51:25 +02:00
Laurent Destailleur
6210c2429a Fix phan 2024-08-01 10:50:52 +02:00
Laurent Destailleur
f82eabbab7 FIX #30513 FIX #30515 2024-08-01 10:48:17 +02:00
Laurent Destailleur
87c7a7a7d7 WIP Page to setup email for reset password 2024-07-31 22:26:54 +02:00
Laurent Destailleur
75158556c9 Debug 2024-07-31 19:36:57 +02:00
lamrani abdelwadoud
31a560422d
New Preview mai topic value on Ckeditor (#30195)
* New update for templateMail by creating files

* New updating for get php content

* Update html.formmail.class.php

* Fix updating content news

* Fix CTI Errors

* edit html file for news

* Add automaticaly subject value to editor

* Update html.formmail.class.php

* FIX name and path of file

* Fix path for files

* Fix errors variables

* replace file in ajax folder

* rename path

* update the news file

* fix phan errors

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-31 19:12:40 +02:00
Laurent Destailleur
3069937698 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-31 18:55:10 +02:00
Laurent Destailleur
ee0412dd27 Fix phan warning 2024-07-31 18:54:52 +02:00
MDW
5da6995a56
Qual: Update Phan baseline - Fix phpstan regex (#30504)
* Add missing escapes in regex

* Qual: Fix phpstan regex
2024-07-31 18:39:02 +02:00
Sébastien NASSIET
d8a9ae3961
Update card.php Bad translation Key for demand_reason (#30486)
The Right translation for Demand Reason is Source as it was defined line 2615
2024-07-31 15:43:53 +02:00