Commit graph

15346 commits

Author SHA1 Message Date
Nicolas Höft f7f0af67d8 (fix) Fix SIGSEGV and compilation due to missing include crypt.h
When building on debian buster, the following warning occurs during
compiling:

    NSData+Crypto.m: In function ‘-[NSData(SOGoCryptoExtension) _asCryptedUsingSalt:magic:]’:
    NSData+Crypto.m:610:9: warning: implicit declaration of function ‘crypt’; did you mean ‘creat’? [-Wimplicit-function-declaration]
       buf = crypt([cryptString UTF8String], [saltString UTF8String]);
             ^~~~~
             creat
    NSData+Crypto.m:610:7: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
       buf = crypt([cryptString UTF8String], [saltString UTF8String]);
           ^
    NSData+Crypto.m: In function ‘-[NSData(SOGoCryptoExtension) asCryptUsingSalt:]’:
    NSData+Crypto.m:674:7: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
       buf = crypt([cryptString UTF8String], [saltString UTF8String]);
           ^
     Creating derived_src/NSFramework_SOGo.m..

This warning is apparently more severe as it may also cause segfaults
(at least on Debian Buster) when logging in, rendering sogo unusable:

    2019-07-21 11:27:55.623 sogod[16074:16074] MySQL4 connection established 0x0x55e6b9e56f40
    2019-07-21 11:27:55.624 sogod[16074:16074] MySQL4 channel 0x0x55e6b9aa41f0 opened (connection=0x0x55e6b9e56f40,sogo)
    2019-07-21 11:27:55.624 sogod[16074:16074] <MySQL4Channel[0x0x55e6b9aa41f0] connection=0x0x55e6b9e56f40> SQL: SELECT c_password FROM sogo_userview WHERE c_uid = 'xxxx';
    2019-07-21 11:27:55.625 sogod[16074:16074] <MySQL4Channel[0x0x55e6b9aa41f0] connection=0x0x55e6b9e56f40>   query has results, entering fetch-mode.
    Jul 21 11:27:56 sogod [16057]: <0x0x55e6b9a56020[WOWatchDogChild]> child 16074 exited
    Jul 21 11:27:56 sogod [16057]: <0x0x55e6b9a56020[WOWatchDogChild]>  (terminated due to signal 11)
    Jul 21 11:27:56 sogod [16057]: <0x0x55e6b992b360[WOWatchDog]> child spawned with pid 16268

