Commit Graph
181 Commits
Author SHA1 Message Date
Mikayla Makiand 6c0a41919b Distributed database pattern built.
Co-Authored-By: kay@zed.dev
2022-12-03 16:06:01 -08:00
Mikayla Maki e097f1f598 Done first draft of strongly typed migrations 2022-12-03 16:05:25 -08:00
Joseph Lyons 974ddd27d6 Remove sign in telemetry event 2022-11-28 18:56:27 -05:00
Max BrunsfeldandAntonio Scandurra 1a3ad561a0 Get integration tests passing with sqlite
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2022-11-10 11:03:52 -08:00
Joseph T LyonsandMax Brunsfeld b46a8bc425 Make App a user property in Mixpanel
Currently, we cannot take advantage of Mixpanel's virtual session end events because they are associated with users, not events; this change moves the property onto users.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2022-11-04 14:16:12 -04:00
Joseph T. Lyons 4127bd0311 Merge pull request #1842 from zed-industries/telemetry-corrections
Telemetry corrections
2022-11-02 12:36:48 -04:00
Joseph T Lyons dd6f475044 Revert "Differentiate between first time app starts and subsequent ones" 2022-11-02 12:22:46 -04:00
Antonio Scandurra 87843fee2e Merge pull request #1843 from zed-industries/call-randomized-test
Model calls in randomized collaboration test
2022-11-02 13:03:34 +00:00
Joseph T Lyons 02c65c6c84 Make event name casing consistent with other event names 2022-11-01 23:19:55 -04:00
Joseph T Lyons 4eaebda80c Remove Amplitude event tracking 2022-11-01 20:49:49 -04:00
Joseph T Lyons dac95eb683 Differentiate between first time app starts and subsequent ones 2022-11-01 20:36:18 -04:00
Antonio Scandurra 4adeb9476b Don't hold the lock while yielding back to the executor in Client 2022-11-01 19:16:02 +01:00
Joseph T Lyons 5c062834b6 Fill in missing "app" field names on Mixpanel events 2022-10-31 19:18:35 -04:00
Joseph T Lyons c911364741 Revert Amplitude's "app" name back to "platform"
This was unintentional.  We only want to rename the Mixpanel telemetry "platform" field to "app."  We want to keep it as "platform" on Amplitude because we want to keep using Amplitude for a bit, and the event fields should be the same.
2022-10-31 19:18:03 -04:00
Joseph T LyonsandMax Brunsfeld dfcffd78e1 Make release_channel optional to fix tests
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2022-10-27 18:06:34 -04:00
Joseph T Lyons 4139e7f003 Rename all keys, in telemetry events, to be consistent with Mixpanels conventions 2022-10-27 16:19:21 -04:00
Joseph T Lyons 7aa769c8a5 Add missing struct field
This must've gotten lost on the merging of main into this branch
2022-10-27 15:59:22 -04:00
Joseph T Lyons 51c3c38338 Merge branch 'main' into add-release-channel-information-to-telemetry-events 2022-10-27 15:57:17 -04:00
Joseph T Lyons 6b4dbecea2 Add release channel information to telemetry events 2022-10-27 15:53:14 -04:00
Max Brunsfeld 9b324fd1b7 Avoid spurious log messages in development builds 2022-10-27 12:42:03 -07:00
Joseph T Lyons 2747a2309d Change telemetry event field name to app 2022-10-27 12:35:35 -04:00
Max Brunsfeld 636150ec8d Fix setting of preview param in RPC URL 2022-10-26 16:19:19 -07:00
Max Brunsfeld 98c73f3373 Allow overriding release channel at runtime via env var 2022-10-26 16:19:19 -07:00
Max Brunsfeld c98a075e21 Store current release channel name in a file in the zed crate 2022-10-26 16:19:19 -07:00
Max Brunsfeld d228d8413b Create preview channel 2022-10-26 16:19:19 -07:00
Joseph T Lyons 359c56fef4 Temporarily restore integration with Amplitude
This will be reverted later, once we fully switch to Mixpanel
2022-10-20 19:27:55 -04:00
Joseph T Lyons 0e80083a5f Merge branch 'main' into switch-to-mixpanel 2022-10-20 13:53:39 -04:00
Joseph T Lyons 5d2a5ebcff Remove debug prints 2022-10-19 17:30:00 -04:00
Max Brunsfeld c364f52803 Merge pull request #1777 from zed-industries/impersonate-via-secret-token
Impersonate via secret token
2022-10-19 13:32:40 -07:00
Max Brunsfeld 9dd8f970f1 Allow setting ZED_SERVER_URL to URL of a collab server 2022-10-19 13:27:14 -07:00
Joseph T LyonsandMax Brunsfeld c08f54123e Switch to Mixpanel analytics
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2022-10-19 14:53:48 -04:00
Max Brunsfeld 40d380a300 Allow impersonating users via the api token, bypassing oauth 2022-10-18 17:36:54 -07:00
Kay Simmons a93578dca3 Merge pull request #1773 from zed-industries/rusqlite
Swap to sqlite for client persistence
2022-10-18 16:11:54 -07:00
Mikayla Makiand 3cf445cb27 Finished up initial sqlite implemention
Co-Authored-By: kay@zed.dev
2022-10-18 15:58:05 -07:00
Antonio Scandurra caf566507b Fix client unit test by sending Hello in FakeServer 2022-10-18 19:33:38 +02:00
Antonio ScandurraandNathan Sobo 0630eacbdb Use PeerId in TestServer::disconnect_client
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-10-18 19:05:37 +02:00
Antonio ScandurraandNathan Sobo 05d7ed8c59 Tell clients their peer id on connection in Hello message
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-10-18 18:42:55 +02:00
Mikayla Maki 438f9d831f WIP 2022-10-17 17:04:30 -07:00
Mikayla Maki c66887ae3f Converted to using rusqlite 2022-10-17 17:04:30 -07:00
Antonio Scandurra 05c76a5e2c 💄 2022-10-12 15:35:28 +02:00
Antonio Scandurra f7de77de3c Remove unnecessary async from Peer::add_connection 2022-10-12 15:32:39 +02:00
Antonio Scandurra c691474fac Introduce client-side timeout when trying to connect 2022-10-12 15:32:30 +02:00
Antonio Scandurra 794bea8dbd Merge remote-tracking branch 'origin/main' into room 2022-10-10 15:43:38 +02:00
Antonio Scandurra 28de74f845 Include a busy field in proto::Contact 2022-10-07 12:21:56 +02:00
Antonio Scandurra 20482bad8d Move IncomingCall into call crate 2022-10-06 09:52:03 +02:00
Antonio Scandurra 6597a5183a Move incoming calls into ActiveCall 2022-10-06 09:50:26 +02:00
Antonio ScandurraandMax Brunsfeld d60225f118 Automatically share project when creating the room
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-10-04 19:25:48 +02:00
Max Brunsfeld 013b9e5e49 Remove unnecessary min_id_length option from amplitude requests 2022-10-03 12:13:27 -07:00
Max BrunsfeldandJoseph Lyons 5d0a51773f Mark platform as "Zed" for telemetry events from the app
Co-authored-by: Joseph Lyons <joseph@zed.dev>
2022-10-03 11:05:45 -07:00
Max BrunsfeldandJoseph Lyons 401558bd8b Set staff user property in telemetry
Co-authored-by: Joseph Lyons <joseph@zed.dev>
2022-10-03 10:52:57 -07:00