akwizgran
d2a3804cfe
Added null safety annotations to plugin interfaces.
2016-11-08 16:59:56 +00:00
akwizgran
fb095c1f4d
Broadcast events for private group invitations.
2016-11-08 16:08:51 +00:00
akwizgran
d2434123a9
Private group invitation protocol.
2016-11-08 16:08:50 +00:00
akwizgran
edbf5ff5b4
Preliminaries for private group invitation protocol.
2016-11-08 15:45:04 +00:00
akwizgran
55ecdd9a13
Merge branch '557-use-namespaced-strings-for-client-ids' into 'master'
...
Use namespaced strings for client IDs
Closes #557
See merge request !393
2016-11-08 13:25:41 +00:00
Torsten Grote
e96b3a8c68
Use namespaced strings for client IDs
2016-11-08 11:17:52 -02:00
Torsten Grote
62040d45b8
Create GroupDissolvedEvent and react to it
...
Also react to incoming group invitations
2016-11-08 10:28:54 -02:00
akwizgran
04d4ecad05
Encode transport properties more compactly in QR codes.
2016-11-08 11:28:44 +00:00
Torsten Grote
fbcf334941
Merge branch 'use-contact-id-as-conversation-id' into 'master'
...
Use contact ID rather than messaging group ID to identify conversation
We originally used the private messaging group ID to identify the private conversation, but now that the conversation includes messages from multiple clients it's more appropriate to use the contact ID.
This refactoring isn't urgent - I've had the branch lying around for a while, but I'm putting it up for review because #734 will touch some of the same code.
See merge request !386
2016-11-07 11:24:11 +00:00
akwizgran
51bcf7b1b8
Don't use messaging group ID as proxy for contact ID.
2016-11-04 15:50:44 +00:00
Torsten Grote
719a53dc94
Address review comments
2016-11-04 12:58:12 -02:00
Torsten Grote
3f9a254a0b
Allow messages to be deleted in delivery hook
2016-11-04 12:52:33 -02:00
Torsten Grote
7125248677
Remove new member announcement and add signature to invitation
2016-11-03 17:24:31 -02:00
Torsten Grote
b34b4623ed
Replace transaction.setComplete() by database.commitTransaction()
2016-11-02 13:04:31 -02:00
akwizgran
4d8a84a48d
Don't throw IllegalStateException if BDF input is incomplete.
2016-11-01 17:38:23 +00:00
akwizgran
642fa7df18
Removed unused field, renamed nickname methods.
2016-11-01 17:17:40 +00:00
akwizgran
c85767d2a0
Nickname is all one word.
2016-11-01 17:12:30 +00:00
Ernir Erlingsson
eaa393a7ed
added a cache to the IdentityManager, changed its signature, modified when and where the author is stored
...
made the author creation single-threaded again in the LifecycleManager, removed redundant code
2016-11-01 12:51:49 +01:00
akwizgran
f759a7506f
Merge branch '600-remove-content-type-from-private-messages' into 'master'
...
Remove content-type and parentId from private messages
and turn them into a regular string.
Closes #600
See merge request !372
2016-11-01 11:05:30 +00:00
Torsten Grote
78740a6942
Remove content-type and parentId from private messages
...
and turn them into a regular string.
2016-11-01 08:39:15 -02:00
Torsten Grote
9e553ef9c8
Update blog backend to match current usage
2016-11-01 08:34:29 -02:00
akwizgran
a18317e912
Merge branch '681-convert-forum-post-bodies-to-strings-remove-content-type' into 'master'
...
Remove forum content type and change bodies to string
Also removes support for anonymous forum posts.
This MR depends on !360 .
Closes #698 , #681
See merge request !370
2016-10-31 21:34:24 +00:00
Torsten Grote
cb61d91074
Add methods and hooks to PrivateGroupManager related to members and removal
2016-10-31 13:23:03 -02:00
Torsten Grote
5ce8b1978d
Remove forum content type and move bodies to string
...
Also removes support for anonymous forum posts.
Closes #698
2016-10-31 10:25:12 -02:00
Torsten Grote
c0aa255bb6
Address review comments
2016-10-31 10:16:48 -02:00
Torsten Grote
349a34ffd8
Return actual private group message headers and bodies to the UI
2016-10-31 10:12:26 -02:00
Torsten Grote
4f4f1956eb
Creator automatically joins the group after creating it
2016-10-31 10:11:33 -02:00
Torsten Grote
e06726b2f9
Implement New Member and Join Announcements in GroupMessageFactory
2016-10-31 10:10:14 -02:00
Torsten Grote
a6e3827127
Implement first prototype of GroupMessageValidator
2016-10-31 10:09:17 -02:00
Torsten Grote
8dc529cc3f
Move validator's signature verification into ClientHelper
2016-10-31 10:08:26 -02:00
akwizgran
1e36f21cc8
Merge branch '707-implement-ux-for-showing-and-answering-private-group-invitations' into 'master'
...
Implement UX for showing and answering private group invitations
As usual, this MR contains several logically separate commits that could be split out into smaller MRs if desired. It consists of two main parts:
* Showing open invitations in the list of private groups with a snackbar
* Showing invitations and responses in the private conversation
For both parts, the existing code was refactored to allow for a smooth implementation and to leave maintainable code behind.



