Commit Graph

13191 Commits (e1ced4ac653cd2e58da94cd521e68ec13100a7f8)

Author SHA1 Message Date
Francis Lachapelle 255e21795e Update translations 2016-03-07 10:59:54 -05:00
Patrice Levesque 990a5f4823 Fix behaviour change in error handling, introduced by commit f284fb71dda0ea9754f1582c6951d5f462e947bc
As pointed out on https://github.com/inverse-inc/sogo/pull/201#discussion_r54881994
2016-03-07 10:50:17 -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 fc9dde885b Fix warnings; both ‘WORequest’ may not respond to ‘-httpRequest’ and no ‘-parts’ method found. 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 f55391b7d0 Add missing header declarations that made the compiler spit out warnings. 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 986665f011 Workaround warning: ‘locale’ is used uninitialized in this function [-Wuninitialized]
'locale' being an uninitialized pointer, I don't believe setting it to nil will
make things worse here.
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
InverseBot 50eae4c656 (js/css) Update generated files 2016-03-05 01:41:46 -05:00
Francis Lachapelle b57dd57c53 Update ChangeLog 2016-03-04 12:10:32 -05:00
Francis Lachapelle 2102385f08 Preparation for release 3.0.2 2016-03-04 12:09:11 -05:00
Francis Lachapelle c0e528a2fb Update French and Finnish translations 2016-03-04 12:08:30 -05:00
Francis Lachapelle 240557a5c5 (js/css) Update generated files 2016-03-04 12:02:19 -05:00
Francis Lachapelle ebd0b9e188 (html) Can't set an alarm or recurrence to a task 2016-03-04 11:35:39 -05:00
Francis Lachapelle eefb9056ca (html) Use datepicker for task completion date 2016-03-04 11:34:02 -05:00
Francis Lachapelle cb03a1d97e (js) Improve Card initialization 2016-03-04 11:08:38 -05:00
Francis Lachapelle 9dd5dc4c47 (js) Cleanup of "catch" for promises 2016-03-04 11:00:44 -05:00
Francis Lachapelle aedb66f972 (js) Fix stalled progress indicator in Contacts 2016-03-04 10:59:03 -05:00
Francis Lachapelle b808067cf7 Keep specified task status when not completed
Fixes #3499
2016-03-04 10:24:12 -05:00
Francis Lachapelle f19b213c02 (json) Return ACLs when subscribing to a folder 2016-03-04 09:54:50 -05:00
Francis Lachapelle 5aa19ebfb7 (js) Enable new calendar subscriptions by default 2016-03-04 09:54:49 -05:00
InverseBot 9e152adc7d (js/css) Update generated files 2016-03-04 01:32:30 -05:00
Francis Lachapelle fd8d7bb6ed (js) Fix attachments display when forwarding a msg
Fixes #3560
2016-03-03 15:41:29 -05:00
Francis Lachapelle 72a38c51b4 (js) Fix selection of search results in Webmail
When performing a search from the special router state
"mail.account.inbox", the first selection was changing the state name
and resetting the search. The special "inbox" state will now force a URL
change to avoid this problem.
2016-03-03 15:03:42 -05:00
Francis Lachapelle 599264b3d9 (css) Don't force the bg color of input fields 2016-03-03 13:48:38 -05:00
Francis Lachapelle d4745ef598 (js) Update lodash to version 4.6.1 2016-03-03 13:46:14 -05:00
Francis Lachapelle fadf52b01e (css) Set toolbar bg color for Calendar dialogs 2016-03-03 11:04:40 -05:00
Francis Lachapelle 4e83dce4a6 (doc) Improve installation guide 2016-03-03 09:31:23 -05:00
Francis Lachapelle 540ed1f63b (js) Fix pos. of personal calendar after rename 2016-03-03 09:29:12 -05:00
InverseBot 44f748659e (js/css) Update generated files 2016-03-03 01:32:41 -05:00
Francis Lachapelle 9dd444e668 (js) Fix date parsing for timezone after UTC+0
Fixes #3481, #3494
2016-03-02 16:14:36 -05:00
Francis Lachapelle 73decf2df9 Update README.md 2016-03-02 09:59:02 -05:00
InverseBot f63ae5c3bb (js/css) Update generated files 2016-03-02 01:34:57 -05:00
Francis Lachapelle d60f49d8fa Improve display of a contact's URLs
Ensure the URL is valid and begins with a schema.
2016-03-01 16:53:08 -05:00
Francis Lachapelle 68cb3d091c (html) Colorize event/task categories chips 2016-03-01 14:31:52 -05:00
Francis Lachapelle 9b58693873 (html) Use new sg-checkmark element
This fixes the issue of md-checkbox not usable in an md-menu in Firefox.

Fixes #3557
2016-03-01 14:15:04 -05:00
Francis Lachapelle 0b7824a8b7 (js) New sgCheckmark directive
To be used as checkmarks in menus.
2016-03-01 14:07:30 -05:00
Francis Lachapelle 0a78b65cdc (html) Clarify action buttons in Prefs module 2016-03-01 09:55:08 -05:00
InverseBot c34603b3eb (js/css) Update generated files 2016-03-01 01:33:09 -05:00
Francis Lachapelle d92bf122ed (js) Improve ng-messages of sg-subscribe
Improved dry mode of User.$filter and added error message when users
search returns no match.
2016-02-29 15:13:09 -05:00