Skip to content
Snippets Groups Projects
  1. Nov 06, 2020
  2. Nov 04, 2020
  3. Oct 20, 2020
  4. Sep 24, 2020
    • Christoph Wurst's avatar
      Add a flag that indicates whether an inbox should be sync'ed · 23e3cc48
      Christoph Wurst authored
      
      The cron background sync can be expensive with accounts that have many
      mailboxes. As it turns out other clients like Thunderbird also don't
      look into *all* mailboxes to check for new email. Instead they only do
      that for INBOX by default and let the user pick more mailboxes if they
      wish. We should do the same.
      
      This adds a simple flag. Only the inbox and mailboxes that have this
      flag set will get a sync in background.
      
      Any other mailbox can still be used, but the sync only happens if the
      user has the mailbox open.
      
      This will bring down the load on instances with many accounts,
      especially if those have many mailboxes.
      
      Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
      23e3cc48
  5. Sep 22, 2020
    • Christoph Wurst's avatar
      Fix race condition where one envelope object overwrites the other · d245e1dd
      Christoph Wurst authored
      
      On page load we have a lot of concurrent operations going on. This
      includes:
      
      1) Loading the list of envelopes
      2) Loading the contents of the thread
      
      Both of these might fetch the envelope/thread to be shown. Now, there is
      some more logic going on that stores the thread of an envelope.
      
      In the unlucky case, things followed this pattern
      
      1) The envelope is fetched
      2) The thread list is fetched and stored to the envelope
      3) The envelope list is fetched and the envelope is added again,
         overwriting the other one
      4) The thread list was thus empty -> the current message thread vanished
      
      If the envelope is already known, it will be re-used. Thus this won't
      happen on later navigation but just right after the page load.
      
      Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
      d245e1dd
  6. Sep 08, 2020
  7. Sep 03, 2020
  8. Sep 02, 2020
  9. Sep 01, 2020
  10. Aug 31, 2020
  11. Aug 24, 2020
  12. Aug 10, 2020
  13. Aug 03, 2020
  14. Jul 17, 2020
  15. Jul 15, 2020
  16. Jul 13, 2020
  17. Jun 03, 2020
  18. May 19, 2020
  19. May 14, 2020
  20. May 12, 2020
  21. May 08, 2020
  22. Apr 24, 2020
  23. Apr 23, 2020
  24. Apr 16, 2020
  25. Apr 08, 2020
  26. Mar 27, 2020
  27. Mar 26, 2020
  28. Mar 23, 2020
  29. Mar 20, 2020
  30. Mar 02, 2020
  31. Feb 29, 2020
  32. Feb 28, 2020
  33. Feb 26, 2020
  34. Feb 24, 2020
Loading