Dan Ballard
d82194bae0
revert DeletePeer having a return value; match other app apis with message returns; full app client/service support
continuous-integration/drone/pr Build is passing
Details
2021-06-14 16:50:35 -07:00
Sarah Jamie Lewis
c2ab6af7b8
Allow Updating of Message Flags
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is failing
Details
2021-06-08 15:35:50 -07:00
Sarah Jamie Lewis
d5024e2bd3
a few select staticcheck fixes
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-06-02 12:09:15 -07:00
Sarah Jamie Lewis
d84735cec7
Allow Explicit Server Resyncing
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is failing
Details
2021-06-02 11:13:08 -07:00
Sarah Jamie Lewis
b847fc42b8
Add IndexedError for Peer Messages
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-05-26 10:07:08 -07:00
Sarah Jamie Lewis
08bb2f907f
Replace old GroupID with new Dervied GroupID
...
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
As we move towards a group model that allows for different management
constitutions we need to deprecate our old group security model that relied
on "owners" and transitive signing/verification checks.
This new model derives GroupID from the GroupKey and the GroupServer
binding it both. This allows participants to know if a message was
intended for the same group they are apart of (as GroupID is included
in every encrypted/signed message to Groups) while allowing more dynamic
management protocols to be built on top of the (now agnostic) group protocols.
This PR also adds more validation logic to invites and provides the ValidateInvite
function to allow the UI to validate invites separately from processing them.
2021-05-14 11:26:04 -07:00
Sarah Jamie Lewis
bea58b5ba4
Groups Cleanup
2021-05-04 12:00:06 -07:00
erinn
c340167b35
add indexed acknowledgements
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-05-03 11:35:35 -07:00
Sarah Jamie Lewis
e119958db1
Reject Group Invite should delete group invite from storage
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-04-28 14:46:01 -07:00
Sarah Jamie Lewis
48335552c9
Add Server Restarts to Contact Retry Plugin
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-04-28 13:50:53 -07:00
Sarah Jamie Lewis
0ad787d07f
Listen to ProtocolEngineStopped Event and Handle Restart Listen
...
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/pr Build is passing
Details
Also upgrade connectivity and tapir
2021-04-13 15:12:12 -07:00
Sarah Jamie Lewis
b4f9decdf2
Upgrade Tapir, Log, Connectivity
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is failing
Details
2021-04-08 18:23:26 -07:00
Sarah Jamie Lewis
2832d17cb9
Deep Copy Events in the Event Bus to Prevent Map Concurrency Issue
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-03-24 16:07:39 -07:00
Sarah Jamie Lewis
5881fd459c
Better event comments
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-03-24 13:16:50 -07:00
Sarah Jamie Lewis
044f726ae4
Ammending Event Bus Api to remove Pointers
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is failing
Details
2021-03-24 13:15:06 -07:00
Sarah Jamie Lewis
a1b2d8530f
Integrate Group Name into Invite
2020-12-16 21:41:24 -08:00
Dan Ballard
1cbf318e8a
expose ACN.GetVersion over app bus
2020-11-30 19:25:17 -08:00
Sarah Jamie Lewis
f6888b47f1
Fixing up Server APIs
2020-11-04 13:16:35 -08:00
Dan Ballard
8d59b3b2e3
add 'created' field to newPeer message for when it's a newly created peer for ui to trigger new peer actions on
2020-11-02 14:35:11 -08:00
Sarah Jamie Lewis
4d7b155256
Add Leave Server Event
2020-10-29 14:52:39 -07:00
Sarah Jamie Lewis
3f522d4d23
Remove any dependence on protobufs of libricochet
2020-09-28 15:09:25 -07:00
Sarah Jamie Lewis
d5fb0a5793
Tapir UI Integration First Pass
2020-09-21 14:41:40 -07:00
Sarah Jamie Lewis
0550a71244
Tapir Server Refactor
2020-09-21 14:41:40 -07:00
Sarah Jamie Lewis
422b0d5deb
Allow Peers to Store History
2020-07-08 15:25:19 -07:00
Dan Ballard
e91e892eef
Adding new authorization level to peers; porting Blocked status to authorization; removing trusted; securing engine/peerapp message processing around authoriztion
2020-06-16 11:34:15 -07:00
Dan Ballard
dc3df531dd
peer getVal/retVal messages and functions and handling
2020-03-27 11:51:52 -07:00
Dan Ballard
12089d9fa4
migrate to stand alone log and connectivity packages
2020-02-10 18:36:28 -05:00
Dan Ballard
258cf84e68
fixing race conditions; removing peer.GetProfile as unsafe
2020-02-04 20:03:43 -05:00
Dan Ballard
639ea560d5
creating a new v1 storage system with shared salt and only key in memory;
...
also make server/metrics test deterministic and not sleep based
2020-01-21 11:32:03 -08:00
Dan Ballard
4ecc7c0f2b
Change password on a peer and it's storage
2019-12-12 13:36:04 -08:00
Dan Ballard
1cc60bdfdd
add app delete profile and tag profile
2019-12-10 15:45:43 -08:00
Sarah Jamie Lewis
a7fd359233
Fixing Data Races in Event Bus
2019-11-12 12:56:35 -08:00
Sarah Jamie Lewis
8f85f49404
Initial pass at race condition fixes
2019-11-08 13:25:13 -08:00
Sarah Jamie Lewis
99ea31ce82
Adding Network Status Plugin + Fixing plugin goroutine leaks
2019-11-01 16:10:10 -07:00
Dan Ballard
df420034ea
make contact retry plugin acn connection state aware; make contact retry plugin do groups; remove connectionManager bad retry logic; allow querringing of ACN status
2019-09-27 15:29:19 -07:00
Dan Ballard
15582c7e79
Rework group invite workflow: delete cwtchPacket references as no longer needed. Remove more events from being default handled by Peer (but allow them for some usecases still (testing, simple apps).
2019-09-20 11:06:05 -07:00
Dan Ballard
6a169472e7
ipc bridge does 3way handshake to sync new connections; a few other minor fixes to the flow
2019-09-05 16:56:38 -07:00
Sarah Jamie Lewis
6efde0289d
Separate Initial Peer Requests and Retry Events
2019-08-24 13:13:53 -07:00
Sarah Jamie Lewis
38542751c8
Allowing Blocking of Unknown Contacts
2019-08-21 13:28:48 -07:00
Dan Ballard
bd75e44555
make event.Queue use internal infinite channels; make event.Manager not use failable writes
2019-08-14 14:00:04 -07:00
Sarah Jamie Lewis
3c67c47bb0
Add support for unblocking peers
2019-08-07 12:07:57 -07:00
Dan Ballard
695a622963
adding delete contact and group support
2019-08-07 11:35:08 -07:00
Dan Ballard
f2e69f48d1
Add plugin system for apps; add contact retry plugin
2019-08-01 18:09:01 -07:00
Sarah Jamie Lewis
29c5214552
Adding RemotePeer Param to Ack Events
2019-07-29 14:01:58 -07:00
Sarah Jamie Lewis
71dd298a91
Review Board Comments
2019-07-29 12:49:23 -07:00
Sarah Jamie Lewis
4c16ec379f
First cut of automatic acknowledgements and protocol contexts
2019-07-29 12:49:23 -07:00
Dan Ballard
8c16210407
Add windows stub for pipeBridge to fix windows build; fix goland error arround ConnectionState[Type]
2019-07-26 15:34:21 -07:00
Dan Ballard
0465973a78
add app level functionality to reload from service
2019-07-19 20:08:00 -07:00
Dan Ballard
2246c6b3bc
Build out pipeBridge to have a connection manager and base64 encode binary data; add support for tor acn status callback/events
2019-07-10 13:34:01 -07:00
Dan Ballard
67678e14e4
fixes to pipe bridge: it base64 encodes data of messages before sendign them over to preserve binary data; fixed a lack of wiring for ipcBridge in service
2019-07-05 17:46:51 -07:00
Dan Ballard
e1d6dd7253
adding named pipe IPC pipe for use with app client/service; some adjustments to app client/service based on usage by UI; bug fixes: groupInvite json over ipc pipe using json was bugged, 'fixed' with base64 encoding; fixed race condition with peer server connection creation
2019-06-24 18:57:31 -07:00
Dan Ballard
04dd8fa89c
App Client/Service: new IPCBridge type and test gochan impl; new IPC using eventManager; new App Client and Service; some app api changes and a few more events (NewPeer) and errors (Loading errors)
2019-06-11 10:43:03 -07:00
Dan Ballard
0c4bbe9ad1
Refactor: engine and peer decoupled, engine and eventbus now per peer
...
and stored top level in app. Storage has read only mode. Peer and group
state now event based and stored in profiles.
2019-05-22 12:54:47 -07:00
Dan Ballard
2b2dcb9f6b
make cwtch responsible for firing joinServer after joining a group; fire a fetch done event
2019-04-23 13:31:57 -07:00
Sarah Jamie Lewis
711e46ce10
Adding Error Tracking to Group Sends
2019-02-20 13:01:01 -08:00
Sarah Jamie Lewis
f056407cd0
Sending Message to an Offline Peer no longer blocks
2019-02-14 13:08:32 -08:00
Sarah Jamie Lewis
46bab264b4
Adding Accept Invite Flow
2019-02-13 17:57:42 -08:00
Sarah Jamie Lewis
3f6623bf42
Cutting cruft from import group
2019-02-12 18:04:21 -08:00
erinn
1f5a8685c4
store name of new contacts correctly
2019-02-11 13:40:20 -08:00
Sarah Jamie Lewis
33a8922e43
Message Store Fix
2019-02-03 17:55:35 -08:00
erinn
ac077521be
save new groups and group timelines
2019-02-02 17:18:33 -08:00
Dan Ballard
a0dab022ad
stream storage for timelines, wired into profile store
2019-01-30 14:29:27 -08:00
erinn
ad7cddaacf
add storage eventbus calls
2019-01-28 11:59:00 -08:00
erinn
dcc65f0ffe
iterating on eventbus fields
2019-01-22 11:11:25 -08:00
Sarah Jamie Lewis
ebe8db6c31
Blocking now kills listening connections too
2019-01-21 12:42:11 -08:00
erinn
428b6d78f1
Merge branch 'common_fields' of cwtch.im/cwtch into master
2019-01-21 20:31:52 +00:00
Sarah Jamie Lewis
0d026cda45
Merge branch 'storage-eb' of dan/cwtch into master
2019-01-21 20:23:31 +00:00
Sarah Jamie Lewis
dc6cd56098
Defining Event Fields as Constants
2019-01-21 12:22:43 -08:00
Dan Ballard
84e31f02fe
new profile storeage on eventbus
2019-01-21 12:11:40 -08:00
Sarah Jamie Lewis
16c8095e5f
Adding Timestamp to Events
...
Also starting to define common event fields to prevent type confusion / spelling issues
2019-01-21 11:56:35 -08:00
Sarah Jamie Lewis
c3d797b2e1
Protocol Engine Refactor
2019-01-07 13:24:08 -08:00
Sarah Jamie Lewis
39d174ca26
Adding Event Manager
...
Barebones Event Manager implementation
This change also fixes a linting issue with logging in server/
2019-01-03 12:53:08 -08:00