Closes #707
See merge request !357
2016-10-31 12:02:22 +00:00
Torsten Grote
2cc650d85f
Address review comments
2016-10-28 15:29:47 -02:00
akwizgran
ca8d3babaa
Added ProtocolStateException for client protocols.
2016-10-27 11:57:36 +01:00
Torsten Grote
42175dca7a
Show group invitations and responses in private conversation
2016-10-27 08:14:33 -02:00
Torsten Grote
e00219c15f
Allow responding to sharing invitations based on SessionId
2016-10-27 08:14:32 -02:00
Torsten Grote
02a39f5694
Refactor events based on InvitationRequestReceivedEvent
2016-10-27 08:14:31 -02:00
Torsten Grote
a33d7d1663
Add a stub for a GroupInvitationManager
2016-10-27 08:14:30 -02:00
Torsten Grote
09baa2ebe1
Add own constant for maximum group invitation message length
2016-10-26 07:28:51 -02:00
Torsten Grote
8dc3bd2c4c
Implement private group creation and fetching in PrivateGroupManager
2016-10-25 14:57:43 -02:00
akwizgran
d25f4d1fbe
Merge branch 'string-truncation' into 'master'
...
Truncate all messages to valid length before sending
See merge request !358
2016-10-25 15:52:35 +00:00
akwizgran
50a70f7649
Use start/stop lifecycle callbacks rather than pause/resume.
...
Also fixed a couple of bugs.
2016-10-20 10:40:10 +01:00
Torsten Grote
690142ce07
Merge branch '712-bdf-list-out-of-bounds' into 'master'
...
Throw FormatException if BdfList index is out of bounds
Closes #712
See merge request !359
2016-10-19 17:49:14 +00:00
akwizgran
82eea6bb77
Throw FormatException if BdfList index is out of bounds.
2016-10-19 18:11:31 +01:00
akwizgran
97223cce97
Fixed a typo in a constant.
2016-10-19 15:14:07 +01:00
akwizgran
06335c2c30
Truncate all messages to valid length before sending.
2016-10-19 14:49:09 +01:00
Torsten Grote
8f882dc910
Addressing second round of review issues
2016-10-19 10:43:02 -02:00
Torsten Grote
0523c4e718
Address issues found in code review
2016-10-19 10:43:01 -02:00
Torsten Grote
7bf4aebdaf
Move post/message creation into clients
...
This way the forum and private group client do not need to keep track of
message timestamps themselves and do not need to interact with
post/message factories.
2016-10-19 10:43:01 -02:00
Torsten Grote
6db59ffce5
Parsing and retrieval of private groups in PrivateGroupManager
2016-10-19 10:43:01 -02:00
Torsten Grote
c83d4bbb39
Implement first prototype of private group message threads
2016-10-19 10:43:00 -02:00