- May 11, 2016
-
-
Ernir Erlingsson authored
-
Ernir Erlingsson authored
Switched AppBus for ResultHandler, Controller for Helper. Added the basics for LifecycleControllers and implemented it for BriarActivity and NavDrawerActivity
-
Ernir Erlingsson authored
-
Ernir Erlingsson authored
-
Ernir Erlingsson authored
-
Ernir Erlingsson authored
-
Ernir Erlingsson authored
-
Torsten Grote authored
This changes `ShareForumActivity` to use two fragments to facilitate forum sharing with the new Forum Sharing Client backend. The `ContactSelectorFragment` allows the user to select a number of contacts. If there is an ongoing sharing session or the forum is already shared with the contact, it is disabled in the list. If there is at least one contact selected, a button appears in the toolbar that brings the user to the `ShareForumMessageFragment` where the user can write an optional message to be send along with the invitation. After sending an invitation, the user is brought back to the forum that she shared and there is a snackbar showing up briefly to indicate the successful invitation. The invitation is shown along with the message within the private conversation of each contact. The person who shares the forum also sees the invitation and the message as outgoing messages that also display the current status of the messages. A notification is shown like for other private messages as well. Please note that this commit does not include a way for users to respond to invitations.
-
- May 10, 2016
-
-
Torsten Grote authored
Turn list of available forums into a BriarRecyclerView with XML layout. Allow to respond to forum invitations from the list of available forums. The user can either accept or decline an invitation.
-
- May 06, 2016
-
-
str4d authored
Includes parallel improvements to Bluetooth key exchange UI.
-
- May 04, 2016
-
-
Torsten Grote authored
The adapter of the `ForumListFragment` has been changed into a `BriarRecyclerView` and all its code has been adapted and simplified accordingly. All UI of the forum list is now defined in XML layouts.
-
Torsten Grote authored
This commit replaces the old ForumSharingManagerImpl with a new one which is based on state machines and the ProtocolEngine. There is a SharerEngine and a InviteeEngine that take care of state transitions, messages, events and trigger actions to be carried out by the ForumSharingManagerImpl. This is all very similar to the Introduction Client. The general sharing paradigm has been changed from sharing as a state to sharing as an action. Now the UI can allow users to invite contacts to forums. The contacts can accept or decline the invitiation. Also, the Forum Sharing Manger is notified when users leave a forum. Closes #322
-
Torsten Grote authored
and stay in it when configuration changes Closes #370
-
akwizgran authored
-
- May 03, 2016
-
-
akwizgran authored
-
Torsten Grote authored
part of UI changes for #305
-
Torsten Grote authored
Methods for creating, adding and removing forums have been moved to the `ForumManager`. In order to still handle removing forums properly, a `RemoveForumHook` has been introduced. Methods for sharing forums with all current and future contacts have been removed along with the localGroup where this information was saved. The `ShareForumActivity` now has the proper label. The `SessionId` and the `ProtocolEngine` have been moved to the `clients` package. This addresses part of #322 and part of what has been discussed in #320.
-
akwizgran authored
-
akwizgran authored
-
- May 02, 2016
-
-
akwizgran authored
-
Torsten Grote authored
This commit is a small change that replaces the custom UI elements in the forum list with a Snackbar and an Toolbar menu. Addresses one part (2b) of #305
-
akwizgran authored
-
akwizgran authored
-
- Apr 29, 2016
-
-
akwizgran authored
-
- Apr 28, 2016
- Apr 27, 2016
- Apr 26, 2016
- Apr 25, 2016
-
-
Torsten Grote authored
This commit introduces an abstract `BaseContactListAdapter` which provides most of the adapter logic. The original `ContactListAdapter` extends it to show date and online status of the contacts. The new `ContactChooserAdapter` which is used for introductions extends the `ContactListAdapter` and adds logic for graying out contacts from different identities than the currently used one. A new `ContactSelectorAdapter` extends the `BaseContactListAdapter` and allows to select multiple contacts. It offers a method to return a collection of all selected `ContactId`s. This commit also sneaks in an animation when the 'Share Forum' button is clicked. Closes #292
-
Santiago Torres-Arias authored
Removes all programatic calls that modify the layout and uses the XML resource instead.
-
akwizgran authored
-
- 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
-
str4d authored
-
- Apr 20, 2016
-
-
str4d authored
Will currently fail at runtime; requires a public key and a server onion.
-
Torsten Grote authored
Closes #293
-