Commit Graph

271 Commits

Author SHA1 Message Date
Laurent Destailleur
e5b9f03e8c Fix to avoid #yogosha20013 2024-01-19 16:02:13 +01:00
MDW
eb8960bcd1 Qual: Cleanup method to ignore misspelled key
# Qual: Cleanup method to ignore misspelled key

With the method to ignore lines, the code can be cleaned up to ignore
the spelling issue.
2024-01-18 23:08:08 +01:00
MDW
91a648fa3e doc: codespell - Add some more instructions
# Qual: Add some more instructions to the 'codespell' ignore script.

As codespell will likely be run from pre-commit where codespell
is installed in a venv for the user, running addCodespellIgnores.sh
from the CLI requires installation of codespell for the developer's
environment.
This add some information inside the script about that.
2024-01-17 11:06:12 +01:00
Laurent Destailleur
1bd3777a80 Fix phpstan 2024-01-15 03:16:05 +01:00
Laurent Destailleur
699f0889c1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-15 03:08:38 +01:00
Laurent Destailleur
d85ab489f5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-15 02:54:59 +01:00
Laurent Destailleur
c94165067c Swith to level 3 of phpstan 2024-01-15 02:54:44 +01:00
MDW
dfc263ced5 Fix: github_lines_byuser.sh - resolve issue with iconv
# Fix: github_lines_byuser.sh - resolve issue with iconv

iconv could not convert certain characters and truncated the output.
That is fixed.
The script was improved by adding a variable, cleaning up and hence
also fixing shellcheck warnings.
2024-01-14 21:56:47 +01:00
MDW
8171fe73d1 Fix: tools: Small fix with regards to path issue detection 2024-01-14 19:18:31 +01:00
Laurent Destailleur
f29e80d186 Try to move files from root in dedeicated dir (#27503) 2024-01-14 18:39:22 +01:00
MDW
43bb558ae9 Fix: pre-commit: Skip branch check in ci (+used sed in codespell exceptions generation) (#27499)
* Use 'sed' instead of 'perl' (sed is more common)

* Skip branch check in ci
2024-01-14 15:00:01 +01:00
MDW
5bfccb7016 Qual: Add pre-commit & codespell (#27392)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 14:24:29 +01:00
MDW
a04f2bf4e7 Qual: Spelling fixes that newly appeared. (#27495)
* Qual: Spelling fixes that newly appeared.

# Qual: Fix spelling erros that appeared since the bulk updates.

These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)

* Update modulebuilder.lib.php

* Update pdf_standard.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +01:00
MDW
90b2a65589 Improve 2 of the github scripts (#27493) 2024-01-14 12:15:47 +01:00
Laurent Destailleur
a985446257 Fix git tools 2024-01-13 18:51:00 +01:00
Laurent Destailleur
7a4d84a9f7 apstats 2024-01-13 15:28:11 +01:00
Laurent Destailleur
f5ae841af1 css 2024-01-13 15:27:04 +01:00
Laurent Destailleur
93c4201516 apstats 2024-01-13 15:25:10 +01:00
Laurent Destailleur
446eb9211d apstats 2024-01-13 15:20:28 +01:00
Laurent Destailleur
463b36de36 apstats 2024-01-13 15:13:00 +01:00
Laurent Destailleur
fbf9e78059 Fix css 2024-01-13 15:10:13 +01:00
Laurent Destailleur
9b7a2b2814 apstats 2024-01-13 15:09:15 +01:00
Laurent Destailleur
2d9e9916ba apstats 2024-01-13 15:06:49 +01:00
Laurent Destailleur
42e92e0ca2 apstats 2024-01-13 14:57:08 +01:00
Laurent Destailleur
ced1fad3fc Fix apstats 2024-01-13 14:55:21 +01:00
Laurent Destailleur
fd76618d9c Enhance apstats 2024-01-13 14:31:31 +01:00
Laurent Destailleur
5f8fd2d15c Fix message 2024-01-13 14:23:20 +01:00
Laurent Destailleur
8b5f84ec4b Fix params 2024-01-13 14:22:05 +01:00
Laurent Destailleur
4fec90da3e Rename shell tools 2024-01-13 14:19:58 +01:00
Laurent Destailleur
cac0ef5cf0 Dev 2024-01-13 14:06:03 +01:00
Laurent Destailleur
9798ea1e01 Enhance script for git stats 2024-01-13 14:00:30 +01:00
Laurent Destailleur
79e9caaf5d Fix apstats 2024-01-13 13:14:10 +01:00
Laurent Destailleur
a109bc003b Prepare apstats for lines of code 2024-01-13 13:12:21 +01:00
Laurent Destailleur
7c33cc7763 apstats 2024-01-13 12:18:32 +01:00
Laurent Destailleur
ee42ee8d61 css 2024-01-13 12:16:26 +01:00
Laurent Destailleur
8194180d4a Better graph bar 2024-01-13 12:05:37 +01:00
Laurent Destailleur
66205a80a3 Fix bargraph 2024-01-13 12:00:03 +01:00
Laurent Destailleur
49760fb054 css 2024-01-13 11:59:37 +01:00
Laurent Destailleur
9b94e9e89f Add bar graph 2024-01-13 11:54:47 +01:00
Laurent Destailleur
8180a03b87 Fix percent 2024-01-13 11:48:54 +01:00
Laurent Destailleur
4d7e9e8817 Add percent 2024-01-13 11:46:43 +01:00
Laurent Destailleur
66d555b8e4 Style apstats 2024-01-13 11:40:04 +01:00
MDW
c885c6917e Qual: Ignore most shellcheck annotations, fix some (#27452)
# Qual: Ignore most shellcheck annotations, fix some

Most shellcheck annotations are ignored - this is to make sure that ci
can work for existing scripts.

Some fixes were applied.

pre-commit script was beautyfied by temporarily suppressing the IFS= expression on 2 lines.
2024-01-12 21:03:08 +01:00
MDW
42a0d05b63 Qual: Spelling outside htdocs (#27448)
* Qual: Spelling outside htdocs

# Qual: Fix spelling of files not in the htdocs subdirectory.

Highlight:
- Change in email test from unvalid to invalid that should give the same test result.

* Update Dolibarr-soapui-project.xml

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-12 17:14:13 +01:00
MDW
417726f7b1 Fix: Disable execute bit in git + correct shebangs (#27450)
# Fix: Execute bits in git and shebangs

Some files had the execute bit improperly set to enabled.
Some scripts did not have a correct shebang.
2024-01-12 17:10:16 +01:00
MDW
5d69728703 Qual: Apply beautysh (#27395)
# Qual: Apply beautysh

Beautysh the shell scripts.
Also fixed some spelling.
2024-01-10 19:47:29 +01:00
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
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
c3fb26086f Enhance rector 2024-01-05 03:52:06 +01:00
Laurent Destailleur
ccaae7ab24 Clean code 2024-01-05 03:41:22 +01:00