Commit Graph

3310 Commits

Author SHA1 Message Date
Laurent Destailleur
502badad4b Better error management 2023-03-19 11:32:46 +01:00
Laurent Destailleur
ec43a8626e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-03-18 14:37:48 +01:00
Laurent Destailleur
dc2cb7fbb3 NEW Add dropdown button actions (example on Create button on project) 2023-03-18 14:10:23 +01:00
Regis Houssin
5e9eb6f185 FIX missing $module value if $module not empty and $object->element is
empty
2023-03-18 11:49:57 +01:00
Regis Houssin
5f9ac6cd73 FIX regression 2023-03-18 11:43:45 +01:00
Regis Houssin
86c7bbe33a FIX return $conf->entity if $object->entity is null 2023-03-18 11:30:44 +01:00
Laurent Destailleur
66eb668965
Merge pull request #24164 from frederic34/multidiroutput
use a fonction to get multidir output
2023-03-18 10:56:25 +01:00
Laurent Destailleur
dd885a8e29
Update functions.lib.php 2023-03-18 10:55:05 +01:00
Laurent Destailleur
6e17c0c961 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2023-03-18 10:51:07 +01:00
Laurent Destailleur
b81cb7e963
Merge pull request #24070 from Daviid-P/ignore_localtaxes_if_localtax_type_zero
Ignore localtaxes if localtax1_type or localtax2_type is 0
2023-03-18 10:48:23 +01:00
Laurent Destailleur
91cf865583
Update functions.lib.php 2023-03-18 10:41:07 +01:00
Laurent Destailleur
24381d709f Modify '2' to allow its use 2023-03-18 02:33:25 +01:00
hystepik
4a1dabc3d7 Upload works 2023-03-17 16:43:56 +01:00
Laurent Destailleur
a612c131f7 NEW Add mass action delete on VAT 2023-03-17 16:15:31 +01:00
hystepik
93cb4eb6bf New : uploadfile drag and drop on card 2023-03-16 14:51:15 +01:00
Laurent Destailleur
b2afcad3f5 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-03-16 09:43:30 +01:00
Laurent Destailleur
882857ce08 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-03-16 09:42:01 +01:00
Laurent Destailleur
a3534cdd27 Do not show description if duplicate of title on message views 2023-03-15 11:01:32 +01:00
Laurent Destailleur
a9e8a3ed93 Fix regression 2023-03-15 10:45:16 +01:00
Frédéric FRANCE
bd4d06887c return null instead void 2023-03-14 22:05:16 +01:00
David Pareja Rodriguez
927d0a2fa1 ORDER BY rowid 2023-03-13 11:16:37 +01:00
Laurent Destailleur
3300905599 Fix add a protection against bad param of dol_eval 2023-03-13 11:15:46 +01:00
Laurent Destailleur
022e06f4f3 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-03-13 10:33:47 +01:00
Laurent Destailleur
80678cfcb9 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-03-13 10:30:37 +01:00
Laurent Destailleur
ade0592a9b Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-03-13 10:23:52 +01:00
Laurent Destailleur
04c6cb22a1 Fix universal filter for != 2023-03-13 10:22:40 +01:00
Laurent Destailleur
e7192e9814 Fix navigation 2023-03-11 11:39:08 +01:00
Laurent Destailleur
f287106ef2 Doc 2023-03-11 01:31:40 +01:00
noec764
353d451e5a
Correct dolForgeCriteriaCallback 2023-03-10 15:48:26 +01:00
Frédéric FRANCE
145880bc92 try to use function 2023-03-08 21:52:50 +01:00
Frédéric FRANCE
e4492da46f use a fonction to get multidir output 2023-03-08 21:22:24 +01:00
Frédéric FRANCE
24f77465cc use a fonction to get multidir output 2023-03-08 21:16:37 +01:00
atm-lena
01e461546e FIX dol_textishtml() function 2023-03-08 14:28:43 +01:00
Laurent Destailleur
bd066b3211 Debug modulebuilder 2023-03-07 15:51:27 +01:00
Laurent Destailleur
9cbbfc9cbc
Merge pull request #24103 from atm-greg/autofocus_field_working_on_cards
Autofocus field working on cards
2023-03-06 12:30:58 +01:00
Laurent Destailleur
4616d2b9e6 Clean code 2023-03-03 18:02:56 +01:00
atm-greg
ee6b6e2190 Merge branch '14.0_autofocus_working_on_cards' of github.com:atm-greg/dolibarr into develop 2023-03-03 09:54:42 +01:00
Laurent Destailleur
aa3556e676 Look and feel v18 2023-03-01 16:48:35 +01:00
atm-greg
3694179f71 fix if to enable behaviour on cards 2023-03-01 11:15:26 +01:00
Laurent Destailleur
6fc473bd71 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-28 19:16:29 +01:00
Laurent Destailleur
c235b5c5a0 Fix remove a bad error_log that was sending emails 2023-02-28 18:43:26 +01:00
David Pareja Rodriguez
590373a620 Forgot to loop on the results 2023-02-28 13:33:52 +01:00
David Pareja Rodriguez
b191330a79 Ignore localtaxes if localtax1_type or localtax2_type is 0 2023-02-28 13:24:11 +01:00
Laurent Destailleur
b0b1e8d327 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-27 03:40:12 +01:00
Laurent Destailleur
d97725173b Fix sql error 2023-02-26 12:45:13 +01:00
Laurent Destailleur
ed5c890769 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-25 20:12:48 +01:00
Laurent Destailleur
cbb6ca071a Fix #yogosha15157 2023-02-25 19:51:05 +01:00
Laurent Destailleur
6a68d3f6cd Fix look and feel v17 2023-02-25 01:16:39 +01:00
Frédéric FRANCE
3adc7dd2e9 set errors from object 2023-02-24 16:45:07 +01:00
Laurent Destailleur
a64ed59e18 Merge 2023-02-23 22:25:56 +01:00
Laurent Destailleur
e5341c3b06
Merge pull request #24016 from atm-gauthier/fix_missing_w_option_in_dol_print_date
FIX : missing w option in dol_print_date
2023-02-23 20:27:28 +01:00
Laurent Destailleur
9216a6f870 FIX Bad value for phone in substitutions keys 2023-02-23 13:53:37 +01:00
Laurent Destailleur
6da5df45b2 FIX Bad value for phone in substitutions keys 2023-02-23 13:21:45 +01:00
Gauthier PC portable 024
30c76623e1 FIX : missing w option in dol_print_date 2023-02-23 10:46:20 +01:00
Frédéric FRANCE
ee95ac237c
Update functions.lib.php 2023-02-22 18:21:58 +01:00
Frédéric FRANCE
d9fda122ff
utf8_decode is deprecated 2023-02-22 18:14:44 +01:00
Marc de Lima Lucio
087af4f300 FIX: banner: status was not displayed if status field is not called 'status' + error if getLibStatut method not implemented 2023-02-22 12:26:56 +01:00
Laurent Destailleur
00032ac970 Fix set a max length for UMR 2023-02-22 01:35:15 +01:00
Laurent Destailleur
4df225a8e4 Debug v17 2023-02-21 20:51:26 +01:00
Laurent Destailleur
44da230012 Clean code 2023-02-21 12:57:36 +01:00
Laurent Destailleur
341a9ad283 NEW Better responsive for mass actions 2023-02-20 20:17:19 +01:00
Laurent Destailleur
870ac42082 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-20 16:20:49 +01:00
Laurent Destailleur
196184ca3f Debug v17 2023-02-20 01:12:15 +01:00
Laurent Destailleur
d89ccaeaad Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-19 18:18:38 +01:00
Laurent Destailleur
93927cceff Debug v17 2023-02-19 16:12:28 +01:00
Laurent Destailleur
30c0b5e60e Debug Look and feel v17 2023-02-19 12:42:04 +01:00
Laurent Destailleur
17b2267397 Debug Look and feel v17 2023-02-19 12:39:00 +01:00
Laurent Destailleur
fdcce8d263 Add nonce on javascript tags 2023-02-18 15:10:05 +01:00
Laurent Destailleur
0b4cacd291 Use dolChmod 2023-02-17 20:01:53 +01:00
Laurent Destailleur
27552f6706 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-16 02:27:44 +01:00
Laurent Destailleur
ec706fa13e CSS 2023-02-16 00:42:19 +01:00
Laurent Destailleur
f5adef1ffb Start to intrroduce type "restricthtmlnolink" 2023-02-13 19:48:04 +01:00
Laurent Destailleur
19bfb021e1 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-13 13:51:35 +01:00
Laurent Destailleur
183ae35ab7 Fix #huntr10e423cd-7051-43fd-b736-4e18650d0172 2023-02-13 12:57:35 +01:00
Laurent Destailleur
0d557d1afc Debug v17 2023-02-11 12:28:23 +01:00
Laurent Destailleur
d37c5ed6b1 Debug v17 2023-02-10 14:18:37 +01:00
Laurent Destailleur
5ef4aa78e9 Fix filter using != 2023-02-09 23:16:34 +01:00
Laurent Destailleur
2a83487c46 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-09 19:37:33 +01:00
Laurent Destailleur
e9ce09f9d1 Doc 2023-02-09 18:50:22 +01:00
Laurent Destailleur
1873371616 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-09 18:08:23 +01:00
Laurent Destailleur
393f3a9480
Merge pull request #23811 from evarisk-theo/FIX-clicktodial-backtopage
FIX: fatal error on clicktodial backtopage
2023-02-09 15:40:28 +01:00
Laurent Destailleur
e71ad2e23b Maxi debug of OAuth module 2023-02-07 20:12:53 +01:00
Laurent Destailleur
cd2e82f4a5 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-07 00:22:27 +01:00
Laurent Destailleur
95b306ba84 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-07 00:19:54 +01:00
Laurent Destailleur
3dc8937ad3 Provide an object for computed extrafields 2023-02-07 00:11:33 +01:00
Théo David
394c3f847c FIX clicktodial backtopage 2023-02-06 17:03:51 +01:00
Laurent Destailleur
fe35f5ec28 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-06 14:21:25 +01:00
Laurent Destailleur
437539ecb9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-02-05 22:50:12 +01:00
Laurent Destailleur
631168f56c NEW Collapse/Expand separators supported in edit and create mode 2023-02-05 22:37:24 +01:00
Laurent Destailleur
70c6ce9bfb Enhance error catching on dol_eval 2023-02-04 15:21:32 +01:00
Rept0id
3cc415af47 Updated function dol_eval, added error handling
- There were cases that dol_eval() would break the whole system.