The reason for this segfault is likely the implicit conversion to int,
leading to uninitialized higher bits of the pointer passed to NSData.
2019-07-21 12:00:21 +02:00
InverseBot 9c21f68c12 (js/css) Update generated files 2019-07-20 01:17:56 -04:00
Francis Lachapelle 20c34c47e9 (doc) Add reference to the Connector Config Guide 2019-07-19 14:14:55 -04:00
Francis Lachapelle 8bd8af947d Update ChangeLog 2019-07-19 13:32:40 -04:00
Francis Lachapelle 4cb43552a6 Preparation for release 4.0.8 2019-07-19 13:22:16 -04:00
Francis Lachapelle 94eeca2917 (js/css) Update generated files 2019-07-19 13:19:43 -04:00
Francis Lachapelle 1351e0953b (doc) Remove references to OpenChange 2019-07-19 13:15:39 -04:00
Francis Lachapelle 8b6b9d80af (i18n) Update translations 2019-07-19 12:50:18 -04:00
Francis Lachapelle 60247e83e7 (i18n) Update German translation 2019-07-09 16:15:37 -04:00
InverseBot 789b4f9c36 (js/css) Update generated files 2019-07-09 01:51:56 -04:00
Francis Lachapelle f2069a6129 Reduce usage of calendar color in dialogs 2019-07-08 13:04:15 -04:00
Francis Lachapelle a0cf84fd0b (wox) Remove unused block 2019-07-05 16:36:56 -04:00
Francis Lachapelle 6e040e418b (js/css) Fix rendering of material icons 2019-07-05 16:35:20 -04:00
Francis Lachapelle d835a8165c (css) Update grunt-sass to v3.0
This release requires Node.js 8 or later.
2019-07-05 09:40:46 -04:00
InverseBot 73a3bf143a (js/css) Update generated files 2019-07-05 01:09:56 -04:00
Francis Lachapelle 06319e3d48 (js) Use matching address of attendee
Fixes #4473
2019-07-04 15:49:38 -04:00
Francis Lachapelle e24082183f Reflect attendee type with generic icon 2019-07-04 15:10:41 -04:00
Francis Lachapelle 5f08b25d9c (font) Update Material Design icons 2019-07-04 14:53:39 -04:00
Francis Lachapelle 374e53bfe6 (js) Review md theme example (theme.js) 2019-07-04 11:34:33 -04:00
InverseBot bc4d189b55 (js/css) Update generated files 2019-07-04 01:09:01 -04:00
Francis Lachapelle 613e59397a (js) Fix missing curly brace 2019-07-03 13:33:04 -04:00
Francis Lachapelle 679b538368 (js) Test threadsCollapsed settings before read 2019-07-03 13:07:48 -04:00
InverseBot 6fb26ee2aa (js/css) Update generated files 2019-06-30 00:49:36 -04:00
Francis Lachapelle 0fba247bd6 (css) Improve messages list 2019-06-27 17:51:48 -04:00
Francis Lachapelle b5949752b4 (web) Restore mail threads
Fixes #3478
Fixes #4616
Fixes #4735
2019-06-27 17:43:11 -04:00
Francis Lachapelle cc6fcc5fbd (js) Fix access to sub mailbox on page reload 2019-06-27 12:02:22 -04:00
Francis Lachapelle fd38816a8c (mail) Fix JSON representation of mail threads 2019-06-26 15:46:59 -04:00
Francis Lachapelle d3ce8a8d2e
Merge pull request #252 from PeterDaveHello/optimize-png-image
Optimize UI png images losslessly via Google zopflipng
2019-06-26 14:18:56 -04:00
Peter Dave Hello b4544a54db Optimize UI png images losslessly via Google zopflipng
UI/WebServerResources/img/cardboard-transp.png                                         | Bin 267247 -> 210429 bytes
UI/WebServerResources/img/felt-transp.png                                              | Bin 173179 -> 140451 bytes
UI/WebServerResources/img/inverse.png                                                  | Bin 3101 -> 2426 bytes
UI/WebServerResources/img/sogo-logo.png                                                | Bin 5523 -> 2272 bytes
2019-06-26 13:34:34 +08:00
InverseBot dc76b9c622 (js/css) Update generated files 2019-06-19 16:07:30 -04:00
Francis Lachapelle c7ffaf6adb (i18n) Add Indonesian (id) translation 2019-06-19 14:26:10 -04:00
Francis Lachapelle bd76715dcb Update NEWS file 2019-06-18 14:59:39 -04:00
Francis Lachapelle 0febc1ef18 (js) Replace bower packages by npm packages 2019-06-18 14:47:01 -04:00
InverseBot 211385ff4d (js/css) Update generated files 2019-06-18 01:13:43 -04:00
Francis Lachapelle 16210fb579 (css,js) Update md to v1.1.19 2019-06-17 12:41:22 -04:00
Francis Lachapelle 63d902620c
Merge pull request #255 from dcsilvagit/patch-1
Set tooltip for markOrUnMarkMessagesAsJunk button
2019-06-17 11:55:07 -04:00
Francis Lachapelle a746a6b23d (i18n) Update Catalan translation
Fixees #4726
2019-06-17 11:43:43 -04:00
Francis Lachapelle f0c8aa884c (i18n) Add Indonesian (id) translation 2019-06-14 10:58:29 -04:00
Ludovic Marcotte 4fc515b229 (fix) handle more broken mails (fixes #4513) 2019-06-13 13:54:16 -04:00
InverseBot 991fac0b94 (js/css) Update generated files 2019-06-13 01:55:36 -04:00
Francis Lachapelle 868057698c (js) Allow 2-letter short month names
Fixes #4766
2019-06-12 16:37:43 -04:00
Francis Lachapelle 56b736cc44
Merge pull request #256 from dasJ/patch-1
configure: Harmonize help and implementation
2019-06-11 20:42:23 -04:00
InverseBot ace0427da7 (js/css) Update generated files 2019-06-11 01:53:09 -04:00
Francis Lachapelle 0e918a446a Add rel="noopener" to external links
Fixes #4764
2019-06-10 13:20:44 -04:00
Janne Heß 13b8e53235
configure: Harmonize help and implementation 2019-06-10 01:01:05 +02:00
Daniel Carlos Silva d9de12a940
Set tooltip for markOrUnMarkMessagesAsJunk button 2019-05-28 11:47:21 -03:00
Francis Lachapelle 3129e149df
Merge pull request #254 from dcsilvagit/fix-set-notjunk-mail_subject
Fix typo in SOGoMailFolder.m
2019-05-23 18:29:01 -04:00
Daniel Carlos Silva 193b73fa26
Update SOGoMailFolder.m 2019-05-23 18:20:10 -03:00
Ludovic Marcotte 6898d11f58 (doc) improved doc regarding placeholders 2019-05-23 15:04:24 -04:00
Ludovic Marcotte f57ff86951 (fix) fixed domain placeholder issue when using sogo-tool (fixes #4723) 2019-05-23 15:02:10 -04:00