Commit Graph

3323 Commits

Author SHA1 Message Date
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
Laurent Destailleur
5429882147 Debug v17 2023-01-24 18:23:46 +01:00
Laurent Destailleur
5b5a3547e2 Debug v17 2023-01-24 13:00:09 +01:00
Laurent Destailleur
1513c46c77 Doxygen 2023-01-22 19:25:37 +01:00
Laurent Destailleur
f7302232df Fix rounding 2023-01-20 19:34:26 +01:00
Laurent Destailleur
7668233d0c NEW Tooltip to explain how to add a photo on product 2023-01-17 10:22:23 +01:00
Laurent Destailleur
bd8a48b6dd css 2023-01-15 01:45:54 +01:00
Laurent Destailleur
97061a9a92 NEW Use a cache file for external RSS in calendar 2023-01-13 17:17:23 +01:00
Laurent Destailleur
8eb89e0ad1 Remove merged feature with too many pb:
1=Not yet implemented everywhere.
2=Seems a duplicate info with the picto warning when late (so in past
not done)
3=Is also a duplicate with the existing css event-future, event-past,
event-current
4=It overwrites to choice done by the theme
5=Implementation is wrong, it must use css and not #background

Use CSS instead
2023-01-13 12:14:20 +01:00
Laurent Destailleur
8ced29cb00 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-11 21:32:41 +01:00
Laurent Destailleur
4f350d878c Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-01-11 21:07:43 +01:00
Laurent Destailleur
2da8c1d9bc Fix rounding 2023-01-10 11:33:17 +01:00
atm-florian
36c51de284 Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW_18_helper_functions_for_dates 2023-01-10 11:06:29 +01:00
Laurent Destailleur
2f3d87f27a Add option MAIN_SALETAX_AUTOSWITCH_I_CS_FOR_INDIA for India 2023-01-09 13:44:29 +01:00
Laurent Destailleur
7ca337cf8b Add option MAIN_SALETAX_AUTOSWITCH_I_CS_FOR_INDIA for India 2023-01-09 13:40:02 +01:00
Laurent Destailleur
de681fee07 Comment in english 2023-01-09 13:07:55 +01:00
Laurent Destailleur
75d9793145 Fix virtual card feature 2023-01-07 14:34:30 +01:00
Laurent Destailleur
00740ca267 WIP Work on public virtual card 2023-01-07 04:42:24 +01:00
Laurent Destailleur
37528e6544 Add CRC to currency with symbol before amount 2023-01-04 09:43:26 +01:00
Laurent Destailleur
4ea81b4a96 Fix syntax error 2023-01-04 09:42:39 +01:00
Laurent Destailleur
23865e5a4b
Merge pull request #23325 from randallmoraes/patch-6
NEW Add CRC for currency symbol before amount
2023-01-04 08:35:39 +01:00
Laurent Destailleur
ee564ac3bb
Merge pull request #23391 from JavierNR/feature/intervention_url
NEW create email substitution variable __ONLINE_SIGN_FICHINTER_URL__
2023-01-04 08:22:14 +01:00
Laurent Destailleur
67144020c6 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-02 20:24:13 +01:00
Laurent Destailleur
d62fb2af64 css 2023-01-02 20:15:34 +01:00
Javier Núñez
4ddf0b27dc NEW create email substitution variable for intervention signature URL 2023-01-02 18:15:33 +01:00
Laurent Destailleur
2970f039dd Fix warning 2022-12-31 16:52:23 +01:00
Laurent Destailleur
65a2093cd1 Fix regression 2022-12-31 16:50:30 +01:00
Laurent Destailleur
8774f4f092 Fix warning qodana 2022-12-31 13:44:11 +01:00
Laurent Destailleur
c593d990e4 Clean deprecated code for adodbtime 2022-12-30 18:55:10 +01:00
Laurent Destailleur
24e3e278ed Fix warning 2022-12-30 14:24:39 +01:00
Laurent Destailleur
e8ea213503 Fix warning 2022-12-30 13:51:58 +01:00
Laurent Destailleur
9d777497db NEW dol_sort_array can sort on alphabetical order even if val is num 2022-12-29 22:07:26 +01:00
Laurent Destailleur
5997b916d8 Enhance qodana rules 2022-12-28 03:50:19 +01:00
Laurent Destailleur
a4c1ae1b82 Fix permission 2022-12-27 11:54:11 +01:00
Laurent Destailleur
886baf6aa2 Fix permission 2022-12-27 01:41:20 +01:00
Laurent Destailleur
7c7f0a3322 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-26 23:59:45 +01:00
Laurent Destailleur
5a26eadfea Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-26 23:59:19 +01:00
Laurent Destailleur
08b81203f0 Debug v17 2022-12-26 13:55:29 +01:00
Laurent Destailleur
1368128743 Debug v17 2022-12-26 13:00:22 +01:00
Randall Mora
92d9d31b8c
Update functions.lib.php
Agrega el tipo de moneda CRC (colones Costa Rica) para que se muestre al incio como simbolo de moneda.
Adds the CRC currency (Costa Rican colones) so that it is displayed at the beginning as a currency symbol.
2022-12-23 13:18:04 -06:00
Frédéric FRANCE
a08d84b995 fix code 2022-12-23 14:11:13 +01:00
Laurent Destailleur
46db4b51d1 FIX Debug v17 2022-12-22 03:08:41 +01:00
Laurent Destailleur
44f1699683 FIX Debug v17 2022-12-22 03:06:53 +01:00
Laurent Destailleur
91f725447a
Merge pull request #23305 from lamrani002/kanbanBomList
New mode view "Kanban" for BOM list
2022-12-21 20:46:05 +01:00
Laurent Destailleur
41f1c20d4c Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-20 23:25:59 +01:00
Laurent Destailleur
24fcb2ff16 The deprecated method escapeunderscore() of database handlers has been
removed. You must use escapeforlike instead.
2022-12-17 13:06:22 +01:00
Laurent Destailleur
e32b7789e5 Merge 2022-12-17 11:44:25 +01:00
Charlène Benke
4863b0ff4e
FIX : duplicate tabs on external module with 5 params 2022-12-15 09:22:36 +01:00
Laurent Destailleur
50c76110bb Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2022-12-14 11:19:12 +01:00
Laurent Destailleur
62b0447c7b Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-12-14 11:02:23 +01:00
Laurent Destailleur
64de591770 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-12-14 10:20:47 +01:00
Laurent Destailleur
a673bdba15 Debug v17, on supplier, default vat rate is sale if no price found 2022-12-13 20:06:56 +01:00
Laurent Destailleur
5b31882ce3
Merge pull request #23167 from Hystepik/develop#2
Fix : php 8.1 warnings
2022-12-10 16:15:40 +01:00
Laurent Destailleur
a07193ef4b Fix php8 2022-12-09 15:57:18 +01:00
hystepik
d8ce58811a Fix : php 8.1 warnings 2022-12-09 14:27:43 +01:00
Laurent Destailleur
e1e9ff8cda Fix debug v17 2022-12-08 19:34:16 +01:00
Lamrani Abdel
bf508254f9 Merge branch 'develop' of github.com:lamrani002/dolibarr into develop 2022-12-08 16:29:28 +01:00
Lamrani Abdel
fd1930a7aa Merge branch 'develop' of github.com:lamrani002/dolibarr into develop 2022-12-08 16:18:58 +01:00
Alexandre SPANGARO
a107c81bf1 Merge branch '14.0' into 14p42 2022-12-06 04:53:10 +01:00
Alexandre SPANGARO
89b10b0dfb Fix css 2022-12-06 04:48:04 +01:00
Laurent Destailleur
57371302be FIx #yogosha13798 2022-12-05 15:05:40 +01:00
Laurent Destailleur
a34f69012e Debug v17 2022-12-04 13:37:13 +01:00
Laurent Destailleur
24d7a72b06 Fix case of MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS is 'none' 2022-12-04 12:17:19 +01:00
Laurent Destailleur
21f1dcc3de Complete substitution with __NOW_TMS__ 2022-12-01 18:58:45 +01:00
Laurent Destailleur
5026de62f7 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-01 17:48:29 +01:00
Laurent Destailleur
9b5fc20308 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-12-01 17:46:13 +01:00
Laurent Destailleur
7627bba443 Debug v17 2022-12-01 17:28:26 +01:00
Eric Seigne
9a2ce53517 add stamp and signature in pictowithouttext list 2022-11-30 23:41:32 +01:00
Frédéric FRANCE
c9114bd687
add parameter for hook 2022-11-29 12:08:09 +01:00
Laurent Destailleur
dc0d9e1b94 Fix regression 2022-11-28 19:05:51 +01:00
Laurent Destailleur
5cfe40a4bc FIX Can use the WAF of HTML content (dol_htmlwithnojs) for output too 2022-11-28 18:42:59 +01:00
Laurent Destailleur
ba4e5ef245 Enhance phpunit 2022-11-28 16:54:34 +01:00
Laurent Destailleur
75de251402 FIX #yogosha13687 2022-11-28 15:37:38 +01:00
Laurent Destailleur
c62c7e3805 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/bookkeeping/balance.php
	htdocs/accountancy/bookkeeping/list.php
	htdocs/accountancy/bookkeeping/listbyaccount.php
	htdocs/accountancy/bookkeeping/listbysubaccount.php
