Commit Graph

853 Commits

Author SHA1 Message Date
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Laurent Destailleur
c093f0c27e Debug v21 2024-11-10 01:10:49 +01:00
Laurent Destailleur
576df86eac NEW Add field to store text content of files 2024-11-09 13:28:50 +01:00
Laurent Destailleur
e1a7681565 Can index with docling 2024-11-09 03:20:15 +01:00
Laurent Destailleur
6bcaabad8e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-16 12:54:14 +02:00
Laurent Destailleur
495a31c8fe FIX CSS and access to media files 2024-10-16 12:51:42 +02:00
Laurent Destailleur
42471decac Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 15:50:44 +02:00
Laurent Destailleur
59004c6fe8 FIX Revert storing of ticket files into event dir, too many troubles.
Files must remains into ticket directory.
2024-10-03 15:04:32 +02:00
Frédéric FRANCE
44fdcdd8ed can set position of file with dol_move (#31201)
* can set position of file with dol_move

* Update api_documents.class.php

* Update api_documents.class.php

* fix

* fix

* fix

* fix

* fix
2024-09-30 16:49:38 +02:00
MDW
c62e015410 Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl (#31087)
# Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl

Fix phan notices in these files

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 23:01:02 +02:00
Laurent Destailleur
fbc5dd4822 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-26 19:36:09 +02:00
Laurent Destailleur
bcc9ad42d4 Doc 2024-09-06 13:49:15 +02:00
Frédéric FRANCE
80d1f47d4d fix ignored phpstan (most of expects string, int given) (#30649)
* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* more ignore

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-05 16:05:37 +02:00
Frédéric FRANCE
9ea83bfb1c NEW can add extrafields with dol_move (#30574)
* can add extrafields with dol_move

* Update files.lib.php
2024-08-10 23:36:20 +02:00
Laurent Destailleur
ee0412dd27 Fix phan warning 2024-07-31 18:54:52 +02:00
Laurent Destailleur
6a3f044ba2 Clean code 2024-07-06 17:41:00 +02:00
Laurent Destailleur
8b9b3f9429 QUAL Use archiveOrBackupFile for MAIN_MAIL_DEBUG_LOG_WITH_DATE 2024-07-01 12:30:36 +02:00
Laurent Destailleur
fbb5da1150 Fix to avoid warning with windows 2024-06-01 14:15:25 +02:00
Laurent Destailleur
ba6e7e85db Merge #28264 to get a simpler code 2024-06-01 12:02:23 +02:00
Laurent Destailleur
236230585d Debug v20 2024-05-31 13:30:05 +02:00
Laurent Destailleur
82908a30eb Clean phan warnings 2024-05-30 13:37:17 +02:00
Laurent Destailleur
948e88c0f1 Debug v20 2024-05-25 19:24:31 +02:00
atm-lucas
0fe6380480 NEW - Can add documents on a payment (#29660)
* missing attached files on payment of a customer invoice

* ending and fix preview

* fatal

* FIX commit

* travis and pre-commit failed

* Fix test failed

* Fix all test failed

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-21 20:19:57 +02:00
Mohamed DAOUD
8e1a1a51b3 Add a parameter to dolCopyDir function to exclude copying archive files (#29681)
* exclude copying archive files

* Update files.lib.php

* Update files.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-15 15:37:20 +02:00
Laurent Destailleur
7e02ad1b0c Rename method 2024-05-14 11:25:03 +02:00
Laurent Destailleur
0163cc6278 Debug export website 2024-05-12 20:27:03 +02:00
Laurent Destailleur
3792b6011a TODO Enhance method manageFileBackups 2024-05-09 13:09:49 +02:00
lamrani abdelwadoud
6f54eae082 New functionality for save 5 oldest versions of pages (#29616)
* New functionality for save 5 oldest versions of pages

* update function to save files by adding timestamp and sorted by time

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-09 12:48:42 +02:00
Laurent Destailleur
89afbbba2b Fix hardcoded fulltext indexation 2024-05-04 22:52:29 +02:00
Laurent Destailleur
37a2bcf5a8 NEW Add option MAIN_USE_FULL_TEXT_INDEXATION 2024-05-04 20:42:41 +02:00
Laurent Destailleur
8484113cef Rename var 2024-05-04 18:36:04 +02:00
Laurent Destailleur
9393c2c0e2 NEW users can set their own length for short lists 2024-04-30 10:20:40 +02:00
Laurent Destailleur
f4e8fd2b5f Debug v20 2024-04-30 01:01:01 +02:00
Frédéric FRANCE
c0359b3e4f replace deprecated (#29500)
* add fusion pdf in receipt list

* add fusion pdf in receipt list

* add fusion pdf in receipt list

* add fusion pdf in receipt list

* remove deprecated

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 03:52:58 +02:00
Frédéric FRANCE
a429e73ee5 add fusion pdf in receipt list (#29464)
* add fusion pdf in receipt list

* add fusion pdf in receipt list

* add fusion pdf in receipt list

* add fusion pdf in receipt list

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-26 12:20:37 +02:00
MaximilienR-easya
26920d2cb3 New msg attachment linked to event (#29022)
* New msg attached files and documents are linked to there event and not to the ticket and are accessible inside the linked files tab on the ticket page. for non private msg, they are set to be shared

* Fix ticket/document.php

* Fix ticket/document.php

* change comment

* Fixing style errors.

* fix style

* fix

* travis Fix

* Fix travis

* Fix sticler

* Fixing style errors.

* Remove useless code in files.lib.php

* Fix to not try adding linked files when they are linked to the message and not the ticket

* Commented deprecated part with linked files to messages

* Fix link of file linked to message

* Fix rename file

* comment delete

* Fix test dolibarr

* Fix merge

---------

Co-authored-by: stickler-ci <support@stickler-ci.com>
2024-04-24 15:18:45 +02:00
Laurent Destailleur
2f3521c36f Doc 2024-04-23 22:11:23 +02:00
Laurent Destailleur
5435422d34 Clean path file 2024-04-23 10:38:28 +02:00
MDW
c5c79a9fc5 Fix PhanTypeMismatchReturnProbablyReal 2024-03-15 14:20:56 +01:00
Laurent Destailleur
fb85f17ef4 FIX: Better error management in loading a website template 2024-03-14 12:09:35 +01:00
Laurent Destailleur
45a68ba612 Better error management 2024-03-13 20:17:26 +01:00
MDW
bbe0368bbd Fix PhanPluginRedundantAssignment 2024-03-13 00:58:39 +01:00
MDW
21e0bb4a76 Fix duplicate if condition (remove 2nd case with less effect 2024-03-12 20:00:58 +01:00
MDW
1f31d29a77 Fix duplicate if condition with same effect 2024-03-12 19:09:53 +01:00
MDW
6e5c4ef851 Fix PHPDoc date_m typo 2024-03-11 21:43:50 +01:00
MDW
48073b85cb Fix: 'count' on scalar zip->numFiles (#28756) 2024-03-11 12:39:07 +01:00
Laurent Destailleur
453eb9c242 FIX: upload odt files should not start/end with space 2024-03-10 15:53:35 +01:00
Laurent Destailleur
5a5fa9293f FIX: upload odt files should not start/end with space 2024-03-10 15:42:38 +01:00
Laurent Destailleur
5714ff8b16 Fix regression in dol_dir_list() 2024-03-03 16:31:22 +01:00
Frédéric FRANCE
8419cb2f0f fix phpstan (#28548) 2024-03-01 18:27:00 +01:00