Commit graph

886 commits

Author SHA1 Message Date
Michael Kirk 907e122d62 Migrate legacy db stored logging preferences to NSUserDefaults
This is part of making sure we can log *before* the DB is initialized.

// FREEBIE
2017-01-23 20:10:58 -05:00
Michael Kirk 2355c74173 fixup condition
// FREEBIE
2017-01-23 18:27:43 -05:00
Michael Kirk 870fb960a2 Start logging earlier in app setup.
Because logging-preference was previously stored on the storageManager
this meant we couldn't possible log anything related to the init'ing the
storage manager.

TODO: migrate old logging preference to use the new NSUserDefaults
setting

// FREEBIE
2017-01-23 18:25:59 -05:00
Michael Kirk d9cfb38854 bump build
// FREEBIE
2017-01-23 17:49:15 -05:00
Michael Kirk 9516ab1106 Bail on startup if DB password is inaccessible
Most likely this would be  because the user hasn't unlocked their device
since last restart.

This behavior existed once before, but the startup ordering is pretty
delicate. So, we're now redundantly checking in SSK in case this
delicate startup logic gets mis-ordered again.

Also fixed the AppDelegate method to check for the proper
applicationState, since it will never be "active" in didFinishLaunching.

fixes https://github.com/WhisperSystems/Signal-iOS/issues/1627

// FREEBIE
2017-01-23 17:32:02 -05:00
Michael Kirk 0e7083ed4e [SSK] remove Cuba from domain fronting
Current implementation is blocked in Cuba, plus there are reports of
Signal working w/o domain fronting anyway.

// FREEBIE
2017-01-20 18:16:11 -05:00
Michael Kirk 415593b41f Bump version
// FREEBIE
2017-01-17 18:24:10 -05:00
Michael Kirk be0afaf972 bump build
// FREEBIE
2017-01-17 18:06:04 -05:00
Michael Kirk 1645663f88 pull latest translations
FIXES #1609

// FREEBIE
2017-01-17 18:05:12 -05:00
Matthew Chen 44c4d77440 Merge branch 'charlesmchen/fixWebsocket' 2017-01-17 17:51:37 -05:00
Matthew Chen ec16016386 Update to reflect merged SSK branch. 2017-01-17 17:51:19 -05:00
Matthew Chen a023d02ae2 Respond to CR.
// FREEBIE
2017-01-17 17:10:57 -05:00
Matthew Chen 9c4eda54f1 Respond to CR.
// FREEBIE
2017-01-17 16:31:28 -05:00
Matthew Chen cb3f564446 Fix web socket issue.
// FREEBIE
2017-01-17 16:01:19 -05:00
Michael Kirk 7e715052d0 latest translations
// FREEBIE
2017-01-13 11:48:20 -05:00
Michael Kirk c4581dab21 Bump build
// FREEBIE
2017-01-12 17:42:15 -05:00
Matthew Chen f01c5a1985 Merge branch 'charlesmchen/databaseErrors' 2017-01-12 09:50:28 -05:00
Matthew Chen ee63e9116c Update to reflect changes in SSK https://github.com/WhisperSystems/SignalServiceKit/pull/85.
// FREEBIE
2017-01-11 17:36:09 -05:00
Matthew Chen 6106326b34 Update to reflect changes in SSK https://github.com/WhisperSystems/SignalServiceKit/pull/85.
// FREEBIE
2017-01-11 09:19:50 -05:00
Thomas Guillet d7b27a4021 Refactor ContactsPicker to show a clean search bar
* Replace UITableviewController to UIViewController
* Create a custom xib file
2017-01-09 11:45:43 +01:00
Matthew Chen a70d5f88ba Fix build break related to SignalServiceKit pod.
// FREEBIE
2017-01-06 13:46:06 -05:00
Matthew Chen 4ad4eb2116 Merge branch 'charlesmchen/censorship-circumvention-2' 2017-01-06 13:28:55 -05:00
Matthew Chen 2ce4d39f9e Respond to CR.
// FREEBIE
2017-01-06 13:28:41 -05:00
Matthew Chen d28b73cfa3 Add asserts to Signal iOS .pch. 2017-01-06 13:28:41 -05:00
Matthew Chen 2dac6c888a Update SignalServiceKit pod.
* Fetch messages when app becomes active.
2017-01-06 13:28:41 -05:00
Michael Kirk b89e1617a9 Bump release target
// FREEBIE
2017-01-05 20:56:03 +01:00
Michael Kirk 063163962c bump build
// FREEBIE
2017-01-01 04:42:48 +01:00
Michael Kirk 9f6b26a781 pull latest translations
// FREEBIE
2017-01-01 04:42:48 +01:00
Michael Kirk a636f0b6af Redphone works on ipv6 only network
// FREEBIE
2017-01-01 04:42:48 +01:00
Michael Kirk ce18be2288 pull latest translations
// FREEBIE
2016-12-22 17:43:37 -06:00
Michael Kirk 105e9ce6df Bump release
// FREEBIE
2016-12-22 17:41:06 -06:00
Michael Kirk 90daf60c56 Fix travis build
* Add generated Signal-Swift.h to test search header path. You must do
  this when testing an ObjC clas with swift dependencies (PushManager. in this case)
