Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Multi-domain (server configuration) support for caldav, carddav and imap. #181

Open
wants to merge 229 commits into
base: master
Choose a base branch
from

Conversation

dh-programacion
Copy link

Support for multiple providers in backends:

  • imap
  • carddav
  • caldav

fmbiete and others added 30 commits April 15, 2014 14:10
…oincidents names. That's a bad idea, but this will workaround it
…fications. Reminders are not yet implemented and DiffBackend doesn't support MeetingResponses so it's not really useful
…re showing broken messages and missing attachments
Fix caldav default calendar/task handling
We were missing some ' in the defined function calls
gmta and others added 26 commits March 18, 2015 22:22
Wherever counts are shown, the number should not be quoted. This might
seem to indicate that it's a string we're showing.

Also add logging location to Sync logging of incoming changes.
Signed-off-by: Francisco Miguel Biete <[email protected]>
<[email protected]>
Bring code closer to original Mail_mimeDecode
pull request... -100 points to me

Signed-off-by: Francisco Miguel Biete <[email protected]>
<[email protected]>
Don't use imap_getsubscribed since won't return INBOX in
dovecot. Should fix fmbiete#157.

There are new required config options. If don't configured
BackendIMAP will refuse to work at all.

Signed-off-by: Francisco Miguel Biete <[email protected]>
<[email protected]>
Thanks @normk2k!

Signed-off-by: Francisco Miguel Biete <[email protected]>
<[email protected]>
Showed as special folders in iOS devices.

Thanks to Javier Achirica by the patch.
decoded before parsing and validate them.

Fixes fmbiete#164

Signed-off-by: Francisco Miguel Biete <[email protected]>
<[email protected]>
we won't have all the environment variables loaded

Signed-off-by: Francisco Miguel Biete <[email protected]>
PHP 5.6 has changed the default behaviour, and will verify the
certificates by default.

Signed-off-by: Francisco Miguel Biete <[email protected]>
<[email protected]>
Add a Gitter chat badge to README.md

I'm not sure this will be useful, or it will be an eternal empty room 😆
Thanks @pfitseng

Signed-off-by: Francisco Miguel Biete <[email protected]>
<[email protected]>
@ghost
Copy link

ghost commented Apr 20, 2015

Hello!
Because you where working on the caldav backend, i was wondering whether you can help me maybe with my(our) problem: #176
if you like I could give you access/logs to analyse the system.

Regards

$this->_caldav = new CalDAVClient(CALDAV_SERVER . ":" . CALDAV_PORT . $this->_caldav_path, $username, $password);

// If domain is empty we use username's domain
$domain_replace = ( $domain ) ? $domain : explode('@', $username,2)[1];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If $username doesn't contains '@' this will fail. For example, with the default config (USE_FULLEMAIL_FOR_LOGIN = false), or if the username doesn't contain the domain part (single domain server).

You should check if it contains '@', so it could be reduced to this:

strpos($domain, '@') === false ? $domain : explode('@', $username, 2)[1];

@ghost
Copy link

ghost commented Apr 20, 2015

cool thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants