Skip to content

Commit

Permalink
Removing everything related to ROS and RaaS (legacy Realm Cloud) (#1282)
Browse files Browse the repository at this point in the history
* Update product name and version

* Removed everything related to ROS and RaaS

* Adding a release note

* Fixed linter errors
  • Loading branch information
Kræn Hansen committed Jun 4, 2020
1 parent a730341 commit 115abb7
Show file tree
Hide file tree
Showing 137 changed files with 22 additions and 11,145 deletions.
5 changes: 5 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
[Changes since {PREVIOUS_VERSION}](https://github.com/realm/realm-studio/compare/{PREVIOUS_VERSION}...{CURRENT_VERSION})

### Breaking Changes

- All functionality related to the Realm Object Server (ROS), such as connecting to a server, opening synchronized Realms from it and managing users and their permissions has been removed. ([#1282](https://github.com/realm/realm-studio/pull/1282))
- All functionality related to the "legacy" Realm Cloud (available via https://cloud.realm.io/), such as authenticating and connecting to a server instance has been removed. ([#1282](https://github.com/realm/realm-studio/pull/1282))

### Enhancements

- None
Expand Down
54 changes: 1 addition & 53 deletions src/actions/main/Sender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@

import { MainActions } from '../../main/MainActions';
import { ImportFormat } from '../../services/data-importer';
import * as raas from '../../services/raas';
import {
ICloudAuthenticationWindowProps,
IGraphiqlEditorWindowProps,
IRealmBrowserWindowProps,
IServerAdministrationWindowProps,
} from '../../windows/WindowProps';
import { IRealmBrowserWindowProps } from '../../windows/WindowProps';
import { ActionSender } from '../ActionSender';
import { LoopbackTransport, RendererTransport } from '../transports';

Expand All @@ -38,52 +32,10 @@ export class Sender extends ActionSender {
);
}

public authenticateWithEmail(
email: string,
password: string,
): Promise<raas.user.IAuthResponse> {
return this.send(MainActions.AuthenticateWithEmail, email, password);
}

public authenticateWithGitHub(): Promise<raas.user.IAuthResponse> {
return this.send(MainActions.AuthenticateWithGitHub);
}

public checkForUpdates() {
return this.send(MainActions.CheckForUpdates);
}

public deauthenticate(): Promise<void> {
return this.send(MainActions.Deauthenticate);
}

public refreshCloudStatus() {
return this.send(MainActions.RefreshCloudStatus);
}

public reopenGitHubUrl() {
return this.send(MainActions.ReopenGitHubUrl);
}

public setRaasEndpoint(endpoint: raas.Endpoint) {
return this.send(MainActions.SetRaasEndpoint, endpoint);
}

public showCloudAuthentication(
props: ICloudAuthenticationWindowProps = {},
resolveUser: boolean = false,
): Promise<void | raas.user.IAccountResponse> {
return this.send(MainActions.ShowCloudAuthentication, props, resolveUser);
}

public showConnectToServer(url?: string) {
return this.send(MainActions.ShowConnectToServer, url);
}

public showGraphiqlEditor(props: IGraphiqlEditorWindowProps) {
return this.send(MainActions.ShowGraphiqlEditor, props);
}

public showGreeting() {
return this.send(MainActions.ShowGreeting);
}
Expand All @@ -100,10 +52,6 @@ export class Sender extends ActionSender {
return this.send(MainActions.ShowRealmBrowser, props);
}

public showServerAdministration(props: IServerAdministrationWindowProps) {
return this.send(MainActions.ShowServerAdministration, props);
}

public clearRendererCache() {
return this.send(MainActions.ClearRendererCache);
}
Expand Down
Binary file removed src/assets/images/instance-detail-bg.png
Binary file not shown.
Loading

0 comments on commit 115abb7

Please sign in to comment.