Commit Graph

3702 Commits

Author SHA1 Message Date
thibdrev
cbe1b75332 qual: phpstan for htdocs/adherents/class/adherent_type.class.php (#27946)
htdocs/adherents/class/adherent_type.class.php	130	Property AdherentType::$other (string) does not accept default value of type array.
2024-02-01 17:49:02 +01:00
Laurent Destailleur
768e0b54c8 Clean code 2024-02-01 13:45:15 +01:00
Laurent Destailleur
20a2e8e38a Clean code 2024-02-01 13:43:12 +01:00
thibdrev
2018e577b8 qual: phpstan for htdocs/adherents/class/adherent.class.php (#27945)
* qual: phpstan for htdocs/adherents/class/adherent.class.php

htdocs/adherents/class/adherent.class.php	1692	Property Adherent::$invoice (Facture) does not accept null.
htdocs/adherents/class/adherent.class.php	2626	Property Adherent::$civility_id (string) does not accept int.

* phpcs
2024-02-01 13:39:25 +01:00
Laurent Destailleur
b514c1afbe Move code 401 to 403 2024-02-01 13:34:55 +01:00
William Mead
f114094ffe Fix PHPCS. Rename connect_bind to connectBind. 2024-01-31 15:31:57 +01:00
Hystepik
69289f5005 New hook to allow module show onlinepaymenturl 2024-01-26 15:41:13 +01:00
Laurent Destailleur
f39a439895 Clean code 2024-01-26 03:35:00 +01:00
Laurent Destailleur
cb1c3a5bb1 Debug v19 2024-01-24 14:36:35 +01:00
Laurent Destailleur
ab52890e34 Merge branch 'develop' into dict/GETPOST_filter 2024-01-24 14:32:22 +01:00
Laurent Destailleur
ce21af7b6c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-23 22:17:46 +01:00
MDW
b770448e30 Fix: GETPOST filters
# Fix: GETPOST filters

Some GETPOST filters have an invalid key.  Fixed.
2024-01-23 20:37:19 +01:00
Laurent Destailleur
9a9ca50b49 Debug v19 2024-01-23 11:07:53 +01:00
Laurent Destailleur
28b3e656a9 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-23 10:44:10 +01:00
Laurent Destailleur
4123a5b6fb Debug v19 2024-01-23 09:58:12 +01:00
thibdrev
8580a088f9 qual: phpstan
htdocs/adherents/subscription/card.php	115	Property Subscription::$amount (float) does not accept string.
2024-01-22 12:19:25 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
Laurent Destailleur
de76d7d70a Clean code 2024-01-19 15:59:09 +01:00
Laurent Destailleur
7f84b1e569 Merge pull request #27614 from frederic34/patch-3
fix box_dolibarr_state_board.php
2024-01-18 21:28:03 +01:00
Laurent Destailleur
ff6c3ff29b Merge pull request #27620 from thibdrev/patch-5
fix: phpstan
2024-01-18 21:22:28 +01:00
thibdrev
5870f40e34 fix: phpstan
htdocs/adherents/card.php	310	Property CommonObject::$state_id (int) does not accept array|string.
htdocs/adherents/card.php	311	Property CommonObject::$country_id (int) does not accept array|string.
htdocs/adherents/card.php	337	Property CommonObject::$statut (int) does not accept array|string.
htdocs/adherents/card.php	338	Property CommonObject::$status (int) does not accept array|string.
htdocs/adherents/card.php	339	Property Adherent::$public (int) does not accept array|string.
2024-01-18 20:22:41 +01:00
thibdrev
e35c987559 fix: phpstan
htdocs/adherents/class/adherent.class.php	1198	Method Adherent::setPassword() should return string but returns int.
2024-01-18 20:16:32 +01:00
Frédéric FRANCE
e87362a9ad Update adherent.class.php 2024-01-18 18:45:35 +01:00
Laurent Destailleur
9fcad7e840 Merge pull request #27558 from frederic34/search_member_by_date
NEW: search member by date
2024-01-18 11:12:31 +01:00
Frédéric FRANCE
e923a1f674 fix icons on member card 2024-01-16 22:57:19 +01:00
Frédéric France
bf1ed6e895 search member by date 2024-01-15 22:40:22 +01:00
Laurent Destailleur
3ac7706a63 Clean code 2024-01-15 11:28:25 +01:00
Pascal Hubrecht
0cdcd3d7a0 Qual enhance API description (#27490) 2024-01-13 15:34:27 +01:00
Pascal Hubrecht
c03a41e914 Enhance API description (#27485) 2024-01-13 15:32:22 +01:00
Pascal Hubrecht
c4ef3f007f Qual enhance API description (#27487) 2024-01-13 15:30:51 +01:00
Laurent Destailleur
f773fa2dbd Fix phan report 2024-01-12 22:09:51 +01:00
MDW
85ad4ecdf8 Qual: Spelling for htdocs/[a-b]* (#27422)
Mostly comments, one variable changed from misspelling to .
Also changed CNAT to C.N.A.T in comment to avoid fix from CNAT to CAN'T.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 20:58:09 +01:00
Frédéric FRANCE
0d3e0c8ec4 fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +01:00
Laurent Destailleur
ad6c4c2deb Fix phpcs 2024-01-12 18:18:20 +01:00
Laurent Destailleur
618a364064 FIX #27439 but using the opposite direction. int is bette as we can evolve to add a third value in a future. 2024-01-12 17:47:54 +01:00
MDW
58ba3e31fa Qual: Fix spelling for crypted and referer (#27408)
# Qual: Fix spelling for crypted and referer.

The proper spelling is encrypted and referrer, but the code has
some occurences where referer and crypted need to be maintained.

To make verification easier, this spelling correction is limited to
mostly these corrections and some minor translations and a only a
few other corrections.

crypted and referer are added as exceptions for spelling after this fix.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 10:07:06 +01:00
Laurent Destailleur
e2f49c407f Clean sql request to use exist instead of left join 2024-01-09 10:44:50 +01:00
Laurent Destailleur
7cbc1c98fc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-07 13:40:36 +01:00
Laurent Destailleur
450707e4be Removed a file that is bugged and output bugged empty data on screen 2024-01-06 23:01:31 +01:00
nat
7a2bf5a20b Fix Computed Extrafields on Member list
FIX empty $object / $objectoffield in core/tpl/extrafields_list_print_fields.tpl.php for computed extrafields to work member list (in addition to #25631, #27307, #27308).
2024-01-06 00:08:56 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Fabian Heinz
b78632a20e api fixes
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Fabian Heinz
aa43e18d56 API status code fix
apis currently returning 404 if no entry found fixed
2023-12-31 14:05:21 +01:00
routmoute
1d38a3b7b8 fix conflict with develop branch 2023-12-29 20:19:17 +01:00
routmoute
48f4e52a22 fix: Display of the list of merged pdf 2023-12-29 02:30:32 +01:00
Laurent Destailleur
89686e74dc Clean code 2023-12-26 22:33:22 +01:00
Laurent Destailleur
b3020923b7 Merge pull request #27186 from Hystepik/fix-php-warnings-code-smell
Fix some php code smell
2023-12-22 11:07:07 +01:00
Laurent Destailleur
5c6c5853ab Clean code 2023-12-21 15:27:13 +01:00
Laurent Destailleur
756180cfb5 Debug v19 2023-12-20 22:21:41 +01:00
Hystepik
5e4a4da130 Fix some php codce smell 2023-12-20 14:22:45 +01:00