Commit graph

153577 commits

Author SHA1 Message Date
Laurent Destailleur
ffd6ba9b66 css 2026-04-23 00:05:10 +02:00
Laurent Destailleur
c4cb3f6d6b FIX Substitution key of default values was not complete. 2026-04-22 23:36:51 +02:00
Laurent Destailleur
f3506788ff css 2026-04-22 23:08:24 +02:00
Laurent Destailleur
220a9aa5e2 css 2026-04-22 22:59:41 +02:00
Laurent Destailleur
1b89194bd0 Clean code 2026-04-22 22:38:42 +02:00
Laurent Destailleur
7fe71aed4b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-22 10:48:23 +02:00
Laurent Destailleur
d83845a25a Doc 2026-04-22 10:47:34 +02:00
Laurent Destailleur
b806fcbf78 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-22 02:59:41 +02:00
Laurent Destailleur
83d16121d5 Doc 2026-04-22 02:58:57 +02:00
Laurent Destailleur
80a3bdff0c Try to reduce conflict with FPDF 2026-04-21 22:12:14 +02:00
Laurent Destailleur
b22728fdb0 Fix WYSIWYG_ALLOW_UPLOAD_MEDIA_FILES 2026-04-21 16:47:51 +02:00
Laurent Destailleur
96c71e46e8 Resotre better css name 2026-04-21 16:33:48 +02:00
Laurent Destailleur
3fc92e77f5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-21 16:32:24 +02:00
Laurent Destailleur
6d03aa5874 CSS 2026-04-21 16:32:13 +02:00
Thatoo
6e28078e75
Correct new.php (member) JS script of Minimum amount and subscription's amount formula description (#37834)
* Correct JS of Minimum amount and subscription's amount formula description per membership type

* Update new.php

typo
2026-04-21 16:31:59 +02:00
Florian Charlaix
029a1fbc1b
NEW #37727 phone input with country code (#37728)
* New phone input with country code

* CI fixes

* Assure AJAX CSRF check

* Fix SQL migration typo

