Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.

Commit 964c571

Browse files
committed
Replace Oryx base domain name
1 parent 0c3dff0 commit 964c571

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

src/InvvardDev.EZLayoutDisplay.Desktop/App.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<userSettings>
2121
<InvvardDev.EZLayoutDisplay.Desktop.Properties.Settings>
2222
<setting name="ErgodoxLayoutUrl" serializeAs="String">
23-
<value>https://configure.ergodox-ez.com/ergodox-ez/layouts/default/latest/0</value>
23+
<value>https://configure.zsa.io/ergodox-ez/layouts/default/latest/0</value>
2424
</setting>
2525
<setting name="HotkeyShowLayout" serializeAs="String">
2626
<value>{"modifiers":[0,1,2,4],"keycode":32}</value>

src/InvvardDev.EZLayoutDisplay.Desktop/Properties/Settings.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/InvvardDev.EZLayoutDisplay.Desktop/Properties/Settings.settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Profiles />
44
<Settings>
55
<Setting Name="ErgodoxLayoutUrl" Type="System.String" Scope="User">
6-
<Value Profile="(Default)">https://configure.ergodox-ez.com/ergodox-ez/layouts/default/latest/0</Value>
6+
<Value Profile="(Default)">https://configure.zsa.io/ergodox-ez/layouts/default/latest/0</Value>
77
</Setting>
88
<Setting Name="HotkeyShowLayout" Type="System.String" Scope="User">
99
<Value Profile="(Default)">{"modifiers":[0,1,2,4],"keycode":32}</Value>

src/InvvardDev.EZLayoutDisplay.Desktop/Service/Design/SettingsService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class SettingsService : ISettingsService
1414
public SettingsService()
1515
{
1616
HotkeyShowLayout = new Hotkey(0x60, ModifierKeys.Alt);
17-
ErgodoxLayoutUrl = "https://configure.ergodox-ez.com/layouts/default/latest/0";
17+
ErgodoxLayoutUrl = "https://configure.zsa.io/ergodox-ez/layouts/default/latest/0";
1818
}
1919

2020
public void Save()

src/InvvardDev.EZLayoutDisplay.Desktop/Service/Implementation/LayoutService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class LayoutService : ILayoutService
3131
private readonly string GetLayoutInfoRequestBody =
3232
"{{\"operationName\":\"getLayout\",\"variables\":{{\"hashId\":\"{0}\",\"revisionId\":\"{1}\"}},\"query\":\"query getLayout($hashId: String!, $revisionId: String!) {{\\n Layout(hashId: $hashId, revisionId: $revisionId) {{\\n ...LayoutData\\n __typename\\n }}\\n}}\\n\\nfragment LayoutData on Layout {{\\n geometry\\n hashId\\n title\\n tags {{\\n id\\n hashId\\n name\\n }}\\n revision {{\\n hashId\\n title\\n hexUrl\\n model\\n zipUrl\\n qmkVersion\\n qmkUptodate\\n layers {{\\n position\\n title\\n }}\\n }}\\n __typename\\n}}\\n\"}}";
3333

34-
private const string GetLayoutRequestUri = "https://oryx.ergodox-ez.com/graphql";
34+
private const string GetLayoutRequestUri = "https://oryx.zsa.io/graphql";
3535

3636
#region ILayoutService implementation
3737

src/InvvardDev.EZLayoutDisplay.Desktop/ViewModel/SettingsViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class SettingsViewModel : ViewModelBase
2020
{
2121
#region Constants
2222

23-
private const string TagSearchBaseUri = "https://configure.ergodox-ez.com/{0}/search?q={1}";
23+
private const string TagSearchBaseUri = "https://configure.zsa.io/{0}/search?q={1}";
2424
private const string DefaultLatestRevisionId = "latest";
2525

2626
#endregion

src/InvvardDev.EZLayoutDisplay.Tests/ViewModel/SettingsViewModelTest.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -218,21 +218,21 @@ public void CloseCommand_Execute(bool mustSave)
218218
}
219219

