Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
78ff957
Simplify selection of invoice type by removing one line.
eldy Mar 19, 2026
b4cdc8d
Clean create form
eldy Mar 19, 2026
ec2c637
spellcheck war
eldy Mar 19, 2026
d4ac4ff
Fix error management on generation of direct debit or cedit transfer
eldy Mar 19, 2026
76e3f4b
Better note message
eldy Mar 19, 2026
3e677eb
Debug LNE
eldy Mar 19, 2026
7526045
css
eldy Mar 19, 2026
b72e2a3
NEW Can enable/disable external calender per calendar.
eldy Mar 20, 2026
3f29b16
NEW Can enable/disable external calender per calendar.
eldy Mar 20, 2026
5023677
CSS
eldy Mar 20, 2026
bbbc032
Fix trans
eldy Mar 20, 2026
267a76f
Fix #37509 (#37559)
bos4711 Mar 20, 2026
0fea494
WIP : UIUX : Add tooltip doc and tooltip css alternatives needed for …
thersane-john Mar 20, 2026
d572b83
FIX #37551 Accounting - Use better rights on create / export entry (#…
aspangaro Mar 20, 2026
4e091e4
Add css contact information (#37554)
aspangaro Mar 20, 2026
71bcb69
NEW Contact - List - Add column State & Region (#37553)
aspangaro Mar 20, 2026
e4fc1f8
Clean code
eldy Mar 20, 2026
f1acad7
FIx clone action on project (#37549)
SylvainLegrand Mar 20, 2026
a50b9b4
Better logic for offset on project date end when cloning.
eldy Mar 20, 2026
5e91586
Add column in c_ticket_category to have a link with c_ticket_type (#…
Hystepik Mar 20, 2026
5a9c9e5
CI
eldy Mar 20, 2026
4cef8b5
NEW - Add substitution for deposit (#37546)
BB2A-Anthony Mar 20, 2026
4bd118e
NEW Add Batch and function to send HR information (#37542)
Hystepik Mar 20, 2026
7aec9d3
FIX: Allow to include spaces in email filename (#37539)
creekorful Mar 20, 2026
32309db
Qual third parties API clean index method (#37536)
W1W1-M Mar 20, 2026
fd874dc
FIX : product ref was not printed on supplier recurring invoice (#37535)
atm-maxime Mar 20, 2026
0e1741a
Fix syslog configuration (#37531)
hansemschnokeloch Mar 20, 2026
0dec786
Fix syslog configuration (#37531)
hansemschnokeloch Mar 20, 2026
84c1b0a
CI
eldy Mar 20, 2026
de18586
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 20, 2026
f7f9b20
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
eldy Mar 20, 2026
a92c3ae
# NEW|New WebPortal support for interventions and tickets (#37538)
mapiolca Mar 20, 2026
19a0f2e
FIX contrat update alias for postgres (#37524)
preg26 Mar 20, 2026
61545bc
Fix merge of array
eldy Mar 20, 2026
28ec60f
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0
eldy Mar 20, 2026
bf63970
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 20, 2026
5d49f4f
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 20, 2026
8cdddcb
Fir return of array error
eldy Mar 20, 2026
6b00069
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 20, 2026
17b1436
update mistaken field in recruitment api (#37550)
bybel Mar 20, 2026
6262c42
Doc
eldy Mar 20, 2026
7a1cacc
Complete the addline method with the origintype to reduce impact
eldy Mar 20, 2026
bab6cb9
Uiux : include Giff Ux feedbax about shadow for light tooltips theme …
thersane-john Mar 20, 2026
f00da89
separate new and conf condition (#37547)
atm-jonathan Mar 20, 2026
6963b65
Fix bad practive. The object $user was erased by another one.
eldy Mar 20, 2026
4fcb0a4
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 20, 2026
7dde96f
add tables for product_lang extrafields (#37521)
frederic34 Mar 20, 2026
29a5bef
Fix getURLContent should serialize arguments and allow array for CURL…
williamdes Mar 20, 2026
6be96b9
Fix CI
eldy Mar 20, 2026
983e9c4
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 20, 2026
24a6061
Fix confirmation email not sent when ticket created via Email Collect…
glu000 Mar 20, 2026
97c36a3
Automated merge from 14.0 to 15.0 by tool pullmerge.sh
eldy Mar 20, 2026
0de4102
FIX: preselected best supplier price should consider discount (#37564)
altairis-noe Mar 21, 2026
d942082
Doc fix #37451
eldy Mar 21, 2026
91e18f3
CSS
eldy Mar 21, 2026
2823fd1
CSS
eldy Mar 21, 2026
5ac556f
CSS
eldy Mar 21, 2026
ab93e0e
Look and feel v24
eldy Mar 21, 2026
a41db78
Look and feel v24
eldy Mar 21, 2026
8819258
Automated merge from 15.0 to 16.0 by tool pullmerge.sh
eldy Mar 21, 2026
587fdc0
Automated merge from 16.0 to 17.0 by tool pullmerge.sh
eldy Mar 21, 2026
7059a82
Automated merge from 17.0 to 18.0 by tool pullmerge.sh
eldy Mar 21, 2026
9db3575
Automated merge from 18.0 to 19.0 by tool pullmerge.sh
eldy Mar 21, 2026
aee1c5b
Automated merge from 19.0 to 20.0 by tool pullmerge.sh
eldy Mar 22, 2026
de6af44
Automated merge from 20.0 to 21.0 by tool pullmerge.sh
eldy Mar 22, 2026
63b7877
Fix error message
eldy Mar 22, 2026
8646a45
Automated merge from 21.0 to 22.0 by tool pullmerge.sh
eldy Mar 22, 2026
6cb2c5b
Automated merge from 22.0 to 23.0 by tool pullmerge.sh
eldy Mar 22, 2026
8662707
Fix must show also siret if siret start does not match siret
eldy Mar 22, 2026
0837597
Fix 37406 (#37565)
bos4711 Mar 22, 2026
15c63dd
concat supplier order ref/date in mass invoice line descriptions (#37…
atm-lucasmantegari Mar 23, 2026
49d6152
Fix creation of extrafields datetimegmt
eldy Mar 23, 2026
0770b63
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 23, 2026
4147fc7
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 23, 2026
129f6ee
NEW Display external linked picture on product card (#37574)
aspangaro Mar 23, 2026
bebec07
Fix: Button to hide paid supplier orders in project overview not work…
fmarcet Mar 23, 2026
0889e1a
FIX - Fix the default filter dates (#37579)
kkhelifa-opendsi Mar 23, 2026
7a4f28f
NEW adds a hook in the ticket email/message form generated by `FormTi…
atm-jpb Mar 23, 2026
de04a5f
Clean code - Bad consistency between addField and updateField
eldy Mar 23, 2026
5dd08f9
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 23, 2026
4750c80
Automated merge from 22.0 to 23.0 by tool pullmerge.sh
eldy Mar 23, 2026
465fdf1
Automated merge from 23.0 to develop
eldy Mar 23, 2026
15e1af2
No default contact available for products so adding contact not
eldy Mar 23, 2026
6b460d8
Fix trigger name
eldy Mar 23, 2026
35a5350
Fix trigger name
eldy Mar 23, 2026
7c143c1
css
eldy Mar 23, 2026
371bd26
Fix test
eldy Mar 23, 2026
5e27e2e
fix Fatal error: Uncaught Error: Call to a member function formSelec…
atm-jonathan Mar 23, 2026
43d16d7
Add more information on pushcounter call
eldy Mar 23, 2026
da5e245
Fix warning
eldy Mar 23, 2026
715ae3c
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0
eldy Mar 23, 2026
ede4756
Fix warning
eldy Mar 23, 2026
d92c19b
Format date
eldy Mar 23, 2026
2532504
Log
eldy Mar 23, 2026
031f9b2
FIX fatal error to create when no language set
eldy Mar 23, 2026
4e9643c
Fix constructor
eldy Mar 23, 2026
d2ecec4
Fix
eldy Mar 23, 2026
bd0315b
Fix param
eldy Mar 23, 2026
72eb174
Warning
eldy Mar 23, 2026
a06b14b
FIX #GHSA-v5fq-cf5m-vwv7 - Credit Grzegorz Tworek, Sec4check
eldy Mar 23, 2026
afac393
fix phpstan (#37585)
frederic34 Mar 23, 2026
61e3123
Add admin for product lang extrafields (#37586)
frederic34 Mar 23, 2026
3868834
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 23, 2026
b4a93f6
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 23, 2026
55297e8
fix #37575 (#37587)
frederic34 Mar 23, 2026
1052269
Fix #37575 (#37577)
bos4711 Mar 23, 2026
ecbb62d
FIX Accountancy - Need more information about mandatory step in vario…
aspangaro Mar 23, 2026
eafa2be
Standardize code
eldy Mar 23, 2026
eafb3e6
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 23, 2026
e636a3e
Standardize code
eldy Mar 23, 2026
40dcf61
Debug
eldy Mar 23, 2026
ea4d6cf
Move module "Advanced Stock transfer" as stable
eldy Mar 23, 2026
1b42d8b
Fix menu entry to expand setup menus must not open 1 specific menu. User
eldy Mar 23, 2026
d14afa3
Doc
eldy Mar 24, 2026
0313d7b
Clean code
eldy Mar 24, 2026
f590433
Clean code
eldy Mar 24, 2026
9804cac
Doc
eldy Mar 24, 2026
9c8845a
Fix set status with objectonoff
eldy Mar 24, 2026
ea05150
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0
eldy Mar 24, 2026
b656bea
Add missing column
eldy Mar 24, 2026
fe04dd0
Fix set status of product with MAIN_DIRECT_STATUS_UPDATE
eldy Mar 24, 2026
310eff2
Fix set status of product with MAIN_DIRECT_STATUS_UPDATE
eldy Mar 24, 2026
b161053
Fix error management
eldy Mar 24, 2026
5a0a914
Fix setValueFrom
eldy Mar 24, 2026
c8be660
Fix pb with ajaxonoff
eldy Mar 24, 2026
1492aa4
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 24, 2026
ab53343
Fix/extrafield visibility on doc (#37576)
ATM-NicolasV Mar 24, 2026
6ad7f7e
Cleaned PHPDoc. Aligned method name. Fixed return. (#37602)
W1W1-M Mar 24, 2026
6cbb7ef
FIX #37461 #37511 Accountancy - Bank journal - Problem of cache (#37603)
aspangaro Mar 24, 2026
7f7c7b0
NEW | New hidden option STOCK_EXPEDITION_NO_MORE_THAN_ORDER to preven…
Boushabazakaria Mar 24, 2026
b8a23e0
Fixed return (#37601)
W1W1-M Mar 24, 2026
19a696a
Update date parameter in addline function call (#37598)
defrance Mar 25, 2026
ab2d617
Fix: Not showing documents on webportal (#37596)
fmarcet Mar 25, 2026
ba62402
NEW add extrafields in product multiprices export (#37595)
frederic34 Mar 25, 2026
62c6e1d
fix(expedition): use date_creation instead of date_delivery in linked…
Boushabazakaria Mar 25, 2026
80f7666
NEW Add field 'Commentaires' in formconfirm whan adding a payment on …
thomas-Ngr Mar 25, 2026
fd93c50
fix: add null check before setting _renderItem on jQuery UI autocompl…
atm-lucasmantegari Mar 25, 2026
a470676
UX #36002 Replace bank link to various payment with fetch (#37592)
aspangaro Mar 25, 2026
4bf472b
Remove project label overflow in societe/project.php to allow better …
creekorful Mar 25, 2026
0511915
fix: do not set detail_batch on non-batched shipment lines (#37378)
minimexat Mar 25, 2026
d8a06d7
CSS
eldy Mar 25, 2026
a91840a
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 25, 2026
c7cac13
FIX Filter on list of credit transfer
eldy Mar 25, 2026
0dd27f2
Fix sanitize param groupby in customreport
eldy Mar 25, 2026
4ebdc3d
Automated merge from 14.0 to 15.0 by tool pullmerge.sh
eldy Mar 25, 2026
db00b2e
Automated merge from 15.0 to 16.0 by tool pullmerge.sh
eldy Mar 25, 2026
af07651
Automated merge from 16.0 to 17.0 by tool pullmerge.sh
eldy Mar 25, 2026
a4e883e
Automated merge from 17.0 to 18.0 by tool pullmerge.sh
eldy Mar 25, 2026
16ac7c9
Automated merge from 18.0 to 19.0 by tool pullmerge.sh
eldy Mar 25, 2026
58af7c2
Automated merge from 19.0 to 20.0 by tool pullmerge.sh
eldy Mar 25, 2026
553f29e
Fix what seems to be a regression when doing #37511 and #37461
eldy Mar 25, 2026
3841d85
Automated merge from 20.0 to 21.0 by tool pullmerge.sh
eldy Mar 25, 2026
9b567bf
Automated merge from 20.0 to 21.0 by tool pullmerge.sh
eldy Mar 25, 2026
60353bd
Automated merge from 21.0 to 22.0 by tool pullmerge.sh
eldy Mar 25, 2026
584b25a
Automated merge from 22.0 to 23.0 by tool pullmerge.sh
eldy Mar 25, 2026
e0b6798
Automated merge from 23.0 to develop
eldy Mar 25, 2026
46b545d
clean code (#37593)
frederic34 Mar 25, 2026
c50dfad
FIX intervention API update line (#37607)
W1W1-M Mar 25, 2026
79490d2
QUAL intervention API update line (#37606)
W1W1-M Mar 25, 2026
93a9df2
fix delete all price by qty (#37612)
frederic34 Mar 25, 2026
88f1391
Potential fix for code scanning alert no. 2: Workflow does not contai…
eldy Mar 25, 2026
fa8c64e
Update README.md (#37608)
melodie11 Mar 25, 2026
0d373c4
Try to disable a feature that should not be used anympore.
eldy Mar 25, 2026
4437379
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 25, 2026
8ab83f3
Backport fix #GHSA-3j3p-jjf7-hm9g
eldy Mar 25, 2026
85b5fb2
Automated merge from 22.0 to 23.0 by tool pullmerge.sh
eldy Mar 25, 2026
8505d33
Automated merge from 23.0 to develop
eldy Mar 25, 2026
40374ec
FIX #GHSA-8qh8-6h88-q46p
eldy Mar 25, 2026
93f902a
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 25, 2026
4e391be
Fix edit dav: link
eldy Mar 25, 2026
29c6375
Fix #GHSA-mh66-3w5r-xg9j
eldy Mar 25, 2026
6f42552
FIx #GHSA-vmvw-qq8w-wqhg
eldy Mar 25, 2026
d0b40e7
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 25, 2026
ea1d360
FIX #GHSA-3g6r-h9mx-5gg9
eldy Mar 25, 2026
3560acd
FIX #GHSA-7hqv-pvw6-cw54
eldy Mar 25, 2026
f98e60b
FIX #GHSA-7hqv-pvw6-cw54
eldy Mar 25, 2026
083a1ef
NEW Accountancy - Auxiliary account - Propose an ajax search on list …
aspangaro Mar 25, 2026
b3f4a6f
css
eldy Mar 25, 2026
978acc5
Fix CI
eldy Mar 25, 2026
d506dc4
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 25, 2026
3fb593e
NEW Move deprecated option
eldy Mar 25, 2026
e9b2afa
Fix remove button that is not valid
eldy Mar 25, 2026
b565d49
FIX #GHSA-hh5p-m24x-fwx2 block ssrf when using webhooks
eldy Mar 25, 2026
f8e61c2
Doc
eldy Mar 25, 2026
8ae3e40
CI
eldy Mar 25, 2026
6a3492b
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 25, 2026
b87f838
Doc
eldy Mar 25, 2026
9d2ac94
Restore feature to manage timeout (when garbage is done at page access)
eldy Mar 25, 2026
1072e09
FIX #GHSA-39vm-9q4p-6jjg - force disabling module possible on demo only
eldy Mar 25, 2026
a41115e
Fix line when list is empty
eldy Mar 25, 2026
644ba49
Clean code
eldy Mar 25, 2026
9b058c8
Doc
eldy Mar 25, 2026
e208c86
Doc
eldy Mar 26, 2026
6d68a68
Fix #GHSA-5w4f-94xq-w36f - wrapper to download files in public ticket is
eldy Mar 26, 2026
826c9c7
fix parameter (#37615)
frederic34 Mar 26, 2026
35b9ea9
fix parameter (V20 fix) (#37616)
frederic34 Mar 26, 2026
05dc943
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0
eldy Mar 26, 2026
677d6b6
ci
eldy Mar 26, 2026
3a069eb
ci
eldy Mar 26, 2026
13d2313
ci
eldy Mar 26, 2026
3de5f58
ci
eldy Mar 26, 2026
33c0fc1
Automated merge from 20.0 to 21.0 by tool pullmerge.sh
eldy Mar 26, 2026
5da56bd
Automated merge from 21.0 to 22.0 by tool pullmerge.sh
eldy Mar 26, 2026
6b52d31
Automated merge from 22.0 to 23.0 by tool pullmerge.sh
eldy Mar 26, 2026
df87252
Automated merge from 23.0 to develop
eldy Mar 26, 2026
a9d6c37
ci
eldy Mar 26, 2026
082c0ad
Fix line ordering during situation or replacement invoice creation (#…
atm-jonathan Mar 26, 2026
d66ec4b
Use json_encode/json_decode to serialize
eldy Mar 26, 2026
9a9b7ef
Fix line ordering during situation or replacement invoice creation (#…
atm-jonathan Mar 26, 2026
3245e22
fix phpstan (#37614)
frederic34 Mar 26, 2026
f489702
Potential fix for code scanning alert no. 1: Workflow does not contai…
eldy Mar 26, 2026
ca1ecd3
Clean code
eldy Mar 26, 2026
3ec3582
Fix GHSA-vpmc-jjmw-vhww
eldy Mar 26, 2026
63c89c2
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 26, 2026
e719cd3
Fix GHSA-vpmc-jjmw-vhww
eldy Mar 26, 2026
4269d82
Set a value by default for PAYMENT_SECURITY_TOKEN
eldy Mar 26, 2026
bea0d2c
Prepare 18.0.9 (#37625)
lvessiller-opendsi Mar 26, 2026
42d545b
Look and feel v24
eldy Mar 26, 2026
67e35e3
Fix #GHSA-jc53-p98m-66wv - SSRF better on servers with ipv6 only.
eldy Mar 26, 2026
8d60d0a
NEW Start implementation of MAIN_RESTRICTHTML_ONLY_VALID_HTML=2
eldy Mar 26, 2026
18aa444
NEW use of rich editor is off by default on public page
eldy Mar 26, 2026
3566f80
Fix var name
eldy Mar 26, 2026
ee93b6f
FIX #GHSA-qjj8-wpvx-p54j - test on hierarchy not done on some api
eldy Mar 26, 2026
1124439
FIX #GHSA-qjj8-wpvx-p54j - test on hierarchy not done on some api
eldy Mar 26, 2026
01297d0
FIX #GHSA-crgg-h74r-2m8r (#37637)
thomas-Ngr Mar 26, 2026
52e511d
remove duplicate key in ci-on-push.yml (#37626)
frederic34 Mar 26, 2026
b47d034
core: propagate order links to discount invoices (#37638)
braito4 Mar 26, 2026
85b92cc
fix(emailcollector): include hook error details in operations log (#3…
braito4 Mar 26, 2026
5be6afd
fix(emailcollector): persist and dedupe supplier order attachments (#…
braito4 Mar 26, 2026
c83c133
FIX #GHSA-v5fq-cf5m-vwv7 - Credit Grzegorz Tworek, Sec4check (#37632)
thomas-Ngr Mar 26, 2026
1f1b6bf
FIX #GHSA-hh5p-m24x-fwx2 block ssrf when using webhooks (#37630)
thomas-Ngr Mar 26, 2026
fb251fe
FIX #GHSA-39vm-9q4p-6jjg - force disabling module possible on demo on…
thomas-Ngr Mar 26, 2026
8ced196
feat(supplier_payment): enhance standard PDF with supplier refs and b…
braito4 Mar 26, 2026
a1ec2f1
Implement toggle functionality for module families (#37581)
defrance Mar 26, 2026
6610f72
CI
eldy Mar 26, 2026
e73ee16
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
eldy Mar 26, 2026
acb103f
Automated merge from 18.0 to 19.0 by tool pullmerge.sh
eldy Mar 26, 2026
271a7e6
Automated merge from 19.0 to 20.0 by tool pullmerge.sh
eldy Mar 26, 2026
9dbe9a9
Automated merge from 20.0 to 21.0 by tool pullmerge.sh
eldy Mar 26, 2026
451dcc9
Automated merge from 21.0 to 22.0 by tool pullmerge.sh
eldy Mar 26, 2026
2bb779f
Automated merge from 22.0 to 23.0 by tool pullmerge.sh
eldy Mar 26, 2026
5056dfc
Automated merge from 23.0 to develop
eldy Mar 26, 2026
e263a85
FIX #GHSA-ph29-326p-chw4 - disable+sanitize deprecated load/save files
eldy Mar 26, 2026
e10816f
Automated merge from 23.0 to develop
eldy Mar 26, 2026
c7e6ab8
Removed dead code
eldy Mar 27, 2026
996713a
Log
eldy Mar 27, 2026
1c865a5
Better logs
eldy Mar 27, 2026
03bbccf
css
eldy Mar 28, 2026
d6d922c
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 28, 2026
7e7ee99
Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop
eldy Mar 28, 2026
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.
5 changes: 2 additions & 3 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ languages:
JavaScript: true
PHP: true
engines:
phpcodesniffer: true
phpcodesniffer: true
exclude_paths:
- 'build/*'
- 'dev/*'
- 'doc/*'
- 'test/*'
- 'htdocs/includes/*'
- 'htdocs/includes/*'
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@ insert_final_newline = true
indent_style = tab
[*.css]
indent_style = tab
[*.sh]
indent_style = tab
[*.xml]
indent_style = tab
[*.md]
trim_trailing_whitespace = false
[*.sql]
indent_style = tab
trim_trailing_whitespace = true
indent_size = 4
[*.yml]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
13 changes: 7 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* text=auto


# Explicitly declare text files we want to always be normalized and converted
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.php text eol=lf
*.pl text eol=lf
Expand All @@ -21,6 +21,7 @@
*.yml text eol=lf
*.yaml text eol=lf
*.conf text eol=lf
*.neon text eol=lf

.bash_aliases text eol=lf

Expand All @@ -38,20 +39,20 @@


# Export ignores to generate clean production tarballs
/build export-ignore
/dev export-ignore
/doc export-ignore
/test export-ignore
/.github export-ignore
/.phan export-ignore
/.tx export-ignore
.buildpath export-ignore
/build.xml export-ignore
.codeclimate.yml export-ignore
Dockerfile export-ignore
.dockerignore export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.mailmap export-ignore
.scrutinizer.yml export-ignore
.pre-commit-config.yaml export-ignore
.settings export-ignore
.travis.yml export-ignore
.tx export-ignore
Dockerfile export-ignore
127 changes: 87 additions & 40 deletions .github/CONTRIBUTING.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

open_collective: dolibarr
custom: https://wiki.dolibarr.org/index.php/Subscribe
github: [eldy]
github: [eldy]
37 changes: 7 additions & 30 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
attributes:
value: |
This is a template to help you report good issues. You may use [Github Markdown](https://help.github.com/articles/getting-started-with-writing-and-formatting-on-github/) syntax to format your issue report.

- type: textarea
id: bug
attributes:
Expand All @@ -19,53 +19,30 @@ body:
- type: input
id: environment-version
attributes:
label: Environment Version
label: Dolibarr Version
description: Affected Dolibarr version(s)
placeholder: 19.0, develop, ...

- type: input
id: environment-os
attributes:
label: Environment OS
description: Server OS type and version

- type: input
id: environment-webserver
attributes:
label: Environment Web server
description: Webserver type and version

- type: input
id: environment-php
attributes:
label: Environment PHP
description: PHP version

- type: input
id: environment-database
attributes:
label: Environment Database
description: Database type and version

- type: input
id: environment-urls
attributes:
label: Environment URL(s)
description: Affected URL(s)

- type: textarea
id: expected-behaviour
attributes:
label: Expected and actual behavior
description: Verbose description

- type: textarea
id: reproduce
attributes:
label: Steps to reproduce the behavior
label: Steps to reproduce the behavior and expected behavior
description: Verbose description

- type: textarea
id: files
attributes:
label: Attached files
description: Screenshots, screencasts, dolibarr.log, debugging informations
description: Screenshots, screencasts, dolibarr.log, debugging information
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ body:
attributes:
label: Use case
description: Verbose description

- type: textarea
id: suggested-implementation
attributes:
Expand Down
16 changes: 15 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# 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", "UIUX", 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)*
- ***in particular, in case of a bugfix, please check that you are targetting the branch corresponding to the oldest version in which the bug occurs***
- *replace the bracket enclosed texts with meaningful information*


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

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


# UIUX|Uiux [*Short description*]
[*Long description*]


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


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

19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
allow:
# Allow production updates only (can do a AND, several entries are doing a OR)
- dependency-type: "production"
#- dependency-type: "direct"
exclude-paths:
- 'dev'
- 'tests/acceptance'
- 'tests/selenium'
86 changes: 86 additions & 0 deletions .github/scripts/get_changed_php.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#!/bin/bash
# Copyright (C) 2025 MDW <mdeweerd@users.noreply.github.com>

set -euo pipefail

# This script retrieves the list of changed PHP files for a pull request
# using the GitHub API and sets two outputs:
# - any_changed: "true" if at least one PHP file changed, "false" otherwise
# - all_changed_files: space-separated list of changed PHP file paths
#
# Required environment variables:
# GITHUB_TOKEN - GitHub token with repo access
# GITHUB_REPOSITORY - "owner/repo"
# GITHUB_EVENT_PATH - Path to the event JSON payload

# Verify required environment variables are set
if [[ -z "${GITHUB_TOKEN:-}" ]]; then
echo "GITHUB_TOKEN is not set" >&2
exit 1
fi
if [[ -z "${GITHUB_REPOSITORY:-}" ]]; then
echo "GITHUB_REPOSITORY is not set" >&2
exit 1
fi
if [[ -z "${GITHUB_EVENT_PATH:-}" ]]; then
echo "GITHUB_EVENT_PATH is not set" >&2
exit 1
fi

# Extract the pull request number from the event payload
pr_number=$(jq --raw-output '.pull_request.number' "$GITHUB_EVENT_PATH")
if [[ "$pr_number" == "null" ]]; then
echo "Not a pull request event"
exit 0
fi

# Split repository into owner and repo name
# Split repository into owner and repo name using Bash parameter expansion
owner="${GITHUB_REPOSITORY%%/*}" # Extract text before the first '/'
repo="${GITHUB_REPOSITORY##*/}" # Extract text after the last '/'

page=1
per_page=100
changed_php_files=()

# Loop through all pages to gather changed files
while true; do
response=$(curl -s -H "Authorization: token ${GITHUB_TOKEN}" \
"https://api.github.com/repos/${owner}/${repo}/pulls/${pr_number}/files?per_page=${per_page}&page=${page}")

# Filter for files ending with .php and add them to the list
mapfile -t files < <(echo "$response" | jq -r '.[] | select(.filename | test("\\.php$")) | .filename')
changed_php_files+=("${files[@]}")

# Check if we have reached the last page (less than per_page results)
count=$(echo "$response" | jq 'length')
if (( count < per_page )); then
break
fi
((page++))
done


# Build a space-separated string of changed PHP files
# This does not cope with files that have spaces.
# But such files do not exist in the project (at least not for the
# files we are filtering).
all_changed_files=$(IFS=" " ; echo "${changed_php_files[*]}")


# Determine changed files flag
if [ -z "$all_changed_files" ]; then
any_changed="false"
else
any_changed="true"
fi

# Set outputs for GitHub Actions if GITHUB_OUTPUT is available
if [ -n "${GITHUB_OUTPUT:-}" ]; then
echo "any_changed=${any_changed}" >> "$GITHUB_OUTPUT"
echo "all_changed_files=${all_changed_files}" >> "$GITHUB_OUTPUT"
else
# Otherwise, print the outputs
echo "any_changed=${any_changed}"
echo "all_changed_files=${all_changed_files}"
fi
File renamed without changes.
33 changes: 33 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# CI Workflows

The 2 main CI workflows are:
----------------------------

- ci-on-pull_request.yml
- ci-on-push.yml

This run the actions:

- pre-commit.yml
- phan.yml
- phpstan.yml
When all succeed, start:
- Windows-ci;

See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow


The other worklows are:
-----------------------

- ci-stale-issues-safe to autoclose old issues.
- ci-phpstan_baseline to update the phpstan baseline file.
- ci-cache-clean-pr to clean cache when closing a PR.
- ci-test to make CI tests

Some tests workflows are:
------------------------

- pr-18
- pr-18-autolbal
- test
39 changes: 39 additions & 0 deletions .github/workflows/ci-cache-clean-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
# This clean the caches of a branch when we close the pull request.
# See https://github.com/actions/cache/blob/main/tips-and-workarounds.md#force-deletion-of-caches-overriding-default-cache-eviction-policy
name: Cleanup caches of a closed branch
on:
pull_request:
types: [closed]
workflow_dispatch:


jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
# `actions:write` permission is required to delete caches
# See also: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-a-github-actions-cache-for-a-repository-using-a-cache-id
actions: write
contents: read
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Cleanup
run: |
gh extension install actions/gh-actions-cache
REPO="${{ github.repository }}"
BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"
echo "Fetching list of cache key"
cacheKeysForPR=$(gh actions-cache list -R "$REPO" -B "$BRANCH" | cut -f 1 )

## Setting this to not fail the workflow while deleting cache keys.
set +e
echo "Deleting caches..."
for cacheKey in $cacheKeysForPR
do
gh actions-cache delete "$cacheKey" -R "$REPO" -B "$BRANCH" --confirm
done
echo "Done"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/ci-checkfilesetlock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
# This is a basic workflow to check the lock on major version (to lock some files on certified versions)
name: Check fileset lock

on: [push, pull_request]

concurrency:
group: check-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
checkmajorversion:
name: Check lock on fileset unalterable_files with generate_filelist_xml.php
runs-on: ubuntu-latest
# Do not run schedule on forks
if: |
github.repository == 'Dolibarr/dolibarr'
|| github.event.schedule == false
steps:
- uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none # disable xdebug, pcov
- name: Run generate_filelist_xml.php
run: |
# shellcheck disable=2086
dev/build/generate_filelist_xml.php checklock=auto unalterable_files
Loading