2022-11-26 01:43:09 +01:00
Laurent Destailleur
b231bcb64a Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
Conflicts:
	htdocs/accountancy/bookkeeping/balance.php
	htdocs/accountancy/bookkeeping/list.php
	htdocs/accountancy/bookkeeping/listbyaccount.php
	htdocs/accountancy/bookkeeping/listbysubaccount.php
2022-11-26 01:21:51 +01:00
Laurent Destailleur
85e9ac1e40 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-11-26 01:13:58 +01:00
Laurent Destailleur
1ec862b491
Merge pull request #22982 from inovea-conseil/fix_19877
FIX#19877
2022-11-25 23:41:18 +01:00
Mathieu
023bc7d20e FIX#19877 2022-11-25 22:29:44 +01:00
Laurent Destailleur
6475c9320d
Merge pull request #22968 from Hystepik/develop#3
fix : php 8.1 warnings
2022-11-25 16:28:14 +01:00
hystepik
efc1697c62 fix : php8.1 warnings 2022-11-25 15:34:38 +01:00
Laurent Destailleur
0ccca81f12 Debug v17 - Finish move of type of event into actioncomm 2022-11-25 12:11:51 +01:00
Laurent Destailleur
03e8e49465 Fix responsive 2022-11-23 20:31:26 +01:00
Laurent Destailleur
4c02652d87 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-11-23 12:07:42 +01:00
Laurent Destailleur
207f56ff64 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-11-23 12:06:21 +01:00
Laurent Destailleur
2f0880020c Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-11-23 12:02:25 +01:00
Florian HENRY
85aa9f7481 FIX: base64_decode shloud be forbiden in dol_eval 2022-11-16 09:32:14 +01:00
Anthony Berton
7b106e43d7 FIX - php 8 warning function lib 2022-11-12 19:35:01 +01:00
Laurent Destailleur
e466ba0d3a Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2022-11-12 00:39:21 +01:00