Commit Graph

39551 Commits

Author SHA1 Message Date
Laurent Destailleur
ed968b0e91 Try to fix phpstan warning 2024-08-03 13:51:03 +02:00
Laurent Destailleur
d1f1c0aa57 Clean code - Fix phpstan warning 2024-08-03 13:44:38 +02:00
Laurent Destailleur
49808847b9 Ignore phpstan false positive 2024-08-03 13:27:19 +02:00
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
033f0aa0a7 Fix translations 2024-08-02 14:52:34 +02:00
Laurent Destailleur
cd17e88a50 Debug v20 2024-08-02 14:37:01 +02:00
Laurent Destailleur
a41d9daa21 Debug v20 2024-08-02 14:35:42 +02:00
Laurent Destailleur
f4d841c807 Debug v20 - Fix roworder of stocktransfer 2024-08-02 14:08:03 +02:00
Laurent Destailleur
16c1c01617 Debug v20 - Fix roworder of stocktransfer 2024-08-02 14:07:43 +02:00
Laurent Destailleur
fc2bf8134f FIX fatal error 2024-08-02 13:53:11 +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
3789332f40 Fix to force to get a token with the refresh token 2024-08-01 17:09:36 +02:00
Laurent Destailleur
56d4a30bdf Code comment 2024-08-01 17:05:29 +02:00
Florent Poinsaut
c0731e07a2 Merge branch 'develop' into fix-external-users-cannot-see-projects 2024-08-01 16:46:25 +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
cbc28b0afd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-08-01 14:02:36 +02:00
Laurent Destailleur
e5aa605994 Debug v21 - Fix regression 2024-08-01 13:58:29 +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
MDW
75a4a31841 Qual: CommonObject improvements (Phan notices) (#30507)
Improve phpdoc, initialisation, field test
2024-08-01 12:49:01 +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
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
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
ee0412dd27 Fix phan warning 2024-07-31 18:54:52 +02:00
Charlène Benke
0a2d4bee75 FIX sanitize must allow space on attribute (#30490)
* sanitize must allow space on attribute

otherwhise  "on update CURRENT_TIMESTAMP" for tms fields goes wrong

* Update mysqli.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-31 15:41:00 +02:00
Laurent Destailleur
871e01d955 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-31 14:32:55 +02:00
Laurent Destailleur
09eaf38bd1 Fix phpstan 2024-07-31 14:31:29 +02:00
Laurent Destailleur
700edf8768 Fix warnings 2024-07-31 14:19:08 +02:00
Laurent Destailleur
e5609f4617 Fix phpstan 2024-07-31 13:44:48 +02:00
Laurent Destailleur
04d213e676 Doxygen 2024-07-31 13:24:23 +02:00
Laurent Destailleur
d2bd6a03ec Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-31 13:21:02 +02:00
Laurent Destailleur
2f7a252244 Fix warnings 2024-07-31 13:09:10 +02:00
Laurent Destailleur
038ce032e0 Fix tooltip on numbering modules 2024-07-31 12:40:24 +02:00
Laurent Destailleur
a701f84543 Fix tooltip on numbering modules 2024-07-31 12:14:39 +02:00
Laurent Destailleur
292080ca14 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-30 12:28:15 +02:00
Laurent Destailleur
d24631de7e Debug v20 2024-07-30 12:06:59 +02:00
Laurent Destailleur
0d69b5fb20 Fix missing /div 2024-07-29 13:18:12 +02:00
Laurent Destailleur
0ef7c99418 Fix missing /div 2024-07-29 13:17:50 +02:00