Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX - Add condition to delete product #27424

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4143 commits
Select commit Hold shift + click to select a range
2a1eb64
Fix phpcs
eldy Mar 28, 2024
00e85aa
Merge pull request #29075 from ksar-ksar/patch-20
eldy Mar 28, 2024
3a3ccc2
Fix GET use
eldy Mar 28, 2024
5e0eb50
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Mar 28, 2024
22dec27
BugFix Autocomplete under dialog box
ibuiv Mar 28, 2024
fa250c8
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
terhoy Mar 28, 2024
f2fde18
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Mar 29, 2024
b42ac5e
Merge pull request #29112 from ibuiv/patch-8
eldy Mar 29, 2024
7a5257d
Fix #29112
eldy Mar 29, 2024
30be4ff
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Mar 29, 2024
7266379
Fix #29118
eldy Mar 29, 2024
1e3edf1
FIX bad search on _ char in like when Debugbar is on
eldy Mar 29, 2024
bf00047
fix #29142
sonikf Mar 31, 2024
abe92c8
Merge pull request #29148 from DoliGreece/sonikf-patch-fix-rang
eldy Mar 31, 2024
e00e35a
FIX empty array with php8.2
hregis Mar 31, 2024
6b49f33
Merge pull request #29154 from hregis/fix_19_array_error_php8.2
eldy Mar 31, 2024
49af1da
Fix #29031 Fix #29059
eldy Mar 31, 2024
4e2ee1d
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Mar 31, 2024
a001d48
Clean duplicate comment
eldy Mar 31, 2024
e1e8e45
Fix cronjob.class.php
ptibogxiv Apr 2, 2024
39b0370
Merge pull request #29199 from ptibogxiv/patch-91
eldy Apr 2, 2024
000234c
FIX css of background of modules that was black
eldy Apr 3, 2024
b9cf6fc
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 3, 2024
e505ebf
FIX: categories protection limit
Apr 3, 2024
f6cd58b
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 3, 2024
404ba88
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 4, 2024
08f45f2
Fix #29099 add thirdparty name to title
Apr 4, 2024
f2c70d9
SEC Add a protection against installation of external module bypassing
eldy Apr 4, 2024
5cd0456
Fix doxygen
eldy Apr 4, 2024
2e38980
Merge pull request #29228 from Hystepik/add-thirdpparty-name-to-title
eldy Apr 4, 2024
60bc60d
FIX #29225
eldy Apr 4, 2024
8d13cfa
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 4, 2024
16f4f4a
FIX Button for disabled modules must not appear.
eldy Apr 4, 2024
4239a0c
FIX The filter ! was borken in emailcollector
eldy Apr 4, 2024
8e6674f
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 4, 2024
2fbe1fe
Update categorie.class.php
eldy Apr 4, 2024
d32bb16
Update categorie.class.php
eldy Apr 4, 2024
cc112fa
Merge pull request #29216 from altairis-benjamin/improveCategProtection
eldy Apr 4, 2024
660bb7b
FIX: Undefined array key default on fields (#29243)
atm-irvine Apr 6, 2024
bab1694
Fix bug in translation (zh-cn) (#29264)
rqi14 Apr 7, 2024
01d8261
PHP warning on updating html type extrafield (#29260)
PsyCrow-code Apr 7, 2024
330d208
Fix #29028 Fix #29163 Md-theme - Login is on other icons
eldy Apr 8, 2024
40815ec
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 8, 2024
aeefc38
Fix rpm package for fedora
eldy Apr 8, 2024
4f8ee05
Fix : Warning: Undefined variable $toselect in /home/httpd/vhosts/afl…
grandoc Apr 8, 2024
485a17b
#29026 [Class] fix: selectForForms issue on check fields before use f…
nicolas-eoxia Apr 8, 2024
4cd04f8
Fix #29279 Not admin that can create group have disabled button for g…
JonBendtsen Apr 9, 2024
89c9651
Fix example of security options
eldy Apr 9, 2024
500381a
FIX Oauth login
eldy Apr 11, 2024
e5da8f8
FIX: wrong array key (#29317)
mc2rcanarslan Apr 11, 2024
3161c97
Fix multicurrency syncRates disable condition (#29322)
AlbanDurrheimer Apr 11, 2024
c575d26
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 11, 2024
e9ba14c
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 11, 2024
ee3263b
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 11, 2024
de1d67a
FIX #29333 supplier order extrafields of link type displays error (#2…
IC-Ilies Apr 12, 2024
394ed48
FIX : Scale for the "second" unit (#29327)
atm-adrien Apr 12, 2024
95aa03e
FIX #28347 FIX #28962 FIX #29224 FIX #29035 (#29303)
sonikf Apr 12, 2024
3076b6a
fix 500 error count array (#29337)
atm-jpb Apr 12, 2024
99e8533
FIX : Error when updating user (#29304)
atm-adrien Apr 12, 2024
5cec87a
FIX link type extrafield on warehouse not working (#29339)
IC-Ilies Apr 12, 2024
028a099
Fix warnings
eldy Apr 14, 2024
58290ab
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 14, 2024
5278cb0
FIX : We should be able to remove wokstation from bom lines (#29360)
atm-adrien Apr 16, 2024
0d5d0d6
More complete log
eldy Apr 17, 2024
94cc9c2
Fix ergo fail (#29370)
Apr 17, 2024
eea2201
do not add tooltip in tooltip in object lines view (#29368)
frederic34 Apr 17, 2024
db74893
Fix extrafields origins rights (#29376)
Apr 17, 2024
fdebfdb
Fix warning
eldy Apr 17, 2024
a4725a0
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 17, 2024
6475d58
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 18, 2024
aa4fc45
Fix regression in v19 migration
eldy Apr 18, 2024
e95e2b1
FIX : We should be able to add a workstation on bom lines (#29361)
atm-adrien Apr 18, 2024
557c723
FIX logo and escape in RSS
eldy Apr 18, 2024
8949354
FIX: an error occured when doing a mass vat change de 0% on supplier …
spooky360 Apr 20, 2024
5f98189
fix #29381 backport #28039 in v. 19 (#29400)
sonikf Apr 20, 2024
6303bce
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 22, 2024
cbed029
FIX : Ergonomic fail part02 (#29373)
Apr 22, 2024
8ca94fd
Fix warning
eldy Apr 22, 2024
c08a9b6
Fix typo
eldy Apr 22, 2024
cf58ac8
SEC: A user with export permission can export module data without
eldy Apr 23, 2024
dfa1d0b
FIX The localtax must be exported only if activated
eldy Apr 23, 2024
ce7a89c
Fix trans
eldy Apr 23, 2024
0dcc753
FIX Conflict with autoload
eldy Apr 23, 2024
2252cf0
FIX Merge of thirdparties must also move uploaded files
eldy Apr 23, 2024
0ecc442
Fix merge thirdparties
eldy Apr 23, 2024
83629c5
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 23, 2024
a45b62b
FIX: duplicate error check (#29433)
mc2rcanarslan Apr 24, 2024
43b26d9
Fix: warning php 8.2 (#29453)
GregChant Apr 24, 2024
090d079
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 24, 2024
0bcce71
FIX : Row size of role contact in thirdparty (#29456)
atm-irvine Apr 24, 2024
9ed8f07
FIX: missing comma in query (#29435)
mc2rcanarslan Apr 24, 2024
80ee6c8
FIX PHP Warning: Undefined array key "totalam" on line 1891 (#29487)
PsyCrow-code Apr 26, 2024
50833e0
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 27, 2024
d854870
Fix CSS
eldy Apr 27, 2024
2f1dcbc
Fix filter on status in hierarchy page
eldy Apr 27, 2024
93ba918
FIX PHP Warning: Undefined variable $socid on line 55 (#29490)
PsyCrow-code Apr 27, 2024
c17026f
FIX: PHP Warning: Undefined array key "totalam" on line 1890 (#29489)
PsyCrow-code Apr 27, 2024
0d06193
Fix: php warning 8.2 property undefined (#29465)
YannisHoareau Apr 27, 2024
74bc383
FIX: TASK_CREATE Trigger (#29483)
mc2rcanarslan Apr 27, 2024
c892182
add missing tranlation key in FR for memebers (#29467)
FHenry Apr 27, 2024
1c76738
fix: php warning on migration (#29466)
FHenry Apr 27, 2024
aac93f6
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 27, 2024
6615828
Fix : Warning: Undefined property: stdClass::$PRODUIT_DEFAULT_BARCODE…
grandoc Apr 27, 2024
d488ca2
FIX #26015
eldy Apr 29, 2024
dcecfbb
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 29, 2024
a4535de
Fix regression in permission test
eldy Apr 29, 2024
d984707
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 29, 2024
851ecde
FIX : Blank list when contract was checked in list of tickets (#29528)
atm-irvine Apr 29, 2024
12c686a
FIX #29531
eldy Apr 29, 2024
b648fbe
Fix warning
eldy Apr 29, 2024
ee279f5
css
eldy Apr 29, 2024
e87338f
FIX : Hide number beside select contract & added langs to translate c…
atm-irvine Apr 29, 2024
05af70f
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 30, 2024
68e6155
FIX Support of lot serial not working on TakePOS
eldy Apr 30, 2024
c84a48c
FIX Support of lot serial not working on TakePOS
eldy Apr 30, 2024
9b0e884
FIX Support of lot serial not working on TakePOS
eldy Apr 30, 2024
3cfdf3f
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Apr 30, 2024
d39aded
Show more info into popup
eldy Apr 30, 2024
ca3f43d
remove debug in terminal php (#29550)
Jonathanbtq May 1, 2024
c8d6ece
fix free sql (#29579)
frederic34 May 2, 2024
c3801bd
FIX: PHP Warning: Undefined array key "totalam" on line 1890 (#29578)
PsyCrow-code May 2, 2024
07fb11e
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 2, 2024
6e605df
Updated Stripe code for inline items (#29577) (#29589)
elcf May 2, 2024
1b0f4b5
Fix file not found
eldy May 2, 2024
bdf811f
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 2, 2024
1e7184c
FIX PHP Warning: Undefined variable $tva_npr in /fourn/facture/card.…
PsyCrow-code May 3, 2024
4cdf879
Fix : Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must…
grandoc May 3, 2024
e9f7a19
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 3, 2024
f12378d
Prepare 19.0.2
eldy May 4, 2024
27a5b02
Prevents PHP Warnings on multicurrency_rate.php (#29485)
PsyCrow-code May 4, 2024
70a7197
Fix warning
eldy May 5, 2024
1297fd0
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 5, 2024
6789bdb
Fix warning
eldy May 6, 2024
c2ac22e
Fix warning
eldy May 6, 2024
5af8658
Fix typo
eldy May 7, 2024
a2f3186
Typo
eldy May 7, 2024
3b4212a
# FIX PHP Warning: Undefined variable $mode in /compta/paiement/list…
PsyCrow-code May 7, 2024
ca744d9
FIX: langs overwrite (#29630)
altairis-benjamin May 7, 2024
9697238
Fix bad link
eldy May 8, 2024
39791e2
Code comment
eldy May 9, 2024
fa75dc5
FIX Better compatibility when objectdesc is not valid, and warnings
eldy May 9, 2024
0cce9ac
FIX extrafields on Organized events was broken
eldy May 9, 2024
0fcbdcb
Fix : Warning: Undefined array key "help" in /home/httpd/vhosts/aflac…
grandoc May 9, 2024
ef92c24
css
eldy May 10, 2024
a9b1f60
FIX ZAR currency must show the R before the amount
eldy May 10, 2024
1f38a08
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 10, 2024
4b50036
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 10, 2024
150e9f5
FIX: Ternary operator condition is always true/false (#29649)
mc2rcanarslan May 11, 2024
f5200ad
Fix changelog
eldy May 12, 2024
34e9c22
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 12, 2024
2dd939d
Fix dump
eldy May 13, 2024
242f00e
Fix waning during migration
eldy May 13, 2024
f9f4657
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 13, 2024
911571a
FIX: PHP8 warning if $conf->reception is checked the old fashion way …
altairis-noe May 15, 2024
58b1cb7
FIX: parameter name (#29666)
mc2rcanarslan May 15, 2024
885c3e4
FIX Missing the description in tooltip when option show in tooltip on
eldy May 16, 2024
325d6cf
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 16, 2024
7e8285f
Fix warning
eldy May 16, 2024
b07a5b4
Fix missing tooltip
eldy May 16, 2024
2a3372b
Fix warning
eldy May 17, 2024
929d7e4
Fix bad property
eldy May 17, 2024
0ccc9bc
FIX: php warning if cookie doesn’t exist (#29723)
altairis-noe May 21, 2024
29c7180
Fix #28010
eldy May 21, 2024
cc459b5
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 21, 2024
4e9230b
FIX Accountancy - Avoid space on FEC name file (#29716)
aspangaro May 21, 2024
79c2b9e
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
defrance May 21, 2024
b763821
FIX: unitialised var (#29728)
altairis-benjamin May 21, 2024
481fec5
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 21, 2024
95a4cc3
Fix code comment
eldy May 22, 2024
b390096
Fix warning
eldy May 22, 2024
a26113b
delete margin-top TCPDF <u> (#29737)
atm-jonathan May 22, 2024
2ab36e2
FIX Bad count of total of supplie rinvoice into the list
eldy May 23, 2024
152886d
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 23, 2024
8b0cce4
FIX for country type (#29745)
atm-quentin May 23, 2024
a854e58
FIX Missing $param in hook call for list
eldy May 23, 2024
5939421
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 23, 2024
683c11e
Fix sql error
eldy May 23, 2024
49ef7cd
FIX: langs in common docgenerator (#29774)
altairis-melina May 28, 2024
727a502
fix #29740 : fix bad usage of string array (#29763)
Hystepik May 28, 2024
3ebbfc6
FIX #29756 Sql error on comment search (#29761)
aspangaro May 28, 2024
e134875
FIX #29403 HRM - Unable to delete a skill in a job Profile (#29779)
aspangaro May 29, 2024
a357ed3
Fix for #29777. Explain how to use produceAndConsume MO API.
eldy May 29, 2024
80b207e
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 29, 2024
ccb0ae0
API is not working, so we rename it to allow use of another one that can
eldy May 29, 2024
73e0dca
Fix error code
eldy May 29, 2024
86ac532
Doc
eldy May 29, 2024
45e8ed9
Doc
eldy May 29, 2024
66fdf21
Doc
eldy May 29, 2024
4c1768a
Fix #29622 reverse movement cancelation (#29792)
Hystepik May 31, 2024
4b2cd22
FIX : Extrafield intshowzero in list (#29789)
atm-jpb May 31, 2024
9be7464
Update fournisseur.commande.class.php (#29786)
zephyriony May 31, 2024
b08e260
FIX : Page expands when ticket messages are too long (#29785)
atm-irvine May 31, 2024
a8781e0
FIX Extrafields always been delete and re insert for categories (#29781)
comaiteseb May 31, 2024
65cfd9f
Doc
eldy May 31, 2024
5ee4af1
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy May 31, 2024
f36095a
Try to fix value of null instead of 0 int disable_stock_change into
eldy Jun 2, 2024
3d23433
Fix qty_frozen must be O or 1
eldy Jun 3, 2024
f38837c
FIX #29780 Restore filtes when using "back to list"
eldy Jun 3, 2024
699d504
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jun 3, 2024
74359d6
Fix missing hook getNomUrl in ticket (#29881)
nicolas-eoxia Jun 7, 2024
a362532
FIX Missing expense report picto in menu (#29908)
aspangaro Jun 7, 2024
19f68b0
Add clean conditions to show "create purchase order" button in sale o…
vmaury Jun 8, 2024
554df11
FIX Missing expense report picto in list (#29917)
aspangaro Jun 8, 2024
1baec9a
Update tva for Greece (#29849)
sonikf Jun 9, 2024
3c06fe1
Fix #29843 warning division by zero (#29848)
Hystepik Jun 9, 2024
dea7edc
Fix button to save must be hidden if in readonly mode
eldy Jun 9, 2024
2b37ce0
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jun 9, 2024
0fa6cd7
fix extrafield input with the type int mus show 0 value if exist (#29…
atm-jpb Jun 10, 2024
1766311
FIX : move porpale ref pdf cornas (#29989)
atm-corentin Jun 11, 2024
27d9226
Add missing names and fix translation for non latin languages (#29984)
sonikf Jun 11, 2024
ae7f9ac
fix ajaxtooltip productlot (#30035)
frederic34 Jun 15, 2024
a79cdca
FIX : Warning: Undefined property: PropaleLigne::$situation_percent i…
grandoc Jun 15, 2024
a7dc50f
Fix #30022 (#30024)
Humml87 Jun 15, 2024
325c331
19.0 takepos - add the ability to hide the search box if head is hidd…
eushopnet Jun 18, 2024
64e3a37
BACKPORT hook to allow fix external modules compatibility created wit…
Jun 19, 2024
da4f526
test status contact (#30098)
atm-jpb Jun 22, 2024
9c96ba5
Fix: The qty to be produced not added in virtual stock (#30096)
fmarcet Jun 22, 2024
ede95c9
Cant link event to an object : here recruitment (#30100)
vmaury Jun 22, 2024
dafbefd
NEW: Hook do actions or check input after changing a extrafield in co…
Humml87 Jun 23, 2024
bfc0111
Fix romanian PDF
eldy Jun 23, 2024
a8e4f22
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jun 23, 2024
322bbd9
fix : 19.0 fix inconsistent link validation (#30141)
Jun 24, 2024
e57e99f
fix warning with pgsql DoliDB.class.php (#30153)
frederic34 Jun 25, 2024
3cff90a
Fix setup of email
eldy Jun 29, 2024
4f5f7ea
fix: add missing button to validate survey (#30189)
FHenry Jun 29, 2024
fdf5fe0
FIX broken pdf preview when multicompany sharing (#30188)
hregis Jun 29, 2024
f64e4b4
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jun 29, 2024
b2e288f
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jun 30, 2024
082e7d4
fix syntax error in branch 19.0 (#30201)
frederic34 Jun 30, 2024
bde5687
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jun 30, 2024
c7aec87
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jun 30, 2024
e025c54
Fix: Api MRP ProduceAndConsume if MoLine option "disable_stock_change…
Humml87 Jun 30, 2024
b2626ef
fix phan (#30218)
frederic34 Jul 1, 2024
6259d02
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jul 2, 2024
25971c3
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jul 2, 2024
4a6e695
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jul 2, 2024
5660bf5
FIX wrong value for duration unit (#30261)
hregis Jul 4, 2024
ac136ec
Fix inconsistant link element (#30258)
Jul 4, 2024
af64807
Code move
atm-lucasmantegari Jul 5, 2024
146c9e5
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jul 6, 2024
11491bb
Fix error code
eldy Jul 6, 2024
4e9367e
Fix error code
eldy Jul 6, 2024
f05c1b4
FIX - Unknown Character on HTML (#30257)
atm-lucasmantegari Jul 11, 2024
88ee5ec
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jul 13, 2024
c9de307
Fix missing loading trans file
eldy Jul 13, 2024
22def4f
Fix #30298 - billing contact in supplier proposal (#30404)
samifilali Jul 16, 2024
9d4951e
Merge branch '18.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jul 18, 2024
47aa13b
Merge branch '19.0' of [email protected]:Dolibarr/dolibarr.git into 19.0
eldy Jul 18, 2024
6d57732
Merge branch '19.0' of https://github.com/Dolibarr/dolibarr into FIX_…
atm-lucasmantegari Jul 24, 2024
1331cdd
Travis error
atm-lucasmantegari Jul 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
42 changes: 24 additions & 18 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ Bug reports and feature requests
<a name="not-a-support-forum"></a>*Note*: **GitHub Issues is not a support forum.** If you have questions about Dolibarr / need help using the software, please use [the forums](https://www.dolibarr.org/forum.php). Forums exist in different languages.

Issues are managed on [GitHub](https://github.com/Dolibarr/dolibarr/issues).
Default **language here is english**. So please prepare your contributions in english.
Default **language here is English**. So please prepare your contributions in English.

1. Please [use the search engine](https://help.github.com/articles/searching-issues) to check if nobody's already reported your problem.
2. [Create an issue](https://help.github.com/articles/creating-an-issue). Choose an appropriate title. Prepend appropriately with Bug or Feature Request.
3. Tell us the version you are using! (look at /htdocs/admin/system/dolibarr.php? and check if you are using the latest version)
4. Write a report with as much detail as possible (Use [screenshots](https://help.github.com/articles/issue-attachments) or even screencasts and provide logging and debugging informations whenever possible).
4. Write a report with as much detail as possible (Use [screenshots](https://help.github.com/articles/issue-attachments) or even screencasts and provide logging and debugging information whenever possible).
5. Delete unnecessary submissions.
6. **Check your Message at Preview before sending.**



<a name="code"></a>Code
<a name="code"></a>Submit code
---------------------

### Basic workflow
Expand All @@ -35,20 +35,22 @@ Default **language here is english**. So please prepare your contributions in en

Unless you're fixing a bug, all pull requests should be made against the *develop* branch.

If you're fixing a bug, it is preferred that you cook your fix and pull request it
against the oldest version affected that's still supported.
If you're fixing a bug, it is preferred that you cook your fix and pull request it against an oldest version affected.

We officially support versions N, N − 1 and N − 2 for N the latest version available.
We recommend to push it into N - 2 for N the latest version available, if not possible into version N - 1, and finally into develop.
This is just a recommendation, currently, if you push a bug fix on a very old version, it is still merged and propagated into
higher versions.

Choose your base branch accordingly.
The rule N - 2 is just a tip if you don't know which version to choose to get the best the best compromise between ease of correction
and number of potential beneficiaries of the correction.

### General rules
Please don't edit the ChangeLog file. File will be generated from all commit messages during release process by the project manager.
Please don't edit the ChangeLog file. This file is generated from all commit messages during release process by the project manager.

### <a name="commits"></a>Commits
Use clear commit messages with the following structure:

```
```plaintext
[KEYWORD] [ISSUENUM] DESC

LONGDESC
Expand All @@ -66,10 +68,13 @@ where
#### Keyword
In uppercase if you want to have the log comment appears into the generated ChangeLog file.

The keyword can be ommitted if your commit does not fit in any of the following categories:
The keyword can be omitted if your commit does not fit in any of the following categories:

- Fix/FIX: for a bug fix
- New/NEW: for an unreferenced new feature (Opening a feature request and using close is prefered)
- Close/CLOSE: for closing a referenced feature request
- New/NEW: for an unreferenced new feature (Opening a feature request and using close is preferred)
- Perf/PERF: for a performance enhancement
- Qual/QUAL: for quality code enhancement or re-engineering

#### Issuenum
If your commit fixes a referenced bug or feature request.
Expand All @@ -90,19 +95,19 @@ Feel free to express technical details, use cases or anything relevant to the cu

This section can span multiple lines.

Try to keep lines under 120 characters.
If your PR is a change on interface, you must also paste a screenshot showing the new screen.

#### Examples
<pre>
FIX|Fix #456 Short description (where #456 is number of bug fix, if it exists. In upper case to appear into ChangeLog)
or
NEW|New Short description (In upper case to appear into ChangeLog, use this if you add a feature not tracked, otherwise use CLOSE #456)
or
CLOSE|Close #456 Short description (where #456 is number of feature request, if it exists. In upper case to appear into ChangeLog)
or
NEW|New|QUAL|Qual|PERF|Perf Short description (In upper case to appear into ChangeLog, use this if you add a feature not tracked, otherwise use CLOSE #456)
or
Short description (when the commit is not introducing feature nor closing a bug)

Long description (Can span accross multiple lines).
Long description (Can span across multiple lines).
</pre>

### Pull Requests
Expand All @@ -119,7 +124,7 @@ Also, some code changes need a prior approbation:

* if you want to include a new external library (into htdocs/includes directory), please ask before to the core project manager (mention @dolibarr-jedi in your issue) to see if such a library can be accepted.

* if you add a new tables or fields, you MUST first submit a standalone PR with the data structure changes you plan to add/modify (and only data structure changes). Start development only once this data structure has been accepted.
* if you add new tables or fields, you MUST first submit a standalone PR with the data structure changes you plan to add/modify (and only data structure changes). Start development only once this data structure has been accepted.

Once a PR has been submitted, you may need to wait for its integration. It is common that the project leader let the PR open for a long delay to allow every developer discuss about the PR (A label is added in such a case).

Expand All @@ -130,7 +135,8 @@ If your PR has errors reported by the Continuous Integration Platform, it means
If the PR is valid, and is kept open for a long time, a tag will also be added on the PR to describe the status of your PR and why the PR is kept open. By putting your mouse on the tag, you will get a full explanation of the tag/status that explain why your PR has not been integrated yet.
In most cases, it gives you information of things you have to do to have the PR taken into consideration (for example a change is requested, a conflict is expected to be solved, some questions were asked). If you have a yellow, red flag of purple flag, don't expect to have your PR validated. You must first provide the answer the tag ask you. The majority of open PR are waiting an action of the author of the PR.

Statistics on Dolibarr project shows that 95% of submitted PR are reviewed and tagged. Average answer delay is also one of the best among Open source projects (just few days before having the Answer Tag set). This is one of the most important ratio of answered PR in Open Source world for a major project. Don't expect the core team to reach the 100%. A so high ratio is very rare on a so popular project and with the increasing popularity of Dolibarr, this ratio will probably decrease in future to a more common level.
Statistics on Dolibarr project shows that 95% of submitted PR are reviewed and tagged. Average answer delay is also one of the best among Open source projects (just few days before having the Answer Tag set). This is one of the most important ratio of answered PR in Open Source world for a major project. Don't expect the core team to reach the 100%.
A so high ratio is very rare on a so popular project and with the increasing popularity of Dolibarr, this ratio will probably decrease in future to a more common level.


### Resources
Expand All @@ -144,7 +150,7 @@ All other translations are managed online at [Transifex](https://www.transifex.c

Translations done on transifex are available in the next major release.

Note: Sometimes, the source text (english) is modified. In such a case, the translation is reset. Transifex assume that if the original source
Note: Sometimes, the source text (English) is modified. In such a case, the translation is reset. Transifex assume that if the original source
has changed, the translation is surely no more correct so must be done again. But old translation is not lost and you can use the tab "History"
to retrieve all old translation of a source text, and restore the translation in one click with no need to retranslate it if there is no need to.

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ body:
id: files
attributes:
label: Attached files
description: Screenshots, screencasts, dolibarr.log, debugging informations
description: Screenshots, screencasts, dolibarr.log, debugging information
11 changes: 10 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Instructions
*This is a template to help you make good pull requests. You may use [Github Markdown](https://help.github.com/articles/getting-started-with-writing-and-formatting-on-github/) syntax to format your issue report.*
*Please:*
- *only keep the "FIX", "CLOSE" or "NEW" section* (use uppercase to have the PR appears into the ChangeLog, lowercase will not appears)
- *only keep the "FIX", "CLOSE", "NEW", "PERF" or "QUAL" section* (use uppercase to have the PR appears into the ChangeLog, lowercase will not appears)
- *follow the project [contributing guidelines](/.github/CONTRIBUTING.md)*
- *replace the bracket enclosed texts with meaningful information*

Expand All @@ -16,3 +16,12 @@

# NEW|New [*Short description*]
[*Long description*]


# PERF|Perf #[*issue_number Short description*]
[*Long description*]


# QUAL|Qual #[*issue_number Short description*]
[*Long description*]

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fetch-depth: 1
#php-version: '7.1'
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.1.5
uses: JetBrains/qodana-action@v2023.2.1
#with:
# php-version: '7.1'
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
name: "Exakat analysis"

on:
# execute once a month, the 1st
schedule:
- cron: "0 20 * * *"
- cron: "0 20 1 * *"
workflow_dispatch:
branches:
- develop
Expand All @@ -15,11 +16,13 @@ jobs:
exakat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Exakat
uses: docker://exakat/exakat-ga
with:
ignore_rules: 'Classes/UseInstanceof,Performances/PrePostIncrement,Functions/UndefinedFunctions,Functions/WrongNumberOfArguments,Functions/WrongTypeWithCall,Variables/UndefinedVariable,Classes/DontUnsetProperties,Classes/NonPpp,Classes/StaticMethodsCalledFromObject,Classes/UseClassOperator,Functions/UsesDefaultArguments,Php/NoClassInGlobal,Php/ShouldUseCoalesce,Php/WrongTypeForNativeFunction,Structures/AddZero,Structures/DropElseAfterReturn,Structures/IfWithSameConditions,Structures/MergeIfThen,Structures/ElseIfElseif,Structures/ExitUsage,Structures/RepeatedPrint,Structures/RepeatedRegex,Structures/SameConditions,Structures/SwitchWithoutDefault,Structures/ShouldMakeTernary,Structures/UselessParenthesis,Structures/UseConstant'
ignore_dirs: '/htdocs/includes,/build,/dev,/doc,/scripts,/test'
ignore_rules: 'Classes/UseInstanceof,Performances/PrePostIncrement,Functions/UndefinedFunctions,Functions/WrongNumberOfArguments,Functions/WrongTypeWithCall,Variables/UndefinedVariable,Classes/DontUnsetProperties,Classes/NonPpp,Classes/StaticMethodsCalledFromObject,Classes/UseClassOperator,Functions/UsesDefaultArguments,Php/NoClassInGlobal,Php/ShouldUseCoalesce,Php/WrongTypeForNativeFunction,Structures/AddZero,Structures/DropElseAfterReturn,Structures/IfWithSameConditions,Structures/MergeIfThen,Structures/NestedTernary,Structures/ElseIfElseif,Structures/ExitUsage,Structures/RepeatedPrint,Structures/RepeatedRegex,Structures/SameConditions,Structures/SwitchWithoutDefault,Structures/ShouldMakeTernary,Structures/UselessParenthesis,Structures/UseConstant'
ignore_dirs: '/htdocs/includes/,/htdocs/install/doctemplates/,/build/,/dev/,/doc/,/scripts/,/test/'
file_extensions: php
project_reports: Perfile
2 changes: 1 addition & 1 deletion .github/workflows/github_ci_php71_pgsql.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ jobs:
sudo cat /etc/apache2/sites-enabled/000-default.conf
sudo service apache2 restart
curl -I localhost
- name: Chech Apache availability
- name: Check Apache availability
run: |
echo "Checking webserver availability by a wget -O - --debug http://127.0.0.1"
# Ensure we stop on error with set -e
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github_ci_php81_mysql.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
sudo cat /etc/apache2/sites-enabled/000-default.conf
sudo service apache2 restart
curl -I localhost
- name: Chech Apache availability
- name: Check Apache availability
run: |
echo "Checking webserver availability by a wget -O - --debug http://127.0.0.1"
# Ensure we stop on error with set -e
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 50 # important!

Expand Down
29 changes: 24 additions & 5 deletions .github/workflows/phpcsfixer.yml.disabled
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: GitHub CI PHPCS and PHPCBF

on: push
on:
pull_request:
types: [opened]
#on:
# push:
# paths:
Expand All @@ -11,15 +13,17 @@ jobs:
# uses: ./.github/workflows/files_changed.yaml
# with:
# folder_path: .*

linter_name:
name: Run & fix PHP Code Sniffer
runs-on: ubuntu-latest
#needs: filesChanged
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 10
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
# fetch-depth: 10

- name: echo Get list of all changed files
run: |
Expand All @@ -39,6 +43,21 @@ jobs:
phpcs_ref_name: ${{github.ref_name}}
phpcs_github_event_name: ${{github.event_name}}
phpcs_files: ${{ needs.filesChanged.outputs.all_changed_files }}
- uses: stefanzweifel/git-auto-commit-action@v4 # auto commit the fixes action for GitHub

#- uses: stefanzweifel/git-auto-commit-action@v4 # auto commit the fixes action for GitHub
# with:
# commit_message: Fix PHPCS errors by GitHub PHPCSfixer action

- name: Commit changes
uses: EndBug/[email protected]
with:
commit_message: Fix PHPCS errors by GitHub PHPCSfixer action
default_author: github_actions
committer_name: GitHub Actions
committer_email: [email protected]
#author_name: PHP CS fixer
#author_email: [email protected]
#committer_name: PHP CS fixer
#committer_email: [email protected]
message: 'PHP CS fixer github action'
add: '*.php'

13 changes: 7 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ package-lock.json
doc/install.lock
/.asciidoctorconfig.adoc

# Qodana
.idea/vcs.xml
.idea/modules.xml
.idea/workspace.xml
.idea/inspectionProfiles/Project_Default.xml
.idea/jsLinters/jshint.xml
.idea
/composer.json
/composer.lock

/build/phpstan/phpstan
/build/phpstan/bootstrap_custom.php
phpstan_custom.neon
/.php-cs-fixer.cache
/.php_cs.cache
63 changes: 63 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?php

/* PHP 7.0 */
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude([
'core/includes',
'custom',
'documents',
'doctemplates',
'vendor',
'install/doctemplates',
'htdocs/custom',
'htdocs/includes',
'htdocs/install/doctemplates',
])
->notPath('vendor');


/* PHP 7.4+ */
/*
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude([
'custom',
'documents',
'htdocs/custom',
'htdocs/includes',
])
->notPath([
'vendor',
]);
*/

return (new PhpCsFixer\Config())
->setRules([
// Apply PSR-12 as per https://wiki.dolibarr.org/index.php?title=Langages_et_normes#PHP:~:text=utiliser%20est%20le-,PSR%2D12,-(https%3A//www
'@PSR12' => true, // Disabled for now to limit number of changes

// Minimum version Dolibarr v18.0.0
// Compatibility with min 7.1 is announced with Dolibarr18.0 but
// app is still working with 7.0 so no reason to abandon compatiblity with this target for the moment.
// So we use target PHP70 for the moment.
'@PHP70Migration' => true,
//'@PHP71Migration' => true,
// Avoid adding public to const (incompatible with PHP 7.0):
'visibility_required' => ['elements'=>['property', 'method']],

//'strict_param' => true,
//'array_syntax' => ['syntax' => 'short'],
//'list_syntax' => false,
//'visibility_required' => false,
'array_syntax' => false,
'ternary_to_null_coalescing' => false
])
->setFinder($finder)
// TAB Indent violates PSR-12 "must" rule, but used in code
// (See https://www.php-fig.org/psr/psr-12/#24-indenting )
->setIndent("\t")
// All files MUST use the Unix LF line ending only
// https://www.php-fig.org/psr/psr-12/#22-files
->setLineEnding("\n")
;
13 changes: 13 additions & 0 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
<!--
Documentation:
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
-->

<rule ref="dev/setup/codesniffer/ruleset.xml"/>

<arg value="p"/>
<arg name="colors"/>
<arg name="extensions" value="php,inc" />
</ruleset>
Loading
Loading