-That was happening in case of using a new version plugin on an old version dolibarr. New plugin validates through isModActive() instead of $conf->moduleName->enabled. Even if you were deactivating the plugin, or totally delete it, the records were still on database for menu, so there were no obvious solution. This update adds a backwards compatibility, makes doli more stable and counterparts the use of eval, making it more safe.

- Use of eval is not bad, as well there are techniques in any project that are project-related useful and smart. For example, Linux kernel uses GOTO. But in such cases, there needs to be a safety net.

-I found out this after a lot of trouble, I hope this small fix will save other developers.

👍
2023-02-04 15:17:51 +01:00
Laurent Destailleur
53b64feb7b
Merge pull request #23760 from rept0id/develop
Fix : Updated function dol_eval, added error handling
2023-02-04 15:16:38 +01:00
Laurent Destailleur
1f195a3be5 Fix #yogosha14963 2023-02-04 14:04:25 +01:00
Rept0id
fb655a0b0a Updated function dol_eval, added error handling
- There were cases that dol_eval() would break the whole system.

-That was happening in case of using a new version plugin on an old version dolibarr. New plugin validates through isModActive() instead of $conf->moduleName->enabled. Even if you were deactivating the plugin, or totally delete it, the records were still on database for menu, so there were no obvious solution. This update adds a backwards compatibility, makes doli more stable and counterparts the use of eval, making it more safe.

- Use of eval is not bad, as well there are techniques in any project that are project-related useful and smart. For example, Linux kernel uses GOTO. But in such cases, there needs to be a safety net.

-I found out this after a lot of trouble, I hope this small fix will save other developers.

👍
2023-02-02 16:50:50 +02:00
Laurent Destailleur
a6f6192d78 Fix warnings 2023-02-01 11:20:52 +01:00
Laurent Destailleur
9fb08b5a0a Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-31 21:28:59 +01:00
Laurent Destailleur
36cf05318b Debug v17 2023-01-31 21:17:06 +01:00
Laurent Destailleur
a6daba61ce Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-26 02:32:08 +01:00
Laurent Destailleur
dbfa172e19 Debug view of thumbs for svg 2023-01-25 17:39:21 +01:00
Laurent Destailleur
faa44379e8 Debug view of thumbs for svg 2023-01-25 17:38:04 +01:00