Commit Graph

469 Commits

Author SHA1 Message Date
Frédéric FRANCE
3c597c263d clean code (#35710)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* clean code
2025-10-14 19:58:04 +02:00
Frédéric FRANCE
1ad2d24a4b fix img_pictos (#35722)
* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos

* fix img_pictos
2025-10-14 19:31:06 +02:00
Frédéric FRANCE
2078610328 add dolBuildUrl with examples of use (#35549)
* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* wip

* wip

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add example

* add example

* add example

* add example

* add example

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* add example

* add example

* add example

* add example

* add example

* add example

add example

add example

add example

add example

* add example

* add example

add example

add example

add example

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* wip

* wip

* clean code
2025-10-06 18:17:02 +02:00
Frédéric FRANCE
9ff1bc423d clean code (#35602)
* clean code

* clean code

* clean code

* clean code and baseline

* clean code and baseline

* clean code and baseline
2025-10-03 09:20:09 +02:00
ldestailleur
f4d3c63332 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-22 10:50:45 +02:00
Laurent Destailleur
a2640829ca Better sanitization of url and email 2025-09-22 02:38:48 +02:00
Frédéric FRANCE
62a7756a43 fix civility_id for webportal member (#35339)
* fix civility_id for webportal member

* Update html.formcardwebportal.class.php

* fix

* fix

* fix

* fix date

* fix translation

* add doc
2025-09-14 11:17:01 +02:00
Frédéric FRANCE
c500febdc4 fix pictos (#35335) 2025-09-13 20:59:52 +02:00
Lucas Marcouiller
d0b7e27ca5 NEW Feature to merge duplicate members (#35308)
* New merge members

* fix fields

* add trans

* fix CI

* fix Ci

* fix Ci

* fix CI

* Fix CI

---------

Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-12 15:14:45 +02:00
ldestailleur
5b4295912e Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-02 22:39:16 +02:00
ldestailleur
0350e2687c FIX fallback of "from" email when sending email in member module 2025-09-02 13:47:01 +02:00
Thatoo
5338607237 auto_subscription_member_form_types_nature (#35033) 2025-08-31 11:52:53 +02:00
ldestailleur
094a05b9a5 Debug v22 2025-05-27 14:48:25 +02:00
Laurent Destailleur
c724800a05 Fix permission on conf.php file 2025-05-20 22:01:00 +02:00
Laurent Destailleur
368817f06a Fix CI 2025-05-20 21:53:20 +02:00
Frédéric FRANCE
c1f8d7ff4a fix translation existing twice (#34102)
* fix translation existing twice

* fix translation existing twice

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-12 20:25:02 +02:00
ldestailleur
f0ad845711 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-11 12:32:45 +02:00
ldestailleur
a11e7db31c FIX Can set default value of the nature of member 2025-05-11 12:31:55 +02:00
Laurent Destailleur
c4bcb083c6 Fix CI 2025-04-15 22:55:21 +02:00
Laurent Destailleur
8f78df531c Fix CI 2025-04-15 22:38:35 +02:00
ldestailleur
ae59c409f6 Modulebuilderization 2025-03-26 00:56:24 +01:00
MDW
2cd6459d10 Qual: Fix phan notices (*card) (#33450) 2025-03-14 17:25:11 +01:00
MDW
4af154c6d5 Qual: Fix phan notices
# Qual: Fix phan notices

Fix phan notices mostly in relation with supplier invoices,
Fix phan notices in relation with formquestion (phpdoc update, casts).
2025-02-03 16:05:57 +01:00
Laurent Destailleur (aka Eldy)
cf62921762 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-15 13:01:03 +01:00
Regis Houssin
2b77879297 FIX missing edit extrafields inline for member card 2025-01-11 10:34:01 +01:00
Laurent Destailleur (aka Eldy)
89577d5fd2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-12-26 15:43:29 +01:00
Regis Houssin
76194aca11 FIX GETPOST "$check" parameter can't be empty 2024-12-22 07:20:36 +01:00
Laurent Destailleur (aka Eldy)
39b63052da Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-30 12:53:31 +01:00
Frédéric FRANCE
f2c2b634e3 fix CI (#32153) 2024-11-30 12:51:38 +01:00
Laurent Destailleur (aka Eldy)
07536ea01a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-29 15:25:49 +01:00
Laurent Destailleur (aka Eldy)
670e6464e8 Fix selection of state from country in member creation 2024-11-28 22:25:53 +01:00
Laurent Destailleur
12ec583cb8 Look and feel v21 2024-11-20 15:40:51 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Laurent Destailleur
f5e4ab0220 Rewrite code to prepare refactoring 2024-10-26 15:24:54 +02:00
MDW
76eaf8bd8d Qual: Fix phan notices in classes related to class using getNextValue. (#30925)
* FIX 🛟 phan

* getToolTip() can take null for $coc

* Fix uninitialized vars & arg types

* PHPDoc typing, argument fixes

* PHPDoc typing, argument fixes for AdherentType

* PHPDoc typing, argument fixes for AdherentStats

* Update baseline to enable adherent notices

* Fix PHPDoc typing in api_members

* Minor bug fixes, typing

* PHPDoc api_subscriptions

* PHPDoc Societe

* Ignore empty foreach notice

* Add initialiser

* Categorie is string, old int mode is deprecated

* Fix missing initialisations

* Fix missing initialisations adherents/note

* Fix typing (cast), initialisation of var

* Fix initialisations

* Fix argument types

* Improve array PHPDoc type

* PHPDoc array type

* PHPDoc: Improve typing

* Correct argument type to getNomUrl

* Improve typing for timespent

* Fix typing for getNextValue args

* Improve typing

* Fix typing hints contrat/card

* Update baseline

* Fix typing

* Fix extraparams property typing

* Fix argument typing

* Qual: Correct covariant type

* Impove typing for timespent

* Remove exclusion no longer matched (level 6)

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
2024-09-12 21:16:42 +02:00
Laurent Destailleur
e318a739be CSS for nature 2024-09-04 20:51:20 +02:00
Lucas Marcouiller
955ba328a1 New radio for adherent nature input (#30837)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-09-04 20:21:32 +02:00
Laurent Destailleur
2009c6f09a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-31 17:30:32 +02:00
Laurent Destailleur
1e3a860767 Fix test on permissions 2024-08-31 16:01:27 +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
Laurent Destailleur
79f1cc95bb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/lib/company.lib.php
2024-08-13 04:47:12 +02:00
Laurent Destailleur
fe21cc3605 Debug v20 2024-08-13 04:37:19 +02:00
Laurent Destailleur
813bd1706f Merge 2024-08-12 22:11:26 +02:00
Laurent Destailleur
4f6643fe1e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
Conflicts:
	htdocs/commande/card.php
	htdocs/core/multicompany_page.php
2024-08-12 21:51:31 +02:00
HENRY Florian
f3fa4eee6b fix: edit extrafield tpl card adherent is not correct (#30573) 2024-08-10 23:46:10 +02:00
Laurent Destailleur
6ac589b0a9 NEW Introduce value 'password' formode of sanitization in GETPOST. 2024-07-21 14:44:14 +02:00
Alexandre SPANGARO
76f616796c Add llxHeader body css for member (#30302)
* NEW : llxHeader body css for member

* NEW : llxHeader body css for member

* NEW : llxHeader body css for member

* NEW : llxHeader body css for member

* NEW : llxHeader body css for member

* NEW : llxHeader body css for member

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-06 14:32:06 +02:00
Alexandre SPANGARO
9e194a8d5d NEW Member - Can upload a file with drag and drop (#30265) 2024-07-04 09:08:05 +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
7127b9d499 add token csrf level 3 (#29987)
* add token csrf level 3

* fix

* add token
2024-06-11 20:02:40 +02:00