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
57cbb21f6b
Merge pull request #24547 from frederic34/patch-2
...
property and doc
2023-04-27 16:25:26 +02:00
Laurent Destailleur
302f212d90
Merge pull request #24595 from frederic34/patch-5
...
fix warning PHP8.1
2023-04-27 16:24:02 +02:00
Laurent Destailleur
038add3a61
Merge pull request #24616 from VMR-Global-Solutions/patch-1
...
Update api_receptions.class.php
2023-04-27 16:21:29 +02:00
Laurent Destailleur
07c7772255
Merge pull request #24623 from frederic34/patch-1
...
fix init_menu_auguria.sql
2023-04-27 16:21:04 +02:00
Frédéric FRANCE
5e24ef5108
fix init_menu_auguria.sql
2023-04-27 15:29:42 +02:00
Laurent Destailleur
60385ea6ca
Merge pull request #24612 from frederic34/ajaxtooltip_cronjob
...
add ajax tooltip for cronjobs
2023-04-27 15:02:59 +02:00
Laurent Destailleur
020ba25956
Merge pull request #24620 from frederic34/patch-1
...
clean code
2023-04-27 14:59:17 +02:00
Laurent Destailleur
efc660aac3
Merge pull request #24622 from bafbes/abb170175
...
fix:Unused variable
2023-04-27 14:58:53 +02:00
Frédéric FRANCE
d64da50a9e
Merge remote-tracking branch 'upstream/develop' into patch-2
2023-04-27 14:42:56 +02:00
Laurent Destailleur
80b6e78679
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-04-27 14:19:09 +02:00
bahfir abbes
8642791dce
Unused variable
2023-04-27 13:06:12 +01:00
Laurent Destailleur
8a92d7f905
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-04-27 14:03:59 +02:00
Laurent Destailleur
302c6a0ab9
Fix serious regression in creating MO.
2023-04-27 14:02:59 +02:00
Laurent Destailleur
44b5b4fde9
Fix look and feel v17
2023-04-27 12:53:50 +02:00
Laurent Destailleur
fa832e8a0d
Fix missing date in popup
2023-04-27 12:37:42 +02:00
Laurent Destailleur
84f79b592c
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2023-04-27 12:24:47 +02:00
Laurent Destailleur
a11d8a5589
Fix field must never be empty
2023-04-27 11:55:49 +02:00
Frédéric FRANCE
53d2757a8f
clean code
2023-04-27 09:54:40 +02:00
Frédéric FRANCE
1d8c7f934f
clean code
2023-04-27 09:47:00 +02:00
Frédéric FRANCE
0d3fdbe408
clean code
2023-04-27 09:42:54 +02:00
Frédéric FRANCE
244a986baf
fix eval
2023-04-27 09:23:23 +02:00
VMR Global Solutions
7126ff7b1f
Update api_receptions.class.php
...
Change made in _private function validate in reception/class/api_receptions.class.php:709
replaced line 712
foreach (Shipments::$FIELDS as $field) { => foreach (Receptions::$FIELDS as $field) {
2023-04-27 09:16:17 +02:00
Laurent Destailleur
5b90302bf8
Update scope for security report
2023-04-27 00:00:36 +02:00
Laurent Destailleur
e09e6ffe2c
Fix error message
2023-04-26 23:01:40 +02:00
Laurent Destailleur
eb0e56d9dd
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2023-04-26 22:54:55 +02:00
Laurent Destailleur
99ba735327
Fix message
2023-04-26 22:49:33 +02:00
Laurent Destailleur
69b2089bf6
Merge pull request #24583 from BitKFu/Secure-indexFile
...
Prevent PHP Warning in error log file, when the generated doc file does not exists.
2023-04-26 22:33:38 +02:00
Frédéric FRANCE
a2c78bcec7
add ajax tooltip for cronjobs
2023-04-26 22:33:26 +02:00
Laurent Destailleur
21a3c3e82b
Merge pull request #24611 from frederic34/auguria_use_ismodenabled
...
clean code use isModEnabled
2023-04-26 22:25:21 +02:00
Laurent Destailleur
9a041774f9
Merge pull request #24553 from atm-lena/NEW_MoBom_AddLine_DefaultWorkstation
...
New mo bom add line default workstation
2023-04-26 22:11:27 +02:00
Laurent Destailleur
7253b30716
Merge pull request #24594 from frederic34/patch-1
...
add missing init hook value
2023-04-26 22:08:43 +02:00
Frédéric FRANCE
e52742ab4b
clean code use isModEnabled
2023-04-26 22:05:12 +02:00
Laurent Destailleur
d56a0fa503
Merge pull request #24597 from frederic34/patch-6
...
can setup max extrafields to show in tooltip
2023-04-26 22:04:07 +02:00
Laurent Destailleur
712dd1689b
Merge pull request #24596 from alexandre-janniaux/phpunit-changes/1
...
phpunit: use $db instead of $this->savdb
2023-04-26 22:02:25 +02:00
Laurent Destailleur
aa3fa86c4f
Merge pull request #24600 from frederic34/patch-8
...
add hook init context
2023-04-26 21:20:38 +02:00
Laurent Destailleur
2dbc944a4e
Merge pull request #24598 from frederic34/patch-7
...
Doc
2023-04-26 21:20:23 +02:00
Laurent Destailleur
98efea14cf
Merge pull request #24599 from frederic34/commonobjectclassdoc
...
add doc
2023-04-26 21:20:05 +02:00
Laurent Destailleur
ca00480f1a
Merge pull request #24603 from frederic34/patch-9
...
Fix getElementProperties for usergroup
2023-04-26 21:15:30 +02:00
Laurent Destailleur
0878c53f02
Merge pull request #24609 from FHenry/17_fix_cron_invoice_contact
...
fix: cron sendEmailsRemindersOnInvoiceDueDate if contact exists and mail on thridparty exists there is an error
2023-04-26 21:12:47 +02:00
Laurent Destailleur
447f992b92
Fix warning
2023-04-26 21:07:14 +02:00
Laurent Destailleur
07be975b2d
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2023-04-26 21:05:57 +02:00
Laurent Destailleur
b3ea71f8f9
Merge pull request #24608 from solution-libre/fix-notification-templates
...
Fix notification templates
2023-04-26 21:05:41 +02:00
Laurent Destailleur
6c30e44f97
Merge pull request #24606 from BB2A-Anthony/FIX---init-menu-auguria-isModEnabled
...
FIX - init menu auguria isModEnabled
2023-04-26 21:03:25 +02:00
Laurent Destailleur
56c16379b3
Update init_menu_auguria.sql
2023-04-26 21:02:00 +02:00
Laurent Destailleur
3d5aac644e
Merge branch 'develop' into FIX---init-menu-auguria-isModEnabled
2023-04-26 20:56:59 +02:00
Frédéric FRANCE
d7c654665f
fix display extrafields in tooltip
2023-04-26 20:56:11 +02:00
Laurent Destailleur
dbe95db38a
Look and feel v18
2023-04-26 18:46:27 +02:00