Skip to content

Commit

Permalink
wip: Server settings display and editing (#2510)
Browse files Browse the repository at this point in the history
* add tab-set web component partial

* wip Server Settings editor

* progress on form organization, vertical tabs

* more server settings work, mostly localization

* disable server settings access because it's not complete
  • Loading branch information
lodicolo authored Jan 27, 2025
1 parent 76885bc commit cb0ab21
Show file tree
Hide file tree
Showing 28 changed files with 1,356 additions and 5 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ resharper_trailing_comma_in_multiline_lists = true
resharper_wrap_array_initializer_style = chop_if_long
resharper_wrap_before_primary_constructor_declaration_rpar = true
resharper_wrap_chained_binary_expressions = chop_if_long
resharper_wrap_chained_method_calls = chop_if_long
###############################
# VB Coding Conventions #
###############################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace Intersect.Config;

[RequiresRestart]
public partial class DatabaseOptions
{
#if DEBUG
Expand Down
114 changes: 114 additions & 0 deletions Framework/Intersect.Framework.Core/Config/OptionsStrings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions Framework/Intersect.Framework.Core/Config/OptionsStrings.en.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<root>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Category_General" xml:space="preserve">
<value>General</value>
</data>
<data name="Category_Chat" xml:space="preserve">
<value>Chat</value>
</data>
<data name="Category_GameDatabase" xml:space="preserve">
<value>Database (Game)</value>
</data>
<data name="Category_Logging" xml:space="preserve">
<value>Logging</value>
</data>
<data name="Category_LoggingDatabase" xml:space="preserve">
<value>Database (Logging)</value>
</data>
<data name="Category_Metrics" xml:space="preserve">
<value>Metrics</value>
</data>
<data name="Category_Packets" xml:space="preserve">
<value>Packets</value>
</data>
<data name="Category_PlayerDatabase" xml:space="preserve">
<value>Database (Player)</value>
</data>
<data name="Category_Security" xml:space="preserve">
<value>Security</value>
</data>
<data name="Category_SmtpSettings" xml:space="preserve">
<value>Email</value>
</data>
<data name="Category_Combat" xml:space="preserve">
<value>Combat</value>
</data>
<data name="Category_Equipment" xml:space="preserve">
<value>Equipment</value>
</data>
<data name="Category_Passability" xml:space="preserve">
<value>Passability</value>
</data>
<data name="Category_Map" xml:space="preserve">
<value>Map</value>
</data>
<data name="Category_Player" xml:space="preserve">
<value>Player</value>
</data>
<data name="Category_Party" xml:space="preserve">
<value>Party</value>
</data>
<data name="Category_Loot" xml:space="preserve">
<value>Loot</value>
</data>
<data name="Category_Processing" xml:space="preserve">
<value>Processing</value>
</data>
<data name="Category_Sprites" xml:space="preserve">
<value>Sprites</value>
</data>
<data name="Category_Npc" xml:space="preserve">
<value>NPC</value>
</data>
<data name="Category_Quest" xml:space="preserve">
<value>Quest</value>
</data>
<data name="Category_Guild" xml:space="preserve">
<value>Guild</value>
</data>
<data name="Category_Bank" xml:space="preserve">
<value>Bank</value>
</data>
<data name="Category_Instancing" xml:space="preserve">
<value>Instancing</value>
</data>
<data name="Category_Items" xml:space="preserve">
<value>Items</value>
</data>
</root>
26 changes: 26 additions & 0 deletions Framework/Intersect.Framework.Core/Config/OptionsStrings.it.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<root>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Category_General" xml:space="preserve">
<value>Generale</value>
</data>
<data name="Category_SmtpSettings" xml:space="preserve">
<value>Email</value>
</data>
<data name="Category_Security" xml:space="preserve">
<value>Sicurezza</value>
</data>
<data name="Category_Player" xml:space="preserve">
<value>Giocatori</value>
</data>
</root>
96 changes: 96 additions & 0 deletions Framework/Intersect.Framework.Core/Config/OptionsStrings.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>

<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">

</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Category_General" xml:space="preserve">
<value>General</value>
</data>
<data name="Category_Logging" xml:space="preserve">
<value>Logging</value>
</data>
<data name="Category_Metrics" xml:space="preserve">
<value>Metrics</value>
</data>
<data name="Category_GameDatabase" xml:space="preserve">
<value>Database (Game)</value>
</data>
<data name="Category_LoggingDatabase" xml:space="preserve">
<value>Database (Logging)</value>
</data>
<data name="Category_PlayerDatabase" xml:space="preserve">
<value>Database (Player)</value>
</data>
<data name="Category_Security" xml:space="preserve">
<value>Security</value>
</data>
<data name="Category_SmtpSettings" xml:space="preserve">
<value>Email</value>
</data>
<data name="Category_Chat" xml:space="preserve">
<value>Chat</value>
</data>
<data name="Category_Packets" xml:space="preserve">
<value>Packets</value>
</data>
<data name="Category_Combat" xml:space="preserve">
<value>Combat</value>
</data>
<data name="Category_Equipment" xml:space="preserve">
<value>Equipment</value>
</data>
<data name="Category_Passability" xml:space="preserve">
<value>Passability</value>
</data>
<data name="Category_Map" xml:space="preserve">
<value>Map</value>
</data>
<data name="Category_Player" xml:space="preserve">
<value>Player</value>
</data>
<data name="Category_Party" xml:space="preserve">
<value>Party</value>
</data>
<data name="Category_Loot" xml:space="preserve">
<value>Loot</value>
</data>
<data name="Category_Processing" xml:space="preserve">
<value>Processing</value>
</data>
<data name="Category_Sprites" xml:space="preserve">
<value>Sprites</value>
</data>
<data name="Category_Npc" xml:space="preserve">
<value>NPC</value>
</data>
<data name="Category_Quest" xml:space="preserve">
<value>Quest</value>
</data>
<data name="Category_Guild" xml:space="preserve">
<value>Guild</value>
</data>
<data name="Category_Bank" xml:space="preserve">
<value>Bank</value>
</data>
<data name="Category_Instancing" xml:space="preserve">
<value>Instancing</value>
</data>
<data name="Category_Items" xml:space="preserve">
<value>Items</value>
</data>
</root>
Loading

0 comments on commit cb0ab21

Please sign in to comment.