Author Topic: Version 1.6.4-dev1.1 - "work in progress", Exchange push mail  (Read 27269 times)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Version 1.6.4-dev1.1 - "work in progress", Exchange push mail
« on: August 11, 2016, 02:30:35 am »
https://www.aqua-mail.com/download/AquaMail-market-1.6.4-dev1.apk

https://www.aqua-mail.com/download/AquaMail-market-1.6.4-dev1.1.apk

^^^ Fixed notifications not showing



Exchange mail:

- When you bring up "other folders" or "move to folder", the list of folders is now synced incrementally, only changes since last time. Faster, lower battery and traffic usage.

( "options and folders" -> "folders", aka "manage folders" still does a full sync, in case there are any issues with incremental sync )

- Exchange accounts now support a date-range-based "messages to sync", e.g. "last 10 days" or "last 30 days", etc.

The default for new Exchange accounts is now "sync last 14 days".

This sync algorithm is incremental too. May take some time for the initial sync (just how Exchange is...) but after that it will only get changes since last time. Faster sync, lower battery and traffic usage.

- If you use the old "sync N most recent messages", the app is now able to quickly detect, per folder, when there are no changes since last time. Faster, lower battery and traffic usage.

- Push mail for Exchange.

Requires Google Play Services (Google Cloud Messaging).

In Pro version only.

Uses a "cloud server", does not compromise on privacy, let's call it "cloud assisted" not "cloud based".

The "cloud" has no technical capability to access your emails, does not know your account's password or the account's email identity, not even temporarily.

The only information that "passes through" this "cloud server" and then Google's servers is made of abstract identifiers, like this:

Quote
Folder e5ad981e09408394ae18363147c6ea7a5b664997 just had a change

It belongs to AquaMail on device ab9fcfa3e001c73f2c1d118bb1daa597e64bffec

Whose Google identifier is:

cmSMMz3InWA:APA91bFRy_XTSWvqSMctWF70LAPDtR8BYZ0gjjG6YPvJdbaOAcNxntGqvYuSB9E90tCKkyzk9EaoOMZp5JSCjbh1NcclWEKMz6NGV8fMz-7Ktz7huxKOcq19QrYrRjcfcbsPnU9wO7V3

This is broadly the same approach as used in Signal messenger by Whisper Systems:

http://support.whispersystems.org/hc/en-us/articles/213190817-Why-do-I-need-Google-Play-installed-to-use-Signal-

IMAP:

- A few changes / fixes / improvements (hopefully) to push mail too, esp. on Android 6.0+.

- The "Push mail on Wifi only" setting has been moved from app settings to per-account "options and folders" -> "account options".

Translations:

- There is aboout a dozen new items. Let's wait a little for the dust to settle just in case there are more UI changes.



Почта Exchange:

- При вызове списка папок для "перемещения сообщения" или чтобы "открыть другую папку", синхронизация списка папок с сервером теперь только получает изменения "с прошлого раза". Быстрее, меньшее потребление батараейки и сетевого трафика.

( если вызывать экран "доп. настройки и папки", он же "управление папками", то будет выполнена полная синхронизация списка папок, на всякий случай )

- В учётках Exchange теперь есть "загрузка по интервалу времени", то есть "10 дней", "30 день" сообщений, и т.д.

По умолчанию для новых учёток Exchange используется "14 дней".

Алгоритм синхронизации "по интервалу времени" получает только изменения. Первая проверка почты может занять какое-то время (особенность Exchange...), после этого будет заметно быстрее чем раньше. Быстрее, меньшее потреблением батарейки и трафика.

- Если Вы будете продолжать использовать "загружать N сообщений" (по количеству, а не по интервалу времени), то программа теперь может определять папки где не было изменений и пропускать их. Быстрее, меньшее потребление батарейки и трафика.

- Пуш почта для Exchange

Требуются Google Play Services (Google Cloud Messaging)

Только в полной версии программы.

Использует "облачный сервер", но не компрометирует личные данные, пусть называется "воспомогательной облачной технологией".

Эта "воспомогательная облачная технология" не имеет технической возможности доступа к Вашим письмам, не знает ни пароля ни даже адреса Вашей учётной записи, даже временно.

Через сервер (и затем через Google) проходят только абстрактные идентфикаторы, примерно вот так:

Quote
В папке e5ad981e09408394ae18363147c6ea7a5b664997 что-то поменялось

Эта папка принадлежит устройству ab9fcfa3e001c73f2c1d118bb1daa597e64bffec

А Google-идентификатор этого устройства вот такой:

cmSMMz3InWA:APA91bFRy_XTSWvqSMctWF70LAPDtR8BYZ0gjjG6YPvJdbaOAcNxntGqvYuSB9E90tCKkyzk9EaoOMZp5JSCjbh1NcclWEKMz6NGV8fMz-7Ktz7huxKOcq19QrYrRjcfcbsPnU9wO7V3

Это примерно та же архитектура, что используется в мессенджере Signal компании Whisper Systems:

http://support.whispersystems.org/hc/en-us/articles/213190817-Why-do-I-need-Google-Play-installed-to-use-Signal-

IMAP:

- Несколько изменений / исправлений / улучшений (надеюсь) в пуш-почте, особенно для Андроида 6.0+.

