Commit graph

128133 commits

Author SHA1 Message Date
Laurent Destailleur
74a5dec370
Merge pull request #27507 from mdeweerd/logToCs/yamllint-extraction
Qual: Update logToCs to extract yamllint messages
2024-01-14 20:46:21 +01:00
MDW
139b338dff Qual: Update logToCs to extract yamllint messages
# Qual: Update logToCs to extract yamllint messages

logToCs did not identify the yamllint messages in the pre-commit action.
This is now added
2024-01-14 20:42:32 +01:00
Laurent Destailleur
1600c985da Fix phpcs 2024-01-14 20:34:25 +01:00
Laurent Destailleur
299f13cbf0 Fix input lost 2024-01-14 20:24:37 +01:00
Laurent Destailleur
3d8436c74a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-14 19:43:12 +01:00
Laurent Destailleur
b20838077b Try to merge the 2 phpstan files 2024-01-14 19:42:54 +01:00
Laurent Destailleur
b427b4dfd7
Merge pull request #27506 from mdeweerd/fix/notfound-message
Fix: tools: Small fix with regards to path issue detection
2024-01-14 19:41:14 +01:00
MDW
8171fe73d1 Fix: tools: Small fix with regards to path issue detection 2024-01-14 19:18:31 +01:00
Laurent Destailleur
2c84f3b46d
Merge pull request #27505 from eldy/develop
Test move option in the precommit config file
2024-01-14 19:14:19 +01:00
Laurent Destailleur
33a4a2cce1
Update .pre-commit-config.yaml 2024-01-14 19:10:45 +01:00
Laurent Destailleur
9b6df95c32
Update .pre-commit-config.yaml 2024-01-14 19:03:45 +01:00
Laurent Destailleur
f2fc074d2d
Update .pre-commit-config.yaml 2024-01-14 19:03:14 +01:00
Laurent Destailleur
f735499e17
Update pyproject.toml 2024-01-14 18:58:55 +01:00
Laurent Destailleur
69de3f29d0 Try move setup in config file 2024-01-14 18:56:01 +01:00
Laurent Destailleur
b9fd7fd300
Merge pull request #27504 from eldy/develop
test
2024-01-14 18:44:03 +01:00
Laurent Destailleur
573525a07a
Merge branch 'Dolibarr:develop' into develop 2024-01-14 18:39:43 +01:00
Laurent Destailleur
f29e80d186
Try to move files from root in dedeicated dir (#27503) 2024-01-14 18:39:22 +01:00
Laurent Destailleur
2308515819
Merge branch 'develop' into develop 2024-01-14 18:29:48 +01:00
Laurent Destailleur
2459fe829a Fix precommit 2024-01-14 18:29:33 +01:00
Laurent Destailleur
f224dddb41
Merge branch 'develop' into develop 2024-01-14 18:26:06 +01:00
Laurent Destailleur
0c202cb66d Fix precommit file 2024-01-14 18:25:44 +01:00
Laurent Destailleur
b5b7d853ee
Try to move files from root in dedeicated dir 2024-01-14 18:20:26 +01:00
Laurent Destailleur
99c863428d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-14 18:09:41 +01:00
Laurent Destailleur
c7a19a007c Add comment 2024-01-14 18:09:32 +01:00
Frédéric FRANCE
d2aad48d18
fix phpstan (#27502) 2024-01-14 17:59:44 +01:00
Frédéric FRANCE
a28b8fb6a9
fix phpstan (#27501) 2024-01-14 17:59:07 +01:00
Laurent Destailleur
cfcde4922a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-14 17:55:26 +01:00
Laurent Destailleur
7cd375bbbf Clean hooks 2024-01-14 15:01:59 +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
Laurent Destailleur
0d33ec4122 Avoid spell warning 2024-01-14 13:47:49 +01:00
Laurent Destailleur
e74ed60d0c Try to merge phpstan.neon and phpstan_action.neon 2024-01-14 13:14:52 +01:00
Laurent Destailleur
b63e6d4a20 Fix phpcs 2024-01-14 12:49:18 +01:00
Frédéric Bagnol
ff639ab363
NEW Add createInvoiceFromContract to API invoice (#27277)
* Add createFromContract to API invoice

* Update invoice : if cond_reglement_id change then update date_lim_reglement

* Space

* indent

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:48:24 +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
Frédéric FRANCE
37563855fc
fix phpstan (#27497)
* fix phpstan

* Update reception.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:12:21 +01:00
Laurent Destailleur
40f4ef9285 Close #27496 2024-01-14 12:10:09 +01:00
MDW
bd002480ce
Qual: Spelling htdocs/[d-k]* (#27427)
Highlights:

- htdocs/install/doctemplates/websites/website_template-restaurant/containers/page249.tpl.php

  Potential functional change (fix) because toekn was changed to token:
   `<input type=hidden name=toekn`

- htdocs/install/upgrade2.php
  $filles changed to $children

- htdocs/intracommreport/class/intracommreport.class.php
  Local $enveloppe changed to $envelope.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-13 19:48:41 +01:00
MDW
89004f7e03
Qual: Spelling htdocs/core (#27491)
Highlights:
- initialY in pdf_standard.modules.php was unused
  - remove (otherwise -> initially) (+same in other file)
2024-01-13 19:48:20 +01:00
Laurent Destailleur
77432efdee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-13 19:37:13 +01:00
Laurent Destailleur
8f9d104ccd Fix phpunit 2024-01-13 19:37:06 +01:00
Pascal Hubrecht
4d259e2fda
QUAL Enhance API description - Documents (#27492)
* qual enhance api description

* Update api_documents.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-13 19:34:51 +01:00
Laurent Destailleur
501b81a86b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-13 18:51:39 +01:00
Laurent Destailleur
a985446257 Fix git tools 2024-01-13 18:51:00 +01:00
HENRY Florian
a78862830f
feat: add hook in main.inc.php to override the manifest.json (#27459)
* feat: add hook in main.inc.php to override the manifest.json

* feat: add hook in main.inc.php to override the manifest.json

* reveiw
2024-01-13 15:51:58 +01:00
MDW
39769482b1
Qual: Fix typing hints for DoliDB (#27484)
# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
2024-01-13 15:50:02 +01:00
MDW
5d68f1b0ee
Qual: Fix line endings of yaml files for yamllint. (#27479)
# Qual: Fix line endings of yaml files for yamllint.

yamllint (included in the pre-commit setup) has some messages about the line-endings of yml files.
This fixes that.
2024-01-13 15:49:17 +01:00
Frédéric FRANCE
4e651f44c9
fix phpstan (#27476) 2024-01-13 15:36:38 +01:00
Frédéric FRANCE
b2af85a9be
fix phpstan (#27475)
* fix phpstan

* Update mod_codeproduct_leopard.php
2024-01-13 15:35:55 +01:00