Commit Graph

156 Commits

Author SHA1 Message Date
Sarah Jamie Lewis f3ac8c0098 Allow Sharing Public Profile Images
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2022-02-03 14:44:29 -08:00
Sarah Jamie Lewis 6bb510e39e Negotiate Lower Bandwidth / Higher Density Packets for Peers 2022-01-25 15:41:25 -08:00
Sarah Jamie Lewis b7e0371401 Fixup data-dir locations for integ tests
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2022-01-20 13:38:46 -08:00
Sarah Jamie Lewis 92cda9fa00 Upgrade to new connectivity interface
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2022-01-20 13:27:35 -08:00
Sarah Jamie Lewis 0c66743216 Upgrade Connectivity, Fixup Integ Test
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
Also removes spec dependency - we will move these to a standalone test repository
2022-01-12 12:49:13 -08:00
Sarah Jamie Lewis 46f32881b9 Port Change Password to new Storage Engine
continuous-integration/drone/pr Build is pending Details
continuous-integration/drone/push Build is passing Details
2021-12-18 16:48:16 -08:00
Sarah Jamie Lewis fa1729d08d Merge branch 'master' into ipreview
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-12-19 00:16:09 +00:00
erinn a392fa0cda image previews - dan comments
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
2021-12-18 16:15:05 -08:00
Dan Ballard 113a6b617a add back passwrod errors for use; staticcheck fixes
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-12-17 14:46:24 -05:00
Dan Ballard ac05caf009 change locking on engine.ephermeralServices; logify integ test; delete unused events
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-12-16 19:11:10 -05:00
Sarah Jamie Lewis 9b09754f0e Remove Old Code 2021-12-07 17:03:20 -08:00
Sarah Jamie Lewis 359254f81e Adjust APIs for better UI Cache Performance. Introduce BDD Testing + Tests
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/pr Build is passing Details
2021-12-06 12:20:38 -08:00
Sarah Jamie Lewis 93c562097a Kill all Tor Connections at end of Integ Test
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-12-01 13:57:56 -08:00
Sarah Jamie Lewis 6ab11fc929 Purge message history for not-saved conversation on Close + other review comments
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-11-23 12:17:11 -08:00
Sarah Jamie Lewis 6101e4e031 Fix Filesharing Integ Test
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is passing Details
2021-11-19 15:55:01 -08:00
Sarah Jamie Lewis 54e6122af7 Remove outdated tests in test script
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is failing Details
2021-11-19 14:13:28 -08:00
Sarah Jamie Lewis 4f5b1fa106 Fixups for Integration Test
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is failing Details
2021-11-19 14:04:43 -08:00
Sarah Jamie Lewis cb8960f893 Fixups from merging AddServer PR
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2021-11-19 00:09:19 -08:00
Sarah Jamie Lewis 0614d31366 Staticheck Pass
continuous-integration/drone/push Build is pending Details
2021-11-17 15:59:52 -08:00
Sarah Jamie Lewis e296c30818 libcwtch-go first cut integration / message timelines etc
continuous-integration/drone/push Build is pending Details
2021-11-17 14:34:13 -08:00
Sarah Jamie Lewis 406d900029 First Cut of P2P and Groups using new Storage APIs!
continuous-integration/drone/push Build is pending Details
2021-11-16 15:06:30 -08:00
Sarah Jamie Lewis 62d2497843 Purging old Profile / Storage Code - Start of Group Integration
continuous-integration/drone/push Build is pending Details
2021-11-10 16:41:43 -08:00
Sarah Jamie Lewis 3d0ed3d4b0 File Sharing Integration Tests now Works with New Storage Code
continuous-integration/drone/push Build is pending Details
2021-11-10 14:28:52 -08:00
Sarah Jamie Lewis 8c80340a3d Interim Work - P2P now Works on New Storage Model
continuous-integration/drone/push Build is pending Details
2021-11-09 15:47:33 -08:00
Sarah Jamie Lewis e2bba41a9a Remove IPC App Bridge 2021-11-03 11:40:25 -07:00
Sarah Jamie Lewis 81bd787a96 Sort Integration Timelines prior to checking 2021-11-03 11:40:25 -07:00
Sarah Jamie Lewis 3d2cafd1de Group Refactor Part 1
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
Remove SendMessage* calls in place of a unified interface
Remove Unack*Messages from Group and Store everything in the timeline
2021-10-31 12:12:34 -07:00
Sarah Jamie Lewis ce8d728471 Completely Remove SetAttribute and GetAttribute.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
Also provides backwards compatible upgrade paths for Name and Tag
Moves Constants into Cwtch
2021-10-15 12:40:56 -07:00
Sarah Jamie Lewis aec3c40180 Enforced Zoned Attribute Lookups
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-10-07 15:41:11 -07:00
Sarah Jamie Lewis 8aecd3fe86 Use path/filepath instead of path
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
2021-09-30 15:46:10 -07:00
Sarah Jamie Lewis 907a7ca638 File Sharing MVP (#384)
continuous-integration/drone/tag Build is passing Details
continuous-integration/drone/push Build is failing Details
Co-authored-by: erinn <erinn@openprivacy.ca>
Reviewed-on: #384
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
Co-authored-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
Co-committed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2021-09-30 00:57:13 +00:00
Sarah Jamie Lewis 49a04f475b Remove more sever metrics
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-06-29 16:27:57 -07:00
Sarah Jamie Lewis 6ed6a9a77b Remove server goroutine stats
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-06-29 16:12:58 -07:00
Sarah Jamie Lewis 8479a89234 Distinguish between Authenticated and Synced for Server Connections
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
Also Delete Old Server Code, and Update Integ Test to use Hardcoded Server for now
2021-06-29 15:43:42 -07:00
Sarah Jamie Lewis bea58b5ba4 Groups Cleanup 2021-05-04 12:00:06 -07:00
Sarah Jamie Lewis b3ba23992e Clean up some older TODOs
the build was successful Details
2020-11-05 14:44:27 -08:00
Sarah Jamie Lewis f6888b47f1 Fixing up Server APIs
the build was successful Details
2020-11-04 13:16:35 -08:00
Sarah Jamie Lewis 80c6bcead7 Split Peer and Server Connection Launching
the build was successful Details
2020-10-29 14:23:26 -07:00
Sarah Jamie Lewis 785a4c925a Use new connectivity
the build was successful Details
2020-10-16 11:08:01 -07:00
Sarah Jamie Lewis 52f1d15c78 Use new connectivity Torrc Builder
the build was successful Details
2020-10-13 14:09:59 -07:00
Sarah Jamie Lewis b8d308763c Sign and Check ToFU Server Bundle
the build was successful Details
2020-10-01 14:06:30 -07:00
Sarah Jamie Lewis 1e34eb67a7 Fixing up ContactRetry and Integ Tests
the build was successful Details
2020-09-28 10:40:41 -07:00
Sarah Jamie Lewis 2d9050346b Fixing Tor/Server Integration
the build was successful Details
2020-09-21 15:39:54 -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
the build was successful Details
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
the build failed Details
2020-06-16 11:34:15 -07:00
Dan Ballard 5f39c1d498 make peer handling of NewRetValMessage optional, as UI handles it fully
the build was successful Details
2020-04-16 17:00:17 -07:00
Dan Ballard dc3df531dd peer getVal/retVal messages and functions and handling
the build was successful Details
2020-03-27 11:51:52 -07:00
Dan Ballard 12089d9fa4 migrate to stand alone log and connectivity packages
the build was successful Details
2020-02-10 18:36:28 -05:00
Dan Ballard 258cf84e68 fixing race conditions; removing peer.GetProfile as unsafe
the build was successful Details
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;
the build was successful Details
also make server/metrics test deterministic and not sleep based
2020-01-21 11:32:03 -08:00
Sarah Jamie Lewis a7fd359233 Fixing Data Races in Event Bus
the build was successful Details
2019-11-12 12:56:35 -08:00
Sarah Jamie Lewis 8f85f49404 Initial pass at race condition fixes
the build was successful Details
2019-11-08 13:25:13 -08:00
Sarah Jamie Lewis fadbe4873e More network check events
the build was successful Details
2019-11-04 13:30:33 -08:00
Sarah Jamie Lewis 99ea31ce82 Adding Network Status Plugin + Fixing plugin goroutine leaks
the build was successful Details
2019-11-01 16:10:10 -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).
the build was successful Details
2019-09-20 11:06:05 -07:00
Sarah Jamie Lewis d8ce3bee4e Updating test scripts to remove peer 2019-07-29 12:49:23 -07:00
Dan Ballard 0465973a78 add app level functionality to reload from service 2019-07-19 20:08:00 -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 c8541a5e36 fix integ tests to not leak go threads, re make it an error 2019-02-04 14:18:24 -08:00
Dan Ballard a0dab022ad stream storage for timelines, wired into profile store 2019-01-30 14:29:27 -08:00
Sarah Jamie Lewis 2239463512 ineffassign and misspell 2019-01-28 12:12:33 -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
Dan Ballard 3367f1a083 updating to new libricochet-go log api 2018-12-03 18:52:11 -08:00
Dan Ballard 8a0d9c54fd local var rename 2018-11-22 13:47:35 -08:00
Dan Ballard 85a2c44891 Following libricochetgo's migration to bine and a generic Mixnet
interface.
2018-11-20 12:51:37 -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
Sarah Jamie Lewis 8ab4752b44 Adding Cwtch Peer Data Channel 2018-10-04 17:03:57 -07:00
Dan Ballard a5ad2a6644 removing panics and reorder invite-to-group args 2018-09-26 19:00:40 -07:00
Dan Ballard 5f046e6d53 app suports multiple peers; cli supports multiple peers; massive cli command change (irc /style) and live follow groups 2018-09-21 16:52:39 -07:00
Dan Ballard c289052aae Android use changes: dedup peer start code; peer and app track write directory and files, do not use supplied filenames for Save(); rework tormanager to take a path to tor binary 2018-07-24 16:51:46 -05:00
Dan Ballard 57f9d68747 drone notify gogs via buildbot 2018-07-02 12:17:21 -05:00
Sarah Jamie Lewis f435de4b71 Testing Tor Manager + Some bug fixes 2018-07-01 20:23:30 -07:00
Sarah Jamie Lewis 2981cb4dac Formatting & Adding to Quality 2018-06-29 12:20:07 -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
Angus Champion de Crespigny 8e55a77173 Cwtch_peer.go
Added missing imports and corrected NewCwtchPeer to implement the CwtchPeerInterface
Corrected formatting

