Commit Graph

9179 Commits

Author SHA1 Message Date
Laurent Destailleur
6115f0a614 Fix tabs must appears only on setup of module 2024-08-13 23:34:21 +02:00
Frédéric FRANCE
803c3c2f30
fix phpstan sendXXX expects int (#30519)
* fix sendXXX expects int

* fix sendEmailTo expects int

* fix regression

* fix loadxxx expects int

* fix loadxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int

* fix getxxx expects int
2024-08-13 20:39:40 +02:00
Laurent Destailleur
0196cf944b Implement a generic handler for OAUTH token (tested with Mastodon) 2024-08-13 20:25:01 +02:00
Laurent Destailleur
88253bf647 WIP Work on generic OAuth service 2024-08-13 18:36:33 +02:00
Laurent Destailleur
8936b6ef8a Add log into curl method for oauth 2024-08-13 17:04:32 +02:00
Laurent Destailleur
14dfe8a073 Debug refresh action and add log in oauth 2024-08-13 14:59:03 +02:00
Laurent Destailleur
080c1fa41c More log on oauth refresh 2024-08-13 14:23:49 +02:00
Laurent Destailleur
eef5cea575 Clean code 2024-08-13 13:05:38 +02:00
lamrani abdelwadoud
d92e50fc66
New refactoring fediverse class (#30572)
* NEW Display for socialnetworks admin

* Fix pre-commit errors

* New functionality for custom socialnetworks

* Fix CTI errors

* Fix phan errors

* Fix Phan errors

* Fix display tabs for setup socialnetworks

* Fix CTI errors

* Fix CTI errors

* remove comments

* New display widget for fediverse

* Add test to the end for get_fiche_en

* Fix pre-commit and phan CTI errors

* update translation for title of widget

* Fix errors and update function loadBox

* add translation and fix error phpstan

* Refactoring Fediverse class for handling social networks in each class

* Fix CTI errors

* remove return function

* add description for attribute

* Fix phpStan errors

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-13 12:19:37 +02:00
Benjamin Falière
5a42116ee5
NEW(ticket, admin): Add options entries (#30548)
* NEW(ticket, admin): Add options entries

* Add missing translations

* Remove ponctuation

* Remove ponctuation

* langs files

* Update ticket.lang

Remove blank line.

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2024-08-11 12:15:28 +02:00
Charlène Benke
82589a49c6
NEW Add caldav on fichinter (#30582)
* New caldav from fichinter

* Update fichinter.lib.php

* Create agendaexport.php

* Update fichinter.lib.php

* Update agendaexport.php

* Update agendaexport.php

* Update agendaexport.php

* Update agendaexport.php

* Update agendaexport.php

* Update agendaexport.php

* Update agendaexport.php

* Update agendaexport.php

* Update agendaexport.php

* Update agendaexport.php

* Update agendaexport.php

* Update fichinter_xcal.php
2024-08-11 12:07:48 +02:00
MDW
aa49419e8f
Qual: Fix/initial type cannot be inferred (#30591)
* Update baseline

* Add/update phpdoc typings

* Fix type for AssetDepreciationOptions as is

* Fix typing for Asset->depreciation_lines

* $card is used in derived classes, add it back to ActionsAdherentCardCommon

* Adjust code with typing/corrections for defined types

* Fix typos, code update to match typing, extra typing

* Add type cast for numeric operation

* Phpdoc/cast adjustments detected because of new phpdoc hints
2024-08-10 23:21:46 +02:00
MDW
45ed4caeb2
Qual: Enable Phan Simplify rule and fix notices (#30537)
* Qual: Phan - Enable Simplyfy expression

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Qual: Simplify expression (phan notice)

* Update functions2.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-07 03:05:02 +02:00
Benjamin Falière
120353d539
NEW: automatically change status on answering a ticket (#30556)
* ADD: menu entry for status selection

* ADD selectarray

* NEW: automatically change status on answering a ticket

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2024-08-07 00:42:53 +02:00
Laurent Destailleur
d1f1c0aa57 Clean code - Fix phpstan warning 2024-08-03 13:44:38 +02:00
Laurent Destailleur
4a9d039d0e NEW enhance the OAUTH2 token manager. Can refresh a token from page. 2024-08-01 17:05:13 +02:00
Laurent Destailleur
9cc098b24c NEW Can show raw value of oauth token 2024-08-01 14:28:05 +02:00
Laurent Destailleur
34fefcaeb2 Clean code 2024-08-01 12:46:30 +02:00
Laurent Destailleur
efb8a9d4d3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-01 11:36:38 +02:00
Laurent Destailleur
46cde6431a NEW Can use a specific profile to send email for password forgotten 2024-08-01 11:36:21 +02:00
MDW
63aab818e6
Qual: Fixes related to CMailFile for phan notices (#30510)
* Qual: Fix CMailFile related phan notices

# Qual: Fix CMailFile related phan notices

Fix several phan notices by typing and typing checks.

* Fix initialisation of CMailFile instantiation

* Update phan baseline

* Update mails_emailing.php

* Update mails_emailing.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-01 11:09:26 +02:00
Frédéric FRANCE
173dc1a70e
fix constructor expects int (#30512)
* constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

* fix constructor expects int

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-01 10:52:53 +02:00
Laurent Destailleur
87c7a7a7d7 WIP Page to setup email for reset password 2024-07-31 22:26:54 +02:00
Laurent Destailleur
feee2e13e7 CSS 2024-07-28 20:05:10 +02:00
Laurent Destailleur
7d1aa1e7f6 Debug v20 - fix cond to show dict, several fix in public ticket gui 2024-07-28 14:54:06 +02:00
Laurent Destailleur
57ad79a95b QUAL: Move the public css file into the public directory 2024-07-27 22:25:13 +02:00
Laurent Destailleur
b36843b5ff Add data in log 2024-07-24 19:36:39 +02:00
Laurent Destailleur
5513b573b0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-24 04:06:06 +02:00
Laurent Destailleur
8a257ac93f Fix permission to edit email template - Debug v20 2024-07-23 02:12:46 +02:00
Laurent Destailleur
403fcd234e Debug v20 2024-07-22 21:49:47 +02:00
Laurent Destailleur
8d7e2d7aa0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-22 13:23:00 +02:00
Laurent Destailleur
940b946dfb Debug v20 2024-07-22 13:19:35 +02:00
MaximilienR-easya
66d8bc4f01
NEW Module to setup OpenID Connect module (#30317)
* import openid connect custom module phase 1

* indent fix

* fix ci

* Fix ci

* Fix

* add missing lang file

* lang file

* Multiple fix: callback url overwriten by a js.php from a module, admin page path fix, add a field to set MAIN_AUTHENTICATION_OIDC_LOGIN_CLAIM

* windows-ci friendly modification

* windows-ci friendly modification

* comment

* Fix precommit

* Fix precommit

* Fix precommit

* Fix precommit

* Update lang file and conditions

* Update functions_openid_connect.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-21 02:12:03 +02:00
Laurent Destailleur
3a9931c0bb NEW Add a test mode into the setup of AI prompts 2024-07-19 15:38:52 +02:00
Laurent Destailleur
b303be54fd Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-07-18 02:41:28 +02:00
Laurent Destailleur
948fecb9b5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-07-17 14:01:44 +02:00
Sami Filali
22def4f35a
Fix #30298 - billing contact in supplier proposal (#30404)
* add external contact with billing code in supplier_proposal pdf

* update with pr returns

* Update pdf_other.php

* fix inversing condition

* Update pdf_other.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-16 22:35:09 +02:00
Sami Filali
4aa5e4578a
NEW : add option to add external billing contact on the supplier_proposal pdf (#30298)
* add external contact with billing code in supplier_proposal pdf

* update with pr returns

* Update pdf_other.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-16 22:09:39 +02:00
Laurent Destailleur
19462bf5d5 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-16 14:49:25 +02:00
Regis Houssin
f7fff4aae7
FIX missing entity field in holiday types dict (#30392)
* FIX missing entity field in holiday types dict

* FIX sql syntax error
2024-07-16 13:36:49 +02:00
Regis Houssin
226ce3f311
FIX dictionary can not have entity = 0 (#30393) 2024-07-16 12:41:08 +02:00
Laurent Destailleur
76a9668e7f Fix page to view translations 2024-07-16 04:12:35 +02:00
Laurent Destailleur
bd57bcf617 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-15 19:52:31 +02:00
Laurent Destailleur
fcd2aeb026 Debug v20 2024-07-15 18:00:45 +02:00
Laurent Destailleur
680a776a26 Better information on security page 2024-07-13 01:09:22 +02:00
Laurent Destailleur
e3d858692e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-12 01:54:11 +02:00
Laurent Destailleur
d3ebd3fbe7 SEC: Possible RCE when php module json off. +Warning in security page. 2024-07-12 01:43:53 +02:00
Laurent Destailleur
147a8bfaee Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/adherents/subscription/list.php
	htdocs/categories/viewcat.php
	htdocs/contrat/card.php
	htdocs/contrat/list.php
	htdocs/eventorganization/conferenceorbooth_list.php
	htdocs/expedition/list.php
	htdocs/societe/card.php
2024-07-11 10:44:39 +02:00
Alexandre SPANGARO
128769811c
Add css bodylist on list (#30334)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-11 00:45:05 +02:00
Frédéric FRANCE
6601503edc
Fix phpstan llxheader (#30328)
* fix phpstan for llxHeader

* fix phpstan for llxHeader

* fix phpstan for llxFooter
2024-07-09 19:28:09 +02:00