Commit Graph

145227 Commits

Author SHA1 Message Date
Laurent Destailleur
25ea797aed Fix not default template for BOM 2024-09-30 18:26:24 +02:00
Francis Appels
f101423901 FIX State dropdown is not working on User card #31198 (#31205)
* FIX State dropdown is not working on User card #31198

* Fix phan
2024-09-30 16:50:54 +02:00
Frédéric FRANCE
44fdcdd8ed can set position of file with dol_move (#31201)
* can set position of file with dol_move

* Update api_documents.class.php

* Update api_documents.class.php

* fix

* fix

* fix

* fix

* fix
2024-09-30 16:49:38 +02:00
Laurent Destailleur
7eb375d398 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-30 16:21:37 +02:00
Laurent Destailleur
4a86964e18 Fix image in RSS 2024-09-30 16:18:46 +02:00
Laurent Destailleur
5886355a87 Fix image in RSS 2024-09-30 16:09:19 +02:00
Laurent Destailleur
4b9ce8a9bc Fix: method getImagePublicURLOfObject can't work on WebsitePage so add a
method getImageFromHtmlContent to compensate.
2024-09-30 15:38:31 +02:00
Laurent Destailleur
333ba5c895 Clean var 2024-09-30 15:28:52 +02:00
Laurent Destailleur
6f7b0c1815 NeW Can add the info messages (error, waring...) at the top of the stack 2024-09-30 14:30:28 +02:00
Laurent Destailleur
182c90da69 Look and feel v21 2024-09-30 14:12:51 +02:00
Laurent Destailleur
afc77a5bca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-30 14:04:49 +02:00
Laurent Destailleur
df5cde2ec2 Look and feel v21 2024-09-30 14:02:39 +02:00
Laurent Destailleur
fde37d8172 Fix deadlock situation by adding a constant in hope to save user 2024-09-30 13:36:30 +02:00
Laurent Destailleur
91fe8213fa Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-30 13:26:43 +02:00
Laurent Destailleur
946726779c Fix test on setup 2024-09-30 13:23:04 +02:00
Laurent Destailleur
7b61965042 FIX autoselect the fiscal period by default 2024-09-30 13:19:39 +02:00
Laurent Destailleur
d2a279cc7d FIX autoselect the fiscal period by default 2024-09-30 13:13:15 +02:00
Laurent Destailleur
2d62400b22 FIX autoselect the fiscal period by default 2024-09-30 13:12:42 +02:00
Laurent Destailleur
218bfff6fa Tooltip to explain why button is disabled. 2024-09-30 11:55:32 +02:00
Laurent Destailleur
d7d8f87045 Clean code. Add permission test after action = something. 2024-09-30 11:38:29 +02:00
Laurent Destailleur
61e8382869 Fix SERVICE_ARE_ECOMMERCE_200238EC #31159 in transfer of sale journal 2024-09-30 10:46:51 +02:00
Laurent Destailleur
79892e79e5 Removed init of context here. Contet must be initialized by parent
caller. You already can use 'globalcard' or 'main' for example...
2024-09-30 10:21:41 +02:00
Aloïs Micard
3da76f9536 Add a new hook into CommonObject#commonReplaceThirdparty (#30827) 2024-09-30 10:19:35 +02:00
Anthony Berton
3e76477922 NEW - Add an advanced permission to validate knowledge (#30855)
* Add perms validate knowladge

* Perms advanced

* FIX

* Fix to massaction list

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-30 10:15:40 +02:00
Frédéric FRANCE
60860aa781 add phpdoc (#31196) 2024-09-30 10:08:03 +02:00
Frédéric FRANCE
c757f684f3 fix phpdoc (#31195)
* fix phpdoc

* Update context.class.php

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc
2024-09-30 10:07:20 +02:00
Frédéric FRANCE
f3d3573bfb fix phpstan (#31194)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-30 10:07:04 +02:00
Laurent Destailleur
352077999a Clean code 2024-09-30 10:06:31 +02:00
MDW
8236aed22f Qual: Fix phan notices (#31193)
# Qual: Fix phan notices

Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
2024-09-30 10:05:24 +02:00
Laurent Destailleur
1754ee61d5 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-29 22:49:02 +02:00
Laurent Destailleur
9eed19578a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-29 22:42:49 +02:00
Laurent Destailleur
399a752c78 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-29 22:42:13 +02:00
Laurent Destailleur
97eacefa6b Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-09-29 22:41:54 +02:00
Laurent Destailleur
f5fbbcfcb8 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-09-29 22:40:45 +02:00
lamrani abdelwadoud
0ec1d2b750 Add token oauth for social network (#30813)
* Add token oauth for social network

* Fix phpstan errors

* Fix phpstan errors

* variable undeclared and phan errors

* variable undeclared and phan errors

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 22:36:08 +02:00
Frédéric FRANCE
4690f4aadb fix phpstan (#31192)
* fix phpstan

* fix phpstan
2024-09-29 22:33:33 +02:00
Frédéric FRANCE
d30d8b5201 fix phpstan (#31191)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 22:32:34 +02:00
Laurent Destailleur
2c67c8b6ff Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-09-29 22:32:01 +02:00
Laurent Destailleur
d0fb08adf4 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-09-29 22:31:42 +02:00
Laurent Destailleur
624493fb26 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2024-09-29 22:30:07 +02:00
Laurent Destailleur
6eddee9a78 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0 2024-09-29 22:29:19 +02:00
Laurent Destailleur
52138372ce Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2024-09-29 22:27:54 +02:00
Laurent Destailleur
a27538f582 Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0 2024-09-29 22:27:42 +02:00
Florian Mortgat
385927fe06 FIX: box_actions.php still uses fk_user_done which no longer exists (#31190)
Co-authored-by: FlorianMortgat <5845502+FlorianMortgat@users.noreply.github.com>
2024-09-29 22:18:18 +02:00
MDW
42bb4fbf3e Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* Qual: Enable & fix or ignore Invalid DimOffset

# Qual: Enable & fix or ignore Invalid DimOffset

The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.

This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later

* Nullable object typing in function signature not ok for 7.0/8.4

Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
Frédéric FRANCE
a760fc0092 fix phpstan (#31189)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 21:51:51 +02:00
Frédéric FRANCE
79c447caac fix phpstan (#31188)
* fix phpstan

* fix phpstan
2024-09-29 21:51:01 +02:00
Frédéric FRANCE
d9902225ca fix phpstan (#31187)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 21:50:37 +02:00
Frédéric FRANCE
138ffa3158 fix phpstan (#31181)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 21:49:52 +02:00
Laurent Destailleur
c8d86f8a56 FIX List of payment must be visible event they exists even if total=0 2024-09-29 20:32:09 +02:00