Commit Graph

7619 Commits

Author SHA1 Message Date
Laurent Destailleur
54d1250887 Merge + Clean duplicate trigger code. We must use the context. 2023-03-02 02:19:24 +01:00
Laurent Destailleur
f6271d83db Debug v17 2023-03-01 19:28:32 +01:00
Laurent Destailleur
f740a039f7 Debug v17 2023-03-01 12:34:01 +01:00
Alexandre SPANGARO
1b77abcb8a Update official French list of legal form update in september 2022 2023-02-28 00:00:54 +01:00
Laurent Destailleur
14d6c5fbdb Add missing column for the bank account for SEPA payments 2023-02-27 15:02:01 +01:00
Alexandre Janniaux
3c883c4b31 NEW inc.php: handle parameters from argv
This commit adds support for --help and --config to provide a different
config file when running upgrade.php from commandline. The argv array
is patched afterwards as if the options were never given so that it
stays transparent for the code path that are not aware of those
arguments.

The intention behind is incrementally move the usage of argc/argv to
this location and force help/usage from there, in particular for
upgrading.

The rationale for the --config addition is to be able to provide a
different path for conf.php when multiple dolibarr instance are using
the same readonly htdocs folder, which is already possible by modifying
the `include_path` from PHP for the htdocs/ directory but not for the
htdocs/install directory since relative paths are used to fetch the
config file. Since the use-case is to upgrade/migrate a Dolibarr
instance from CLI, it makes sense to be able to select for which
instance (and database parameters) the upgrade should take place.
2023-02-26 19:32:20 +01:00
Laurent Destailleur
62c6178269 Work on SEPA Stripe Payments 2023-02-24 23:15:54 +01:00
Laurent Destailleur
fdf374fdee Add field to protect a file by a password 2023-02-24 11:15:17 +01:00
FLIO
29e56ab3cf fix (qodana) edit error and merge develop to be update 2023-02-21 17:51:24 +01:00
Laurent Destailleur
44da230012 Clean code 2023-02-21 12:57:36 +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
8a283f4de4 Fix missing extraparams column 2023-02-19 17:12:13 +01:00
Laurent Destailleur
0b4cacd291 Use dolChmod 2023-02-17 20:01:53 +01:00
Frédéric FRANCE
70d79f0d3f Update llx_c_socialnetworks.sql 2023-02-16 22:17:52 +01:00
Laurent Destailleur
ebca6e5c0b Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-15 20:47:45 +01:00
Laurent Destailleur
c31eec1d94 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-15 20:39:33 +01:00
Laurent Destailleur
94002bf85c Fix sql 2023-02-15 20:38:38 +01:00
Laurent Destailleur
4aed6c00cb Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-15 20:19:00 +01:00
Laurent Destailleur
c259ca09b8 Enhance script to repair database when stock by lot differ from stock 2023-02-15 20:14:48 +01:00
Laurent Destailleur
a0c53bc0bc Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-14 21:04:44 +01:00
FLIO
156922fc51 Fix (qodana) Incompatible return type 2023-02-14 14:09:56 +01:00
Laurent Destailleur
701c5b915f Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-13 14:01:32 +01:00
Laurent Destailleur
239f7a1eb0 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-02-13 13:58:03 +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
954906ec48 Fix $dolibarr_main_restrict_os_commands applies also to antivir command 2023-02-11 16:05:40 +01:00
Benjamin Sonntag
ba1d3c9d8c Update llx_accounting_account_fr.sql
If you import this by hand, a key violation occurs. 
the 3352 account is named 3552, which collides which the 3552 below.
I propose to fix that easily ;)
2023-02-10 21:29:19 +01:00
Benjamin Sonntag
0115a63107 Update llx_accounting_account_fr.sql
If you import this by hand, a key violation occurs. 
the 3352 account is named 3552, which collides which the 3552 below.
I propose to fix that easily ;)
2023-02-10 19:49:51 +01:00
Laurent Destailleur
23b4e999fb Better sql for unique index 2023-02-10 19:44: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
e5de31a7de Fix size of ref 2023-02-09 18:23:19 +01:00
Laurent Destailleur
693bdd437a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-09 18:01:25 +01:00
Laurent Destailleur
6fb24bfcc7 Add missing index 2023-02-09 18:00:25 +01:00
Florian HENRY
8bd6f070aa FIX: product ref fourn same size in supplier order/invoice as in product price fourn 2023-02-09 17:22:45 +01:00
Laurent Destailleur
69b690c45e Merge pull request #23817 from elcf/develop
Added key name to unique constraint
2023-02-09 11:36:41 -04:00
Laurent Destailleur
b65e3e4014 Fix all indexes must be named 2023-02-09 15:38:35 +01:00
Esteban L. Castro
0e301988a4 Added key name to unique constraint 2023-02-09 15:31:05 +01:00
Laurent Destailleur
c96513ac5d Merge pull request #23817 from elcf/develop
Added key name to unique constraint
2023-02-09 15:29:07 +01:00
Laurent Destailleur
e82bf26e7a Merge pull request #23832 from dolibit-ut/patch-656
Update llx_c_availability.sql
2023-02-09 15:08:17 +01:00
Laurent Destailleur
704faf734a NEW Auto activate some modules on install (export/import/wysiwyg editor) 2023-02-09 00:47:33 +01:00
UT from dolibit
81400b1fc5 Update llx_c_availability.sql
add 1-5 days
2023-02-08 11:14:53 +01:00
Esteban L. Castro
614a9c2a1e Added key name to unique constraint 2023-02-06 18:29:50 -04: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
1be5145148 NEW Add more zip, town, country for owner of a bank account 2023-02-02 16:04:16 +01:00
Laurent Destailleur
be63736f87 Enhance repair by removing some bad named indexes 2023-02-02 13:03:30 +01:00
Laurent Destailleur
c78e2b11f9 Complete the repair to remove orphelins states and regions 2023-02-02 13:03:18 +01:00
Laurent Destailleur
088d783e03 Fix all indexes must have a name 2023-02-02 12:59:05 +01:00
Laurent Destailleur
fc64d78247 NEW The upgrade process can be done by creating a file upgrade.unlock 2023-02-02 12:58:12 +01:00
Laurent Destailleur
8f0f9af94a Enhance repair by removing some bad named indexes 2023-02-02 12:27:43 +01:00
Laurent Destailleur
2aa6868f13 Complete the repair to remove orphelins states and regions 2023-02-02 12:17:17 +01:00
Laurent Destailleur
40852a124d Fix doc 2023-02-02 12:15:22 +01:00