Commit Graph

190 Commits

Author SHA1 Message Date
MDW
2e31005afb
Fix: Make some scripts with shebang executable in git. (#27393)
# Fix: Make some scripts with shebang executable in git.

Make some scripts executable according to git.
This can help running them after checkout.
It also helps with future automatic checks.
2024-01-10 17:33:52 +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
Laurent Destailleur
b20d85b198 Fix phpcs 2020-04-26 23:06:52 +02:00
Laurent Destailleur
6caa872280 Enable more PHPCS rules 2020-04-25 19:27:42 +02:00
Laurent Destailleur
068a890c36 Enable more PHPCS rules 2020-04-25 19:13:20 +02:00
Laurent Destailleur
f7726cd366 Try to disable a not expected rule 2020-04-10 13:04:30 +02:00
Frédéric FRANCE
fc34b5a4cb
compress png with zopflipng 2020-04-06 19:03:48 +02:00
Laurent Destailleur
b995dc87fa NEW Add profile for PSR12 for Eclipse 2020-02-25 12:57:26 +01:00
Laurent Destailleur
55bef402c4 Fix remove a lot of warnings on Eclipse 2020-02-21 17:47:36 +01:00
Laurent Destailleur
ec09e7222d Fix remove a lot of warnings on Eclipse 2020-02-21 17:31:37 +01:00
Laurent Destailleur
62b84810bd Exclude includes in dev 2020-01-15 14:25:16 +01:00
Frédéric FRANCE
8f6d38ee82
clean indent 2019-10-27 17:01:23 +01:00
Frédéric FRANCE
7f3f48be0f
clean indent in theme directory 2019-10-26 21:11:36 +02:00
Frédéric FRANCE
a7797ba1da
clean indent in variants directory 2019-10-26 20:53:39 +02:00
Frédéric FRANCE
635306c084
restore original rules to be mergeable without errors 2019-10-26 18:23:51 +02:00
Frédéric FRANCE
a1f0245c79
clean indent in compta, contact directory 2019-10-26 18:13:20 +02:00
Frédéric FRANCE
79825e2193
start clean indent in compta directory 2019-10-26 14:42:25 +02:00
Frédéric FRANCE
1a10b30a76
clean indent in comm directory 2019-10-26 14:28:40 +02:00
Frédéric FRANCE
0ede817588
do not ignore lines with mix od tabs and spaces 2019-10-20 16:56:47 +02:00
Frédéric FRANCE
e75f7d448c
Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen 2019-10-16 20:00:01 +02:00
Laurent Destailleur
8904ce5732 Removed warning we don't want 2019-10-03 16:57:12 +02:00
Laurent Destailleur
8891fd4981 Exclude namespacemig 2019-08-21 14:59:48 +02:00
Jean Traullé
c739b95666
Fix codestyle
lessc.class.php should be excluded from ruleset as it is an external lib
2019-08-14 23:33:06 +02:00
Laurent Destailleur
6df36866e1 Remove mentions to register_globals 2019-08-14 15:30:03 +02:00
Laurent Destailleur
ba7b601387 Fix phpcs 2019-05-23 14:29:37 +02:00
Laurent Destailleur
e8ba312d2a Fix phpcs 2019-05-23 14:25:16 +02:00
Laurent Destailleur
5f639f611a Try to introduce rules on tab 2019-05-23 13:12:04 +02:00
Laurent Destailleur
384c2d8358 Exclude files 2019-04-03 18:10:10 +02:00
Frédéric FRANCE
2745f98644
PSR2.Classes.PropertyDeclaration.VarUsed 2019-03-05 22:10:46 +01:00
Laurent Destailleur
a5711a51ab Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/core/lib/json.lib.php
	test/phpunit/JsonLibTest.php
2019-03-02 18:30:17 +01:00
Frédéric FRANCE
40d34940f1
fix exclude from phpcs 2019-03-02 10:00:51 +01:00
Frédéric FRANCE
c5c27fdb77
add visibility 2019-03-01 19:24:06 +01:00
Frédéric FRANCE
bd2e541fd6
add visibility 2019-03-01 18:28:51 +01:00
Frédéric FRANCE
796ea6f4ea
add visibility 2019-02-28 23:19:58 +01:00
Frédéric FRANCE
304dafe9f5
check without new rule 2019-02-28 22:48:24 +01:00
Frédéric FRANCE
6ee186096c
Merge remote-tracking branch 'upstream/develop' into Squiz.Scope.MethodScope.Missing 2019-02-24 23:48:51 +01:00
Frédéric FRANCE
27218b7087
wip 2019-02-24 23:32:09 +01:00
Frédéric FRANCE
894123fb06
PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket 2019-02-24 20:06:55 +01:00
Laurent Destailleur
fb5466fca0 Fix remove bad rule 2019-02-12 17:02:27 +01:00
Laurent Destailleur
e054b080a5
Merge branch 'develop' into GenericFunctionsFunctionCallArgumentSpacing 2019-02-12 13:33:39 +01:00
klemens
beb2791dde spelling fixes 2019-02-10 12:59:09 +01:00
Frédéric FRANCE
1e43f8e54a
PEAR FunctionCallSignature 2019-02-10 10:45:49 +01:00
Frédéric FRANCE
580e5c42d2
GenericFunctionsFunctionCallArgumentSpacing 2019-02-09 12:00:49 +01:00
Frédéric FRANCE
970392adb8
Merge remote-tracking branch 'upstream/develop' into psr2squizwhite 2019-02-03 22:41:57 +01:00
Laurent Destailleur
a6dde3d6bd
Merge branch 'develop' into nospaceaftercomma 2019-02-03 19:27:16 +01:00
Laurent Destailleur
9f7dfe2921
Merge pull request #10481 from frederic34/psr2forloop
psr2 Squiz.ControlStructures.ForEachLoopDeclaration
2019-02-03 19:11:07 +01:00
Frédéric FRANCE
273d68381c
psr2 end file new line none found 2019-02-03 15:21:21 +01:00
Frédéric FRANCE
80a12fcd1c
psr2 Squiz.WhiteSpace.ScopeClosingBrace.Indent 2019-02-03 14:29:45 +01:00
Frédéric FRANCE
03701fa091
psr2 2019-02-02 18:25:01 +01:00
Laurent Destailleur
e18bd6f986
Merge branch 'develop' into nospaceaftercomma 2019-01-30 18:27:35 +01:00
Frédéric FRANCE
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma 2019-01-27 23:23:38 +01:00
Laurent Destailleur
f30a3d59ba
Merge branch 'develop' into toomanylines 2019-01-27 17:59:13 +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