- Настройка "пуш почта только через WiFi" переместилась из настроек программы на уровень учётной записи, "доп. настройки и папки" - "доп. настройки"
« Last Edit: August 26, 2016, 12:52:38 am by Kostya Vasilyev, Aqua Mail »
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Roxmor

  • Newbie
  • *
  • Posts: 14
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #1 on: August 11, 2016, 02:41:31 am »
Does this sync contacts?

I cant get anything to show up in my inbox....just see the Load 90 more days message
« Last Edit: August 11, 2016, 02:52:05 am by Roxmor »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #2 on: August 11, 2016, 02:44:19 am »
Re: So this only has push when we are on WIFI?

Not at all.

There was an app level setting to only use push mail on WiFi connections -- for users who want this -- and this setting has moved to account level "options and folders".

That's it.

This setting is off by default (i.e. "push mail is enabled on any connection type").
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Roxmor

  • Newbie
  • *
  • Posts: 14
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #3 on: August 11, 2016, 02:52:47 am »
oops sorry, see above

deltatyger

  • Newbie
  • *
  • Posts: 2
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #4 on: August 11, 2016, 04:34:58 am »
Just tried, it is pushing fine but I don't get notification at all. For instance, I have the widget setup on the home screen, and I sent myself an email, I can see aquamail syncing icon running in the background, and new email would show up in the widget, but just no system notification on the new email. Hope this makes sense.
« Last Edit: August 11, 2016, 05:02:20 am by deltatyger »

stevealb

  • Full Member
  • ***
  • Posts: 144
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #5 on: August 11, 2016, 06:42:55 am »
Just tried, it is pushing fine but I don't get notification at all. For instance, I have the widget setup on the home screen, and I sent myself an email, I can see aquamail syncing icon running in the background, and new email would show up in the widget, but just no system notification on the new email. Hope this makes sense.

Ditto for me. Push works fine, but no notifications at all. Interestingly, Notification  is still working for my IMAP account (Gmail), but not the exchange account. 
« Last Edit: August 11, 2016, 06:50:48 am by stevealb »

agpol07

  • Newbie
  • *
  • Posts: 14
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #6 on: August 11, 2016, 02:58:52 pm »
Just tried, it is pushing fine but I don't get notification at all. For instance, I have the widget setup on the home screen, and I sent myself an email, I can see aquamail syncing icon running in the background, and new email would show up in the widget, but just no system notification on the new email. Hope this makes sense.
I have the same problem. No notifications. But when I open the app, the new mail is already there,which means that "push" works fine.

stevealb

  • Full Member
  • ***
  • Posts: 144
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #7 on: August 11, 2016, 03:27:54 pm »
Just tried, it is pushing fine but I don't get notification at all. For instance, I have the widget setup on the home screen, and I sent myself an email, I can see aquamail syncing icon running in the background, and new email would show up in the widget, but just no system notification on the new email. Hope this makes sense.
I have the same problem. No notifications. But when I open the app, the new mail is already there,which means that "push" works fine.

No Sound notification, no light, no vibrate. I've tried turning Notifications off and then on again, but there's no change. Push seems to be working well!

stevealb

  • Full Member
  • ***
  • Posts: 144
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #8 on: August 11, 2016, 04:52:17 pm »
I also noticed that the AM is not as fast now just for the exchange account.  When deleting an email from the list, the message list takes about 1-2 seconds to refresh. Same when opening to the Inbox. This doesn't happen with my Gmail account or pop account on AM and didn't happen with the exchange account prior to this dev version.

dcortez

  • Newbie
  • *
  • Posts: 15
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #9 on: August 11, 2016, 06:13:00 pm »
Push email is not working for me at the moment.  Just so my understanding is clear, does Push email work with an Exchange account configured via EWS? If yes, what are the proper settings to enable Push email?  My current settings are illustrated in the pictures below.  Thanks in advance to anyone offering suggestions and/or assistance.


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #10 on: August 11, 2016, 07:23:32 pm »
Re: Ditto for me. Push works fine, but no notifications at all

I will be taking a look tonight.

Re: Push email is not working for me at the moment

Yes, EWS, and your settings are good, the "procedure" is same as for IMAP -- long pressing the account -> options and folders -> enabling "Push mail".

I checked my server logs and have an idea, but would need a client (AquaMail) debug log please.

Please see the link in my signature below, just enable logging and then:

toggle the push mail setting off, back out to the app's main screen

come back to the account's "options and folders", turn push mail back on

leave the logging enabled for an hour or so

finally send me the log file

Thanks.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

dcortez

  • Newbie
  • *
  • Posts: 15
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #11 on: August 11, 2016, 07:42:07 pm »
Re: Push email is not working for me at the moment

Yes, EWS, and your settings are good, the "procedure" is same as for IMAP -- long pressing the account -> options and folders -> enabling "Push mail".....
Just started the logging process, will let it run for 1 hour and send per instructions in link from your post above.  Thanks for your quick reply to my post.

dcortez

  • Newbie
  • *
  • Posts: 15
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #12 on: August 11, 2016, 10:48:08 pm »
Log emailed as requested... Thanks.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #13 on: August 11, 2016, 10:52:44 pm »
@dcortez - got it, thanks.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Version 1.6.4-dev1 - "work in progress", Exchange push mail
« Reply #14 on: August 12, 2016, 01:36:43 am »
-dev1.1, in the topic's header, should fix notifications.

Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/