Commit Graph

118457 Commits

Author SHA1 Message Date
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
b136004eaf
Merge pull request #23843 from FliyFly/qodanareturn
Fix (qodana)
2023-02-13 18:26:03 +01:00
Laurent Destailleur
66369567b3
Merge pull request #23883 from frederic34/knowledgemgmt
add ajax tooltip on knowledge record
2023-02-13 18:21:09 +01:00
Laurent Destailleur
e6a0240582
Merge pull request #23886 from frederic34/patch-7
fix warning
2023-02-13 18:19:02 +01:00
Laurent Destailleur
cf7770262a
Merge pull request #23884 from frederic34/patch-4
missing translations
2023-02-13 18:17:23 +01:00
Laurent Destailleur
49d823ad4f
Merge pull request #23885 from dolibit-ut/patch-658
Update hookmanager.class.php
2023-02-13 18:17:06 +01:00
Laurent Destailleur
ecdab712db
Merge pull request #23887 from frederic34/patch-12
fix warnings
2023-02-13 18:15:29 +01:00
Laurent Destailleur
4563388c8a
Merge pull request #23888 from frederic34/patch-13
fix warnings
2023-02-13 18:15:20 +01:00
Laurent Destailleur
71cba40ab5
Merge pull request #23892 from jyhere/jyhere-patch-extrafield-visibility-5
[FIX] extrafield with visibility '5' update bug
2023-02-13 18:14:57 +01:00
Laurent Destailleur
0f294d3d8b
Merge pull request #23891 from bloxera/new_helplink_de
NEW: Possibility to link to German pages in help
2023-02-13 18:13:51 +01:00
Laurent Destailleur
fb81df794f
Merge pull request #23890 from Dolibarr/dependabot/github_actions/JetBrains/qodana-action-2022.3.3
Bump JetBrains/qodana-action from 2022.3.2 to 2022.3.3
2023-02-13 18:12:52 +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
c1ee02c510 Fix bad param 2023-02-13 13:33:48 +01:00
Laurent Destailleur
4a49ca86c9 Fix #huntr88841fe0-e332-49ce-a46b-36d4f091fd89 2023-02-13 13:31:39 +01:00
Laurent Destailleur
cccd7494df Fix #huntr88841fe0-e332-49ce-a46b-36d4f091fd89 2023-02-13 13:29:30 +01:00
Frédéric FRANCE
1b2ac98e37 Merge remote-tracking branch 'upstream/develop' into knowledgemgmt 2023-02-13 13:28:35 +01:00
Frédéric FRANCE
08838d4deb clean code 2023-02-13 13:16:27 +01:00
Laurent Destailleur
61c734a6e3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-02-13 12:58:26 +01:00
Laurent Destailleur
183ae35ab7 Fix #huntr10e423cd-7051-43fd-b736-4e18650d0172 2023-02-13 12:57:35 +01:00
Laurent Destailleur
779a134022 Fix call of antivirus must be done using utils->executeCLI 2023-02-13 12:31:37 +01:00
jyhere
a34703532f
[FIX] extrafield with visibility '5' update bug
When using a visibility = 5 (not editable extrafield, but visible on card and list), updating the object will result in an empty value in database for this extrafield.
2023-02-13 10:37:36 +01:00
priojk
c90e509445 NEW: Possibility to link to German pages in help 2023-02-13 10:09:48 +01:00
dependabot[bot]
30b81e2ac9
Bump JetBrains/qodana-action from 2022.3.2 to 2022.3.3
Bumps [JetBrains/qodana-action](https://github.com/JetBrains/qodana-action) from 2022.3.2 to 2022.3.3.
- [Release notes](https://github.com/JetBrains/qodana-action/releases)
- [Commits](https://github.com/JetBrains/qodana-action/compare/v2022.3.2...v2022.3.3)

---
updated-dependencies:
- dependency-name: JetBrains/qodana-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 06:03:42 +00:00
Frédéric FRANCE
b0a1d8058f clean code 2023-02-12 23:28:14 +01:00
Frédéric FRANCE
e1ca6ef019 clean code 2023-02-12 23:19:03 +01:00
Frédéric FRANCE
43ac67c3d8 clean code 2023-02-12 23:13:45 +01:00
Frédéric FRANCE
c17463d2f4 clean code 2023-02-12 22:03:39 +01:00
Frédéric FRANCE
0f4adbedab clean code 2023-02-12 21:15:16 +01:00
Frédéric FRANCE
f043345706 clean code 2023-02-12 21:06:39 +01:00
Frédéric FRANCE
85a594aa61 clean code 2023-02-12 21:01:02 +01:00
Frédéric FRANCE
4e00810ca6
fix warnings 2023-02-12 20:54:28 +01:00
Frédéric FRANCE
af1b9d3194
fix warnings 2023-02-12 20:48:19 +01:00
Frédéric FRANCE
814075d36b
Update view_log.php 2023-02-12 20:28:39 +01:00
Frédéric FRANCE
ffa4e58add
fix warning
listUsersForGroup with mode = 1 return array of user id
2023-02-12 20:26:40 +01:00
UT from dolibit
6e3966abae
Update hookmanager.class.php
saw now  'dashboardPropals'  was twice
2023-02-12 20:21:11 +01:00
UT from dolibit
c3425919c2
Update hookmanager.class.php 2023-02-12 20:18:39 +01:00
Frédéric FRANCE
3a6b8ebfe7 clean code 2023-02-12 18:31:35 +01:00
Frédéric FRANCE
509dfacbf7
missing translations 2023-02-12 18:02:58 +01:00
Frédéric FRANCE
a7c5140fd6 clean code 2023-02-12 12:05:14 +01:00
Frédéric FRANCE
daba310395 clean code 2023-02-12 11:39:10 +01:00
Frédéric FRANCE
6144b6e99d add two widgets 2023-02-12 09:54:57 +01:00
Frédéric FRANCE
beba616f3c clean code 2023-02-11 22:13:15 +01:00
Frédéric FRANCE
f50a43c882 add ajax tooltip on knowledge record 2023-02-11 21:58:57 +01:00
Frédéric FRANCE
00898291ed add ajax tooltip on knowledge record 2023-02-11 21:49:06 +01:00
Frédéric FRANCE
92c4eed7c6 add ajax tooltip on knowledge record 2023-02-11 21:34:21 +01:00
FLIO
9bf878a635 fix (qodana) delete the edit of the fuction post in the fileupload and edit the comment 2023-02-11 19:23:32 +01:00
Laurent Destailleur
ec45afb05f Fix can clean var 2023-02-11 16:07:39 +01:00
Laurent Destailleur
954906ec48 Fix $dolibarr_main_restrict_os_commands applies also to antivir command 2023-02-11 16:05:40 +01:00
Laurent Destailleur
81ef87cf6d FIX #huntr5affff95-9a37-4004-bab2-a834b3b61ff7 2023-02-11 15:39:16 +01:00
Laurent Destailleur
9e79e00f10 Debug v17 2023-02-11 15:19:49 +01:00