Commit Graph

1848 Commits

Author SHA1 Message Date
Laurent Destailleur
77ea24c812 Try fix codespell 2024-08-16 22:23:52 +02:00
Laurent Destailleur
ab2bfae576 Fix precommit 2024-08-16 22:20:44 +02:00
Laurent Destailleur
166f04bddf Typo 2024-08-15 15:17:14 +02:00
Laurent Destailleur
2dd939d2db Fix dump 2024-05-13 02:46:31 +02:00
Laurent Destailleur
89c9651fde Fix example of security options 2024-04-09 15:31:13 +02:00
Laurent Destailleur
72d84f546f Fix can disable port on command line 2024-02-25 22:01:20 +01:00
Laurent Destailleur
e38e9618ac Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-18 17:14:03 +01:00
Laurent Destailleur
ebe68c9075 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-18 17:06:36 +01:00
MDW
acf09b805f Fix: Make all 'relative paths' absolute (#28196)
# Fix: Make all 'relative paths' absolute

The phpcs ruleset xml file's relative exclude patterns are relative to
the filename(s) provided on the command line.
Hence with partial verifications, the path exclusion does not function
as we would like.
Removing the relative-path attribute from the patterns the exclusion
works.
At the same time, the patterns were optimized and a comment was added.
2024-02-16 12:59:04 +01:00
Laurent Destailleur
ff2d609814 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/core/class/commonobject.class.php
	htdocs/mrp/mo_production.php
2024-02-12 03:35:39 +01:00
Laurent Destailleur
65533360a2 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/main.inc.php
2024-02-12 03:32:58 +01:00
MDW
60f15baef2 Qual: Backport: pre-commit php-cs with cache (#28123)
* Qual: Lower severity on php-cs messages that should not block (#28072)

# Qual: Lower severity on php-cs messages that should not block

Some warning messages result in php-cs having an exit code of 2 and others
only have an exit ocde of 1.  When the exit code is 2, the warnings are fixable
by php-cbf.

In order to be able to filter on the warnings in the github ci flow, but still
show them in the travis flow, I lower the level of the warnings that should not
be blocking to 4.

At the same time, the php-cs configuration in pre-commit now requires that the
severity is minimum 5 to show the message (level 5 is the default for all warnings
and errors).

So this will limit the warning messages to the ones that should result in a failing
ci action.  If any new cases are discovered, they should also be lowered in the
php-cs configuration file.

* Qual: ci: Run pre-commit/php-cs with cache (#28079)

This adds a hook to .pre-commit-config.yaml and updates the workflow
to run php-cs with cache when it is run for all files.
When running on changed files only, the cache is not useful.

The php-codesniffer ruleset.xml was cleaned up (duplicates removal/formatted)
2024-02-12 03:30:19 +01:00
MDW
ed3bfb152a Qual: Backport pre-commit to 17.0 (#27948)
Backport the pre-commit tool to bring extra checks to the older versions
so that they are fixed earlier before merging in upper versions.

Other PRs will be created for backporting to 18.0 and 19.0.
The PRs should be accepted in reverse order:
- develop;
- 19.0:
- 18.0;
- 17.0.

That should avoid merge conflicts and ensure that options (and ignored
messages or steps) are adapted to the version branch.
2024-02-03 00:10:49 +01:00
MDW
1e412c7a13 Qual: Backport pre-commit into 18.0 (#27949)
* Qual: Backport pre-commit to 17.0

Backport the pre-commit tool to bring extra checks to the older versions
so that they are fixed earlier before merging in upper versions.

Other PRs will be created for backporting to 18.0 and 19.0.
The PRs should be accepted in reverse order:
- develop;
- 19.0:
- 18.0;
- 17.0.

That should avoid merge conflicts and ensure that options (and ignored
messages or steps) are adapted to the version branch.

* Qual: Backport pre-commit to 18.0

# Qual: Backport pre-commit to 18.0

Backport the pre-commit tool to bring extra checks to the older versions
so that they are fixed earlier before merging in upper versions.

Other PRs will be created for backporting to 18.0 and 19.0.
The PRs should be accepted in reverse order:
- develop;
- 19.0:
- 18.0;
- 17.0.

That should avoid merge conflicts and ensure that options (and ignored
messages or steps) are adapted to the version branch.
2024-02-02 13:40:34 +01:00
MDW
4d0fbc657e Qual: Backport pre-commit to 19.0 (#27950)
* Qual: Backport pre-commit to 17.0

Backport the pre-commit tool to bring extra checks to the older versions
so that they are fixed earlier before merging in upper versions.

Other PRs will be created for backporting to 18.0 and 19.0.
The PRs should be accepted in reverse order:
- develop;
- 19.0:
- 18.0;
- 17.0.

That should avoid merge conflicts and ensure that options (and ignored
messages or steps) are adapted to the version branch.

* Qual: Backport pre-commit to 18.0

# Qual: Backport pre-commit to 18.0

Backport the pre-commit tool to bring extra checks to the older versions
so that they are fixed earlier before merging in upper versions.

Other PRs will be created for backporting to 18.0 and 19.0.
The PRs should be accepted in reverse order:
- develop;
- 19.0:
- 18.0;
- 17.0.

That should avoid merge conflicts and ensure that options (and ignored
messages or steps) are adapted to the version branch.

* Qual: Backport pre-commit to 19.0

# Qual: Backport pre-commit to 19.0

Backport the pre-commit tool to bring extra checks to the older versions
so that they are fixed earlier before merging in upper versions.

Other PRs will be created for backporting to 18.0 and 19.0.
The PRs should be accepted in reverse order:
- develop;
- 19.0:
- 18.0;
- 17.0.

That should avoid merge conflicts and ensure that options (and ignored
messages or steps) are adapted to the version branch.
2024-02-01 17:37:25 +01:00
Laurent Destailleur
331b13c465 Sync transifex 2024-01-25 01:15:01 +01:00
MDW
412f8406dd Fix: Change TCPDF::_out to public because of pdf.lib.php (#27333)
# Fix: Change TCPDF::_out to public because of pdf.lib.php

TCPDF::_out is used 2 times as ->_out(...) in htdocs/core/lib/pdf.lib.php.
Changing php.lib.php requires more analysis.  Making TCPDF::_out public is
the quick solution.
2024-01-10 22:10:13 +01:00
Laurent Destailleur
c13228efe8 Fix #yogosha19828 2024-01-09 20:50:30 +01:00
Laurent Destailleur
1ee48746c2 Fix demo 2024-01-03 17:46:41 +01:00
Laurent Destailleur
5a169c5932 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-02 14:55:14 +01:00
Laurent Destailleur
b9591bb314 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-02 14:49:47 +01:00
Laurent Destailleur
06cac9333f Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-01-02 14:47:42 +01:00
Laurent Destailleur
3fae1cc099 Fix doc 2024-01-02 14:47:18 +01:00
Laurent Destailleur
41cb100160 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-01-02 14:46:39 +01:00
Laurent Destailleur
52508fbac7 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-01-02 14:46:12 +01:00
Laurent Destailleur
0dffaa53dd Fix doc 2024-01-02 14:45:49 +01:00
Laurent Destailleur
5f8651fe87 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-01-02 14:43:54 +01:00
Laurent Destailleur
f5a123212b Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-01-02 14:43:31 +01:00
Laurent Destailleur
29667900f6 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-01-02 14:40:58 +01:00
Laurent Destailleur
0329bbc0cb Merge 2024-01-02 14:37:25 +01:00
Laurent Destailleur
086da9f73f Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2024-01-02 14:34:34 +01:00
Laurent Destailleur
7b42e2d7c2 Enhance statistics tool 2023-12-29 16:35:27 +01:00
Laurent Destailleur
1dfc95fd40 Enhace statistics tool 2023-12-29 16:08:22 +01:00
Laurent Destailleur
fb31a103ea Merge pull request #27107 from mdeweerd/php8.2/utf8_xxcode
Fix utf8_encoding/decoding (PHP8.2 deprecation)
2023-12-28 19:32:27 +01:00
Laurent Destailleur
6a9f6049d4 Add patch comment 2023-12-28 19:07:27 +01:00
Laurent Destailleur
96e46d1890 Clean code 2023-12-28 12:32:48 +01:00
MDW
b5b8a2a874 Fix utf8_encoding/decoding (PHP8.2 deprecation)
Fix files that were missed in #27018
2023-12-27 19:45:37 +01:00
Laurent Destailleur
46dc264654 Update dolibarr_changes.txt 2023-12-27 14:40:16 +01:00
Laurent Destailleur
b75cbc54a8 Enhance rector cleaning code 2023-12-26 22:28:07 +01:00
Laurent Destailleur
7bb32a04b4 Fix warnings 2023-12-23 19:33:51 +01:00
Eric Seigne
23e39cb8b3 update changes 2023-12-22 11:05:17 +01:00
Laurent Destailleur
5ce90555ee Removed useless file #yogosha19667 2023-12-21 18:29:55 +01:00
Laurent Destailleur
c6e33a89a4 Doc 2023-12-17 23:21:59 +01:00
Laurent Destailleur
98009ea6be Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/compta/bank/class/account.class.php
	htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
	htdocs/langs/en_US/recruitment.lang
	htdocs/master.inc.php
	htdocs/projet/contact.php
2023-12-17 22:17:14 +01:00
Laurent Destailleur
d4f61dcf59 Fix nusoap bug 2023-12-17 13:23:06 +01:00
Laurent Destailleur
78d5e71a8f FIX #yogosha19506 2023-12-16 19:24:41 +01:00
Laurent Destailleur
3c7745cc71 Fix analyses of file code 2023-12-15 14:44:50 +01:00
Laurent Destailleur
d560dfc2c6 Fix analyses of file code 2023-12-15 14:41:03 +01:00
Laurent Destailleur
37dcaf4dee css 2023-12-15 14:21:51 +01:00
Laurent Destailleur
88efa1cd61 Tipo 2023-12-15 14:17:20 +01:00