ldestailleur
1ddf739183
Fix CI
2025-08-09 13:56:11 +02:00
ldestailleur
86f5db7aa9
Fix better comaptibilty for extrafield email/mail
2025-08-05 00:45:00 +02:00
ldestailleur
f0eaae6a1d
Debug v22
2025-05-05 17:09:24 +02:00
ldestailleur
0e443bd76e
Debug star extrafields (set initial highlight in php instead of js)
2025-05-05 13:40:41 +02:00
Florian Mortgat
9d0d8f7ec5
Fix/140/t250062/extrafields multicompany data loss ( #34022 )
...
* insertExtrafields(): simplify by returning 0 early if array_options is empty
* insertExtrafields(): simplify by using local variables $newValue and $attributeType
* insertExtrafields(): refactor by grouping the empty value cases for geodatabase-type extrafields
* insertExtrafields(): refactor by using a static mapping of geodata types to their ST_* db function on ExtraField class
* FIX: when an object that is shared across multiple entities already has some extrafields from another entity that are not reachable from the current entity, their values are lost
* Compliance with
- phan ( Closure Closure($key) has no declared or inferred parameter type for $key)
- php-stan (Error: Property ExtraFields::$geoDataTypes has no type specified)
2025-05-04 18:42:01 +02:00
Lucas Marcouiller
0ea9108fdd
Fix ai prompt function for extrafields to match step 2 todo ( #34032 )
...
* Fix ai prompt function to match step 2 todo
* add doc comment
* fix CI
2025-05-04 10:50:01 +02:00
ldestailleur
cde72d84a0
Refactoring code for better name and fix star extrafield on thirdparty
2025-04-26 03:00:53 +02:00
Yannis Hoareau
ebdf69ca69
Fix extrafields warning ( #33761 )
2025-04-08 15:22:48 +02:00
Vaadasch
87c3576a86
BUG duration minutes ( #33767 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-04-08 15:21:38 +02:00
Frédéric FRANCE
275a994110
do not force reload extrafields if not needed ( #33716 )
...
* Update extrafields.class.php
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-04-04 15:32:42 +02:00
Vaadasch
c855778dd4
FIX extrafields.class.php, working filter of sellist and chkbxlst on list.php ( #33628 )
...
* FIX extrafields.class.php, working filter of sellist and chkbxlst on list.php
* Update extrafields.class.php, replace indent spaces with tabs
2025-03-28 15:11:12 +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
461cf5616e
Clean code. WIP To manage permission on extrafields.
2025-03-18 14:55:37 +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
ldestailleur
abcd0d2cf2
Qual: Clean code related to categories
2025-02-23 19:42:49 +01:00
ldestailleur
1eb73bac6c
Debug v22 - Use of $SEL$ was broken.
2025-02-21 17:52:54 +01:00
ldestailleur
0f7936220a
Clean code and tooltip on using field in extrafields definition
2025-02-21 13:28:32 +01:00
Frédéric FRANCE
d11a8884f6
Merge branch 'develop' into extrafields_object_filter
2025-02-18 19:44:50 +01:00
Laurent Destailleur (aka Eldy)
461a576669
Close #32966
2025-02-10 12:42:41 +01:00
Laurent Destailleur (aka Eldy)
2bc3b872f2
FIX #32880 - Tags are using a special rendering.
2025-02-05 17:50:53 +01:00
Laurent Destailleur (aka Eldy)
12da2ba814
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-01-30 13:12:44 +01:00
Regis Houssin
7bd2bb6efc
FIX DROP INDEX IF EXISTS is not possible !
2025-01-29 09:35:37 +01:00
Frédéric FRANCE
786a6571f4
Merge branch 'develop' into extrafields_object_filter
2024-12-19 20:36:32 +01:00
Laurent Destailleur (aka Eldy)
32924c1811
Debug v21
2024-12-12 14:59:47 +01:00
Frédéric FRANCE
9773604ebf
Merge branch 'develop' into extrafields_object_filter
2024-12-08 09:45:00 +01:00
Frédéric France
2e18d20a3b
wip
2024-12-08 09:36:11 +01:00
Frédéric France
a45494099f
wip
2024-12-08 09:29:38 +01:00
Frédéric FRANCE
8037dc3b96
fix
2024-12-05 21:46:31 +01:00
MDW
d48a2e907f
Qual: Fix phan notices (mostly in box files)
...
# Qual: Fix phan notices (mostly in box files)
Fix several phan notices reported in box files and a few extra cases.
2024-12-04 23:41:04 +01:00
Laurent Destailleur (aka Eldy)
4e6d3217bc
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-12-02 01:58:06 +01:00
Laurent Destailleur (aka Eldy)
5c321cc678
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-12-02 01:52:08 +01:00
Joachim Kueter
18775c06ea
FIX #31890 store empty line extrafields ( #32152 )
...
* FIX #31890 store empty line extrafields
If a line extrafield had originally some contents, after deleting it and submitting it as empty, the extrafield was not stored but the original contents kept
* corrected whitespace
2024-11-30 13:06:36 +01:00
Laurent Destailleur (aka Eldy)
07536ea01a
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-11-29 15:25:49 +01:00
Frédéric FRANCE
82f54e707e
Update extrafields.class.php ( #32135 )
2024-11-29 14:45:26 +01:00
HENRY Florian
96d60b92f4
fix: when create separate extarfields, if already exists always return false error ( #32103 )
2024-11-27 22:39:52 +01:00
Frédéric France
02937ac100
fix phpstan
2024-11-27 18:25:18 +01:00
Frédéric FRANCE
95fadde61b
Merge branch 'develop' into extrafields_object_filter
2024-11-25 21:43:27 +01:00
Mohamed DAOUD
914ed1b18c
Fix #30766 Extra field Can Always Be Edited ( #31876 )
...
* fix alwayseditable
* Update extrafields.class.php
* Update extrafields.class.php
* Update extrafields.class.php
* enhance fix alwayseditable
* fix phan
2024-11-20 21:40:28 +01:00
Laurent Destailleur
df6ed90eed
Try better fix for #32009
2024-11-20 21:22:34 +01:00
Frédéric FRANCE
0a9eb9008a
fix extrafields when object doesnt have const STATUS_DRAFT ( #32009 )
2024-11-20 20:59:03 +01:00
Frédéric FRANCE
b7816bf648
fix phpstan ( #32010 )
...
* fix phpstan
* Update extrafields_view.tpl.php
* Update extrafields.class.php
2024-11-20 20:56:16 +01:00
Frédéric France
af925191c9
test
2024-11-19 23:37:10 +01:00
Frédéric France
ad8a5c9054
Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter
2024-11-19 21:26:20 +01:00
Mohamed DAOUD
2f6e814d6f
Enhance the behavior of stars extrafields with the canAlwaysBeEdited parameter ( #31978 )
...
* enhance stars extrafields and alwayseditable
* add comment
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-11-18 21:24:41 +01:00
omogenot
48f0f55b7c
NEW: Allow multiple extrafields deletion ( #31956 )
...
* Allow multiple extrafields deletion
If no element type parameter is given to the delete_label function, all occurences of the same extra field name are deleted at once. This simplifies the de-installation of a module that would have created multiple extra fields accros several element types.
* Update extrafields.class.php
Remove empty line whitespace
2024-11-16 20:13:40 +01:00
Frédéric FRANCE
66374f2859
Merge branch 'develop' into extrafields_object_filter
2024-11-09 11:46:45 +01:00
Mohamed DAOUD
ae7c15d180
Fix function call to display star extra fields by passing object as parameter ( #31664 )
...
* fix stars extrafield regression
* Update extrafields_list_print_fields.tpl.php
* fix phan
* Update extrafields_list_print_fields.tpl.php
2024-11-01 10:47:16 +01:00
Laurent Destailleur
e6f1d4835f
Clean sql code
2024-10-29 02:58:20 +01:00
Benoît PASCAL
ff9e2f3ce9
NEW: add duration extrafields ( #31595 )
...
* new: add duration extrafields
* style: fix style
* ci: fix precommit config
* style: run cs fixer
* ci: adapt type to fit with php-stan
* ci: adapt type to fit with php-stan
* ci: adapt type to fit with php-stan
---------
Co-authored-by: Benoît PASCAL <contact@p-ben.com >
2024-10-28 18:33:11 +01:00
Frédéric France
259ce6020d
Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter
2024-10-26 18:27:45 +02:00