Commit Graph

22799 Commits

Author SHA1 Message Date
Michael Kirk
ff9729f421 Avoid blocking app launch
// FREEBIE
2016-09-28 12:09:37 -04:00
Michael Kirk
f256617636 If we can't find a class definition, don't explode, just log.
If we have a serialized object in our data store that wasn't properly
removed, we can be faced with an exception when enumerating objects in
the database, e.g. when we add a new Yap Index.

// FREEBIE
2016-09-28 12:07:22 -04:00
Michael Kirk
5b06b4351f Fix timeout on launch for some users (#36)
This would especially affect users with large databases on older
devices.

Some of these database extensions aren't strictly necessary to launch
the app. Theoretically we could see weird read receipt behavior for
the initial 10-30 seconds after the app is launched for first time.

// FREEBIE
2016-09-28 00:07:42 -04:00
Michael Kirk
2ab6955967 More logging, scrub phone numbers from file logs (#1357)
Phone number are still logged in TTY for development.

// FREEBIE
2016-09-27 21:20:58 -04:00
Michael Kirk
06538f6b46 Not an error. Don't log it as such. (#35)
ContactThreads and GroupThreads share a collection.

// FREEBIE
2016-09-27 20:47:35 -04:00
Michael Kirk
c5edc9997a Production log level to INFO (#34)
// FREEBIE
2016-09-27 20:15:02 -04:00
Michael Kirk
1433ee2655 Fix crash on boot =/ (#1349)
I botched a migration 6 months ago, which left some lingering TSRecipients serialized in our data store, laying in wait to explode the next time we enumerate every object in the database (e.g. when we add an index).

The bloom filter migration failed to remove TSRecipients in the somewhat rare event that the local user had no downloaded bloom filters. This could happen e.g. if they were low on disk space at the time of running the migration, I believe the app would remove the bloom filter cache.

// FREEBIE
2016-09-26 21:57:34 -04:00
Michael Kirk
1098bc203e Fix crash on boot (#33)
A botched migration 6 months ago left some lingering TSRecipients
serialized in our data store, laying in wait to explode the next time we
enumerate every object in the database (e.g. when we add an index).

// FREEBIE
2016-09-26 21:23:06 -04:00
Michael Kirk
14570cb6cf bumping minor version
since 2.5.0.19 was approved for release we have to bump the minor
version to upload the build.

// FREEBIE
2016-09-23 18:29:37 -04:00
Michael Kirk
0c4f1d41b6 Fix contact sync in SSK (#1345)
* bump version
* update translations

// FREEBIE
2016-09-23 17:32:03 -04:00
Michael Kirk
2dba7d141a Fix contact/group sync messages. (#32)
Initially we don't have device messages for our remote device. We need to send the empty device list to get the updated list of remote devices.

Introduced lots of dependency injection to make MessagesManager more testable.

// FREEBIE
2016-09-23 16:55:56 -04:00
Michael Kirk
891acb163b Bump version
// FREEBIE
2016-09-21 13:23:44 -04:00
Michael Kirk
be0556f68a fix "last active" date
// FREEBIE
2016-09-21 12:53:17 -04:00
Michael Kirk
5372173c4a Fix groups breaking without avatar (#1336)
- Group updates were appearing as "unsupported attachment"
- Couldn't message in a new group unless it had attachment.

// FREEBIE
2016-09-20 19:16:05 -04:00
Michael Kirk
1824af5335 Fixes: "unsupported attachment" when group is missing avatar (#31)
// FREEBIE
2016-09-20 18:57:11 -04:00
Michael Kirk
720b167b3b Fix multiple keychange errors (#1334)
* Don't attempt to send a message unless we've successfully built device-messages
* Only process message exception when we're done with retries.

// FREEBIE
2016-09-19 22:47:47 -04:00
Michael Kirk
a0df56a68e Fix multiple keychange errors (#29)
* Don't attempt to send a message unless we've successfully built a deveice-messages
* Only process message exception when we're done with retries.

// FREEBIE
2016-09-19 21:57:20 -04:00
Michael Kirk
ed06555567 Merge branch 'release/2.5.0' into release/2.5.0-with-master
// FREEBIE
2016-09-17 16:06:33 -04:00
Michael Kirk
197933817c Fix height of network status on iphone5.
Abandon dynamic type since other (standard) table cells don't use it.

// FREEBIE
2016-09-17 13:51:34 -04:00
Michael Kirk
63513bed12 Apple now requires camera permission explanation
Even though it's pretty obvious why we need your camera when you push a
"take photo" button...

Unfortunately this warning will be confusing if someone's first exposure
to it is to scan an identity code, but that seems like an edge case not
worth pegging an extra sentence of copy to an already unnecessary
warning.

Also, we're enabling push notifications for dev, per apple build
submission feedback.

// FREEBIE
2016-09-17 13:51:34 -04:00
Michael Kirk
f753cfeed4 Fix XCode8 code signing
// FREEBIE
2016-09-17 13:51:34 -04:00
Michael Kirk
7c6e9e07b8 Read receipts remove lockscreen notifications
No need to have a notification for a message you've already read on
desktop.

// FREEBIE
2016-09-17 13:51:33 -04:00
Michael Kirk
9821e0c0d0 Merge pull request #28 from WhisperSystems/desktop-integration
Desktop integration fixups
2016-09-17 13:47:58 -04:00
Ronny
b59a0e47d7 Disable group header interaction (#1328)
prevent clickability of the group header cell in the group members view
2016-09-17 12:44:46 -04:00
nixnuex
50cd4f54fc verification code field: improved user experience (#1325) 2016-09-17 12:36:17 -04:00
Michael Kirk
f7198d5eaa Don't crash when receiving read receipts after message
// FREEBIE
2016-09-14 13:26:55 -04:00
Michael Kirk
d8be0b5d22 New translations
// FREEBIE
2016-09-14 13:26:55 -04:00
Michael Kirk
27dfb59a0c Emit notification when message is read.
We observe this in Signal to remove notifications for messages that were
read remotely.

// FREEBIE
2016-09-14 12:58:15 -04:00
Michael Kirk
800e2a9541 Log exception rather than crash upon failed deserialization
while populating secondary indexes

// FREEBIE
2016-09-13 15:17:57 -04:00
Michael Kirk
65e6778033 log network manager requests
// FREEBIE
2016-09-13 12:26:12 -04:00
Michael Kirk
af155bf9ed Avoid deadlock when receiving read receipt before incoming message
// FREEBIE
2016-09-13 10:16:25 -04:00
Michael Kirk
0a64022748 Must specify team for XCode 8 build
// FREEBIE
2016-09-12 16:47:33 -04:00
Michael Kirk
90dab190f3 Update SSK to send useragent upon provisioning
We do this to coordinate a theme choice on the desktop

// FREEBIE
2016-09-12 14:44:27 -04:00
Michael Kirk
eb96f846a4 Send user agent to desktop so they can pick a theme for us
// FREEBIE
2016-09-12 14:31:39 -04:00
Michael Kirk
c7ee430790 Support for receiving voice messages from android (aac) (#1321)
We already support receiving them from Desktop (mp3)

Plus some Xcode 8 turds in the image assets.

// FREEBIE
2016-09-12 10:09:30 -04:00
Michael Kirk
d802918603 Merge pull request #26 from WhisperSystems/read-voice-messages
Read voice messages
2016-09-12 08:34:45 -04:00
Michael Kirk
3e5af16dc3 Don't explode when attachment support revoked.
Also, more nullability annotations.

NSURL can't be given a nil filepath. This can occur when a previously
supported attachment was downloaded, and then viewed after that
attachment was no longer supported (e.g. when installing back and forth
across versions)

// FREEBIE
2016-09-11 12:10:08 -04:00
Michael Kirk
1df99c5812 fix voice messages for iOS
// FREEBIE
2016-09-11 12:10:08 -04:00
Michael Kirk
a03e1e717f Merge pull request #1320 from WhisperSystems/dt
Multi Device (Desktop) Integration #250 

// FREEBIE
2016-09-10 18:42:28 -04:00
Michael Kirk
7d70f6e770 Merge pull request #25 from WhisperSystems/dt
Multi Device (Desktop) Integration

// FREEBIE
2016-09-10 18:41:52 -04:00
Michael Kirk
5200cccbe3 Update translations
* New bg (Bulgarian) localization!
* New sq (Albanian) localization!
* replace unfinished bg_BG localization with complete bg localization
* caps keys to make it easier to see missing localizations
* pull with newly pushed source keys

// FREEBIE
2016-09-09 15:17:15 -04:00
Michael Kirk
0933b92128 Fix race condition with read receipts before incoming message
// FREEBIE
2016-09-09 15:11:41 -04:00
Michael Kirk
2de6927453 Remove sync data files after sync
// FREEBIE
2016-09-09 15:11:41 -04:00
Michael Kirk
c8a5f50763 Fixup DevicesManager
* By providing a view extension for secondary devices we can use that in
  a view mapping to power our devices view controller, and avoid any race
  conditions with uncommitted transactions.

* Fix crash when you're not in your own contacts

* New device appears on top

* Don't show "edit" button unless there are devices, or rather, the helpers to do so.

* Fix glitchy refresh

  Saving unchanged records was causing the tableview to redraw, which was
  mostly invisible, except that if the refresh indicator were running, it
  would twitch.

// FREEBIE
2016-09-09 15:11:40 -04:00
Michael Kirk
c39e8b0bc6 extract constant for image/png
// FREEBIE
2016-09-09 15:11:40 -04:00
Michael Kirk
acb89f0b0f Outgoing Read Receipts
// FREEBIE
2016-09-09 15:11:40 -04:00
Michael Kirk
580781e3e4 Incoming Read Receipts
// FREEBIE
2016-09-09 15:11:40 -04:00
Michael Kirk
a99fde4d3b Device manager
// FREEBIE
2016-09-09 15:11:40 -04:00
Michael Kirk
6bd2453d7d Fix choppy paperclip icon on iphone6
Previously ios was generating the asset for us from our vector (pdf),
but apparently it does a crappy job. Most notably on small thin lines
like our paperclip.

// FREEBIE
2016-09-09 11:40:33 -04:00
Michael Kirk
33f63e76d1 Fix devices icon intermittently showing
Because it was not rendering correctly in all cases, we're foregoing the
templated image, and using a colored asset.

// FREEBIE
2016-09-09 11:40:32 -04:00