Skip to content

Commit

Permalink
Finally changing the namespace (#35)
Browse files Browse the repository at this point in the history
Namespace for all files changed to `Unobtanium....`
  • Loading branch information
svrooij authored Aug 29, 2024
1 parent fe1c74f commit 5a6d45b
Show file tree
Hide file tree
Showing 213 changed files with 509 additions and 511 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ on:
push:
branches:
- develop
- beta
tags:
- v*
pull_request:
branches:
- develop
- beta
workflow_dispatch:

jobs:
Expand All @@ -35,9 +33,9 @@ jobs:

- name: 🔨 Build
run: |
dotnet build src/Titanium.Web.Proxy/Titanium.Web.Proxy.csproj --configuration Release
dotnet build tests/Titanium.Web.Proxy.UnitTests/Titanium.Web.Proxy.UnitTests.csproj --configuration Release
dotnet build tests/Titanium.Web.Proxy.IntegrationTests/Titanium.Web.Proxy.IntegrationTests.csproj --property WarningLevel=0
dotnet build src/Unobtanium.Web.Proxy/Unobtanium.Web.Proxy.csproj --configuration Release
dotnet build tests/Unobtanium.Web.Proxy.UnitTests/Unobtanium.Web.Proxy.UnitTests.csproj --configuration Release
dotnet build tests/Unobtanium.Web.Proxy.IntegrationTests/Unobtanium.Web.Proxy.IntegrationTests.csproj --property WarningLevel=0
- name: 🧪 Test
id: test
Expand All @@ -52,7 +50,7 @@ jobs:
shell: pwsh
run: |
dotnet tool install --global dotnet-reportgenerator-globaltool --version 5.*
reportgenerator -reports:${{github.workspace}}/coverage.cobertura.xml -targetdir:${{github.workspace}}/report -reporttypes:MarkdownSummaryGithub -filefilters:-*.g.cs "-classfilters:-Titanium.Web.Proxy.Network.WinAuth.*" -verbosity:Warning
reportgenerator -reports:${{github.workspace}}/coverage.cobertura.xml -targetdir:${{github.workspace}}/report -reporttypes:MarkdownSummaryGithub -filefilters:-*.g.cs "-classfilters:-Unobtanium.Web.Proxy.Network.WinAuth.*" -verbosity:Warning
$report = Get-Content ${{github.workspace}}/report/SummaryGithub.md -Raw
$report = $report.Replace('# Summary', '## 📝 Code Coverage').Replace('## Coverage', '### 📝 Code Coverage details')
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value $report
Expand Down Expand Up @@ -101,7 +99,7 @@ jobs:
- name: 📦 Package
shell: pwsh
run: |
dotnet pack src/Titanium.Web.Proxy/Titanium.Web.Proxy.csproj --configuration Release -p:Version=$("${{ github.ref_name }}".Substring(1))
dotnet pack src/Unobtanium.Web.Proxy/Unobtanium.Web.Proxy.csproj --configuration Release -p:Version=$("${{ github.ref_name }}".Substring(1))
- name: 🚀 Publish
run: |
Expand All @@ -114,6 +112,6 @@ jobs:
run: |
$version = $("${{ github.ref_name }}".Substring(1));
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value '## 🚀 Published'
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value "- Code [tag ${{ github.ref_name }}](https://github.com/svrooij/titanium-web-proxy/tree/${{ github.ref_name }}) has been published to NuGet."
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value "- Code [tag ${{ github.ref_name }}](https://github.com/svrooij/unobtanium-web-proxy/tree/${{ github.ref_name }}) has been published to NuGet."
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value "- Nuget [$version](https://www.nuget.org/packages/Unobtanium.Web.Proxy/$version) has been published to NuGet."
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;

namespace Titanium.Web.Proxy.Examples.Basic.Helpers
namespace Unobtanium.Web.Proxy.Examples.Basic.Helpers
{
/// <summary>
/// Adapted from
Expand Down
6 changes: 3 additions & 3 deletions examples/Titanium.Web.Proxy.Examples.Basic/Program.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using Titanium.Web.Proxy.Examples.Basic.Helpers;
using Titanium.Web.Proxy.Helpers;
using Unobtanium.Web.Proxy.Examples.Basic.Helpers;
using Unobtanium.Web.Proxy.Helpers;

namespace Titanium.Web.Proxy.Examples.Basic
namespace Unobtanium.Web.Proxy.Examples.Basic
{
public class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Titanium.Web.Proxy.EventArguments;
using Unobtanium.Web.Proxy.EventArguments;

namespace Titanium.Web.Proxy.Examples.Basic
namespace Unobtanium.Web.Proxy.Examples.Basic
{
public static class ProxyEventArgsBaseExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
using System.Net.Security;
using System.Threading;
using System.Threading.Tasks;
using Titanium.Web.Proxy.EventArguments;
using Titanium.Web.Proxy.Exceptions;
using Titanium.Web.Proxy.Helpers;
using Titanium.Web.Proxy.Http;
using Titanium.Web.Proxy.Models;
using Titanium.Web.Proxy.StreamExtended.Network;

namespace Titanium.Web.Proxy.Examples.Basic
using Unobtanium.Web.Proxy.EventArguments;
using Unobtanium.Web.Proxy.Exceptions;
using Unobtanium.Web.Proxy.Helpers;
using Unobtanium.Web.Proxy.Http;
using Unobtanium.Web.Proxy.Models;
using Unobtanium.Web.Proxy.StreamExtended.Network;

namespace Unobtanium.Web.Proxy.Examples.Basic
{
public class ProxyTestController : IDisposable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text;

namespace Titanium.Web.Proxy.Examples.Basic
namespace Unobtanium.Web.Proxy.Examples.Basic
{
public class SampleClientState
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<StartupObject />
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Titanium.Web.Proxy\Titanium.Web.Proxy.csproj" />
<ProjectReference Include="..\..\src\Unobtanium.Web.Proxy\Unobtanium.Web.Proxy.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
using System.Net;
using System.ServiceProcess;
using System.Threading;
using Titanium.Web.Proxy;
using Titanium.Web.Proxy.Exceptions;
using Titanium.Web.Proxy.Models;
using Unobtanium.Web.Proxy;
using Unobtanium.Web.Proxy.Exceptions;
using Unobtanium.Web.Proxy.Models;
using WindowsServiceExample.Properties;

namespace WindowsServiceExample
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Titanium.Web.Proxy\Titanium.Web.Proxy.csproj" />
<ProjectReference Include="..\..\src\Unobtanium.Web.Proxy\Unobtanium.Web.Proxy.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion examples/Titanium.Web.Proxy.Examples.Wpf/App.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Application x:Class="Titanium.Web.Proxy.Examples.Wpf.App"
<Application x:Class="Unobtanium.Web.Proxy.Examples.Wpf.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
Expand Down
2 changes: 1 addition & 1 deletion examples/Titanium.Web.Proxy.Examples.Wpf/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Windows;

namespace Titanium.Web.Proxy.Examples.Wpf
namespace Unobtanium.Web.Proxy.Examples.Wpf
{
/// <summary>
/// Interaction logic for App.xaml
Expand Down
2 changes: 1 addition & 1 deletion examples/Titanium.Web.Proxy.Examples.Wpf/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Window x:Class="Titanium.Web.Proxy.Examples.Wpf.MainWindow"
<Window x:Class="Unobtanium.Web.Proxy.Examples.Wpf.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
Expand Down
8 changes: 4 additions & 4 deletions examples/Titanium.Web.Proxy.Examples.Wpf/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Media.Imaging;
using Titanium.Web.Proxy.EventArguments;
using Titanium.Web.Proxy.Http;
using Titanium.Web.Proxy.Models;
using Unobtanium.Web.Proxy.EventArguments;
using Unobtanium.Web.Proxy.Http;
using Unobtanium.Web.Proxy.Models;

namespace Titanium.Web.Proxy.Examples.Wpf
namespace Unobtanium.Web.Proxy.Examples.Wpf
{
/// <summary>
/// Interaction logic for MainWindow.xaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.ObjectModel;
using System.Collections.Specialized;

namespace Titanium.Web.Proxy.Examples.Wpf
namespace Unobtanium.Web.Proxy.Examples.Wpf
{
public class ObservableCollectionEx<T> : ObservableCollection<T>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// ReSharper disable MemberCanBeProtected.Global
// ReSharper disable InconsistentNaming

namespace Titanium.Web.Proxy.Examples.Wpf.Annotations
namespace Unobtanium.Web.Proxy.Examples.Wpf.Annotations
{
/// <summary>
/// Indicates that the value of the marked element could be <c>null</c> sometimes,
Expand Down

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

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

8 changes: 4 additions & 4 deletions examples/Titanium.Web.Proxy.Examples.Wpf/SessionListItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
using System.ComponentModel;
using System.Net;
using System.Runtime.CompilerServices;
using Titanium.Web.Proxy.EventArguments;
using Titanium.Web.Proxy.Examples.Wpf.Annotations;
using Titanium.Web.Proxy.Http;
using Unobtanium.Web.Proxy.EventArguments;
using Unobtanium.Web.Proxy.Examples.Wpf.Annotations;
using Unobtanium.Web.Proxy.Http;

namespace Titanium.Web.Proxy.Examples.Wpf
namespace Unobtanium.Web.Proxy.Examples.Wpf
{
public class SessionListItem : INotifyPropertyChanged
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Titanium.Web.Proxy\Titanium.Web.Proxy.csproj" />
<ProjectReference Include="..\..\src\Unobtanium.Web.Proxy\Unobtanium.Web.Proxy.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
Expand Down
21 changes: 0 additions & 21 deletions src/Titanium.Web.Proxy/Exceptions/BodyNotLoadedException.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Security.Cryptography.X509Certificates;

namespace Titanium.Web.Proxy.Certificates.Cache;
namespace Unobtanium.Web.Proxy.Certificates.Cache;

/// <summary>
/// An object that holds the cached certificate.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
using Titanium.Web.Proxy.Helpers;
using Unobtanium.Web.Proxy.Helpers;

namespace Titanium.Web.Proxy.Certificates.Cache;
namespace Unobtanium.Web.Proxy.Certificates.Cache;

/// <summary>
/// Provides a default disk-based cache implementation for storing certificates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace Titanium.Web.Proxy.Certificates.Cache;
namespace Unobtanium.Web.Proxy.Certificates.Cache;

/// <summary>
/// Interface for certificate cache management.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace Titanium.Web.Proxy.Certificates.Cache;
namespace Unobtanium.Web.Proxy.Certificates.Cache;

/// <summary>
/// Compatibility extension methods for the <see cref="ICertificateCache"/> interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Titanium.Web.Proxy.Certificates.Cache;
using Titanium.Web.Proxy.Collections;
using Titanium.Web.Proxy.Helpers;
using Titanium.Web.Proxy.Shared;
using Unobtanium.Web.Proxy.Certificates.Cache;
using Unobtanium.Web.Proxy.Collections;
using Unobtanium.Web.Proxy.Helpers;
using Unobtanium.Web.Proxy.Shared;

namespace Titanium.Web.Proxy.Certificates;
namespace Unobtanium.Web.Proxy.Certificates;

/// <summary>
/// Certificate Engine option.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
using System.IO;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using Titanium.Web.Proxy.Helpers;
using Titanium.Web.Proxy.Shared;
using Unobtanium.Web.Proxy.Helpers;
using Unobtanium.Web.Proxy.Shared;
using X509Certificate = Org.BouncyCastle.X509.X509Certificate;

namespace Titanium.Web.Proxy.Certificates;
namespace Unobtanium.Web.Proxy.Certificates;

/// <summary>
/// Implements certificate generation operations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
using System.IO;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using Titanium.Web.Proxy.Helpers;
using Titanium.Web.Proxy.Shared;
using Unobtanium.Web.Proxy.Helpers;
using Unobtanium.Web.Proxy.Shared;
using X509Certificate = Org.BouncyCastle.X509.X509Certificate;

namespace Titanium.Web.Proxy.Certificates;
namespace Unobtanium.Web.Proxy.Certificates;

/// <summary>
/// Implements certificate generation operations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;

namespace Titanium.Web.Proxy.Certificates;
namespace Unobtanium.Web.Proxy.Certificates;

/// <summary>
/// Implements certificate generation operations, in pure .NET.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Security.Cryptography.X509Certificates;

namespace Titanium.Web.Proxy.Certificates;
namespace Unobtanium.Web.Proxy.Certificates;

/// <summary>
/// Abstract interface for different Certificate generators
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace Titanium.Web.Proxy.Certificates;
namespace Unobtanium.Web.Proxy.Certificates;
// TODO FIX these warnings CS8600, CS8601, CS8618
//#pragma warning disable CS8600 // Converting null literal or possible null value to non-nullable type.
#pragma warning disable CS8601 // Possible null reference assignment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace Titanium.Web.Proxy.Collections;
namespace Unobtanium.Web.Proxy.Collections;

/// <summary>
/// A concurrent dictionary that allows async <see cref="GetOrAddAsync"/> operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.IO;
using System.IO.Compression;

namespace Titanium.Web.Proxy.Compression;
namespace Unobtanium.Web.Proxy.Compression;

/// <summary>
/// A factory to generate the compression methods based on the type of compression
Expand Down
Loading

0 comments on commit 5a6d45b

Please sign in to comment.