Commit Graph

1702 Commits

Author SHA1 Message Date
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
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
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
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
46dc264654
Update dolibarr_changes.txt 2023-12-27 14:40:16 +01:00
Eric Seigne
23e39cb8b3 update changes 2023-12-22 11:05:17 +01:00
Laurent Destailleur
cc5a5d63ef Fix initdemo script 2023-07-02 21:05:36 +02:00
Florian HENRY
48c41e54ea fix sql dump 2023-06-22 15:19:42 +02:00
Florian HENRY
2df7dfa05f fix dump of 17 2023-06-09 00:16:09 +02:00
Laurent Destailleur
d070d2ab48 Fix mysqldump 2023-06-08 23:24:16 +02:00
Laurent Destailleur
7b1f83c6c9 Clean sql file 2023-05-02 05:18:39 +02:00
Laurent Destailleur
72798f60a1 Update demo file 2023-03-15 16:22:01 +01:00
Laurent Destailleur
969cefd272 Clean demo file 2023-03-15 16:19:14 +01:00
Laurent Destailleur
0c855fbb3c Sync transifex 2023-02-14 20:56:10 +01:00
Laurent Destailleur
3069a97a46 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-03 17:26:11 +01:00
Laurent Destailleur
45dd6c8f0b Prepare option PDF_SWISS_QRCODE_USE_OWNER_OF_ACCOUNT_AS_CREDITOR 2023-02-02 15:06:19 +01:00
Laurent Destailleur
244239d44d Doc 2023-01-29 20:52:24 +01:00
Laurent Destailleur
b73c29f817 Doc 2022-12-15 19:04:51 +01:00
Laurent Destailleur
77265b8828 Add example of fail2ban to block 403 forbidden tries 2022-12-15 11:29:32 +01:00
Laurent Destailleur
9a68d1df22 Debug v17 2022-12-11 22:39:30 +01:00
Hystepik
b7c4dcbe91
fix : dolibarr_changes to match last PR 2022-11-24 23:25:06 +01:00
Laurent Destailleur
cacce73d9a Doc 2022-11-15 11:00:33 +01:00
Laurent Destailleur
01eb097e5e Doc 2022-10-20 12:48:06 +02:00
Laurent Destailleur
938bc27917 Update sample for fail2ban 2022-10-18 12:59:15 +02:00
Laurent Destailleur
4cf021aeeb Debug 2022-10-18 10:33:04 +02:00
Laurent Destailleur
3077af47cd Git: Add a tool to count nb of lines of code between tag per users. 2022-10-18 03:34:24 +02:00
Laurent Destailleur
9fa00c1771 Fix trans in comments 2022-10-12 15:29:30 +02:00
Laurent Destailleur
fb24a1ee55 Clean code 2022-10-08 20:41:45 +02:00
Laurent Destailleur
a32ed5b07d Clean code 2022-10-08 20:21:03 +02:00
Laurent Destailleur
4167fab963 Standardize API name 2022-09-27 00:01:29 +02:00
Laurent Destailleur
9f6b78b053 NEW Add fail2ban rule to limit access to /public pages 2022-09-17 15:06:36 +02:00
Frédéric France
835441d437 remove blank line 2022-09-07 20:14:49 +02:00
Frédéric France
47c5ec7fc6 Merge remote-tracking branch 'upstream/develop' into productbatch 2022-09-01 19:55:24 +02:00
Laurent Destailleur
6903b96f6b Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-09-01 12:39:25 +02:00
Laurent Destailleur
dd8a9ac1f7 Fix perms 2022-08-31 22:15:43 +02:00
Frédéric France
8e66b7207e replace ! empty by !empty 2022-08-31 22:14:20 +02:00
Laurent Destailleur
68bef8ebcf Merge branch 'imap-by-oauth2' of github.com:fboitel/dolibarr into
fboitel-imap-by-oauth2

# Conflicts:
#	htdocs/install/mysql/migration/16.0.0-17.0.0.sql
2022-08-23 22:34:44 +02:00
Frédéric France
24afc5cbd2 add isonorme iban 2022-08-22 20:38:38 +02:00
Laurent Destailleur
cf131c042a Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-08-21 23:49:07 +02:00
Laurent Destailleur
c6ae2bb051 Typo 2022-08-16 18:31:20 +02:00
Laurent Destailleur
4d1fef7261
Merge pull request #21729 from dolibit-ut/patch-409
Update and rename dev/resources/iso-normes/world_tax_rates.txt to dev…
2022-08-14 15:40:33 +02:00
Laurent Destailleur
4bb9363af1
Merge pull request #21731 from dolibit-ut/patch-410
Update and rename dev/resources/iso-normes/vat_number_names.txt to de…
2022-08-14 15:39:59 +02:00