Commit Graph

1743 Commits

Author SHA1 Message Date
HENRY Florian
b8286ab8f3 fix: List of UserGroup display wrong count of records( actual: nb group * nb user * nb perms (*nb entities)) instead of count of group (#31687)
* fix: group list count nb group * nb user * nb perms

* fix: synk.io security issue with zappier sample package in version Dolibarr 18.0
2024-11-05 15:37:04 +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
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
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
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
51c8c4f737 Fix bad table name 2023-12-14 00:23:00 +01:00
Laurent Destailleur
77a22ea78e Fix table was renamed 2023-12-12 15:01:23 +01:00
Laurent Destailleur
b7599afc4d Add log 2023-11-10 14:05:36 +01:00
Laurent Destailleur
b619c534d7 Fix var 2023-10-10 10:04:16 +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
93bf66256d More generic value 2023-08-15 18:41:19 +02:00
Laurent Destailleur
51cc12087a Prepare 18.0 2023-08-15 15:52:26 +02:00
Laurent Destailleur
64c45aea78 Sync transifex 2023-08-13 19:09:07 +02:00
Laurent Destailleur
ba172f3032 Update demo file 2023-08-13 18:48:38 +02:00
Laurent Destailleur
d80e5d57bd Fix dump 2023-08-05 21:33:36 +02:00
Laurent Destailleur
e41f449f95 FIX #yogosha17128 2023-07-19 04:14:49 +02:00
Laurent Destailleur
cc5a5d63ef Fix initdemo script 2023-07-02 21:05:36 +02:00
Laurent Destailleur
4c6f41c01f Fix initdemo script 2023-07-02 21:04:57 +02:00
Laurent Destailleur
c47348b1e5 Test CI 2023-06-30 10:45:58 +02:00
Laurent Destailleur
01d8be4447 Try to replace stickler with github actions 2023-06-30 09:39:08 +02:00
Laurent Destailleur
8c98fecf64 Rename file 2023-06-30 09:09:05 +02:00
Laurent Destailleur
98ad549cc0 Add tools to renamed hasRights 2023-06-30 09:07:45 +02:00
Laurent Destailleur
e2fd64d47c Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-06-27 01:08:48 +02:00
Florian HENRY
48c41e54ea fix sql dump 2023-06-22 15:19:42 +02:00
Laurent Destailleur
6b94d60d9a Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-06-16 01:36:46 +02:00
Florian HENRY
2df7dfa05f fix dump of 17 2023-06-09 00:16:09 +02:00
Laurent Destailleur
e1169091e1 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/js/lib_head.js.php
2023-06-08 23:33:45 +02:00
Laurent Destailleur
d070d2ab48 Fix mysqldump 2023-06-08 23:24:16 +02:00
Laurent Destailleur
c0e2f53b88 Increase nb of try before ban 2023-06-06 11:38:41 +02:00
Laurent Destailleur
fc1fd81c82 CLean tools 2023-05-05 03:17:44 +02:00
Laurent Destailleur
c630253fda Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-05-02 05:28:32 +02:00
Laurent Destailleur
7b1f83c6c9 Clean sql file 2023-05-02 05:18:39 +02:00
Laurent Destailleur
066e041783 Doc 2023-03-16 12:35:06 +01:00
Laurent Destailleur
15fcf43d39 Use md format 2023-03-16 12:31:22 +01:00
Laurent Destailleur
b2afcad3f5 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-03-16 09:43:30 +01:00