forked from cwtch.im/cwtch
1
0
Fork 0
Commit Graph

58 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 6739df68c3 Group V2 Logic 2020-09-28 11:18:18 -07:00
Dan Ballard 5b8dd8d7fa rm debug log line that was also an error line 2020-07-25 09:18:58 -07:00
Sarah Jamie Lewis 422b0d5deb Allow Peers to Store History 2020-07-08 15:25:19 -07:00
Dan Ballard 15a8ac5874 make storage v1 fileenc methods public for app easy resuse on config storage; upgrade to colored log 2020-06-25 11:21:10 -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 a11b201f65 fix storage pretending to load stores it does not have a password for 2020-03-18 16:10:03 -07:00
Dan Ballard 12089d9fa4 migrate to stand alone log and connectivity packages 2020-02-10 18:36:28 -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 3d39bab25b make storage engine debug not info and hide params for events; was breaking log printing occasionally 2020-01-13 14:18:40 -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
Dan Ballard b42baef6c5 add get/set attribute for profile/contact/group to cwtch_peer that does the action and emits an event; rename profile.GetGroupByGroupID to GetGroup for consitency 2019-10-31 14:39:31 -07:00
Dan Ballard 77d26d3877 profile and peer messaging refactor. Profiles once again store timelines for peers, should be used as canonical timeline by frontend UI 2019-10-21 13:56:07 -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 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
Sarah Jamie Lewis f64d7ab1ed Saving Blocked Peer Status 2019-08-06 18:26:07 -07:00
Dan Ballard 0465973a78 add app level functionality to reload from service 2019-07-19 20:08:00 -07:00
Dan Ballard 9f52e5de7b fixes to pipe bridge: it base64 encodes data of messages before sending them over to preserve binary data; fixed a lack of wiring for ipcBridge in service 2019-07-05 17:51:10 -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
erinn db781042a9 Merge branch 'emptyfile' of dan/cwtch into master 2019-04-17 15:09:05 -07:00
Dan Ballard f3fb1a42dd rm empty file 2019-04-17 11:36:19 -07:00
erinn 8ea11f8afd suppress non-erroneous error message 2019-04-15 11:57:22 -07:00
erinn 5ece75b3a8 squelch pointless message 2019-03-25 11:55:04 -07:00
Sarah Jamie Lewis 46bab264b4 Adding Accept Invite Flow 2019-02-13 17:57:42 -08:00
Sarah Jamie Lewis 27e42afbbf Adding Error Checking 2019-02-12 19:41:09 -08:00
Sarah Jamie Lewis 8f3b607053 Fixing New Group Invite flow 2019-02-11 11:09:28 -08:00
Sarah Jamie Lewis ffa2144b9f Save initial profile store 2019-02-04 11:17:33 -08:00
Sarah Jamie Lewis 5d0c950319 Bugfix Streamstore 2019-02-04 11:02:07 -08:00
Dan Ballard 0218159114 Merge branch 'profilefix' of cwtch.im/cwtch into master 2019-02-04 19:00:59 +00:00
Sarah Jamie Lewis 5399a31a6f Fixing Profile Creation Bug 2019-02-04 10:44:09 -08:00
Sarah Jamie Lewis 33a8922e43 Message Store Fix 2019-02-03 17:55:35 -08:00
Sarah Jamie Lewis 2b47c50d0d Fixing up first time storage and ensuring we no longer dupe messages in timeline 2019-02-02 19:24:42 -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
Dan Ballard 84e31f02fe new profile storeage on eventbus 2019-01-21 12:11:40 -08:00
Dan Ballard ffc4254f18 file storage refactor to make file and profile stores 2019-01-21 10:36:23 -08:00
Dan Ballard 3367f1a083 updating to new libricochet-go log api 2018-12-03 18:52:11 -08:00
erinn ddbf96e668 little fixes 2018-11-21 16:56:08 -08:00
Dan Ballard 78fe3ca96e all server files now go in configDir, cwtch docker entrypoint sets it by default to where it's expected 2018-11-01 13:22:29 -07:00
Sarah Jamie Lewis f4c45e863e Storage Refactor 2018-10-31 15:31:52 -07:00
Sarah Jamie Lewis 1e04b1161e Adding V3 Onions to Cwtch! 2018-10-05 13:38:23 -07:00
Dan Ballard 4e95427f44 messageStore now uses log like rotation on files 2018-09-20 14:08:56 -07:00
Dan Ballard b70fdf1af2 fix server metrics, wiring in it, server now generates a metrics file
while running
2018-06-27 09:42:30 -07:00