Commit graph

133486 commits

Author SHA1 Message Date
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
Francis Appels
3d82778516
Fix modulebuilder fetchAll with extrafield (#27500) 2024-01-14 18:00:48 +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
Alexandre SPANGARO
6ac9b959d7
Accountancy - Add help url everywhere (#27480)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-13 15:48:54 +01:00
Laurent Destailleur
13b9a65a9e Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-01-13 15:45:20 +01:00
Laurent Destailleur
2de0c09e8e Try a better fix for #27477 2024-01-13 15:44:37 +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
Jon Bendtsen
b3059c566a
Updated names for timezones (#27478)
* Updated names for 2 US timezones where PHP list the old name in "do not use"
with the new name which PHP lists in the "America" category

https://www.php.net/manual/en/timezones.others.php
https://www.php.net/manual/en/timezones.america.php

* 2 more timezones listed as deperated

* Listed in https://www.php.net/manual/en/timezones.africa.php

* listed as deperated in https://www.php.net/manual/en/timezones.others.php

* new name in https://www.php.net/manual/en/timezones.america.php

* new name from https://www.php.net/manual/en/timezones.america.php

* also deprecated https://www.php.net/manual/en/timezones.others.php

* Godthab changed name to Nuuk

https://data.iana.org/time-zones/tzdb/NEWS

* deprecated https://www.php.net/manual/en/timezones.others.php

* apparently deprecated https://www.php.net/manual/en/timezones.others.php

* also deprecated https://www.php.net/manual/en/timezones.others.php

* old australian timezone names https://www.php.net/manual/en/timezones.others.php

* new australian timezones https://www.php.net/manual/en/timezones.australia.php

* all 4 Brazil timezones are deprecated https://www.php.net/manual/en/timezones.others.php

* canada and CET deprecated https://www.php.net/manual/en/timezones.others.php

* deprecated https://www.php.net/manual/en/timezones.others.php

* added the missing timezones from https://www.php.net/manual/en/timezones.php

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2024-01-13 15:35:12 +01:00