mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Merge branch 'upstream/master' into dev/sync-nextcloud-addressbook
This commit is contained in:
commit
957654c746
1528 changed files with 85567 additions and 32765 deletions
|
|
@ -345,7 +345,7 @@ class KolabAddressBook implements \RainLoop\Providers\AddressBook\AddressBookInt
|
|||
|
||||
$sSearch = \MailSo\Imap\SearchCriterias::escapeSearchString($this->ImapClient(), $sSearch);
|
||||
$aUids = \array_slice(
|
||||
$this->ImapClient()->MessageSimpleSearch("FROM {$sSearch}"),
|
||||
$this->ImapClient()->MessageSearch("FROM {$sSearch}"),
|
||||
0, $iLimit
|
||||
);
|
||||
|
||||
|
|
@ -366,7 +366,7 @@ class KolabAddressBook implements \RainLoop\Providers\AddressBook\AddressBookInt
|
|||
if ($bCreateAuto) {
|
||||
foreach ($aEmails as $sEmail => $sAddress) {
|
||||
$sSearch = \MailSo\Imap\SearchCriterias::escapeSearchString($this->ImapClient(), $sEmail);
|
||||
if (!$this->ImapClient()->MessageSimpleSearch("FROM {$sSearch}")) {
|
||||
if (!$this->ImapClient()->MessageSearch("FROM {$sSearch}")) {
|
||||
$oVCard = new VCard;
|
||||
$oVCard->add('EMAIL', $sEmail);
|
||||
$sFullName = \trim(\MailSo\Mime\Email::Parse(\trim($sAddress))->GetDisplayName());
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ class KolabPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
const
|
||||
NAME = 'Kolab',
|
||||
VERSION = '2.6',
|
||||
RELEASE = '2023-02-10',
|
||||
VERSION = '2.37',
|
||||
RELEASE = '2024-03-29',
|
||||
CATEGORY = 'Contacts',
|
||||
DESCRIPTION = 'Use an Address Book of Kolab.',
|
||||
REQUIRED = '2.26.0';
|
||||
REQUIRED = '2.36.0';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
|
|
|
|||
5
plugins/kolab/langs/fr.json
Normal file
5
plugins/kolab/langs/fr.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"KOLAB": {
|
||||
"CONTACTS_FOLDER": "Dossier Contacts"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"KOLAB": {
|
||||
"CONTACTS_FOLDER": "Contacts Folder"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"KOLAB": {
|
||||
"CONTACTS_FOLDER": "Contacts Folder"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"KOLAB": {
|
||||
"CONTACTS_FOLDER": "Contacts Folder"
|
||||
"CONTACTS_FOLDER": "聯絡人名刺夾"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue