2
0
forked from Wavyzz/dolibarr

532 Commits

Author SHA1 Message Date
Frédéric FRANCE
9ff1bc423d clean code (#35602)
* clean code

* clean code

* clean code

* clean code and baseline

* clean code and baseline

* clean code and baseline
2025-10-03 09:20:09 +02:00
Frédéric FRANCE
700463596e verify if file exists before trying to include (#35548)
* verify if file exists before trying to include

* verify if file exists before trying to include
2025-09-29 20:42:44 +02:00
Frédéric FRANCE
f5dab1a3b6 clean code (#35535)
* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-28 22:27:15 +02:00
Frédéric FRANCE
29db95a8b3 clean code (#35538)
* clean code

* clean code

* clean code
2025-09-28 21:44:41 +02:00
Frédéric FRANCE
a8b4ae7dfb clean code (#35534)
* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-28 20:58:18 +02:00
ldestailleur
ad830a346e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-23 16:50:17 +02:00
ldestailleur
6ead2839d0 Fix missing several test on permission on actions 2025-09-23 16:41:53 +02:00
ldestailleur
49051ff165 Removed deprecated property ->projet (replace with ->project) 2025-09-21 15:08:56 +02:00
ldestailleur
15f34dbbb0 QUAL: Removed deprecated properties user_valid, user->creation,
user_modification replaced with user_ceation_id, user_validation_id and
user_modification_id.
2025-09-21 14:58:38 +02:00
ldestailleur
297d43d514 Debug v23 2025-09-20 19:12:43 +02:00
ldestailleur
6ed764bedf Clean code 2025-09-18 11:40:56 +02:00
Frédéric FRANCE
1bbbd96690 clean code (#35317)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-12 15:12:55 +02:00
Frédéric FRANCE
0e1478206a clean code (#35229)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +02:00
Frédéric FRANCE
a1d7b11324 fix doc (#35196) 2025-09-03 12:54:17 +02:00
ldestailleur
cc6f43493c Clean code 2025-09-03 12:53:38 +02:00
Frédéric FRANCE
252b68cbcf fetch greatest tms (#35122)
* fetch greatest tms

* fetch greatest tms

* fetch greatest tms

* fetch greatest tms

* fetch greatest tms

* fetch greatest tms

* fetch greatest tms

* fetch greatest tms

* fetch greatest tms

* fetch greatest tms
2025-08-28 19:28:48 +02:00
Laurent Destailleur
82098594a6 Fix warning 2025-07-31 22:13:45 +02:00
Alexandre SPANGARO
0d00a27a1c QUAL Use GetDolGlobalString (#34662)
* Typo comment

* Use getGlobalString
2025-06-29 12:43:14 +02:00
ldestailleur
06f8b39f17 Debug v22 2025-06-07 00:55:25 +02:00
Mohamed DAOUD
967162e36e fix add contact for conferenceorbooth (#34148) 2025-05-14 16:56:43 +02:00
Frédéric FRANCE
32fdfa771c fix CI (#34072)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-06 22:08:23 +02:00
Jon Bendtsen
474cb2e54e NEW: endpoints DELETE event atteendee by ID or REF (#33986)
* pricate function _fetch that fetches the attendee data based on either (row)id or referece

* NEW: endpoints DELETE event atteendee by ID or REF

* fix missing }

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-06 12:28:48 +02:00
ldestailleur
7ccbdd1538 Color of status must match dolibarr standard 2025-05-06 11:26:48 +02:00
ldestailleur
ce4a537989 Debug v22 2025-05-06 10:47:27 +02:00
Jon Bendtsen
8ecc5f2cb0 NEW: attendee status Used - to ensure that only one attendee gets in on a ticket (#33987)
* pricate function _fetch that fetches the attendee data based on either (row)id or referece

* NEW: attendee status Used - to ensure that only one attendee gets in on a ticket

* Update conferenceorboothattendee.class.php

* Update conferenceorboothattendee.class.php

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-06 10:15:31 +02:00
Jon Bendtsen
7f5c49c504 NEW: endpoints GET event attendee by ID or REF (#33984)
* pricate function _fetch that fetches the attendee data based on either (row)id or referece

* NEW: endpoints GET event atteendee by ID or REF

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-05 00:07:27 +02:00
Jon Bendtsen
6eff6532a0 NEW: endpoints PUT (update) event atteendee by ID or REF (#33985)
* pricate function _fetch that fetches the attendee data based on either (row)id or referece

* NEW: endpoints PUT (update) event atteendee by ID or REF

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-04 18:44:40 +02:00
Jon Bendtsen
82c2a86073 event attendee class changes preparing for new API endpoints in different PR (#33931)
* check if MAIN_AGENDA_XCAL_EXPORTKEY is set before using it

* suggestion from frederic34

* adding 5 new statuses and their functions

* adding 5 new statuses and their functions

* copy and modified from email template api

* remove some unset because they are present in the database

* all objects are ConferenceOrBoothAttendee's

* load eventattendee API file from eventorganization/ folder

* ref is not required and should perhaps be banned because it is ignored during create + nonexisting apifetch function replaced with call to just fetch + making usre to use the correct class

* variable named paid is unused?

* get all event attendees

* fixing the sql statement

* adjusting function checking access rights

* UNTESTED! multicompany support by leftjoining with the projet table which does have an entity column + adjusting checkAccessRights function to prepare for testing project visibility

* adding more statuses and explaining boarding pass better

* expanding access rights checks with a project id and starting to use that after fetch so we know the project_id

* checking if the user has access to the project specified in fk_project

* phan fix getting  right

* checking if isModEnabled('multicompany')

* will only show rows of projects which is either public or the user is a contact of

* 2 new status changing functions and some protection for the existing status changing functions

* fix pre-commit check

* typo fix = that should be ==

* adding extrafields and linkedobjectids to event attendee

* reducing size of PR to only necessary class changes

* this are used by the API file, so no need to keep in the class PR

* Test CI without not used property

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-25 01:47:58 +02:00
ldestailleur
e13a090d1f Removed not used property 2025-04-24 16:34:22 +02:00
Jon Bendtsen
cee66f6a15 NEW Adding API endpoints for event attendee handling (#33932)
* check if MAIN_AGENDA_XCAL_EXPORTKEY is set before using it

* suggestion from frederic34

* adding 5 new statuses and their functions

* adding 5 new statuses and their functions

* copy and modified from email template api

* remove some unset because they are present in the database

* all objects are ConferenceOrBoothAttendee's

* load eventattendee API file from eventorganization/ folder

* ref is not required and should perhaps be banned because it is ignored during create + nonexisting apifetch function replaced with call to just fetch + making usre to use the correct class

* variable named paid is unused?

* get all event attendees

* fixing the sql statement

* adjusting function checking access rights

* UNTESTED! multicompany support by leftjoining with the projet table which does have an entity column + adjusting checkAccessRights function to prepare for testing project visibility

* adding more statuses and explaining boarding pass better

* expanding access rights checks with a project id and starting to use that after fetch so we know the project_id

* checking if the user has access to the project specified in fk_project

* phan fix getting  right

* checking if isModEnabled('multicompany')

* will only show rows of projects which is either public or the user is a contact of

* 2 new status changing functions and some protection for the existing status changing functions

* fix pre-commit check

* typo fix = that should be ==

* adding extrafields and linkedobjectids to event attendee

* should be back to develop branch contents so PR can be smaller

* reducing PR size, just GET and POST

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-24 01:34:50 +02:00
Jon Bendtsen
783807af14 Tiniest event attendee API - just the POST endpoint (#33934)
* check if MAIN_AGENDA_XCAL_EXPORTKEY is set before using it

* suggestion from frederic34

* adding 5 new statuses and their functions

* adding 5 new statuses and their functions

* copy and modified from email template api

* remove some unset because they are present in the database

* all objects are ConferenceOrBoothAttendee's

* load eventattendee API file from eventorganization/ folder

* ref is not required and should perhaps be banned because it is ignored during create + nonexisting apifetch function replaced with call to just fetch + making usre to use the correct class

* variable named paid is unused?

* get all event attendees

* fixing the sql statement

* adjusting function checking access rights

* UNTESTED! multicompany support by leftjoining with the projet table which does have an entity column + adjusting checkAccessRights function to prepare for testing project visibility

* adding more statuses and explaining boarding pass better

* expanding access rights checks with a project id and starting to use that after fetch so we know the project_id

* checking if the user has access to the project specified in fk_project

* phan fix getting  right

* checking if isModEnabled('multicompany')

* will only show rows of projects which is either public or the user is a contact of

* 2 new status changing functions and some protection for the existing status changing functions

* fix pre-commit check

* typo fix = that should be ==

* adding extrafields and linkedobjectids to event attendee

* should be back to develop branch contents so PR can be smaller

* reducing PR size, just GET and POST

* smallest commit, just the post and functions needed by post

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-22 11:45:50 +02:00
ldestailleur
c55138f314 Fix CI 2025-04-18 19:56:28 +02:00
ldestailleur
304fcfb648 Fix CI 2025-04-18 14:51:28 +02:00
ldestailleur
0cacc393b5 Fix CI 2025-04-18 14:48:26 +02:00
ldestailleur
524437e277 FIX #33884 2025-04-18 14:16:27 +02:00
Frédéric FRANCE
5d777bbf59 clean code (#33882)
* clean code

* clean code

* clean code

* Update mailtemplate.php
2025-04-18 13:38:03 +02:00
MDW
8669993ecf Qual: Fix phan notices (compta/prel..fichinter) (#33485)
* Qual: Fix phan notices (asset..compta/paiement)

* Qual: Fix phan notices (compta/prel..fichinter)
2025-03-19 15:21:48 +01:00
MDW
9dcf7fa0f5 Qual:Fix phan notices (multiple) (#33465) 2025-03-15 11:26:19 +01:00
Frédéric FRANCE
b7a00127a9 add missing translation (#33461)
* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation

* add missing translation
2025-03-15 11:21:03 +01:00
ldestailleur
e9e2ffa936 Look and feel v22 2025-03-13 11:34:55 +01:00
ldestailleur
30dffd6fdd Fix CI warnings 2025-03-05 17:48:41 +01:00
MDW
24fa28dfe2 Qual: Fix getKanban phpdoc
# Qual: Fix getKanban phpdoc

Array phpdoc for getKanban corrections.
2025-02-05 01:43:37 +01:00
Laurent Destailleur (aka Eldy)
732f97d73c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-02-05 00:40:06 +01:00
MDW
bea27b0be4 Qual: Fix phan notices 2025-02-02 01:26:41 +01:00
Laurent Destailleur
923649b1ec Merge branch 'develop' into qual/phan.2025.1.19-a 2025-01-30 13:19:39 +01:00
Laurent Destailleur (aka Eldy)
58134e840d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-01-30 13:14:15 +01:00
Laurent Destailleur (aka Eldy)
710b5d3405 Debug v21 2025-01-29 14:15:08 +01:00
MDW
e5c385999d Qual: Fix multiple phan notices
# Qual: Fix multiple phan notices

Fix multiple phan notices
2025-01-29 01:41:41 +01:00
Laurent Destailleur
67521e9c4f Clean code 2025-01-20 03:54:04 +01:00
Laurent Destailleur (aka Eldy)
5701d5c6f6 Debug v21 2025-01-14 12:04:41 +01:00