* Remove unnecessary CSRFCHECK_WITH_TOKEN in getphonecode.php AJAX endpoint
2026-04-21 16:15:38 +02:00
John BOTELLA
906ec585ee
Fix php warning ['search_filtert'] not exist (#37957)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-21 15:37:35 +02:00
sonikf
fe9eba4165
fix regression (#37956)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-21 15:37:17 +02:00
Laurent Destailleur
9c2ab77a88 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-21 14:55:28 +02:00
Laurent Destailleur
522a6daad9 Fix ci 2026-04-21 14:55:18 +02:00
Frédéric FRANCE
32c0b08d66
clean code (#37955)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2026-04-21 14:54:15 +02:00
Laurent Destailleur
3e72921117 FIX Conflict between the old default amount (set globaly) and default
amount per type of membership. Keep only the second one.
2026-04-21 14:50:10 +02:00
Laurent Destailleur
18e37fa1ad Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-21 14:33:24 +02:00
Laurent Destailleur
08bd331d0b FIX option MEMBER_SEARCH_MEMBER_PUBLIC_FORM_CREATE 2026-04-21 14:32:55 +02:00
Charlène Benke
38fa9222a0
Change batch number validation to 'alpha' (#37952)
batch number can contain more thing that alphanum value
2026-04-21 13:43:37 +02:00
Frédéric FRANCE
88d9d1301f
clean code (#37953)
* clean code

* clean code

* clean code
2026-04-21 13:31:24 +02:00
Laurent Destailleur
3b579d648b Look and feel v24 2026-04-21 13:24:51 +02:00
Jon Bendtsen
59ea1f890d
UXUI Improve public ticket message list (#37926)
* Improve UXUI on public ticket interface

* Use the style method to remove the border in border to preserve the edit pencil

* Switching back to 2 column layout

* reduce changes

* Identical look'n'feel between just viewing the list and editing a new response

* Attempt at fixing phan

---------

Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
2026-04-21 11:52:20 +02:00
Jon Bendtsen
29aa7b2938
UXUI Change mass mailing icon to bulk-mail (#37951)
Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
2026-04-21 11:48:00 +02:00
Frédéric FRANCE
9bf8103dad
clean code (#37947)
* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* Update traduction.php

* Update traduction.php

* Update photos.php

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-21 11:47:12 +02:00
MDW
295bbc08ec
Qual: Fix PHPStan and Phan notices (#37950)
* Qual: Update GETPOST calls to handle hint array type

# Qual: Update GETPOST calls to handle hint array type

- Updated GETPOST calls for 'amounts' and 'multicurrency_amounts' to explicitly handle array inputs by adding the 'array' type parameter

This fixes PHPStan notices where expressions expect an array.

* Qual: Set type for status label mapping in LignePrelevement (PHPStan)

# Qual: Set type for status label mapping in LignePrelevement (PHPStan)

Added type hint to property `$labelStatus`

* Qual: Add type hints to datec and datep properties in PaymentSocialContribution

# Qual: Add type hints to datec and datep properties in PaymentSocialContribution

Added type hints to datec and datep properties.

* Qual: Add type hint to MIME mapping for image file extensions

# Qual: Add type hint to MIME mapping for image file extensions

Added type hint to `$image_types`

* Qual: Better type hint for getAllItemsLinkedByObjectID method

# Qual: Better type hint for getAllItemsLinkedByObjectID method

The return type annotation for the getAllItemsLinkedByObjectID method has been updated from 'array|int' to 'string[]|int'.

* Qual: Better type hint for fetchAll return value

# Qual: Better type hint for fetchAll return value

Suggest thet fetchAll returns list of objects

* Qual: Remove array from return value hint

* Qual: Add missing type hints to Notify

* Qual: Cast resource IDs to integers in getAllResourcesOfWorkstation

# Qual: Cast resource IDs to integers in getAllResourcesOfWorkstation

Ensure returned value is list of ints as parent::getAllItemsLinkedByObjectID does not ensure value type.

* Qual: Ensure correct return type for getAllGroupsOfWorkstation

* Qual: Improve typing hints

* Qual: Improve typing hints, ignore some notices

* Qual: Fix argument type

* Qual: Improve type hints

* Qual: Improve typing hints

* Qual: Add missing type hint

* Qual: Update Phan baseline

* Qual: Remove redundant exit (PHPStan, Phan)
2026-04-21 02:28:35 +02:00
John BOTELLA
ce3d82417e
New : js hook for setup options (#37940)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 22:22:06 +02:00
Laurent Destailleur
351531c10c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-20 22:20:29 +02:00
Laurent Destailleur
98b74773fd Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-20 22:20:19 +02:00
Laurent Destailleur
19b8473d26 Try a better fix #37791 and fix #37859 2026-04-20 22:17:42 +02:00
Frédéric FRANCE
ca54b2a6ff
fix categories translations (#37912)
* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* Update traduction.php

* Update traduction.php

* Update photos.php

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix categories translations

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 22:11:20 +02:00
Frédéric FRANCE
db81523f62
make less sql request (#37919)
* make less sql request

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 22:07:01 +02:00
Jon Bendtsen
8f0b7e3f06
NEW massaction sendEmail on the list of invoices for a given product (#37937)
* NEW massaction for invoice list which contains a given product

* This sends 1 email when tested with 1 selection, will have to cleanup

* cleaning up my various debug messages and comments

* fix pre-commit hook errors

* PHPstan fixes

* typecasting invoice id due to PHAN complaint

* Redefine how selectedfields variable is defined

* fix PHPstan and phan using advice from mdeweerd

* directly, not saved as string

* fix pre-commit fail

* put in a string

---------

Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 22:04:17 +02:00
John BOTELLA
c4968aedc3
New js context hook for object line create tpl (#37943)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 22:01:27 +02:00
LauraDiaz
b649728014
FIX Prevent project creation when required extrafields validation fails (#37939)
* Refactor contact addition logic in card.php

Prevent calling create() when required extrafields validation fails

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 21:18:49 +02:00
Jon Bendtsen
1c0d20e7d9
FIX API_ENABLE_LOGIN_API should be integer, not string (#37941)
* FIX API_ENABLE_LOGIN_API should be integer, not string

* Update api_login.class.php

* Update api_users.class.php

* Update api_login.class.php

---------

Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 21:18:30 +02:00
Alexandre SPANGARO
456034d286
NEW Accountancy - Add default options for export (#37938)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 21:18:15 +02:00
Frédéric FRANCE
a26acf7251
clean code (#37921)
* clean code

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 20:42:02 +02:00
Laurent Destailleur
b15add41f8 Clean CI file not used 2026-04-20 18:50:14 +02:00
Laurent Destailleur
3a0183e3d1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-20 18:45:26 +02:00
Laurent Destailleur
3098031a97 Fix ci 2026-04-20 18:45:09 +02:00
MDW
36b940974a
Qual: Fix CI (PHPStan) (#37945)
* Qual: Fix CI (PHPStan)

# Qual: Fix CI (PHPStan)

Fix two PHPStan messages

* Update html.formticket.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-20 18:39:58 +02:00
Laurent Destailleur
21d3e3ff99 Fix travis 2026-04-20 18:39:37 +02:00
Laurent Destailleur
f3c2eeeb3b Try to fix CI 2026-04-20 18:22:41 +02:00
Laurent Destailleur
e38e0dea81 Debug v24 2026-04-20 18:19:16 +02:00