2
0
forked from Wavyzz/dolibarr
Commit Graph

12131 Commits

Author SHA1 Message Date
Frédéric FRANCE
44c0c6ed2f List db sessions (#33410)
* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean sessions

* clean sessions

* fix
2025-03-19 16:22:09 +01:00
MDW
8669993ecf Qual: Fix phan notices (compta/prel..fichinter) (#33485)
* Qual: Fix phan notices (asset..compta/paiement)

* Qual: Fix phan notices (compta/prel..fichinter)
2025-03-19 15:21:48 +01:00
ldestailleur
a0ec0002f6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 13:47:25 +01:00
ldestailleur
302ab362d5 Fix edit of template with back to page 2025-03-18 17:41:37 +01:00
ldestailleur
7465d54335 Fix renaming dire must be at end outside of translation. 2025-03-18 16:36:18 +01:00
ldestailleur
461cf5616e Clean code. WIP To manage permission on extrafields. 2025-03-18 14:55:37 +01:00
Laurent Destailleur
395157d16c Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-17 19:46:08 +01:00
ldestailleur
2858d4e544 Debug message on tooltip of not allowed button. 2025-03-17 11:42:39 +01:00
ldestailleur
23244ddc9d Fix getCallerInfoString() return empty when only one function used 2025-03-17 11:33:06 +01:00
ldestailleur
07d517ec49 FIX text in tooltip on buttons when pb is not a permission problem 2025-03-17 11:05:41 +01:00
ldestailleur
e863b1f01a Add info to help debug several troubles 2025-03-17 10:55:13 +01:00
ldestailleur
17d5ca6566 Fix timezone pb 2025-03-16 20:49:21 +01:00
dolibarr95
d1ac6e538a Update date.lib.php (#33394)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-16 20:46:10 +01:00
MDW
c3104905b3 Qual: Fix phan notices (html/core) (#33474)
* FIX: Replace compromised tj-actions/changed-files

# FIX: Replace compromised tj-actions/changed-files

See https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised .

* Add changed php file for test

* Qual: Fix phan notices (html/core)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-15 16:34:35 +01:00
John BOTELLA
c54a7a965c Add link to doc and fix doc (#33470) 2025-03-15 15:44:40 +01:00
MDW
d64298f6c1 Qual: Fix phan notices (htdocs/compta) (#33427) 2025-03-12 20:41:50 +01:00
Jakub Stříbrný
890b24b17a Add hook when printing button for new card (#33408)
* Add hook for print New Card Button in societe/contact.php

If we use canvas on contact module, we need to add canvas into the URL of the "create" button.

* Add hook for print new card button in societe list

To be able to use contact canvas when clicking on create new contact from thirdparty list.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-12 20:41:39 +01:00
ldestailleur
8d4a3b602d Fix phpunit test export categories 2025-03-12 16:25:56 +01:00
ldestailleur
9f655b790c Fix bad var 2025-03-11 10:57:12 +01:00
ldestailleur
b45a1c21ee NEW introduce method dolSetCookie 2025-03-11 10:21:45 +01:00
MDW
a0f71fbe76 Qual: Fix phan notices (core/lib) (#33379)
* Qual: Fix PhanMismatchType

* Finalize rename of $attrV into $value

* Correct getGlobalString into getGlobalInt

* Do not require some fields in the 'title' definition of $cols

* Qual: Fix phan notices (core/lib)
2025-03-11 01:43:54 +01:00
Frédéric FRANCE
87ccfff7ce update session in db with user id (#33391) 2025-03-11 01:43:36 +01:00
MDW
c0f533865f Fix CI: Do not require some fields in the 'title' definition of $cols (#33399)
* Qual: Fix PhanMismatchType

* Finalize rename of $attrV into $value

* Correct getGlobalString into getGlobalInt

* Do not require some fields in the 'title' definition of $cols
2025-03-11 01:42:49 +01:00
ldestailleur
3de6ed0331 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-10 23:57:15 +01:00
ldestailleur
0b921141b8 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-03-10 23:56:40 +01:00
ldestailleur
03cbf05f0f FIX Loading of deiveries in shipping card was loading everything 2025-03-10 23:56:04 +01:00
ldestailleur
cfef1b9f53 FIX Loading of deliveries from a shipment was loading everything 2025-03-10 23:53:31 +01:00
ldestailleur
f7fa2ddf13 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-10 19:48:59 +01:00
ldestailleur
e362f99aa0 Fix serious regression 2025-03-10 19:24:21 +01:00
MDW
988fc75ca2 Qual: Fix phan notices (emailcollector, bookkeeping) (#33375)
* Qual: Fix phan notices (mostly propal)

* Fix some const arguments to Form::select_dolusers()

* Update phan baseline

* Qual: Fix phan notices (propal)

* Qual: Fix phan notices (emailcollector, bookkeeping)
2025-03-10 15:47:55 +01:00
ThomasNgr-OpenDSI
c9a27ae21d NEW : allow stock management by product (#32326)
* Code part

* Code part 2

* Fix : invert a const

* Fix : invert disable/enable stock values

* Fix

* Fix missing column from select inside sql request

* Fix input hidden missing name

* ajout d'un commentaire

* small fixes

* remove unrelated lines

* phpcs

* stickler fix

* pre-commit fixes

* pre-commit fixes

* pre-commit fix

* fix missing translation

* Fix phpstan

* fix winCI

* fix travis

* fix phpstan

* fix travis (hopefully)

* remove useless lines

* relaunch tests

* change stockable_product type from bool to int

* change test in Expeditin::addline() to allow adding a line for product with disabled stock management

* make stock management mandatory for products with batch number

* try to remove PHAN errors

* fix phpstan

* fix phpstan

---------

Co-authored-by: Alexandre SPANGARO <aspangaro.dolibarr@gmail.com>
Co-authored-by: mrozniecki <mrozniecki@easya.solutions>
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2025-03-10 10:49:53 +01:00
ldestailleur
3658bc20b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-09 22:29:21 +01:00
ldestailleur
1b2522d385 Fix CSS 2025-03-09 22:05:36 +01:00
ldestailleur
202ffe732e Enhance phpunit tests 2025-03-09 21:26:51 +01:00
ldestailleur
3e24bbd419 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-08 14:51:36 +01:00
ldestailleur
18a4224e5d Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-08 14:51:04 +01:00
ldestailleur
e627c5b096 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-07 15:15:31 +01:00
ldestailleur
948f041f46 Fix encoding space for scope must use %20according to OAUTH2 standard 2025-03-06 17:10:53 +01:00
ldestailleur
cee3d12305 Clean var 2025-03-06 16:31:26 +01:00
ldestailleur
48e6c70501 Fix urlencode 2025-03-06 16:31:05 +01:00
dolibarr95
781abe8615 code simplification (#33355)
see https://github.com/Dolibarr/dolibarr/pull/33347
2025-03-06 14:00:17 +01:00
Laurent Destailleur
201424d119 Update date.lib.php 2025-03-06 13:12:34 +01:00
Laurent Destailleur
524ef969e8 Update date.lib.php 2025-03-06 13:12:10 +01:00
dolibarr95
5d775dcb5d Add $includemonday var
Related to https://www.dolibarr.fr/forum/t/erreur-sur-calcul-de-conges/48690/43?u=dolibarr95
2025-03-06 08:44:39 +01:00
ldestailleur
996770b8f2 Fix protect use of sanitize to make sql injection 2025-03-06 03:39:47 +01:00
ldestailleur
caead5de9f Fix protect use of sanitize to make sql injection 2025-03-06 03:29:54 +01:00
MDW
56e354e112 Qual: Fix phan notices (facture/2) 2025-03-05 21:17:58 +01:00
Laurent Destailleur
da8d69e1ab Update functions.lib.php 2025-03-05 14:57:54 +01:00
John BOTELLA
4b640e4cad Add params 2025-03-05 13:29:47 +01:00
Laurent Destailleur
121c618d45 Merge pull request #33317 from frederic34/imgpicto_info_black
modify info_black picto
2025-03-04 21:42:50 +01:00