Commit Graph

800 Commits

Author SHA1 Message Date
Laurent Destailleur (aka Eldy)
0e3549a331 Add log to help debug 2025-01-23 18:21:03 +01:00
Laurent Destailleur (aka Eldy)
a6d8feefdc Fix warning 2025-01-21 13:05:37 +01:00
Laurent Destailleur (aka Eldy)
0f0617f8f8 Debug v21 2025-01-16 02:09:34 +01:00
Frédéric France
8c988479cd tests 2024-12-15 11:24:24 +01:00
Frédéric France
b3a580aaa9 tests 2024-12-15 10:55:23 +01:00
Laurent Destailleur (aka Eldy)
c8a7c09033 Fix logs and protection for infinit loop 2024-12-14 18:38:48 +01:00
Eric - CAP-REL
6c2effa224 dol_add_file_process : return nb of success in case of multiple added files (#32027) 2024-11-21 17:31:40 +01:00
Lucas Marcouiller
d9ee8a3838 Fix dol_dir_list_in_database to use filters for db (#31835)
* Fix dol_dir_list_in_database to use filters as an Universal Search String

* fix CI

* fix Ci

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-15 14:36:48 +01:00
Laurent Destailleur
062c769cc3 Rename MAIN_USE_FULL_TEXT_INDEXATION into MAIN_SAVE_FILE_CONTENT_AS_TEXT 2024-11-13 00:01:18 +01:00
Laurent Destailleur
9b68d78fe5 Debug v21 2024-11-11 18:53:16 +01:00
Laurent Destailleur
8d62713eff Fix warning 2024-11-10 18:31:40 +01:00
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