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
Laurent Destailleur
329473c3cb
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-08-21 14:14:44 +02:00
Laurent Destailleur
50bf5281c8
FIX encrypt sensitive data not be done for const MAIN_AGENDA_ACTIONAUTO
2023-08-20 22:20:15 +02:00
Laurent Destailleur
759ba40780
Test for sonarqube
2023-08-02 03:03:26 +02:00
Laurent Destailleur
9249ae6176
Doc
2023-08-02 00:27:53 +02:00
Laurent Destailleur
38d6abbc76
Better fail2ban files
2023-07-28 14:19:27 +02:00
Laurent Destailleur
e41f449f95
FIX #yogosha17128
2023-07-19 04:14:49 +02:00
Laurent Destailleur
01d8be4447
Try to replace stickler with github actions
2023-06-30 09:39:08 +02:00
Laurent Destailleur
c0e2f53b88
Increase nb of try before ban
2023-06-06 11:38:41 +02:00
Laurent Destailleur
42696954f3
Increase public limit
2023-02-25 04:25:23 +01:00
Laurent Destailleur
6f978383cd
Doc
2023-02-11 13:29:21 +01:00
Laurent Destailleur
b73df9724d
First test of qodana
2022-12-27 18:18:23 +01:00
Laurent Destailleur
41f1c20d4c
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2022-12-20 23:25:59 +01:00
Laurent Destailleur
7db9da4769
css
2022-12-19 13:10:27 +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
cacce73d9a
Doc
2022-11-15 11:00:33 +01:00
Laurent Destailleur
938bc27917
Update sample for fail2ban
2022-10-18 12:59:15 +02:00
Laurent Destailleur
fb24a1ee55
Clean code
2022-10-08 20:41:45 +02:00
Laurent Destailleur
9f6b78b053
NEW Add fail2ban rule to limit access to /public pages
2022-09-17 15:06:36 +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
bagtaib
7157df4fad
ingnore external libraries in precommit
2022-06-15 14:53:51 +02:00
Laurent Destailleur
5942bc57e6
Add DDOS protection
2022-01-30 01:03:07 +01:00
Laurent Destailleur
5917a9f73e
Fix phpcs
2021-05-12 23:08:52 +02:00
Laurent Destailleur
8bb8d846ad
More complete setup file
2021-04-28 14:18:15 +02:00
Laurent Destailleur
143417d727
Fix duplicate line
2021-04-28 14:17:00 +02:00
Laurent Destailleur
3315bf6c00
Add samples to show how to setup fail2ban
2021-04-07 19:16:07 +02:00
Laurent Destailleur
9f1051f95c
Fix typo
2021-03-12 14:47:41 +01:00
Laurent Destailleur
f6b41a92db
Add ${DIRPHPCS}
2021-03-12 14:45:52 +01:00
Laurent Destailleur
dc5557e4f7
Fix test on precommit hook
2021-03-12 14:30:32 +01:00
Laurent Destailleur
78588f24b9
Move git hooks pre-commit into dev/setup dir
2021-03-09 10:42:59 +01:00
Frédéric FRANCE
a4e25359e7
add missing rule
2021-03-01 20:37:16 +01:00
Frédéric FRANCE
82aea0be9a
remove rule exception
2021-03-01 11:26:00 +01:00
Frédéric FRANCE
1247ca9e02
add new rule
2021-03-01 08:38:35 +01:00
Frédéric FRANCE
683ef8d1c9
add new rule
2021-03-01 08:32:14 +01:00
Frédéric FRANCE
1b046f25cf
add new rule
2021-03-01 00:19:52 +01:00
UT from dolibit
5f15c339c7
Update dolibarr
...
/var/run/php/php7.0-fpm.sock
2021-01-18 16:03:27 +01:00
Laurent Destailleur
d3bd709ad6
Fix phpcs
2020-12-20 18:51:17 +01:00
Frédéric FRANCE
7a7a6f8018
fix phpcs
2020-10-27 21:28:26 +01:00
Frédéric FRANCE
674b0e38c8
add new rule
2020-05-21 15:13:31 +02:00
Frédéric FRANCE
d9f42f85d1
add new rule
2020-05-21 15:08:14 +02:00
Frédéric FRANCE
ba8cf2b398
add new rule
2020-05-21 09:21:30 +02:00
Frédéric FRANCE
43dcd9beb5
add new rule
2020-05-21 00:02:33 +02:00
Laurent Destailleur
22301d63d8
Replace a ZEND phpcs rule with a PSR2 rule
2020-05-13 00:35:10 +02:00
Laurent Destailleur
b5f3be4599
Clean phpcs rule file
2020-05-13 00:29:46 +02:00
Laurent Destailleur
4d6a45d491
Major doxygen fix
2020-05-03 22:48:35 +02:00
Laurent Destailleur
a88ab40384
Clean phpcs
2020-05-02 15:18:59 +02:00
Laurent Destailleur
6bc7085297
Check more phpcs rules
2020-05-02 13:02:58 +02:00