Commit Graph

1859 Commits (8884cb5a2b6f0bae43724141aa7768abc4dabc11)

Author SHA1 Message Date
Michael Kirk 90c2324f99 pixel cleanup in bluetooth speaker image
// FREEBIE
7 years ago
Michael Kirk b495b23420 more cleanup and commenting
// FREEBIE
7 years ago
Michael Kirk 03f1bbca62 Move state from CallViewController -> Call
I think whenever reasonable we prefer to consodlidate state on the call

// FREEBIE
7 years ago
Michael Kirk 4e11e90ebb cleanup
- remove dead code
- rename vars
- add coments

// FREEBIE
7 years ago
Michael Kirk a59eb25aef extract dismiss string -> CommonStrings.dismissButton
// FREEBIE
7 years ago
Michael Kirk 20a8e72198 disable audio source images until we have icons
// FREEBIE
7 years ago
Michael Kirk 9bd68ed490 WIP: bluetooth shows audio route button instead of speakerphone
// FREEBIE

TODO

NEED
-[ ] icon in route picker
-[ ] commit cleanup

NICE
-[ ] present action sheet automatically when making outgoing bluetooth call
-[ ] left align icons
-[ ] audio is paused when switching between video mode (maybe existing behavior, not sure)
-[ ] Copy: iPhone/iPad/iPod instead of "iPhone Microphone"

DONE
-[x] remove "receiver" from options while in video mode
-[x] show available audio routes
-[x] select available audio routes
-[x] notification if availabe inputs change so we can update call screen
     mid call with available BT route
-[x] include speakerphone in choices
-[x] Enabled button shows active speakerphone. Should still show
     bluetooth picker.
-[x] toggle back and forth between audio devices
-[x] hide audio route button in video mode if no BT available
-[x] Fixed: When on speakerphone - switching to video mode goes back to bluetooth.
-[x] Fixed: When switching to video w/ bluetooth device connected there is no
     audio picker.
-[x] respect speakerphone/BT selection when in or toggling to/from video
-[x] do not hide audio route button when in video mode and bluetooth
     connected
-[x] Show which is currently selected audio route
-[x] switching to speakerphone no longer works
-[x] switching *back* to bluetooth no longer works
-[x] add proper bluetooth button for audio calls
-[x] add proper bluetooth button for video calls
7 years ago
Michael Kirk 109cb6cdb6 rename for clarity
// FREEBIE
7 years ago
Matthew Chen ce048e21d2 Bump build from to 2.14.0.1.
// FREEBIE
7 years ago
Matthew Chen ac616d6936 Reject the “call connected” promise immediately when clearing a call.
// FREEBIE
7 years ago
Matthew Chen a58c71f4b8 Fix leak of call view.
// FREEBIE
7 years ago
Michael Kirk b82aedc3a0 Assertion failures for unexpected promise state
These don't currently result in failed calls, but we should at least
know about it in debug.

// FREEBIE
7 years ago
Michael Kirk 438635393b Don't send ICE updates until after the CallOffer has been sent.
This ensures message ordering for clients that can't handle out of order
call messages (legacy iOS and Android).

Even when we revert the previous commit, to send ICE Updates sooner,
we'll want to keep this (until we're confident all clients can receive
out of order call messages)

// FREEBIE
7 years ago
Michael Kirk d910da0157 Partial revert of: Send ICE updates immediately - 2dcfb4e3b8
That change makes it more likely that the remote client will receive an
ICE update before their peer connection client is set.

We want to ship the robustness fix (waitForPeerConnection in
handleRemoteAddedIceCandidate) before we have the caller start sending
ICE updates immediately, in a future release.

At that time, we can simply revert this commit.

// FREEBIE
7 years ago
Michael Kirk 2067697ed4 Add comment and clearer tests per CR
// FREEBIE
7 years ago
Michael Kirk 4f1ee98489 scrub any data that slips through to logs
Similar to phone number scrubbing, we leave a short prefix of the data
to help with debugging without leaking much data.