Main.go
Corrected formatting

App.go
Included missing arguments

Cwtch_peer_test.go
Included password arguments into tests

Cwtch_peer_server_intergration_test.go
Included password arguments into tests
2018-06-27 01:15:03 +00:00
Sarah Jamie Lewis 3215478757 Revert "adding Monitors; fixing metricsHistory rotation logic; wiring in Monitors; cleanup"
This reverts commit bacf733f52.
2018-06-26 11:24:50 -07:00
Sarah Jamie Lewis ea2e7caf5c Merge branch 'server-metrics' of dan/cwtch into master 2018-06-23 18:00:14 +00:00
Dan Ballard bacf733f52 adding Monitors; fixing metricsHistory rotation logic; wiring in Monitors; cleanup 2018-06-23 10:54:33 -07:00
Sarah Jamie Lewis 22aebae0e5 Actually implementing correct signature construction 2018-06-23 09:23:39 -07:00
Dan Ballard cf80207f77 rename go-ricochet to libricochet-go 2018-06-23 09:15:36 -07:00
Dan Ballard 63128bae40 adding simple metrics package to server 2018-06-21 12:20:27 -07:00
Sarah Jamie Lewis 89ffc737bc Encapsualting Profile behind Peer interface 2018-06-19 22:51:21 -07:00
Sarah Jamie Lewis e3dfdf35e0 fmt 2018-06-19 15:38:22 -07:00
Dan Ballard d3765fd9bb server now has a config file; delete profile.Save (unsued); update cwtch_peer.Save to use indented Marshal 2018-06-18 16:07:34 -07:00
Dan Ballard dae807da07 comments and variable renames to fully pass golint 2018-06-15 09:24:23 -07:00
Dan Ballard f68c5096ec simplify server check so it doesn't leak goroutine; clean up init logic 2018-06-13 17:42:08 -07:00
Dan Ballard 583a8013d6 fixes to pass go vet and inclusion in tests script 2018-06-13 14:24:47 -07:00
Sarah Jamie Lewis 76b6df4beb Fixup integ testing 2018-06-09 12:11:59 -07:00
Dan Ballard 9bf0fdec56 adding fetch checks to integration test with late joining user carol.
protocol drop 'groupMessages' field
peer/sever fetch channel reworked to send series of groupMessage rather than groupMessages blob in order to not blow up a ricochet packet
minor doc fixes
change a few fmt to log
fix class variable name (cplc -> cpsc) in cwtchpeer listen channel
PeerPeerConnection.Close close Conn rather than break to catch goroutine leak
2018-06-07 17:07:40 -07:00
Dan Ballard 30b4a2068e peer and server tear down; connectionManager tear down; integ test tracks goRoutines and errors if not cleaned up properly 2018-05-31 16:32:59 -07:00
Dan Ballard d68ba9abfc remove integ test from unit tests run; peers don't need to AddContact themselves; remove commented out and non-functional peer accept code 2018-05-31 13:21:23 -07:00
Dan Ballard 3b65cffbdb cwtch peers peer and sendInvite 2018-05-31 13:21:23 -07:00
Sarah Jamie Lewis 77e62b1b66 Renaming to cwtch.im 2018-05-28 11:05:06 -07:00
Dan Ballard e0541dec15 adding tests.sh script; fixing connections tests broken by removing private_key with pk generation 2018-05-25 15:37:44 -07:00