* Word on the street is that XCode8.2 is less flaky for running simulator tests

// FREEBIE
2016-12-22 10:48:06 -06:00
Michael Kirk ba4569f5bd delete unused code
//FREEBIE
2016-12-21 14:11:09 -06:00
Michael Kirk ddba843d44 Censorship circumvention in Egypt and UAE
* domain fronting
* non-websocket message fetching

// FREEBIE
2016-12-21 10:04:23 -06:00
Michael Kirk bcd371b96c Bump build
// FREEBIE
2016-12-16 14:54:57 -06:00
Michael Kirk c4baf5a625 [SSK] Avoid bricking signal if a key is temporarily unreadable
// FREEBIE
2016-12-16 14:51:00 -06:00
Michael Kirk 94d37d9c55 Warn user about re-registering existing signal number
* show better errors if it *does* happen.
  If someone tries to send from their old device, they'll see a
  depressing, but sensible warning message.
* new translations

// FREEBIE
2016-12-16 11:48:33 -06:00
Michael Kirk c3a22d7da6 [SSK] Fix contact sync when no thread to self exists
fixes #1497

// FREEBIE
2016-12-16 11:31:27 -06:00
Michael Kirk 32a05dabce [SPK] Update SignalProtocolKit (AxolotlKit) (#1549)
// FREEBIE
2016-12-16 08:47:24 -06:00
Michael Kirk 1b50f1d842 Bump version
// FREEBIE
2016-12-15 23:01:03 -06:00
Michael Kirk 495628834c Bump up launch screen logo size on iPhone6 and larger
The previous launch screen was initially built on iphone5, but we never
scaled the logo to have the same proportions on iphone6 and larger
screens. Now it's scaled proportional to the screen width.

// FREEBIE
2016-12-15 18:00:21 -05:00
Michael Kirk 84e35bd084 Update translations
// FREEBIE
2016-12-09 16:00:17 -05:00
Michael Kirk 727fb70806 Fix show error message when download fails
Previously we had our "queued" and "failed" logic backwards.

// FREEBIE
2016-12-09 15:58:11 -05:00
Thomas Guillet 97500d55ec Prevent iRate mechanism when handling local notifications 2016-12-09 15:56:58 -05:00
Michael Kirk 490795ea3d Make disappearing messages button visible in German (#1536)
Because the button was missing an explicit width it was not being layed
out properly when it's label was sufficiently long.

// FREEBIE
2016-12-09 15:51:23 -05:00
Michael Kirk e7bc2e86db Show email as name when contact has no name
// FREEBIE
2016-12-09 15:12:13 -05:00
Daniel Rosado 76d01863db [Invite Flow] Use email address to collate contacts when no given or family name is provided
* Add tests to ContactsPicker collate contacts functionality
2016-12-09 15:12:13 -05:00
Josh Schneier 89730f2b85 Improve accessibility a bit 2016-12-09 15:10:25 -05:00
Michael Kirk e2d725a041 [SSK] Ignore messages with unknown Content
Most like it would indicate a new feature that this old client doesn't
understand. Otherwise we'd print an empty bubble.

// FREEBIE
2016-12-09 09:31:07 -05:00
Michael Kirk c1ab36576e Fix crash when attaching media
Seems these crashes were introduced when transitioning from
DJWActionSheet -> UIAlertController

// FREEBIE
2016-12-09 09:31:07 -05:00