// FREEBIE
7 years ago
Matthew Chen b7c2512eac Respond to CR.
// FREEBIE
7 years ago
Matthew Chen 81555d1225 Add “new contact” and “add to existing contact” buttons in 1:1 conversation settings view.
// FREEBIE
7 years ago
Matthew Chen 1e67bb52e3 Respond to CR.
// FREEBIE
7 years ago
Matthew Chen 2202fe70fe Fix broken tests.
// FREEBIE
7 years ago
Matthew Chen f584c4b434 Fix broken tests.
// FREEBIE
7 years ago
Matthew Chen 0b28285deb Fix broken tests.
// FREEBIE
7 years ago
Matthew Chen 69ba2811db Run orphan cleanup on startup.
// FREEBIE
7 years ago
Michael Kirk d15da6e6d4 fix bubble calculator tests
// FREEBIE
7 years ago
Michael Kirk 82180f6a97 fix compilation problems
// FREEBIE
7 years ago
Matthew Chen c9355630c7 Respond to CR.
// FREEBIE
7 years ago
Matthew Chen d639d6557e Add owsFail free function for swift.
// FREEBIE
7 years ago
Matthew Chen 669e0644ea Respond to CR.
// FREEBIE
7 years ago
Matthew Chen 5cf0441f55 Add a reminder that you are in archive view.
// FREEBIE
7 years ago
Matthew Chen 54a5b960c7 Add a reminder that you are in archive view.
// FREEBIE
7 years ago
Matthew Chen 8f3b837a65 Add a reminder that you are in archive view.
// FREEBIE
7 years ago
Matthew Chen 2e727a24b5 Convert home view to programmatic layout.
// FREEBIE
7 years ago
Michael Kirk 5223104566 respect system sort order for contacts
// FREEBIE
7 years ago
Matthew Chen b19dd648d2 Bump build number to v2.14.0.0.
// FREEBIE
7 years ago
Michael Kirk 2dcfb4e3b8 Send ICE updates immediately.
Now that SN changes do not block incoming messages, the caller does not
need to enqueue outgoing ICE updates.

However this introduces the possibility that the call recipient could
recieve an ICE update before their peerConnectionClient is set up - so
now we ensure that call service waits for it's peerConnectionClient
before processing incoming ICE updates.

// FREEBIE
7 years ago
Matthew Chen 1a400f8414 Respond to CR.
// FREEBIE
7 years ago
Matthew Chen b6531a8b5d If two users call each other at the same time, ensure they both see “busy”.
// FREEBIE
7 years ago
Michael Kirk f681712ea0 Code Cleanup
- make some logging clearer
- remove noisy unhelpful logging
- clearer method names

// FREEBIE
7 years ago
Michael Kirk e584f4d1e1 copy tweaks
// FREEBIE
7 years ago
markus.fassbender 422336db32 fixes compiler warnings FREEBIE 7 years ago
Matthew Chen c817346ee3 Fix “timer circular reference” leaks.
// FREEBIE
7 years ago
Michael Kirk d8330a2c4f Fix bluetooth audio for calls
Allow bluetooth in all call speaking modes. This was much simpler to fix
now that all call AudioSession mgmt happens in one method.

// FREEBIE
7 years ago
Matthew Chen e3f2583b4a Respond to CR.
// FREEBIE
7 years ago
Matthew Chen 9cbc1e6a1b Block device from sleeping while Debug UI is visible and during database upgrades.
// FREEBIE
7 years ago
Matthew Chen 0244e134f5 Block device from sleeping during certain activities.
// FREEBIE
7 years ago
Matthew Chen bfd04088bd Persist registration view’s “last registered” values in keychain so that they persist across clean installs.
// FREEBIE
7 years ago
Michael Kirk 1afc6525e5 selecting network status does not highlight
// FREEBIE
7 years ago
Matthew Chen 9e5447f1d4 Respond to CR.
// FREEBIE
7 years ago
Matthew Chen b400c0a327 Don’t show app upgrade nag unless we are at rest in home view or registration view.
// FREEBIE
7 years ago
Matthew Chen 944cd7beef Show app update nag on launch if necessary.
// FREEBIE
7 years ago