Commit Graph

11176 Commits

Author SHA1 Message Date
Laurent Destailleur
f002fb4ed1 Use the non deprecated function loadRights instead of getrights 2024-08-02 10:36:43 +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
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
Laurent Destailleur
0ef7c99418 Fix missing /div 2024-07-29 13:17:50 +02:00
Laurent Destailleur
2065adda8b FIX Removed deprecated javascript. Use simple url link. 2024-07-29 13:09:23 +02:00
Laurent Destailleur
9e01c45df6 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-28 16:56:07 +02:00
Laurent Destailleur
e5e1f385b5 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-07-28 16:49:12 +02:00
Laurent Destailleur
6428a1d892 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-07-28 15:05:02 +02:00
Laurent Destailleur
75d1fbc49f Debug v20 - fix cond to show dict, several fix in public ticket gui 2024-07-28 15:02:08 +02:00
Laurent Destailleur
7d1aa1e7f6 Debug v20 - fix cond to show dict, several fix in public ticket gui 2024-07-28 14:54:06 +02:00
Laurent Destailleur
8ac368ce17 FIX Better sanitizing for javascript. Fix <> bypass. 2024-07-27 18:07:37 +02:00
Laurent Destailleur
290f164b4f Sanitize output 2024-07-27 15:41:14 +02:00
Lucas Marcouiller
a4908abc8a New Main checkbox left column to manage this conf for each users (#30439)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-26 05:01:26 +02:00
Laurent Destailleur
a6fe474449 Fix phan 2024-07-25 14:46:45 +02:00
Laurent Destailleur
0a85286a2e Fix phan 2024-07-25 14:45:35 +02:00
Laurent Destailleur
cf631563f9 Look and feel v21 2024-07-24 16:07:15 +02:00
Laurent Destailleur
a1a0de3ef1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-24 15:15:25 +02:00
Laurent Destailleur
746d5050ad Fix responsive for text browser mode 2024-07-24 15:14:39 +02:00
Laurent Destailleur
24db6ab6b0 CSS 2024-07-24 04:10:17 +02:00
Laurent Destailleur
5513b573b0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-24 04:06:06 +02:00
Laurent Destailleur
041490430f Fix regression, email was not visible 2024-07-24 04:02:52 +02:00
Laurent Destailleur
0fe2bc7c2e Debug v20 2024-07-24 03:10:49 +02:00
Laurent Destailleur
2547654721 Debug v20 - CSS 2024-07-24 02:20:18 +02:00
Laurent Destailleur
2bdcbabeae Avoid memory error on browser side 2024-07-24 02:19:49 +02:00
Laurent Destailleur
963329d0ae Debug v20 - CSS 2024-07-24 01:57:35 +02:00
Laurent Destailleur
c21313fc2c Fix phan 2024-07-23 19:19:27 +02:00
Laurent Destailleur
7595609be2 Fix #yogosha23464 possible RCE by an admin user. 2024-07-23 18:27:18 +02:00
Laurent Destailleur
1d04c0a37d Fix #yogosha23433 - Disallow }[ and call_user_func into php code of
website.
2024-07-23 17:21:51 +02:00
Laurent Destailleur
56ed17a2c4 Disallow $_ into php code. 2024-07-23 16:19:08 +02:00
Laurent Destailleur
85ad3acda4 NEW Move the picto in the first tab label always visible 2024-07-23 12:56:34 +02:00
Laurent Destailleur
7160edef07 Fix string not correctly sanitized - Debug v20 2024-07-23 10:24:39 +02:00
Laurent Destailleur
be1e91242b Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-22 20:13:07 +02:00
Laurent Destailleur
1cb57b03ae Debug v20 - fix dol_escape_htmltag 2024-07-22 20:12:35 +02:00
Laurent Destailleur
c981b22a2d Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-22 18:02:28 +02:00
Laurent Destailleur
a735aaeb36 Debug v20 - fix dol_escape_htmltag 2024-07-22 17:59:45 +02:00
Laurent Destailleur
6ed6900c79 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-22 16:46:40 +02:00
Laurent Destailleur
fffcea6396 Fix var_dump 2024-07-22 16:43:18 +02:00
Laurent Destailleur
3633762298 Fix dolPrintHTML when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is off 2024-07-22 16:36:24 +02:00
Laurent Destailleur
6d0e16c7b2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-21 14:46:09 +02:00
Laurent Destailleur
6ac589b0a9 NEW Introduce value 'password' formode of sanitization in GETPOST. 2024-07-21 14:44:14 +02:00
MaximilienR-easya
66d8bc4f01 NEW Module to setup OpenID Connect module (#30317)
* import openid connect custom module phase 1

* indent fix

* fix ci

* Fix ci

* Fix

* add missing lang file

* lang file

* Multiple fix: callback url overwriten by a js.php from a module, admin page path fix, add a field to set MAIN_AUTHENTICATION_OIDC_LOGIN_CLAIM

* windows-ci friendly modification

* windows-ci friendly modification

* comment

* Fix precommit

* Fix precommit

* Fix precommit

* Fix precommit

* Update lang file and conditions

* Update functions_openid_connect.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-21 02:12:03 +02:00
Laurent Destailleur
3a9931c0bb NEW Add a test mode into the setup of AI prompts 2024-07-19 15:38:52 +02:00
Laurent Destailleur
a39d55474f Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-18 02:44:35 +02:00
Laurent Destailleur
a2c46d4e1f Fix for port socket 2024-07-17 20:31:36 +02:00
Laurent Destailleur
bd57bcf617 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-15 19:52:31 +02:00
Laurent Destailleur
fcd2aeb026 Debug v20 2024-07-15 18:00:45 +02:00