Commit Graph

179 Commits

Author SHA1 Message Date
kkhelifa-opendsi
341a88f48a FIX : Fix variable typos in Context class or webportal (#35551) 2025-09-29 20:41:20 +02:00
MDW
a161c5fb67 Qual: Fix phan notices, update baseline (#35528)
# Qual: Fix phan notices, update baseline

Fix some new phan notices and update baseline
2025-09-28 13:55:39 +02:00
webmaster67
7dd1e5a95f NEW More webportal fonctions - Can add shared files and thirdparty documents (#35391)
* Create documentlist.controller.class.php

Intégration de mon portail client personnalisé avec GED
attention 
class/sontext.class.php devra aussi être modifier.

* Update context.class.php

ajout du ged 
pour les fichiers joints par tiers.

* Update context.class.php

ajout d'accès à fichiers joints du tiers.

* Update menu.tpl.php

ajout du menu accès au GED

* Update README.md

* Update README.md

* Update README.md

* Add files via upload

document utile sert a partager via le GED de dolibarr des fichiers avec tous les clients utilisateur du webportal.

* Update context.class.php

ajout dans le menu de deux controleur suplémentaire.

* Update menu.tpl.php

ajoute des deux chapitre dans le menu

* Update README.md

* Update README.md

* Update menu.tpl.php

document format change

* Add files via upload

mises à jour et normalisation fichiers

* Add files via upload

ajout webportal.lang

* Update README.md

* Delete htdocs/webportal/documentutile.controller.class.php

* Update menu.tpl.php

* Update README.md

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update menu.tpl.php

* Update menu.tpl.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update README.md

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update README.md

* Create webportal.lang

* Update webportal.lang

* Update webportal.lang

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update website.lang

* Delete htdocs/langs/fr_FR/webportal.lang

* Delete htdocs/langs/en_US/webportal.lang

* Update README.md

* Update README.md

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Create abstractdocument.controller.class.php

* Update website.lang

* Update website.lang

* Update website.lang

* Update README.md

* Update README.md

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update README.md

* Update context.class.php

* Update README.md

* Update abstractdocument.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update menu.tpl.php

* Update documentlist.controller.class.php

* Update abstractdocument.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update shareddocuments.controller.class.php

* Update documentlist.controller.class.php

* Update menu.tpl.php

* Update menu.tpl.php

* Update README.md

* Update context.class.php

* Update documentlist.controller.class.php

* Update menu.tpl.php

* Update menu.tpl.php

* Update context.class.php

* Update documentlist.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-20 19:11:31 +02:00
ldestailleur
42edd8f22d Clean code 2025-09-18 12:19:29 +02:00
ldestailleur
33ed1b2f1a Fix bad recording of custom CSS in webportal 2025-09-15 15:33:15 +02:00
ldestailleur
0958108721 Fix date update 2025-09-14 20:29:14 +02:00
ldestailleur
cf5caa80b2 FIX Debug bad path used into webportal. Missing http headers in login. 2025-09-14 19:45:41 +02:00
Frédéric FRANCE
62a7756a43 fix civility_id for webportal member (#35339)
* fix civility_id for webportal member

* Update html.formcardwebportal.class.php

* fix

* fix

* fix

* fix date

* fix translation

* add doc
2025-09-14 11:17:01 +02:00
kkhelifa-opendsi
f580bb85a5 NEW : Add hooks in webportal (#35326) 2025-09-12 15:20:32 +02:00
ldestailleur
92ffba11ca Remove old lang files that are too small (moved into other lang files) 2025-09-11 13:31:34 +02:00
Frédéric FRANCE
e81d5378cd clean code contract class (#35245)
* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code

* clean code

* clean code

* clean code

* clean code

* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-10 11:13:18 +02:00
Frédéric FRANCE
a1d7b11324 fix doc (#35196) 2025-09-03 12:54:17 +02:00
ldestailleur
9ccede6c90 Removed the deprecated array $MAP_ID_TO_CODE that was a duplicate of
array "array_flip($categ->MAP_ID)"
2025-08-17 03:45:36 +02:00
ldestailleur
273e82a566 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-08-16 22:14:23 +02:00
Francis Appels
3c174ef95c Fix webportal search by date (#34934)
* Webportal fix search by date

* Webportal formlist - add sortList to parameters hook printFieldListTitle

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-14 01:49:49 +02:00
Francis Appels
55567c9e8e WebPortal: Make controller form objects accessable in hookPrintPageView (#34742)
* Make formList public in list controller to allow modify properties by hook.

* WebPortal: Make controller form objects accessable in hookPrintPageView
2025-07-15 11:44:08 +02:00
ldestailleur
8c88eab05c Debug v22 - Removed conflict code with old dolopenpopup architecture 2025-06-25 12:29:11 +02:00
Charlène Benke
1c605f1d7d webPortal custom Theme not well implemented (#34433)
* webPortal Theme not well implemented

* Update header_login.tpl.php

* Update global.css.php

* Update header_login.tpl.php

* Update webPortalTheme.class.php

* Update login.css

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-13 17:23:36 +02:00
Laurent Destailleur
393537d1e4 FIX portal module, prepare to replace duplication of code 2025-05-27 18:47:19 +02:00
Laurent Destailleur
9dfc560b5c Trans 2025-05-27 16:56:08 +02:00
ldestailleur
094a05b9a5 Debug v22 2025-05-27 14:48:25 +02:00
Expresion
dc9e073c1e FIX|fix Webportal remain to pay column (#34159)
* fix ramin to pay column

* Update html.formlistwebportal.class.php

* Update html.formlistwebportal.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-05-17 16:19:27 +02:00
ldestailleur
c2539ae415 Fix CI 2025-05-17 14:49:57 +02:00
Jyhere
549b712c47 FIX: ajax tooltip warnings (#34048) 2025-05-02 22:41:04 +02:00
ldestailleur
f7d034a71c NEW Option MAIN_SECURITY_MAXFILESIZE_DOWNLOADED become official 2025-04-01 19:56:50 +02:00
Frédéric France
17358bb6e4 fix phan 2025-03-01 16:35:22 +01:00
MDW
e1b94b2552 Qual: Fix phan notices in webportal 2025-02-25 17:54:34 +01:00
Laurent Destailleur (aka Eldy)
382394575d Fix warning 2025-02-12 22:58:51 +01:00
Laurent Destailleur (aka Eldy)
fac786d7d0 Merge 2025-02-06 16:39:40 +01:00
Laurent Destailleur (aka Eldy)
fa0cc41f81 Fix #32964 - default value must be very high 2025-02-06 16:33:09 +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
Regis Houssin
929aa8ee91 FIX avoid warnings + debug 2025-01-08 20:32:19 +01:00
Frédéric FRANCE
f6d49d7acf Update webportalinvoice.class.php 2025-01-02 10:11:11 +01:00
Frédéric FRANCE
a6e1174f09 Update webportalinvoice.class.php 2025-01-02 10:06:38 +01:00
Frédéric FRANCE
e470d98833 Merge branch 'develop' into fix_phpstan_2024_end_of_year 2025-01-02 09:17:21 +01:00
Frédéric France
e680f93948 fix phpstan 2025-01-01 09:56:46 +01:00
Frédéric France
7bc9057536 fix phpstan 2025-01-01 09:33:57 +01:00
MDW
afc9b928af Match LibStatut function signature 2024-12-31 15:26:23 +01:00
MDW
ec2a1928ba Qual: Update fields phpdoc to include fields that are defined/used in some cases
# Qual: Update fields phpdoc to include fields that are defined/used in some cases

comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
2024-12-05 02:36:50 +01:00
Laurent Destailleur
a2dce69dbe Fix a login is not a case sensitive data #31864 2024-11-16 00:33:54 +01:00
MDW
278d301f32 Qual: Fix phan/phpstan notices in class files (part 6) (#31634)
* Qual: Fix notices for paymentdonation...workstationusergroup.class

* Qual: Fix PhanPluginRedundantReturnComment, update baseline

* Qual: Complete array phpdoc for properties
2024-11-06 23:57:45 +01:00
MDW
178d748cad Qual: Fix phan/phpstan notices in class files (part 5) (#31617)
* Qual: fix commonstickergen..don.class

* Fix notifications for pdf_paiement...cronjob.class

* Qual: Fix notifications for emailcollector..price_parser.class

* Ensure that NULL is used in the database when fk's are 0/empty

* Fix notifications for pdf_paiement...cronjob.class

* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
MDW
b91c99b18a Qual: Fix phan/phpstan notices in class files (part 3) (#31578)
* fix phpstan in conf class (#31630)

* fix phpstan

* fix phan

* Fix merge

* Qual: Avoid notification with typing hint

* Qual: Fix notices link.class

* Qual: Fix notices link..socialneetworkmanager.class and DoliDb->DoliDB

* Qual: Fix notices for link..utils.class

* Qual: Fix notices for db classes

* Update translate.class.php

* Update translate.class.php

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-29 22:44:47 +01:00
Frédéric FRANCE
7dfa9b7d33 remove unused code (#31610)
* remove unused code

* remove unused code

* fix typo

* fix

* fix

* fix
2024-10-28 19:49:01 +01:00
Frédéric FRANCE
a2d4f3a039 fix phpstan (#31583) 2024-10-27 00:56:22 +02:00
Frédéric FRANCE
c0a5e58a41 fix phpstan add exclude for level 6 (#31482)
* fix phpstan add exclude for level 6

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-24 02:51:38 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00