Commit Graph

3316 Commits (d02a97468e5f4625b547868c0a489facc3be4973)

Author SHA1 Message Date
Ludovic Marcotte 2a2ebd553e (test) handle sanitization before passing data to libxml 2016-12-06 14:05:27 -05:00
Ludovic Marcotte 68ddcd7045 (fix) prevent using localhost on additional IMAP accounts 2016-12-05 14:51:33 -05:00
Francis Lachapelle ba5bd65ea3 Fix support for SOGoSieveFolderEncoding defaults
Cont'd. Fixes #3904
2016-12-02 17:38:33 -05:00
Francis Lachapelle 66710f1b17 (i18n) Update translations 2016-12-01 11:07:28 -05:00
Francis Lachapelle f7dd835f92 Fix mail attribute when importing an LDIF file
Fixes #3878
2016-11-30 16:06:09 -05:00
Francis Lachapelle 6f732ba535 Fix MSExchangeFreeBusySOAPRequest.wod 2016-11-29 16:14:42 -05:00
Francis Lachapelle b27c868271 Fix freebusy data fetching of MS Exchange contacts 2016-11-29 15:48:15 -05:00
Francis Lachapelle c3376a4ddf Fix some compilation warnings 2016-11-28 10:14:23 -05:00
Ludovic Marcotte d2e03386d2 (fix) use GMT + adjust bias when querying Exchange's FB info 2016-11-25 15:14:24 -05:00
Ludovic Marcotte 0e82802082 (fix) also filter out recurrence-id 2016-11-24 15:43:37 -05:00
Ludovic Marcotte 71ca4a7b47 (fix) don't check Dovecot conditions if we're using IMAP annotations 2016-11-24 11:39:05 -05:00
Ludovic Marcotte 836fdb1722 (feat) added photo support for LDAP-based address books 2016-11-23 16:30:41 -05:00
Francis Lachapelle cb960fae02 Restore attributes of base64-encoded img tags
Fixes #3814
2016-11-23 14:57:24 -05:00
Francis Lachapelle b8df16cd8c Improve SOGoDefaults.plist to avoid warning 2016-11-23 14:52:10 -05:00
Francis Lachapelle 3137e4cdbb Respect mailbox administration rights of user 2016-11-23 11:16:13 -05:00
Francis Lachapelle 33e8169955 Formatting of SOGoDefaults.plist 2016-11-23 09:13:52 -05:00
Ludovic Marcotte b34f38f7fc (feat) added content "touching" capability (for developers) 2016-11-21 09:57:58 -05:00
Ludovic Marcotte bf42f225cb (fix) fixed broken string initializations (fixes #3899) 2016-11-15 14:18:57 -05:00
Ludovic Marcotte 5df85fa31a (fix) fixed method usage 2016-11-11 09:48:38 -05:00
Ludovic Marcotte 5b02685d2b (feat) added sha256-crypt and sha512-crypt support 2016-11-10 10:53:07 -05:00
Francis Lachapelle bc10e0983a Fix Sieve activation with vacation start date
Fixes #3885
2016-11-09 16:25:16 -05:00
Ludovic Marcotte 0cdc6c9cd7 (fix) we now always use utf8 when sending IMIP messages 2016-11-08 08:49:23 -05:00
Francis Lachapelle 168a2ddd18 Fix handling of weekly recurrence rule with count
This fixes some corner cases when computing the freebusy and therefore
when verifying for resource conflicts.
2016-11-04 16:44:14 -04:00
Ludovic Marcotte fb7a83f44a (fix) don't update c_nextalarm in quick table for email alarms 2016-11-04 08:41:47 -04:00
Francis Lachapelle c02c4aa834 Avoid mail notifications on superfluous changes
(cont'd)

Fixes #3790
2016-11-03 11:47:21 -04:00
Ludovic Marcotte 78045b14be (feat) first pass at support for recurring events/tasks email alarms (fixes #1053) 2016-11-02 18:16:45 -04:00
Francis Lachapelle 651a1c3910 Avoid mail notifications on superfluous changes
Fixes #3790
2016-11-01 15:26:59 -04:00
Francis Lachapelle 1ee7693432 Fix support for recurrent tasks (cont'd)
Fixes #3864
2016-11-01 14:52:18 -04:00
Ludovic Marcotte 188dd986d2 (fix) cosmetic changes 2016-11-01 14:20:59 -04:00
Francis Lachapelle 613d21b0c5 (i18n) Update translations 2016-11-01 12:06:15 -04:00
Francis Lachapelle b44bf86164 Improve validation of mail account delegators 2016-10-26 15:42:50 -04:00
Francis Lachapelle 65a653ac0c (i18n) Update translations 2016-10-26 08:27:44 -04:00
Ludovic Marcotte 2949bef902 (fix) make sure consider non-void GUID 2016-10-25 11:18:49 -04:00
Francis Lachapelle 4d0dcc4978 Fix support for recurrent tasks 2016-10-24 16:31:59 -04:00
Francis Lachapelle f326ca5ae5 Fix saving the note of a card
Fixes #3849
2016-10-20 18:28:58 -04:00
Ludovic Marcotte e6b1589e5f (fix) make sure we unencode @ signs before storing them in the ACL table 2016-10-20 10:27:26 -04:00
Ludovic Marcotte 85ad17ad36 (fix) We never send IMIP reply when the "initiator" is Outlook 2013/2016 over 2016-10-19 15:13:28 -04:00
Francis Lachapelle f902b90348 Fix vCard generation for tags with no type
Fixes #3826
2016-10-17 16:36:21 -04:00
Ludovic Marcotte b40d5e24d1 (fix) only consider SMTP proxyAddresses for AD (fixes #3842) 2016-10-17 11:41:07 -04:00
Francis Lachapelle 292432df12 Don't remove the "c_component" condition in search
This will fix a bug when we'll support recurrent tasks!
2016-10-07 12:19:19 -04:00
Francis Lachapelle 84412cc538 Improve NSArray comparison in Contacts module 2016-10-05 15:38:54 -04:00
Francis Lachapelle 64434bbfad Fix sort by email with LDAP sources 2016-10-05 15:25:57 -04:00
Francis Lachapelle b4676ce439 Allow custom email to be one of the user's profile
Fixes #3551
2016-10-03 10:29:30 -04:00
Ludovic Marcotte b7abbeb045 (fix) fixed default TRANSP value when creating event 2016-09-28 10:28:43 -04:00
Francis Lachapelle c328ea1823 (i18n) Update translations 2016-09-28 09:29:55 -04:00
Ludovic Marcotte 8ec73590d7 (fix) make sure new cards always have a UID (fixes #3819) 2016-09-27 19:49:58 -04:00
Francis Lachapelle 44aa1352e4 Caching expiration of ACLs assigned to LDAP groups
Fixes #2867
2016-09-26 16:22:44 -04:00
Ludovic Marcotte c1326dc20e (fix) search in all domain sources for Apple Calendar and properly handle groups 2016-09-26 15:22:49 -04:00
Francis Lachapelle 1c8f309c33 Automatically mark msg as read in Mail module 2016-09-22 16:08:59 -04:00
Francis Lachapelle 8bf452992e Fix Serbian translation 2016-09-15 06:21:09 -04:00
Ludovic Marcotte 42127c51ab (feat) added IMAP folders subscriptions management (fixes #255) 2016-09-14 15:57:49 -04:00
Francis Lachapelle 6d8f7c9a44 Add Serbian translation 2016-09-14 12:13:42 -04:00
Ludovic Marcotte 1a027134c5 (fix) handle binary just like 7 and 8bit 2016-09-13 11:03:04 -04:00
Ludovic Marcotte 8b9ceb3273 (fix) allow multiple space-delimited addresses in the MailFieldNames column 2016-08-19 11:45:15 -04:00
Ludovic Marcotte 372158a3e9 (fix) strip protocol value from proxyAddresses (fixes #3182) 2016-08-18 15:34:13 -04:00
Francis Lachapelle 287c57c994 Restore SOGoMailAddOutgoingAddresses functionality 2016-08-12 11:38:05 -04:00
Ludovic Marcotte bc332bc980 Minor improvement over previous commit 2016-08-09 16:22:09 -04:00
Ludovic Marcotte 0e2336cc4e (fix) check if the SENT-BY has access to organizer's calendar before modifying attendees' calendar (fixes #3759) 2016-08-09 16:17:17 -04:00
Ludovic Marcotte b7496a5d6b (fix) correctly calculate recurrence exceptions 2016-08-05 14:53:38 -04:00
Ludovic Marcotte 21e0cd8711 (fix) change 403 to 409 so Lightning doesn't fail silently 2016-08-04 14:13:00 -04:00
Francis Lachapelle 9d65d7c3a8 Support multiple descriptions from LDAP entries
Fixes #3750
2016-08-01 15:55:50 -04:00
Francis Lachapelle 80338daf91 Expunge mailbox on specific actions
Current mailbox is now expunged when leaving the Mail module. The drafts
mailbox is also expunged when a message is sent.
2016-07-27 11:56:28 -04:00
Francis Lachapelle 4a6bdffc5b Fix exception when moving tasks 2016-07-20 13:31:15 -04:00
Francis Lachapelle bfd3508949 Improve handling of mail delegates 2016-07-06 15:43:38 -04:00
Ludovic Marcotte 749c77ce05 (fix) make sure to handle nil vs. NSNull values correctly 2016-07-05 22:25:01 -04:00
Francis Lachapelle 197123143b (i18n) Update translations 2016-07-05 21:30:33 -04:00
Ludovic Marcotte bd75eaf878 (fix) avoid showing debug info when not needed (fixes #3726) 2016-06-23 09:00:50 -04:00
Ludovic Marcotte 4a74f00adb (fix) integrated latest OC changes 2016-06-23 08:58:25 -04:00
Ludovic Marcotte 1efeca72c5 (fix) fallback to email if no cn is found (should avoid displaying bogus chips) 2016-06-21 15:57:35 -04:00
Francis Lachapelle 8cc0b946e7 Fix handling of attendees when updating an event 2016-06-17 15:25:57 -04:00
Ludovic Marcotte c8c8d12d1f (fix) fallback to email address if no CN is found (fixes #3733) 2016-06-17 14:28:03 -04:00
Roel van Meer aadc1681bd Fix error when adding entry to LDAP address book [bug 3621] 2016-06-16 14:58:58 +02:00
Francis Lachapelle d8fc40217d Specify a custom vacation subject
User can now specify a custom vacation subject. For Sieve servers
implementing the variables extension, one can write ${subject} to insert
the original subject in the auto reply.

SOGoDefaultVacationSubject is a new domain defaults parameter used when
the user doesn't specify a custom subject.

Fixes #685, #1447
2016-06-15 16:02:12 -04:00
Francis Lachapelle 4744170628 Add a header and/or footer to the vacation message
Fixes #1961
2016-06-14 14:10:17 -04:00
Ludovic Marcotte ff65ba88ad (fix) properly terminate dictionary initialization 2016-06-14 08:31:37 -04:00
Francis Lachapelle 4f64994f7b Add missing delegators identities in mail editor
Fixes #3720
2016-06-13 10:44:49 -04:00
Francis Lachapelle ccbce4fa1d (i18n) Update translations 2016-06-10 09:05:18 -04:00
Francis Lachapelle 7dbbd66640 Fix all-day events covering a timezone change
Fixes #3457
2016-06-09 15:30:12 -04:00
Francis Lachapelle bba673e0ef Fix negative offset when saving an all-day event 2016-06-07 10:09:25 -04:00
Francis Lachapelle ec61fd10fc Fix negative offset when saving an all-day event
Fixes #3717
2016-06-06 13:29:00 -04:00
Francis Lachapelle bfda86e31c Fix recipients of reply message from Sent mailbox
Fixes #2625
2016-06-01 16:22:25 -04:00
Francis Lachapelle 1dca078c56 Improve handling of attachments names with quotes
Partially resolves #2272
2016-05-31 15:31:03 -04:00
Francis Lachapelle f623de931a (i18n) Update Hungarian translation 2016-05-30 10:20:55 -04:00
Ludovic Marcotte 875a4aca32 (fix) improved previous commit for attributes stripping and UID generation (fixes #3695 and #3696) 2016-05-27 10:53:16 -04:00
Francis Lachapelle 4b29b5302e Sort languages list of SOGoDefaults.plist 2016-05-26 15:37:55 -04:00
Ludovic Marcotte c9f63a7ce2 (fix) make sure to strip X- tags when securing content (#3695) 2016-05-26 14:42:13 -04:00
Francis Lachapelle a9ee261eff Allow disabling Gravatar
Resolves #3600
2016-05-25 16:07:40 -04:00
Francis Lachapelle fd4b09428f Expose all email addresses in autocompletion
This change is immediately applicable to LDAP-based system address
books. However, personal SQL-based address books must have their quick
tables recreated. To do so, one must use sogo-tool to backup and restore
the user's data.

Resolves #3443, #3526
2016-05-25 10:25:53 -04:00
Francis Lachapelle e3a9ba910c (i18n) Update Turkish (Turkey) translation 2016-05-24 11:03:15 -04:00
Francis Lachapelle 0e2c6dc5cd Fix offset when converting event to all-day
Fixes #3655
2016-05-20 10:06:13 -04:00
Francis Lachapelle 9db6e2c411 (i18n) Update translations 2016-05-18 16:07:58 -04:00
Francis Lachapelle c8f8b505cb Add Turkish (Turkey) translation 2016-05-16 13:28:12 -04:00
Ludovic Marcotte 0aed09b517 (doc) documented XSRF support and disabled per default for now 2016-05-16 08:39:08 -04:00
Francis Lachapelle e396e29430 Fix handling of Web calendars
- handle Web calendars that require authentication;
- properly save the "reload on login" option;
- reload Web calendars when clicking on the reload button on top of the
  events/tasks list;
- properly activate the checkbox of new calendars (as they are enabled
  by default).

Fixes #3326
2016-05-13 15:50:24 -04:00
Ludovic Marcotte b5b9d596f0 (fix) handle multi-value org units 2016-05-11 10:16:34 -04:00
Ludovic Marcotte 557797d634 (fix) don't use removeItemAtPath - it is not available on Precise 2016-05-10 15:51:32 -04:00
Francis Lachapelle a1e0f2767f Fix sender addresses of draft
The sender addresses select menu is now populated with the identities of
the selected account *only*. The chosen sender address is also restored
from the draft.

Fixes #3577
2016-05-10 14:41:24 -04:00
Ludovic Marcotte ad67239cda (fix) fixed bogus headers generation when stripping folded bcc headers (fixes #3664) 2016-05-10 08:52:54 -04:00
Ludovic Marcotte 29e0799b11 (fix) use uid and not always-nil login value at this point 2016-05-09 15:09:48 -04:00
Francis Lachapelle c5eeadf041 Allow user to choose which weekdays to display
Closes #1841
2016-05-06 14:22:52 -04:00
Ludovic Marcotte 3c6da09ff8 (fix) make sure we don't double-append domain part (fixes #3614) 2016-05-06 13:47:35 -04:00
Ludovic Marcotte 54b114712f Revert "(fix) we now load 'base products' before any other ones"
This reverts commit 3157fa022e.
2016-05-04 09:28:25 -04:00
Ludovic Marcotte 3157fa022e (fix) we now load 'base products' before any other ones 2016-05-03 20:31:45 -04:00
Ludovic Marcotte bb34a22578 (fix) correctly write the content on disk before zipping it 2016-05-03 09:05:52 -04:00
Francis Lachapelle 6cb513f30b New user setting to set calendars display order 2016-04-27 15:25:01 -04:00
Francis Lachapelle 48e58164f7 Improve settings cleanup when removing a calendar 2016-04-26 11:37:38 -04:00
Ludovic Marcotte 582baf2960 (feat) added AngularJS's XSRF support (#3246) 2016-04-26 11:07:22 -04:00
Francis Lachapelle 9a4d3251a1 Return component's priority as an integer 2016-04-21 13:53:57 -04:00
Ludovic Marcotte 4ec0615bcd (fix) encore CR for EAS (fixes #3626) 2016-04-14 15:21:49 -04:00
Ludovic Marcotte 2774878fa2 (fix) avoid double-appending domain in cache (fixes #3614) 2016-04-12 13:20:09 -04:00
Ludovic Marcotte 1e8a565224 (fix) adjust offset datatype to avoid int overflows (fixes #3628) 2016-04-11 15:55:12 -04:00
Ludovic Marcotte 5f46df39cd (fix) avoid going to far when checking logins if no login is defined 2016-04-11 10:18:55 -04:00
Ludovic Marcotte 5d26175d56 (fix) don't escape \r 2016-04-07 09:27:57 -04:00
Ludovic Marcotte 35d1cab856 (fix) properly XML escape wide characters (fixes #3616) 2016-04-06 11:19:18 -04:00
Francis Lachapelle af4aae2019 Move [iCalEntityObject+SOGo dateFromString:]
.. to CardElement+SOGo so it's also accessible from a NGVCard.
2016-04-05 21:57:09 -04:00
Francis Lachapelle f4a537d811 (i18n) Update translations 2016-04-05 11:49:10 -04:00
Francis Lachapelle 2e9a7c17f5 Fix handling of priority mail header 2016-03-30 12:22:40 -04:00
Ludovic Marcotte eb989fdd1b (fix) use PEEK when archiving messages (fixes #2792) 2016-03-29 11:37:40 -04:00
Ludovic Marcotte 1216464f28 (fix) handle Dovecot's mail_shared_explicit_inbox when using EAS 2016-03-28 11:13:41 -04:00
Francis Lachapelle 0c0505468b Respect user's language for calendar categories 2016-03-24 21:44:29 -04:00
Ludovic Marcotte 49f1c30e77 (feat) now able to copy/move events and also duplicate them (fixes #3196) 2016-03-24 14:53:27 -04:00
Ludovic Marcotte 3a9c28f0ea (fix) handle default classification for tasks (fixes #3541) 2016-03-23 13:41:08 -04:00
Ludovic Marcotte 573e63d3e0 (fix) small performance optimization 2016-03-23 13:25:46 -04:00
Ludovic Marcotte 916806cc2c (feat) new SOGoHelpURL preference to set a custom URL for SOGo help (fixes #2768) 2016-03-22 14:25:55 -04:00
Ludovic Marcotte fee310908b (feat) we now "cc" delegates during invitation updates (fixes #3195) 2016-03-22 13:08:38 -04:00
Ludovic Marcotte 2c038d641a (fix) show repeating events when we ask for "All" or "Future" events (fixes #69) 2016-03-22 10:44:23 -04:00
Ludovic Marcotte 284c45f111 (fix) use the correct message class for S/MIME mails 2016-03-18 13:01:29 -04:00
Ludovic Marcotte 638dbc904c (fix) handle empty body data correctly (fixes #3581) 2016-03-18 12:54:50 -04:00
Ludovic Marcotte 00777fa7f3 (fix) respect the LDAP attributes mapping in the list view 2016-03-18 12:38:47 -04:00
Ludovic Marcotte 9d6ab2df33 (feat) user rate-limiting support for all SOGo requests 2016-03-18 11:04:41 -04:00
Ludovic Marcotte e7b0119ab1 (fix) don't skip last identity 2016-03-14 13:18:56 -04:00
Francis Lachapelle 08a94fa539 Add Lithuanian translation 2016-03-14 10:08:25 -04:00
Ludovic Marcotte 9a4d2c6b1c (fix) properly null-terminate IS8601-formatted dates (fixes #3539) 2016-03-13 14:25:09 -04:00
Ludovic Marcotte beb4af9f9f (fix) avoid compilation warning from previous commit 2016-03-13 13:45:58 -04:00
Ludovic Marcotte 85cacd97de Use GMT tz when setting birthday (fixes #3579) 2016-03-13 13:44:42 -04:00
Ludovic Marcotte 4ac41dace7 (core) new database structure options to make SOGo use a total of nine tables 2016-03-10 16:34:06 -05:00
Francis Lachapelle 9d5de9afb7 Merge pull request #201 from inverse-inc/warning-removal-again
Warning removal, next part.
2016-03-09 15:59:11 -05:00
Ludovic Marcotte 4026c4e2d9 (fix) more attendee checks 2016-03-09 10:06:18 -05:00
Ludovic Marcotte bd81a56e58 (fix) make sure the attendee name is defined before using it 2016-03-08 10:41:49 -05:00
Ludovic Marcotte 81daade9ec (fix) remove unnecessary error message 2016-03-08 08:24:16 -05:00
Francis Lachapelle 255e21795e Update translations 2016-03-07 10:59:54 -05:00
Patrice Levesque c3f69416be Replace stubs with parent implementations.
Which makes real sense; reference from
https://github.com/inverse-inc/sogo/pull/201#discussion_r54880038 and
https://github.com/inverse-inc/sogo/pull/201#discussion_r54880094
2016-03-07 10:46:40 -05:00
Patrice Levesque 4210131e12 Initialize highestmodseq to avoid any surprise.
Strongly inspired by comment at https://github.com/inverse-inc/sogo/pull/201#discussion-diff-54879796
2016-03-07 10:43:38 -05:00
Patrice Levesque ce38a9c606 Fix one warning: expected ‘struct NSError **’ but argument is of type ‘id’
nil is not recognized by GCC as a (NSError**), but as an (id).  NULL works the
same but does not spawn warnings.
2016-03-07 10:34:41 -05:00
Patrice Levesque a813e38897 Comment out sendMail method in SOGoDraftObject and replace its sole known usage by sendMailAndCopyToSent.
In a 2011-09-26 commit (in Changelog.old), I understand the author wanted to
phase sendMail out and replace it by sendMailAndCopyToSent.  Since there are
compilation warnings related to sendMail, removing the sendMail method and
replacing the sole call to it seemed like the cleanest way.
2016-03-07 10:34:41 -05:00
Patrice Levesque 281062a1a1 Fix warning: incomplete implementation of category ‘SOGoExtensions’
Original method was commented out, but not its matching .h declaration;
hence commenting out the .h declaration.
2016-03-07 10:34:41 -05:00
Patrice Levesque c1095a5ea9 Fix warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
As previous commit, this code assumed pointers are unsigned int, for display
purpose.  Replaced the cast with the native '%p' token from
NSMutableString::appendFormat that's provided for pointer address output.
2016-03-07 10:34:41 -05:00
Patrice Levesque 022fd81474 Fix warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Those are all log formatting routines that assume pointers are unsigned int,
for display purpose.  Replace the cast with the native '%p' token from
NSString::stringWithFormat that's provided for pointer address output.
2016-03-07 10:34:41 -05:00
Patrice Levesque 478b313122 Fix warning: distinct Objective-C type in return
Method is supposed to return a WOResponse pointer, but currently returns a
NSException pointer; typecast the return value, just like the archiveUIDs
method does.
2016-03-07 10:34:41 -05:00
Patrice Levesque 3ba0e9f82f Implement stubs for SOGoCalendarComponent::isNew and SOGoCalendarComponent::setIsNew methods.
Those are required to implement the SOGoComponentOccurence protocol hence
their absence creates compilation warnings.
2016-03-07 10:34:40 -05:00
Patrice Levesque 0b1cf9faaf Avoid warning: the address of ‘timezone’ will always evaluate as ‘true’
As timezone is a pointer allocated on the stack, there is no need to check
for a NULL pointer - if that was ever the initial intention.
2016-03-07 10:34:40 -05:00
Patrice Levesque 5b71ed319a Fix warning: variable ‘uidnext’ set but not used [-Wunused-but-set-variable]
Remove uidnext declaration and calls that change its value.
2016-03-07 10:34:40 -05:00
Patrice Levesque ddade629fd Synchronize .h and .m method signatures. 2016-03-07 10:34:40 -05:00
Patrice Levesque 5e9d0ce95a Fix warning: ‘-textValue’ not found in protocol(s)
Confusingly, labelNode is a DOMElement, not a DOMNode, so textValue cannot
apply here; textContent which would be an appropriate replacement does not
exist AFAIK in this DOM Library.

So we manually get the text node via firstChild then get its text value
via nodeValue.
2016-03-07 10:34:40 -05:00
Francis Lachapelle eefb9056ca (html) Use datepicker for task completion date 2016-03-04 11:34:02 -05:00
Francis Lachapelle b808067cf7 Keep specified task status when not completed
Fixes #3499
2016-03-04 10:24:12 -05:00
Francis Lachapelle 3529d52c3b Fix extraction of mail column from SQL source
Fixes #3544
2016-02-29 11:56:32 -05:00
Francis Lachapelle a668d89ef9 Fix unseen count retrieval of nested IMAP folders 2016-02-26 14:59:54 -05:00
Francis Lachapelle 07d47829ab Fix default priority of sent messages
Fixes #3542
2016-02-25 11:53:34 -05:00
Francis Lachapelle 5387b5d5a3 Expose listRequiresDot in SOGoContactSourceFolder 2016-02-24 16:47:07 -05:00
Francis Lachapelle 4030cf86fd (feature) Live loading of (GCS) addressbooks
Using md-on-demand of md-virtual-repeat, we now progressively load the
cards metadata of a personal addressbook.
2016-02-19 23:19:07 -05:00
Francis Lachapelle 21dcb57ca9 Remove unrelevent #warning 2016-02-19 16:28:43 -05:00
Francis Lachapelle 485a9d4462 Fix import of cn from SQL source 2016-02-19 16:09:08 -05:00
Patrice Levesque 9cb1b899b0 Merge branch 'master' into fix-some-warnings
Conflicts:
	UI/Scheduler/UIxAppointmentActions.m
2016-02-16 14:32:50 -05:00
Francis Lachapelle 4c01417690 Handle resource limits in the Web interface
See @d7b010
2016-02-16 12:40:59 -05:00
Francis Lachapelle d56d9f8b08 Handle attendee conflicts in the Web interface
See @d7b010
2016-02-15 16:03:16 -05:00
Patrice Levesque a5cc2bb5d5 Merge branch 'master' into fix-some-warnings
Conflicts:
	SoObjects/Appointments/SOGoAppointmentObject.m
2016-02-15 11:23:27 -05:00
Patrice Levesque 9e83ff9f04 Fix compilation errors with OpenSSL 2016-02-15 11:14:06 -05:00
Patrice Levesque bd56f4cf9f Remove pointless #include from .m and .h files
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 17:41:54 -05:00
Patrice Levesque 7c25b53fdf Remove pointless #imports from .m and .h files
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Ludovic Marcotte 132234cc19 (fix) don't consider default ACLs for attendees 2016-02-12 14:40:51 -05:00
Francis Lachapelle 256a64172e (feature) Custom base font size for HTML messages
If SOGoMailComposeFontSize is set to zero, we keep the previous
behaviour (no font-size added to the message HTML body).
2016-02-11 17:45:57 -05:00
Ludovic Marcotte d7b010526b (feat) warn when double-booking attendees and offer force save option 2016-02-11 10:54:07 -05:00
Francis Lachapelle 99e5c1b93c (feature) Convert a message to an event or task
Resolves #1722
2016-02-10 16:15:00 -05:00
Patrice Levesque 93158f5121 Wrap common looping idiom inside double-parenthesis to shutup warning 2016-02-10 15:16:42 -05:00
Ludovic Marcotte 8c99fdc99a (fix) allow resources to prevent invitations (fixes #3410) 2016-02-10 15:03:20 -05:00
Patrice Levesque 296d510572 Merge branch 'missing-prototypes' into fix-some-warnings
Avoid compilation errors when using GCC with -Werror=missing-declarations
and -Werror=missing-prototypes (those flags are wanted to track and fix
further warnings).
2016-02-10 14:58:28 -05:00
Patrice Levesque 51cbb980ad Add some missing preprocessing #import directives
Fixes most GCC warnings of form:
	warning: @interface of class ‘MyClass’ not found
2016-02-10 14:46:11 -05:00
Ludovic Marcotte 693f80dc9a (feat) now supports RFC6154 and NoInferiors IMAP flag 2016-02-10 10:00:59 -05:00
Patrice Levesque 5539b7a823 Add missing header prototypes
Fixes compiling errors with GCC using -Werror=missing-prototypes.
2016-02-08 16:14:33 -05:00
Ludovic Marcotte ee3276f01d (feat) added Junk handling feature from v2 2016-02-08 15:36:01 -05:00
Ludovic Marcotte d3f59ba621 (fix) add shared/public namespaces in the list or returned folders 2016-02-05 10:01:18 -05:00
Francis Lachapelle d4ab5dd21b Update translations 2016-02-04 14:01:31 -05:00
Francis Lachapelle a8845d262f Fix frequency detection of recurrence rule 2016-02-04 09:20:11 -05:00
Francis Lachapelle bd4f42b948 Fix comparisons with NSNotFound
Fixes #3472
2016-02-03 13:54:08 -05:00
Francis Lachapelle 5a927dfeb3 Improve formatting of SOGoDefaults.plist 2016-01-27 11:27:30 -05:00
Francis Lachapelle b265de91fd Add Croatian translation 2016-01-25 11:14:45 -05:00
ethoms 99765aae53 fix (revised) for issue with CardDAV sync with the DAVDroid sync client.
This is a revised fix for the issue raiased in sogo bug tracker 3370 and 3373. It supercedes the fix in commit  2c723070c6 .

The fix was noted in NEWS with the comment "we now return all cards when we receive an empty addressbook-query REPORT". However it did not work for me and at least two others, as can be seen in the commit comments. In summary, only contacts with email addresses were synced. The suggested change from kwirk fixes the regular address book sync, but it completely breaks syncing of the read-only Group Directory (Corporate Directory). My suggested changes work in full (as far as I'm able to test).

I have done some fairly extensive testing of CardDAV sync (with DAVDroid only) and it seems to work 100% now. In addition to the obvious tests, I have tested with contacts that only have one field of data entered. The feilds I've tested (with all other fields empty) are as follows:

First name
Last name
Display name
email address
Work (telephone)
Home (telephone)
Fax (telephone)
Mobile (telephone)

Additionally, I tested syncing of a contact with only the Work Address fully populated. In the webmail, since the name fields are all missing, the "Organization" field of the Work Address takes the place of the name field in the 'Name' column. This does get synced to my phone and it also appears my Android contact list with 'Name' set to the 'Organization' field data. The address, organization and website fields being in tact also.

In addition, I tested a Group Directory (Corporate Directory) [SOGoUserSources->isAddressBook] sync. It seems contacts without email addresses do not sync. This seems to be the behaviour across the board with a "." search filter. This happens despite the filter in SOGoUserSources including ldap entries without a mail attribute. Nothing I can do to patch this in SOGoFolder+CardDAV.m, that would have to be fixed in the code that deals with the special "." search filter (I guess).

I think the contact search system needs some looking into, particularly the "." search filter behaviour. There is another bug related to contact search in the webmail address book view. I will make a bug report on that soon. It's a shame there isn't an "all" search filter, it would seem it would make various parts of SOGo easier to get the right behaviour.
2016-01-25 09:19:41 -05:00
Ludovic Marcotte 3c0059192d (fix) rewrote the string sanitization to be 32-bit Unicode safe 2016-01-22 20:31:55 -05:00
Ludovic Marcotte 30377c0fd6 (feat) new junk/not junk capability with generic SMTP integration
Conflicts:

	NEWS
	SoObjects/Mailer/SOGoMailAccount.m
	SoObjects/SOGo/SOGoDefaults.plist
	SoObjects/SOGo/SOGoUser.m
	UI/MailerUI/UIxMailFolderActions.h
	UI/MailerUI/UIxMailFolderActions.m
	UI/MailerUI/product.plist
2016-01-22 13:58:45 -05:00
Francis Lachapelle 8076a1a7ef Update translations 2016-01-21 10:17:36 -05:00
Ludovic Marcotte b3bc6bb7dc Applied changes coming from v2/PR#184. 2016-01-18 09:26:07 -05:00
Ludovic Marcotte 0b5e38e88c (fix) we now follow 301 redirects when fetching ICS calendars 2016-01-08 13:13:35 -05:00
Ludovic Marcotte 4935eb23a9 (fix) Fixed DomainLessLogin logins in multi-domain 2016-01-08 11:40:02 -05:00
Ludovic Marcotte 6ffeba59ed (feat) Now able to sync only default mail folders when using EAS
Conflicts:

	NEWS
	SoObjects/SOGo/SOGoUserDefaults.h
	SoObjects/SOGo/SOGoUserDefaults.m
2016-01-07 09:19:44 -05:00
Francis Lachapelle c65a9155be Improve verification of SOGoLoginDomains array 2016-01-06 09:53:18 -05:00
Ludovic Marcotte ae6ed0c055 (feat) applied all changes as a patch coming from PR #180 2015-12-30 09:22:08 -05:00
Francis Lachapelle 711e159b4b Properly compute the last week number for the year
Fixes #1010
2015-12-22 14:19:02 -05:00
Ludovic Marcotte 3404ae8105 (fix) carry over delegatedFrom too 2015-12-15 16:28:58 -05:00
Ludovic Marcotte 76f0ec9ae0 (fix) carry over the delegatedTo, not only the part stat 2015-12-15 16:28:13 -05:00