3216 Commits

Author SHA1 Message Date
Laurent Destailleur
bc44247cd1 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-03-05 23:59:06 +01:00
Laurent Destailleur
c449bcf9f4 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-03-05 23:55:56 +01:00
Anthony Berton
0eb3c9e68d FIX - Reload page after check holiday for save param (#37410)
Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-03-05 13:46:02 +01:00
Anthony Berton
418f0c2e30 FIX - Added user filtering for displaying leave in the calendar (#37385)
* FIX - Added user filtering for displaying leave in the calendar

* Add restric

* Save param check_holiday

* Copy

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
2026-03-05 01:16:38 +01:00
Laurent Destailleur
3dfce11ae8 Merge 2026-03-05 00:42:13 +01:00
Laurent Destailleur
1650d96091 FIX Pb with import of agendaevents. Date and import id not visible. 2026-03-04 16:52:48 +01:00
Laurent Destailleur
cf0ab8d300 Fix label of type 2026-03-04 12:51:56 +01:00
Laurent Destailleur
9c0cdee7c6 Fix css and truncation on creation of event 2026-03-04 11:52:05 +01:00
minimexat
4ad18d1219 Fix external user 'Access Forbidden' on agenda event card (#37362)
External users (fk_soc set) were blocked from opening agenda events
because GETPOSTINT('socid') returns 0 when no socid param is in the URL
(ActionComm::getNomUrl() only generates ?id=XXXXX).

The condition 0 != $user->socid then triggers accessforbidden() for
every external user.

Fix: fall back to $user->socid when socid is not in the URL, consistent
with the pattern used in all other card pages (contracts, invoices,
orders, etc.).

The existing restrictedArea() check still validates that the event's
fk_soc matches the user's company, so security is preserved.

Fixes #37361

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-27 16:38:01 +01:00
minimexat
2e02df9002 Fix external user 'Access Forbidden' on agenda event card (#37362)
External users (fk_soc set) were blocked from opening agenda events
because GETPOSTINT('socid') returns 0 when no socid param is in the URL
(ActionComm::getNomUrl() only generates ?id=XXXXX).

The condition 0 != $user->socid then triggers accessforbidden() for
every external user.

Fix: fall back to $user->socid when socid is not in the URL, consistent
with the pattern used in all other card pages (contracts, invoices,
orders, etc.).

The existing restrictedArea() check still validates that the event's
fk_soc matches the user's company, so security is preserved.

Fixes #37361

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-27 16:37:29 +01:00
David Beniamine
a2397ff88b Improve user card performance by avoid mysql OR (#37125)
* Improve user card performance by avoid mysql OR

* Negate first condition to avoid duplicates in UNION

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-24 19:27:40 +01:00
Laurent Destailleur
717f315551 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-23 01:30:54 +01:00
Laurent Destailleur
c15994cbf8 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-23 01:29:51 +01:00
VIAL-GOUTEYRON Quentin
81ac910ede FIX: align permission checks for product batches with rights class aliases (#37263) 2026-02-17 17:37:19 +01:00
ThomasNgr-OpenDSI
00d1bbce9c FIX: on event create/edit card, when adding a user, the reminder info was lost. (#36857)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-13 11:39:46 +01:00
Regis Houssin
d028d0d81b FIX $param is the 5th parameter of print_liste_field_titre ($moreparam) (#36250)
* FIX $param is the 5th parameter of print_liste_field_titre ($moreparam)

* FIX phan error

* FIX other errors
2025-11-14 15:55:35 +01:00
Laurent Destailleur
9f2c33aa75 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-10-24 19:39:15 +02:00
Regis Houssin
d37cf4b38a FIX wrong socpeople id when multiple assigned + avoid php warnings (#35878) 2025-10-22 02:29:05 +02:00
kkhelifa-opendsi
404ad0e876 FIX: substitutions on subject of the sent email reminder of the event (#35621) 2025-10-03 19:01:10 +02:00
ldestailleur
13cdc20266 Fix warning 2025-09-26 01:12:30 +02:00
ldestailleur
6ead2839d0 Fix missing several test on permission on actions 2025-09-23 16:41:53 +02:00
HENRY Florian
644a9ea179 fix: Filter event in agenda par Type (#35287)
* fix filter event per Type

* fix filter event per Type

* fix: php code sniffer

* fix: php code sniffer

* fix: php code sniffer

* fix: php code sniffer
2025-09-11 12:09:33 +02:00
ldestailleur
088856ad50 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-08-28 16:40:14 +02:00
ldestailleur
8631c1722f FIX #35115 2025-08-28 15:20:59 +02:00
Frédéric FRANCE
1a9d42d49c fix agenda with AGENDA_ALL_CALENDARS (#35020) 2025-08-21 09:43:16 +02:00
ldestailleur
e6e3486f95 Fix CI 2025-07-28 17:29:51 +02:00
ldestailleur
7c6a307a01 Fix CI 2025-07-28 17:18:38 +02:00
ldestailleur
c75663b2de Fix CI 2025-07-28 15:40:54 +02:00
ldestailleur
4274c8102e Fix missing update of replyto 2025-07-22 01:54:25 +02:00
ldestailleur
910b1bf494 Debug v22 2025-07-21 15:50:27 +02:00
ldestailleur
5765c06d5f Debug v22 2025-07-21 15:17:46 +02:00
ldestailleur
dc2bc00820 Debug v22 2025-07-21 15:03:29 +02:00
ldestailleur
6964a34697 Debug v22 2025-07-21 14:30:58 +02:00
ldestailleur
2e47121024 Debug v22 2025-07-21 14:25:48 +02:00
ldestailleur
a800af3b91 Debug v22 2025-07-21 10:47:45 +02:00
ldestailleur
12dd3ca799 Prepare 22.0 final 2025-07-10 15:21:26 +02:00
Artem Chernitsov
0efea5cca3 fix calendar holiday link (#34711) 2025-07-08 15:41:44 +02:00
Jyhere
787bd1d278 CHANGE: ternary simplification (#34675) 2025-07-01 20:34:09 +02:00
ldestailleur
70173993a3 Fix CI 2025-06-23 18:21:37 +02:00
ldestailleur
c02a9d816b Debug v22 2025-06-23 00:04:20 +02:00
ldestailleur
4a0cf5a2f9 Debug v22 2025-06-22 23:35:22 +02:00
ldestailleur
23004a7999 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-22 13:00:55 +02:00
ldestailleur
1c3687b292 Fix CI 2025-06-21 16:50:14 +02:00
ldestailleur
dc641d7380 Debug v22 2025-06-21 15:29:54 +02:00
William Mead
e35e1d76e1 QUAL Updated agenda events API PHPDoc (#34558)
* Fixed mandatory fields

* Updated PHPDoc. Added contributor details.

* Updated PHPDoc

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-20 20:13:10 +02:00
HENRY Florian
7384959f38 FIX: filter agenda on user and ressource SQL error (#34580) 2025-06-20 16:25:00 +02:00
ldestailleur
9c2da8b9b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-19 11:31:44 +02:00
ldestailleur
a78e63dbf0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-19 11:13:59 +02:00
ldestailleur
ec098b2632 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-06-19 10:59:07 +02:00
ldestailleur
0da1e6b464 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-06-19 10:48:18 +02:00