Commit Graph

1127 Commits

Author SHA1 Message Date
Laurent Destailleur
3c16f22618 Fix edit with ckeditor 2024-08-28 19:40:29 +02:00
Laurent Destailleur
b3c28155b7 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-28 19:13:48 +02:00
Laurent Destailleur
8232a5cdad Clean code 2024-08-28 18:50:33 +02:00
Laurent Destailleur
0feb44cd9e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-26 21:09:21 +02:00
Laurent Destailleur
7778bc4b01 Fix switch page status. Fix clone page. 2024-08-26 20:51:42 +02:00
atm-lena
545015d27b NEW llxHeader BodyCss divers (#30723)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-08-23 15:22:03 +02:00
Mohamed DAOUD
a0f7977821 New add website purge function (#30730)
* Add website purge function

* Update website.class.php

* Update website.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-23 15:04:29 +02:00
Mohamed DAOUD
f4417e502e allow links and scripts on website htmlheader (#30708) 2024-08-21 14:10:09 +02:00
MDW
ca414de526 Qual: Fix $fields related notices with Phan (#30704)
* Qual: Typing hints/ignore directives for phan notices

* Update field typing
2024-08-21 13:23:35 +02:00
Mohamed DAOUD
a5f7dd5d42 fix htmlheader (#30701) 2024-08-21 02:58:45 +02:00
MDW
54880f92cd Qual: Fix PhanTypeMismatchProperty and some other phan notices (#30542)
* Qual: Fix PhanTypeMismatchProperty and some other phan notices

* Qual: Phan fixes for BOM

* Phan - fix fields

* fixup! Qual: Phan fixes for BOM

* Fix phpstan double array keys for syslog

* Fix $fields phpdoc

* Fix phan typing issues with intermediate var and ??

* Fix phan typing issue with ?? operator

* Ignore htdocs/install/install.forced.php for git

* Qual: Revert to original code, ignore notice

When changing the method to avoid one notice type, another one
appears.  So simply ignoring this error.

* Qual: Revert to original code, ignore notice

When changing the method to avoid one notice type, another one
appears.  So simply ignoring this error.

* Update baseline

* Qual: Phan fixes for BOM

* fixup! Qual: Phan fixes for BOM

* Fix phpstan double array keys for syslog

* Qual: Revert to original code, ignore notice

When changing the method to avoid one notice type, another one
appears.  So simply ignoring this error.

* Ignore PhanTypeSuspiciousNonTraversableForeach to allow integration

* Fix typing hints (phpstan)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-15 17:05:00 +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
6ac589b0a9 NEW Introduce value 'password' formode of sanitization in GETPOST. 2024-07-21 14:44:14 +02:00
Mohamed DAOUD
2f351ae4dc editinline message (#30330) 2024-07-09 19:38:23 +02:00
Alexandre SPANGARO
96afcaa476 Better comments (#30200)
* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* CI Missing language key

* Update eventorganization.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-30 21:02:50 +02:00
Frédéric FRANCE
4b275dc148 add phpdoc (#30208)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* clean phpdoc
2024-06-30 19:39:01 +02:00
Laurent Destailleur
1104b95137 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-27 13:47:27 +02:00
Laurent Destailleur
a333aa2137 Debug v20 2024-06-27 09:43:49 +02:00
Laurent Destailleur
902065406b Debug v20 2024-06-27 09:20:04 +02:00
lamrani abdelwadoud
6f40e309f1 Fix display all news of all website (#30146)
* Fix display all news of all website

* fix type of variable

* Update page-sample-news.html

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-26 17:12:31 +02:00
lamrani abdelwadoud
49191420b8 Fix display button when ia module was enabled (#30104) 2024-06-22 16:02:23 +02:00
lamrani abdelwadoud
ce3735932e Fix display button when ia module was enabled (#30104) 2024-06-22 16:01:56 +02:00
Laurent Destailleur
4849012313 Fix update page status must refresh toolbar 2024-06-20 13:30:44 +02:00
Frédéric FRANCE
6dd5b1cbc3 fix unknown variable (#29979) 2024-06-11 01:05:16 +02:00
Laurent Destailleur
78421f4607 Debug v20 2024-06-06 11:09:43 +02:00
Frédéric FRANCE
652c8526fa fix cti (#29813)
* fix cti

* fix cti

* no photo in asset lines

* no photo in asset lines

* no photo in asset lines

* no photo in asset lines

* no photo in recruitment lines

* no photo in recruitment lines

* fix

* fix dead catch
2024-06-03 13:44:14 +02:00
Laurent Destailleur
3b7df7956d Debug v20 2024-06-02 17:43:36 +02:00
Mohamed DAOUD
ecb274601c Add new website page types: library, service (#29721)
* library service page types

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-21 20:13:39 +02:00
Mohamed DAOUD
8774331c6d update overwriteTemplate (#29680) 2024-05-15 17:30:50 +02:00
Mohamed DAOUD
8e1a1a51b3 Add a parameter to dolCopyDir function to exclude copying archive files (#29681)
* exclude copying archive files

* Update files.lib.php

* Update files.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-15 15:37:20 +02:00
Laurent Destailleur
90c54cdd1a Debug v20 2024-05-14 02:01:39 +02:00
Laurent Destailleur
2ca045de72 Fix deletion of a website 2024-05-12 22:04:46 +02:00
Laurent Destailleur
56dd943d86 Debug v20 2024-05-12 21:35:23 +02:00
Laurent Destailleur
b2b11fd1a5 Clean website templates 2024-05-12 20:51:58 +02:00
Laurent Destailleur
0163cc6278 Debug export website 2024-05-12 20:27:03 +02:00
Laurent Destailleur
d502e2e3eb Debug v20 2024-05-12 19:21:39 +02:00
Laurent Destailleur
6cadff6406 Debug v20 2024-05-12 18:59:21 +02:00
Laurent Destailleur
0e34a20c14 Debug v20 2024-05-12 18:44:58 +02:00
Laurent Destailleur
74dd1ce7bb Debug v20 2024-05-12 12:32:33 +02:00
Laurent Destailleur
87c445bbf1 Add website page type for ajax 2024-05-12 12:20:00 +02:00
Mohamed DAOUD
a8bf174722 Fix edit inline mode for the website module (#29590)
* edit inline website

* check user rights before

* Update editinline.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 02:48:23 +02:00
lamrani abdelwadoud
373ee15009 New function to display 2 sitweb export function in a popup (#29592)
* new function to display 2 sitweb export function in a popup

* Update website.lang

* update function overwriteTemplate for handle the path to export website

* update function for check the relative/absolute path

* add infoBull for explain to user where it will exported

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 01:15:32 +02:00
Frédéric FRANCE
d0830b3159 fix phpstan (#29602)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phan

* 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 travis

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 00:34:19 +02:00
Laurent Destailleur
642a3d5984 Fix regression 2024-05-03 01:28:19 +02:00
Laurent Destailleur
9e654e65dd Debug v20 2024-04-29 11:04:19 +02:00
Laurent Destailleur
82fd5a8ac3 Debug v20 2024-04-24 13:07:47 +02:00
Laurent Destailleur
8e9ae430c4 Debug v20 2024-04-24 11:36:41 +02:00
Laurent Destailleur
68c81e5311 Debug v20 2024-04-24 11:26:08 +02:00
Laurent Destailleur
3145d24af8 Clean code for creating a new website page 2024-04-20 20:25:46 +02:00
Laurent Destailleur
9dd9119f8a Debug v20 2024-04-20 19:46:33 +02:00