MDW
74ab4b5a54
Fix typo in typing
...
# Fix typo in typing
Fix typo in typing straing->string.
2024-03-15 10:08:35 +01:00
MDW
a408288ba1
Fix & enable PhanPluginUnknownClosureParamType
...
# Fix & enable PhanPluginUnknownClosureParamType
Typing of anonymous functions to fix this notice.
Optimised some minor things.
2024-03-14 22:42:26 +01:00
Frédéric FRANCE
0d5da78085
fix migration using utf8mb4 ( #28124 )
2024-02-12 02:05:52 +01:00
MDW
bd002480ce
Qual: Spelling htdocs/[d-k]* ( #27427 )
...
Highlights:
- htdocs/install/doctemplates/websites/website_template-restaurant/containers/page249.tpl.php
Potential functional change (fix) because toekn was changed to token:
`<input type=hidden name=toekn`
- htdocs/install/upgrade2.php
$filles changed to $children
- htdocs/intracommreport/class/intracommreport.class.php
Local $enveloppe changed to $envelope.
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-01-13 19:48:41 +01:00
Laurent Destailleur
eebe4370fb
Fix php-cs-fixer
2023-12-04 12:36:19 +01:00
Frédéric FRANCE
53c8a3acf8
clean phpdoc for phpstan ( #26905 )
2023-12-01 19:51:32 +01:00
Laurent Destailleur
9a4aa58ce9
Fix message to unlock upgrade
2023-11-28 14:00:15 +01:00
Laurent Destailleur
abfaadb7f8
Fix for backward compatibility
2023-10-25 16:41:46 +02:00
Frédéric FRANCE
fe6e31a81d
fix install
2023-05-03 12:29:11 +02:00
Laurent Destailleur
cfff62c2fa
Clean code
2023-04-29 15:46:44 +02:00
Alexandre Janniaux
9b2ffafd93
Fix install/inc: detect unknown options
...
Previous commit 3c883c4b31 added support
for parsing option -- in particular -c/--config -- and added some way of
detecting invalid arguments. But the detection was incorrect.
getopt will stop looking for arguments when it detects a non-argument
(dash-prefixed) which is not an option parameter, but checking that
options were all consumed should be done right after by comparing the
options up to this last non-argument and those that were detected.
This only displays the first unrecognized option, mimicking the
behaviour of most software.
2023-04-28 14:26:52 +02:00
Alexandre Janniaux
f19a36856b
install/inc: add some usage documentation
...
Change the way the existing script syntax is documented and add the
syntax and options for the step2.php script.
2023-04-27 19:12:58 +02:00
Alexandre Janniaux
d7f715cc36
Fix: install/inc: remove optional argument check
...
htdocs/install/step2.php has two optional argv parameters: action and
selectlang.
It doesn't have any version indicator, and thus doesn't have any
constraint on the number of parameters, so remove it from inc.php.
The constraint can still be re-included in the other files including
inc.php, as well as the other script-specific options.
2023-04-27 19:00:58 +02:00
Laurent Destailleur
6b7de51d21
Work on PHP 8 compatibility
2023-04-15 01:52:35 +02:00
Laurent Destailleur
5d31949263
Merge pull request #23897 from alexandre-janniaux/getopt-config/1
...
NEW inc.php: handle parameters from argv
2023-03-12 17:17:46 +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
44da230012
Clean code
2023-02-21 12:57:36 +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
ce494354e2
NEW Finish removal of code using adodbtime
2022-10-22 01:54:50 +02:00
Laurent Destailleur
8e61f77f4d
Fix warnings
2022-09-21 03:16:18 +02:00
Laurent Destailleur
0016e7c5e8
Fix section with root pass restored when required if hidden
2022-09-11 23:47:32 +02:00
Laurent Destailleur
a55ab27c67
Fix http header
2022-07-14 15:01:16 +02:00
Laurent Destailleur
a26931594c
FIX #yogosha11799
2022-07-14 11:53:31 +02:00
Laurent Destailleur
3f07317f30
FIx #yogosha5695
2021-03-22 19:19:18 +01:00
Laurent Destailleur
5c0ea476e1
Look and feel v14
2021-02-27 12:45:07 +01:00
Frédéric FRANCE
93aa12a573
remove space and code syntax
2021-02-22 14:41:20 +01:00
Laurent Destailleur
40d23c5082
Update inc.php
2021-02-22 14:15:06 +01:00
BENKE Charlene
8c95bc399a
fix Notice error on install
2021-02-22 13:12:06 +01:00
Laurent Destailleur
00ad6df395
Fight against $_POST
2020-11-30 14:47:07 +01:00
Laurent Destailleur
e1a6e8f2fc
CSS
...
Security: Add param to fight against Clickjacking attacks
2020-11-26 11:29:16 +01:00
Scrutinizer Auto-Fixer
7f52920716
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 13:32:18 +00:00
Frédéric FRANCE
b41ac00b98
add new rule
2020-05-21 15:05:19 +02:00
Frédéric FRANCE
a636f81eac
add new rule
2020-05-21 02:17:21 +02:00
Scrutinizer Auto-Fixer
444c293c01
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-04-10 08:59:32 +00:00
Laurent Destailleur
1cda54c1f3
CSS using the SVG
2020-02-24 06:16:50 +01:00
Alexandre SPANGARO
16c6c9ae75
Merge remote-tracking branch 'upstream/develop' into 11.0_https
2019-10-01 06:12:24 +02:00
Laurent Destailleur
91b7e81085
Fix warnings
2019-09-30 21:51:42 +02:00
Alexandre SPANGARO
02dbc11f98
Move Gnu.org to https
2019-09-23 21:55:30 +02:00
Laurent Destailleur
69688a22e0
Merge
2019-08-27 12:33:42 +02:00
Laurent Destailleur
c2c9e1d042
Fix warning
2019-08-27 12:15:29 +02:00
Laurent Destailleur
1463302bdd
Add option to disable the anonymous ping
2019-08-23 16:23:31 +02:00
Laurent Destailleur
c1f6b76a6a
Remove deprecated
2019-06-22 18:29:24 +02:00
Frédéric FRANCE
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma
2019-01-27 23:23:38 +01:00
Laurent Destailleur
4f9f0fd7b5
Merge branch 'develop' into elseif
2019-01-27 17:54:06 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing
2019-01-27 15:20:16 +01:00
Frédéric FRANCE
7ee086b402
PSR2 space after comma in function call
2019-01-27 11:55:16 +01:00
Frédéric FRANCE
6e91b3cefc
PSR2 usage of else if is discouraged
2019-01-27 10:49:34 +01:00
Laurent Destailleur
d3828130ab
Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
...
Conflicts:
htdocs/adherents/class/adherent.class.php
2019-01-16 16:48:21 +01:00
Regis Houssin
41a38b3a0a
FIX avoid php warning
...
Signed-off-by: Regis Houssin <regis.houssin@inodbox.com >
2019-01-15 15:44:45 +01:00
torvista
8426f0e6cb
Main url auto-filled field was hardcoded as http: easy to overlook this when running installer via https.
...
This sets protocol to be the same as the installer page.
2018-08-18 23:45:20 +02:00