- Apr 25, 2016
-
-
akwizgran authored
This leaves the contact and the introduction session in inconsistent states.
-
akwizgran authored
Move create forum post and share forum buttons in action bar According to the designs in #305, the 'create forum post' and 'share forum' buttons will go into the in action bar. In the spirit of keeping MRs small and to avoid conflicts with #306, I did this first and independently of future work. This also introduces constants for the `GROUP_ID`, `FORUM_NAME` and `MIN_TIMESTAMP` as they were used for the two buttons. Closes #313 See merge request !150
-
akwizgran authored
Remove avatar code and layout from ConversationActivity and ConversationAdapter Please note that I have not been able to test this MR on an actual device as I have none at the moment :( Closes #293 See merge request !148
-
akwizgran authored
-
akwizgran authored
Show relevant introduction decline responses in the conversation * If the user has already declined, we don't show that the other introducee has declined as well. The backend doesn't have that information, so this is compatible with the principle of showing what we know. * If the user has already accepted or hasn't yet responded, we now show the decline response in the private conversation with the introducer. If the user hasn't yet responded, we hide the accept/decline buttons in the introduction request message. Please note that I do not have three devices at the moment to test this MR in its entirety in practice. I created another test which is hopefully sufficient to ensure that the modifications are correct. Closes #295 See merge request !149
-
akwizgran authored
Encrypted crash reports Part of #123. See merge request !128
-
- Apr 21, 2016
-
-
akwizgran authored
-
Torsten Grote authored
This also introduces constants for the GROUP_ID, FORUM_NAME and MIN_TIMESTAMP as they were used for the two buttons. Closes #313
-
Torsten Grote authored
* If the user has already declined, we don't show that the other introducee has declined as well. The backend doesn't have that information, so this is compatible with the principle of showing what we know. * If the user has already accepted or hasn't yet responded, we show the decline response in the private conversation with the introducer. If the user hasn't yet responded, we hide the accept/decline buttons in the introduction request message. Messages an introducee receives in a `FINISHED` state are now being ignored and deleted. Closes #295
-
akwizgran authored
-
akwizgran authored
Remove Tor binaries from repo. #203 This patch removes the Tor binaries from the repo - the binaries will be downloaded at build time and verified using SHA-256 hashes included in the repo. After this branch has been merged I plan to reduce the size of the repo by rewriting the commit history to delete the Tor binaries (and various other cruft that used to live in the repo, such as fonts). After the history has been rewritten, everyone will need to delete their local repo and clone a fresh copy. I'll send out some warnings beforehand. See merge request !147
-
str4d authored
-
- Apr 20, 2016
-
-
str4d authored
Will currently fail at runtime; requires a public key and a server onion.
-
akwizgran authored
-
akwizgran authored
-
akwizgran authored
Introduction Integration Tests This introduces these integration tests for the introduction client: * normal session where both introducees accept * normal session where the first introducee declines * normal session where the second introducee declines * one session where a contact is introduced to herself * one session where two identities of the same contact are introduced to each other I managed to get rid of the non-determinism missing validator problem by properly injecting the eager singletons. Attention: This is based on !143 which addresses a corner case that is already tested here. See merge request !139
-
akwizgran authored
Addresses two Introduction Corner Cases * force decline when two of our own identities are introduced to each other * throw away introduction requests to the same identity (impossible to trigger from UI) Closes #284 Closes #294 See merge request !143
-
Torsten Grote authored
Closes #293
-
Torsten Grote authored
* normal session where both introducees accept * normal session where the first introducee declines * normal session where the second introducee declines * one session where a contact is introduced to herself * one session where two identities of the same contact are introduced to each other This introduces a new IntroductionAbortedEvent to signal when the protocol was aborted. It is not yet used in the UI. It closes #276
-
Torsten Grote authored
* force decline when two of our own identities are introduced to each other * throw away introduction requests to the same identity (impossible to trigger from UI) Closes #284
-
- Apr 19, 2016
-
- Apr 18, 2016
-
-
akwizgran authored
-
Ernir Erlingsson authored
Fix flicker when loading contact list Fixes #297. See merge request !144
-
Ernir Erlingsson authored
Catch runtime exceptions from QR code decoder. #298 See merge request !146
-
- Apr 15, 2016
- Apr 14, 2016
-
-
akwizgran authored
Unit Tests for the Introduction Client Please note that I based this MR is on top of the introduction UI in !122, because I needed to do some more refactoring on top of the other refactoring ;) The refactoring and the tests are in two separate commits. An integration test will be added as a separate MR. This addresses part of #276. See merge request !136
-
Torsten Grote authored
-
Torsten Grote authored
This injects the IntroducerManager and the IntroduceeManger for easier testing
-
akwizgran authored
-
- Apr 13, 2016
-
- Apr 12, 2016
-
-
Torsten Grote authored
-
Torsten Grote authored
(except refactoring of conversation item classes)
-
Torsten Grote authored
When devices' clocks are out of sync, it is possible that a response is shown before the request. This commit makes sure that the timestamp of responses is always later than the last message in the conversation. Some wording could be misunderstood to thing introductions were successful even though they were not. That has been clarified. A new database transaction was created when getting contacts and local transport properties. This has been changed to re-use the existing transaction. Also addresses minor issues found in review.
-
Torsten Grote authored
The code made the assumption that a session state can be identified by the unique session ID. However, when multiple identities from the same device are involved, there are two sessions with the same ID running on the device. Hence, a second identifying criteria has to be used to uniquely identify the correct session. Here, the ID of the group was chosen. Unfortunately, the session state can not be cached easily anymore leading to a small performance penalty when getting all messages for the UI.
-
Torsten Grote authored
Show system notification for successful introductions
-
Torsten Grote authored
Don't allow local identities to be added as contacts Fixes #287 See merge request !137
-
- Apr 11, 2016
-
-
akwizgran authored
-