Commit Graph

592 Commits

Author SHA1 Message Date
Steph501
04bc3ee058 FIX #36447 Email Collector subject/body exclusion filters not working
The '!' prefix was removed at line 1369-1373 before being tested
at lines 1398 and 1406, causing exclusion filters to never work.

This fix uses the $not variable (already set correctly) instead of
re-testing for '!' on the modified rulevalue.
2025-11-27 23:27:36 +01:00
MDW
b57495f745 Qual: Update phan baseline (#36362)
* Qual: Update Phan baseline

# Qual: Update Phan baseline

- Updated Phan baseline to reflect reduced occurrences of PhanTypeMismatchProperty and PhanUndeclaredMethod
- Fixed syntax error in card.php by adding missing closing parenthesis

* Qual: Fix PhanPluginRedundantReturnComment

# Qual: Fix PhanPluginRedundantReturnComment

- Add return type description for the getmsg method.
2025-11-22 19:49:22 +01:00
Laurent Destailleur
41526eaabd Fix CI 2025-11-20 16:20:07 +01:00
Laurent Destailleur
0bfd72a995 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-20 12:00:49 +01:00
Laurent Destailleur
10c0de4467 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-20 11:55:18 +01:00
Laurent Destailleur
ae131796d6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-20 11:51:51 +01:00
Laurent Destailleur
ecda16a5f6 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-11-20 11:48:23 +01:00
Laurent Destailleur
515a615915 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-11-20 11:44:40 +01:00
MDW
c39e87d703 Qual: Make $fields covariant, define type for $FIELDS in BankAccounts api (#36188)
* Qual: Make $fields covariant

* Qual: Update BankAccounts class phpDoc ($FIELDS)

# Qual: Update BankAccounts class phpDoc ($FIELDS)

Updated the documentation for the $FIELDS property.
2025-11-09 18:06:58 +01:00
MDW
b925dd6c37 Qual: Make $fields type covariant (phpstan) (#36084)
# Qual: Make $fields type covariant (phpstan)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-04 14:16:17 +01:00
Ryad ABANI
38980a935c FIX: Email Collector Module: manage error when imap_fetchstructure return false. Previously it generated warning and fatal error because the returned value was not of type class 2025-10-22 11:56:07 +02:00
Frédéric FRANCE
2078610328 add dolBuildUrl with examples of use (#35549)
* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* wip

* wip

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add example

* add example

* add example

* add example

* add example

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* add example

* add example

* add example

* add example

* add example

* add example

add example

add example

add example

add example

* add example

* add example

add example

add example

add example

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* wip

* wip

* clean code
2025-10-06 18:17:02 +02:00
Frédéric FRANCE
6afec608a3 fix CI (#35631)
* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-04 13:29:57 +02:00
ldestailleur
b8353936b6 Fix column setup 2025-09-22 13:40:59 +02:00
ldestailleur
17d3a35a51 Fix select technical id 2025-09-22 13:38:27 +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
ldestailleur
273e82a566 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-08-16 22:14:23 +02:00
ldestailleur
b1e99a9811 Fix bad return code 2025-08-14 17:33:44 +02:00
ldestailleur
f6e9280ac4 Fix emailcollector 2025-07-22 03:43:41 +02:00
ldestailleur
8f3b65976a Fix emailcollector 2025-07-22 03:43:10 +02:00
ldestailleur
fe9ca39253 css 2025-07-22 00:45:11 +02:00
ldestailleur
0ea94b2a5f Clean code 2025-07-22 00:40:10 +02:00
ldestailleur
03910664c4 Debug v22 2025-07-21 22:09:10 +02:00
ldestailleur
1d6e198be2 Debug v22 - Invert option that add link to backoffice interface link
when it should remain private. It also makes often email marked as SPAM.
2025-07-21 21:20:00 +02:00
ldestailleur
c13f736ab4 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-22 17:29:56 +02:00
ldestailleur
17a0ec87fe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-22 17:25:29 +02:00
Marc de Lima Lucio
79afbab095 FIX: email collector: php 8 warning (#34496)
* FIX: email collector: php 8 warning

* FIX: email collector: php 8 warning, part 2

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-21 16:18:40 +02:00
Laurent Destailleur
144854769a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-06-13 16:27:57 +02:00
atm-jonathan
621fb30b37 FIX encoding issues with underscores in mb_convert_encoding functionality (#34411)
Co-authored-by: x <x@x.x>
2025-06-13 00:19:29 +02:00
Sami Filali
1d07ed22c0 update "enabled" to 1 for fk_emailcollector fields (#34192) 2025-05-27 21:51:09 +02:00
Vincent de Grandpré
943fa057e3 FIX#33963 - Enabling EmailCollector foreign key field to allow mandatory parameter saving (#33981)
* PHPStan > Update baseline

* FIX#33963 - Enabling foreign key field to allow mandatory parameter saving

* Added author to copyright

---------

Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-04-26 01:22:37 +02:00
Eric - CAP-REL
be1948e1eb better fields definition with full objects reference (#33798) 2025-04-09 16:36:42 +02:00
Frédéric FRANCE
869d7af747 comment test not needed (#33504) 2025-03-19 13:48:56 +01:00
ldestailleur
8082c7bd96 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-15 10:57:53 +01:00
ldestailleur
2fa9fbdb9a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-11 17:32:09 +01:00
ldestailleur
47af73d891 FIX #33404 - to keep the method findNearest an agnostic method. 2025-03-11 17:19:09 +01:00
MDW
988fc75ca2 Qual: Fix phan notices (emailcollector, bookkeeping) (#33375)
* Qual: Fix phan notices (mostly propal)

* Fix some const arguments to Form::select_dolusers()

* Update phan baseline

* Qual: Fix phan notices (propal)

* Qual: Fix phan notices (emailcollector, bookkeeping)
2025-03-10 15:47:55 +01:00
ldestailleur
4dc87949fd Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-23 18:26:03 +01:00
Laurent Destailleur
d289e670d9 Update emailcollector.class.php 2025-02-22 17:35:31 +01:00
Hystepik
ef7327f674 Fix email collector datetimelast ok and email fetching 2025-02-22 17:35:19 +01:00
Laurent Destailleur (aka Eldy)
62b1fbc41d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-05 00:41:07 +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
Laurent Destailleur
e307b9d575 Merge pull request #32907 from hregis/fix_20_multicurrency
FIX problem of duplicate data with Multicompany
2025-02-05 00:33:51 +01:00
Laurent Destailleur (aka Eldy)
31daa4a2f0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-02-04 23:25:24 +01:00
Laurent Destailleur
6619d22687 Merge pull request #32893 from glu000/20.0-fix-32892
Fix #32892
2025-02-02 01:29:16 +01:00
Laurent Destailleur
66660e7eb7 Merge pull request #32891 from glu000/20.0-fix-32890
Fix #32890
2025-02-02 01:28:38 +01:00
Laurent Destailleur
76ab4d7ce5 Update emailcollector.class.php 2025-02-02 01:21:57 +01:00
Günter Lukas
ae81f8bf50 Fix #32894 2025-01-31 14:55:04 +01:00
Günter Lukas
46125921b1 Fix #32892 2025-01-31 14:41:19 +01:00
Günter Lukas
b4e9367e3d Fix #32890 2025-01-31 14:28:34 +01:00