Commit graph

151292 commits

Author SHA1 Message Date
ATM-NicolasV
4dcf98b9f7
fix entity in sql from RemoveFromGroup (#28682) 2024-03-07 15:55:07 +01:00
Laurent Destailleur
f45f1f6cfd Fix separator block for modulebuilder 2024-03-07 15:00:08 +01:00
Laurent Destailleur
f00d3ff6dd Fix route not complete 2024-03-07 14:57:41 +01:00
Laurent Destailleur
21ef877772 Remove not used email layout 2024-03-07 11:07:28 +01:00
Frédéric FRANCE
50d6a3bc92
Merge branch 'develop' into patch-11 2024-03-06 18:44:50 +01:00
ATM john
24059b0b8d get rows security 2024-03-06 17:24:23 +01:00
Laurent Destailleur
91b994b89c Prepare 18.0.6 2024-03-06 17:20:44 +01:00
Laurent Destailleur
2d9801ffe3 Fix sec more complete list of forbidden function 2024-03-06 17:18:46 +01:00
Laurent Destailleur
8bc7027ced Fix help on status of menu condition 2024-03-06 17:17:24 +01:00
Laurent Destailleur
c0ee90aa7d Exclude require, include into dol_eval 2024-03-06 17:13:05 +01:00
Laurent Destailleur
7866ee472b QUAL Clean code around dol_eval use 2024-03-06 17:07:24 +01:00
ATM john
a644adbfe5 New hook for getElementProperties 2024-03-06 15:57:34 +01:00
Laurent Destailleur
f9a2c8ec5d Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-06 15:08:21 +01:00
Laurent Destailleur
f1aa29507a Fix sec more complete list of forbidden function 2024-03-06 15:01:25 +01:00
Laurent Destailleur
1a9fa740a5 Fix quote 2024-03-06 13:32:15 +01:00
Laurent Destailleur
8a2578d742 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-06 01:58:54 +01:00
Laurent Destailleur
1552fac711 Fix strict-origin 2024-03-06 01:54:41 +01:00
Laurent Destailleur
43b1adb4c6 Fix bad var name in security setup page 2024-03-06 01:40:06 +01:00
Laurent Destailleur
5c4c39da2a Debug module AI 2024-03-06 00:46:04 +01:00
Laurent Destailleur
c27551cbb7 Add a more complete message 2024-03-05 23:29:41 +01:00
Laurent Destailleur
64093cc378 Fix warning 2024-03-05 23:00:51 +01:00
Laurent Destailleur
fd2352645d Fix warning 2024-03-05 22:59:55 +01:00
Laurent Destailleur
95b7fe7dd3 Fix phpcs 2024-03-05 21:19:42 +01:00
Laurent Destailleur
cb20a1d033 Fix css 2024-03-05 21:18:14 +01:00
Frédéric FRANCE
d99b8f6354
Merge branch 'develop' into patch-11 2024-03-05 18:10:07 +01:00
Ferran Marcet
75f1de8f8f
Fix: Deposit lines are not created correctly (#28646)
* FIX: The minimum price in proposals is not checked correctly

* Fix: Deposit lines are not created correctly

* Fix: Volver a dejar como estaba

* Fix: Deposit lines are not created correctly
2024-03-05 18:07:05 +01:00
Laurent Destailleur
bf43be5e3b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-05 17:30:02 +01:00
Frédéric FRANCE
de139de23d
clean some files (#28649)
* clean some files

* clean some files
2024-03-05 17:24:18 +01:00
Laurent Destailleur
fbc6a645f7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-05 17:23:46 +01:00
Laurent Destailleur
dffa967680 Sanitize table name 2024-03-05 17:23:33 +01:00
thomas-Ngr
8d9e9f13cf
fix #28374 : tosell is not used anymore on products, use status (#28647) 2024-03-05 17:18:36 +01:00
John BOTELLA
26c307c0a4
Fix extrafield ajax search default on edit (#28631) 2024-03-05 17:16:11 +01:00
thibdrev
0ba3567ad6
qual: phan for htdocs/accountancy/admin/card.php (#28638)
* qual: phan for htdocs/accountancy/admin/card.php

htdocs/accountancy/admin/card.php	89	Plugin PhanPluginDuplicateExpressionAssignment Both sides of the assignment = are the same: $account_number

htdocs/accountancy/admin/card.php	152	Plugin PhanPluginDuplicateExpressionAssignment Both sides of the assignment = are the same: $account_number

* typo
2024-03-05 17:13:41 +01:00
Frédéric FRANCE
a2c92f183c
Phpstan fix (#28637)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-03-05 17:12:36 +01:00
Frédéric FRANCE
bc2f527e41
add phpdoc (#28639)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc
2024-03-05 17:11:46 +01:00
thibdrev
2664661afc
qual: phan for htdocs/core/lib/functions.lib.php (#28640)
68 entries for "Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299"

Examples (first 10):

htdocs/accountancy/admin/categories.php	155	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/accountancy/admin/categories.php	189	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/accountancy/bookkeeping/card.php	778	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/admin/eventorganization.php	341	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/admin/hrm.php	596	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/admin/hrm.php	603	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/admin/hrm.php	627	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/admin/knowledgemanagement.php	293	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/admin/knowledgemanagement.php	300	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/admin/multicurrency.php	115	TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9299 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
2024-03-05 16:32:40 +01:00
MDW
dc72cd390b
Qual: Clean up caches when PR is closed (#28648)
# Qual: Clean up caches when PR is closed

This will clean up caches when a PR is closed.

This requires that `actions:write` is enabled.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-05 16:31:45 +01:00
Laurent Destailleur
37e3e3bd89 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-05 16:29:32 +01:00
Laurent Destailleur
beba98be64 Fix phan 2024-03-05 16:28:59 +01:00
Sébastien NASSIET
cb77ff0a16
Set import_key in import when update record (#28644)
* fix can't delete pdf if ref is not encoded (#28630)

* fix typo in ChangeLog (#28613)

* fix typo in ChangeLog

* Update ChangeLog

* FIX: Count of virtual stock at Services and MoLine with disabled stock change (#28580)

* fix the count of virtual stock

* - fix "Found non sanitized string" ?

---------

Co-authored-by: christian.humpel <christian.humpel@gmail.com>

* Set import_key in import when update record

* Set import_key in import when update record

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Christian Humpel <78662388+Humml87@users.noreply.github.com>
Co-authored-by: christian.humpel <christian.humpel@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-05 16:11:32 +01:00
PsyCrow
13f3dcf39c
FIX #28641 (#28642)
* FIX #28641

FIX #28641 Annoying autocomplete on datepicker

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-05 15:56:38 +01:00
Laurent Destailleur
f1501878c0 CSS 2024-03-05 15:53:23 +01:00
Laurent Destailleur
5c80d4b4fd CSS 2024-03-05 15:43:11 +01:00
Frédéric FRANCE
fb030f45b5
Merge branch 'develop' into patch-11 2024-03-05 13:17:28 +01:00
Regis Houssin
93ccee2efb
FIX wrong GETPOST check (#28643)
* FIX wrong GETPOST check

* FIX why GETPOST("search_type", "int") is not the same result of
GETPOSTINT("search_type") ?
2024-03-05 11:06:52 +01:00
Laurent Destailleur
bf6c662d25 Fix phpunit 2024-03-05 04:06:21 +01:00
Laurent Destailleur
d7f3feba74 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-05 04:00:09 +01:00
Laurent Destailleur
cda8a7d241 css 2024-03-05 03:57:56 +01:00
Laurent Destailleur
c544efec7f QUAL: Remove use of customurl filter. Must use the USF syntax. 2024-03-05 03:51:36 +01:00
Laurent Destailleur
847c7a73c8 Doc 2024-03-05 01:30:36 +01:00