220220
[Theory]
221-
[InlineData("https://configure.ergodox-ez.com/layouts/abcd/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
222-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/abcd/sdfs/0", "sdfs", "abcd", "sdfs")]
223-
[InlineData("https://configure.ergodox-ez.com/planck-ez/layouts/abcd/latest/0", LatestRevisionHashId, "abcd", RevisionHashId)]
224-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/1234/asdf/0", "asdf", "1234", "asdf")]
225-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/a2Vt/latest/0", LatestRevisionHashId, "a2Vt", RevisionHashId)]
226-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/default/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
227-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/j3o4", LatestRevisionHashId, "j3o4", RevisionHashId)]
228-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/j3o4/", LatestRevisionHashId, "j3o4", RevisionHashId)]
229-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/r2d2/lat/9", "lat", "r2d2", "lat")]
230-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/def/latest/0", LatestRevisionHashId, "default", RevisionHashId)] // Less than 4 layout ID character length
231-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/_t3s/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
232-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/t3s/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
233-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/adbcd/latest/0", LatestRevisionHashId, "adbcd", RevisionHashId)]
234-
[InlineData("https://configure.ergodox-ez.com/ergodox-ez/layouts/asdfasdfasdfasdfgfasdffgasf/latest/0", LatestRevisionHashId, "asdfasdfasdfasdfgfasdffgasf", RevisionHashId)]
235-
[InlineData("https://configure.ergodox-ez.com/plante-ez/layouts/asdfasdfasdfasdfgfasdffgasf/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
221+
[InlineData("https://configure.zsa.io/layouts/abcd/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
222+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/abcd/sdfs/0", "sdfs", "abcd", "sdfs")]
223+
[InlineData("https://configure.zsa.io/planck-ez/layouts/abcd/latest/0", LatestRevisionHashId, "abcd", RevisionHashId)]
224+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/1234/asdf/0", "asdf", "1234", "asdf")]
225+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/a2Vt/latest/0", LatestRevisionHashId, "a2Vt", RevisionHashId)]
226+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/default/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
227+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/j3o4", LatestRevisionHashId, "j3o4", RevisionHashId)]
228+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/j3o4/", LatestRevisionHashId, "j3o4", RevisionHashId)]
229+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/r2d2/lat/9", "lat", "r2d2", "lat")]
230+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/def/latest/0", LatestRevisionHashId, "default", RevisionHashId)] // Less than 4 layout ID character length
231+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/_t3s/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
232+
[InlineData("https://configure.zsa.ioergodox-ez/layouts/t3s/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
233+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/adbcd/latest/0", LatestRevisionHashId, "adbcd", RevisionHashId)]
234+
[InlineData("https://configure.zsa.io/ergodox-ez/layouts/asdfasdfasdfasdfgfasdffgasf/latest/0", LatestRevisionHashId, "asdfasdfasdfasdfgfasdffgasf", RevisionHashId)]
235+
[InlineData("https://configure.zsa.io/plante-ez/layouts/asdfasdfasdfasdfgfasdffgasf/latest/0", LatestRevisionHashId, "default", RevisionHashId)]
236236
public void UpdateLayoutCommand_Execute(string layoutUrl, string urlRevisionId, string expectedHashId, string expectedRevisionHashId)
237237
{
238238
//Arrange
@@ -320,7 +320,7 @@ public void OpenTagSearchCommandExecute(string tag, string keyboardGeometry, int
320320
settingsViewModel.OpenTagSearchCommand.Execute(tag);
321321

322322
// Assert
323-
mockProcessService.Verify(p => p.StartWebUrl($"https://configure.ergodox-ez.com/{keyboardGeometry}/search?q={tag}"), Times.Exactly(callNumber));
323+
mockProcessService.Verify(p => p.StartWebUrl($"https://configure.zsa.io/{keyboardGeometry}/search?q={tag}"), Times.Exactly(callNumber));
324324
}
325325

326326
[Fact]

0 commit comments

Comments
 (0)