Commit Graph

4266 Commits

Author SHA1 Message Date
Frédéric FRANCE
d07e8c03a0 avoid changing object after call (#36159)
* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean

* clean

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-12 09:44:39 +01:00
Regis Houssin
2ea3c1bc21 FIX conflict between $user->id and $object->id (#36225)
* FIX conflict between $user->id and $object->id

* FIX better fix

* FIX arfff
2025-11-12 09:38:06 +01:00
Laurent Destailleur
f0cd8d4281 Fix autogenerate login 2025-11-11 21:59:31 +01:00
Laurent Destailleur
2e72a9d14d Trans 2025-11-11 21:37:11 +01:00
Regis Houssin
a00ff66f45 FIX member photo and thirdparty logo not deleted in documents directory (#36197)
* FIX member photo with web portal don't need login

* FIX member photo not deleted

* FIX pre-commit

* FIX phan error and uniformize code

* FIX pfffffff pre-commit

* FIX uniformize code

* FIX remove TODO

* FIX change const name

* FIX missing add in ECM during creation

* FIX add user photo in ecm

* FIX phan error
2025-11-11 08:56:33 +01:00
Laurent Destailleur
e41910b146 NEW add hourly rate in list of users 2025-11-09 04:19:18 +01:00
Laurent Destailleur
8d21dda08b css 2025-11-09 03:29:20 +01:00
Laurent Destailleur
a7ec88c2ac Fix update of color when using HTML5 2025-11-09 02:41:10 +01:00
Laurent Destailleur
ddb1fd42fc Fix update of color when using HTML5 2025-11-09 02:40:40 +01:00
Laurent Destailleur
e5c8ff5bc3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-08 15:52:37 +01:00
Laurent Destailleur
33f3fb5dbb Better implementation for #35929 2025-11-08 15:52:06 +01:00
Frédéric FRANCE
e343b4ab1f clean code (#36166)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-11-08 14:01:19 +01:00
Laurent Destailleur
3afe861e34 css 2025-11-08 11:28:10 +01:00
Laurent Destailleur
1d1cd86c8e Trans 2025-11-08 11:22:24 +01:00
Laurent Destailleur
e67f1b8510 CSS 2025-11-07 20:15:39 +01:00
Laurent Destailleur
dfbf173b17 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:25:42 +01:00
Regis Houssin
430fc664fa FIX avoid link problem with employee list context (#36125) 2025-11-06 13:17:57 +01:00
Laurent Destailleur
c19f86a4bf Debug v23 2025-11-06 11:44:40 +01:00
Laurent Destailleur
2f898ff188 Debug v23 2025-11-06 10:50:31 +01:00
Frédéric FRANCE
39f54ca1d0 test phpstan (#36069)
* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* test phpstan

* clean baseline

* test

* test
2025-11-04 18:41:36 +01:00
Jon Bendtsen
154e5801a9 replacing variable MAIN_MODULE_OPENIDCONNECT with MAIN_AUTHENTICATION_OIDC_ON because openidconnect is no longer a module (#36051)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-02 13:07:46 +01:00
Laurent Destailleur
d0c4d2d8b4 NEW Output of category tag is nicer for long subcategories. 2025-10-29 16:50:09 +01:00
Charlène Benke
e69f56acbe New Add color fields on user group (#35646)
* Add color column to llx_usergroup table

* Add color column to llx_usergroup table

* Add color property to user group class

* Add color attribute to user group card

* Add ColorGroup translation to users.lang

* Add ColorGroup translation in French language file

* Fix SQL syntax for adding color column in llx_usergroup

* Fix SQL syntax for adding color column in llx_usergroup

* Fix color column addition in llx_usergroup table

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-28 02:26:49 +01:00
Laurent Destailleur
cd2f4bb7d2 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-24 19:46:38 +02:00
Regis Houssin
80c1fe6ae0 FIX broken feature ! (#35906)
* FIX broken feature !

* FIX Enhance SQL query with conditional entity filtering

Added conditional filtering for usergroup entity in SQL query based on MULTICOMPANY_TRANSVERSE_MODE setting.

* Update perms.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-23 14:32:07 +02:00
Jon Bendtsen
802e4b6491 NEW API user/groups/ POST, PUT, DELETE + some hurl tests (#35903)
* NEW API user/groups/ POST, PUT, DELETE + some hurl tests

* indent fix

* saving note_private (Ryan) during create and detect if we call ourselves?

* fix call with wrong arguments

* Reshow array's in the json output

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-10-23 13:56:22 +02:00
Regis Houssin
1e8b3e5d01 NEW possibility to define global entity in user param (#35908)
* NEW possibility to define global entity in user param

* FIX travis error
2025-10-23 13:43:53 +02:00
Frédéric FRANCE
894e73e9cf add new elements properties magic (#35861)
* add new elements properties magic

* add new elements properties magic
2025-10-21 01:04:53 +02:00
Jon Bendtsen
56bcd57fc6 QUAL: polishing up the API's for usergroups (#35854)
* note_private=note + cleaning json output when getting a usergroup

* better comment text

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-10-21 00:36:44 +02:00
Frédéric FRANCE
29b3880e6c add dolBuildUrl (#35664)
* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

* clean baseline

* add dolBuildUrl

* add dolBuildUrl

* add dolBuildUrl

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-17 02:31:07 +02:00
Laurent Destailleur
40fdd49b05 Update card.php 2025-10-15 04:46:19 +02:00
Laurent Destailleur
39f84d5baa Merge branch 'develop' into new-api-rest-tokens 2025-10-15 04:38:48 +02:00
Laurent Destailleur
80e7c42e3d Update card.php 2025-10-15 04:38:25 +02:00
Laurent Destailleur
cfd17372f4 Debug v23 2025-10-15 04:36:06 +02:00
Laurent Destailleur
634e27d1f1 Merge branch 'develop' into new-api-rest-tokens 2025-10-15 03:41:05 +02:00
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
Philippe Grand
c4abb3f8c3 Fix: prevent "Cannot access offset of type string on string" in param_ihm.php (#35702)
* Fix: prevent "Cannot access offset of type string on string" in param_ihm.php

- Added validation to handle cases where $tmparray items are strings instead of arrays
- Normalized entries to ensure each item has a 'label' and 'picto' key
- Defaulted 'picto' to "generic" when missing
- Prevents fatal error under PHP 8 when accessing $val['label'] or $val['picto']

* fix codesniffer issue

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-11 15:30:52 +02:00
Daksh Amalseda
be3f10e6d2 Added spellcheck="false" on form field that does not need spellchecking (#35682)
* fixed bug

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-08 22:23:43 +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
ldestailleur
77d4a16778 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-10-06 18:01:13 +02:00
ldestailleur
8e3a7714b8 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-06 18:00:45 +02:00
ldestailleur
0a914f437a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-10-06 18:00:19 +02:00
John BOTELLA
cecc1831a2 Fix llx header body class (#35653) 2025-10-06 12:34:20 +02:00
Frédéric FRANCE
a90c222f73 clean code (#35626)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-04 00:07:24 +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
62c009d440 Code comment 2025-10-01 17:04:30 +02:00
Laurent Destailleur
131d1390bc Debug v23 2025-09-28 22:20:44 +02:00
Frédéric FRANCE
a8b4ae7dfb clean code (#35534)
* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-28 20:58:18 +02:00
Anthony Damhet
c17f13316a UIUX - More intuitive select table (#35485)
* More intuitive select table

Added for objects:
- Members
- ActionComm
- Mailing
- Bank Accounts
- Various Payments
- Cash Control
- Paiement
- Contacts
- VAT
- Contracts
- Cron
- Gifts (Dons)
- Expedition
- Expense Reports
- FichInter
- Supplier Proposals
- Supplier Orders
- Supplier Invoices
- Supplier Paiements
- Products and supplier products
- Holidays
- Knowledge record
- Partnership
- Inventory
- Stock
- Projects
- Tasks
- Tickets
- Societes
- Salaries
- Resource
- Users

* Add Status message on documentation

* Remove intuitive select experimetns

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-28 01:21:40 +02:00