text
stringlengths
19
585k
label
stringclasses
2 values
category
stringclasses
2 values
language
stringclasses
14 values
repo
stringclasses
932 values
sha
stringlengths
40
40
@@ -0,0 +1,372 @@ +using System.Security.Cryptography; +using System.Text; +using System.Text.Json; +using DevToys.Tools.Helpers.Core; +using DevToys.Tools.Models; +using DevToys.Tools.Models.JwtDecoderEncoder; +using DevToys.Tools.Tools.EncodersDecoders.JsonWebToken; +using Microsoft.Extensions.Logging; +using Micros...
bad
review
csharp
DevToys-app/DevToys
15a7b7f4a9dc709a680c03a7be268b87e1079214
diff --git a/src/app/dev/DevToys.Tools/Helpers/JsonWebToken/JsonWebTokenEncoderHelper.cs b/src/app/dev/DevToys.Tools/Helpers/JsonWebToken/JsonWebTokenEncoderHelper.cs new file mode 100644 index 0000000000..f8059790d5 --- /dev/null +++ b/src/app/dev/DevToys.Tools/Helpers/JsonWebToken/JsonWebTokenEncoderHelper.cs @@ -0,0...
good
review_fixed
csharp
DevToys-app/DevToys
15a7b7f4a9dc709a680c03a7be268b87e1079214
@@ -0,0 +1,372 @@ +using System.Security.Cryptography; +using System.Text; +using System.Text.Json; +using DevToys.Tools.Helpers.Core; +using DevToys.Tools.Models; +using DevToys.Tools.Models.JwtDecoderEncoder; +using DevToys.Tools.Tools.EncodersDecoders.JsonWebToken; +using Microsoft.Extensions.Logging; +using Micros...
bad
review
csharp
DevToys-app/DevToys
15a7b7f4a9dc709a680c03a7be268b87e1079214
diff --git a/src/app/dev/DevToys.Tools/Helpers/JsonWebToken/JsonWebTokenEncoderHelper.cs b/src/app/dev/DevToys.Tools/Helpers/JsonWebToken/JsonWebTokenEncoderHelper.cs new file mode 100644 index 0000000000..f8059790d5 --- /dev/null +++ b/src/app/dev/DevToys.Tools/Helpers/JsonWebToken/JsonWebTokenEncoderHelper.cs @@ -0,0...
good
review_fixed
csharp
DevToys-app/DevToys
15a7b7f4a9dc709a680c03a7be268b87e1079214
@@ -0,0 +1,140 @@ +using System.Globalization; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace DevToys.Tools.Helpers.Core; + +internal sealed class JsonWebTokenPayloadConverter : JsonConverter<Dictionary<string, object>> +{ + public override Dictionary<string, object>? Read(ref Utf8Json...
bad
review
csharp
DevToys-app/DevToys
15a7b7f4a9dc709a680c03a7be268b87e1079214
diff --git a/src/app/dev/DevToys.Tools/Helpers/Core/JsonWebTokenPayloadConverter.cs b/src/app/dev/DevToys.Tools/Helpers/Core/JsonWebTokenPayloadConverter.cs new file mode 100644 index 0000000000..5f82d3b33f --- /dev/null +++ b/src/app/dev/DevToys.Tools/Helpers/Core/JsonWebTokenPayloadConverter.cs @@ -0,0 +1,134 @@ +us...
good
review_fixed
csharp
DevToys-app/DevToys
15a7b7f4a9dc709a680c03a7be268b87e1079214
@@ -0,0 +1,71 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foundation; +using Windows.Graphics.Imaging; +using Windows.Storage.Streams; + +namespace DevToys.Helpers +{ + public static class ImageHelper + { + public static bool IsPngFormat(string format) { return form...
bad
review
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/Helpers/ImageHelper.cs b/src/dev/impl/DevToys/Helpers/ImageHelper.cs new file mode 100644 index 0000000000..851c82d6b8 --- /dev/null +++ b/src/dev/impl/DevToys/Helpers/ImageHelper.cs @@ -0,0 +1,65 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foun...
good
review_fixed
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -49,6 +49,7 @@ Many tools are available. - Graphic - Color Blindness Simulator - PNG / JPEG Compressor + - Image Converter
bad
review
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/README.md b/README.md index 98b9740023..2445578102 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ Many tools are available. - Graphic - Color Blindness Simulator - PNG / JPEG Compressor + - Image Converter ... and more are coming! @@ -95,6 +96,7 @@ Here is the list of tool nam...
good
review_fixed
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -0,0 +1,71 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foundation; +using Windows.Graphics.Imaging; +using Windows.Storage.Streams; + +namespace DevToys.Helpers +{ + public static class ImageHelper + { + public static bool IsPngFormat(string format) { return form...
bad
review
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/Helpers/ImageHelper.cs b/src/dev/impl/DevToys/Helpers/ImageHelper.cs new file mode 100644 index 0000000000..851c82d6b8 --- /dev/null +++ b/src/dev/impl/DevToys/Helpers/ImageHelper.cs @@ -0,0 +1,65 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foun...
good
review_fixed
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -0,0 +1,71 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foundation; +using Windows.Graphics.Imaging; +using Windows.Storage.Streams; + +namespace DevToys.Helpers +{ + public static class ImageHelper + { + public static bool IsPngFormat(string format) { return form...
bad
review
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/Helpers/ImageHelper.cs b/src/dev/impl/DevToys/Helpers/ImageHelper.cs new file mode 100644 index 0000000000..851c82d6b8 --- /dev/null +++ b/src/dev/impl/DevToys/Helpers/ImageHelper.cs @@ -0,0 +1,65 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foun...
good
review_fixed
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -0,0 +1,71 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foundation; +using Windows.Graphics.Imaging; +using Windows.Storage.Streams; + +namespace DevToys.Helpers +{ + public static class ImageHelper + { + public static bool IsPngFormat(string format) { return form...
bad
review
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/Helpers/ImageHelper.cs b/src/dev/impl/DevToys/Helpers/ImageHelper.cs new file mode 100644 index 0000000000..851c82d6b8 --- /dev/null +++ b/src/dev/impl/DevToys/Helpers/ImageHelper.cs @@ -0,0 +1,65 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foun...
good
review_fixed
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -0,0 +1,71 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foundation; +using Windows.Graphics.Imaging; +using Windows.Storage.Streams; + +namespace DevToys.Helpers +{ + public static class ImageHelper + { + public static bool IsPngFormat(string format) { return form...
bad
review
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/Helpers/ImageHelper.cs b/src/dev/impl/DevToys/Helpers/ImageHelper.cs new file mode 100644 index 0000000000..851c82d6b8 --- /dev/null +++ b/src/dev/impl/DevToys/Helpers/ImageHelper.cs @@ -0,0 +1,65 @@ +#nullable enable + +using System; +using System.Threading.Tasks; +using Windows.Foun...
good
review_fixed
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -0,0 +1,202 @@ +<?xml version="1.0" encoding="utf-8"?>
bad
review
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/Strings/en-US/ImageConverter.resw b/src/dev/impl/DevToys/Strings/en-US/ImageConverter.resw new file mode 100644 index 0000000000..ca2eeb44f7 --- /dev/null +++ b/src/dev/impl/DevToys/Strings/en-US/ImageConverter.resw @@ -0,0 +1,205 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + ...
good
review_fixed
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -0,0 +1,168 @@ +#nullable enable + +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using DevToys.Core.Threading; +using DevToys.Helpers; +using DevToys.Shared.Core; +using DevToys.Shared.Core.Threading; +using Microsoft.Toolkit.Mvvm.ComponentMo...
bad
review
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConversionWorkItem.cs b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConversionWorkItem.cs new file mode 100644 index 0000000000..11788d9390 --- /dev/null +++ b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverte...
good
review_fixed
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -0,0 +1,118 @@ +#nullable enable + +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using DevToys.Core.Threading; +using DevToys.Helpers; +using DevToys.Shared.Core; +using DevToys.Shared.Core.Threading; +using Microsoft.Toolkit.Mvvm.ComponentModel; +using Microsoft.Toolkit.Mvvm.Inp...
bad
review
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConversionWorkItem.cs b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConversionWorkItem.cs new file mode 100644 index 0000000000..11788d9390 --- /dev/null +++ b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverte...
good
review_fixed
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -0,0 +1,303 @@ +#nullable enable + +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Composition; +using System.Linq; +using System.Threading.Tasks; +using DevToys.Api.Tools; +using DevToys.Core; +using DevToys.Core.Threading; +using DevToys.Helpers; +using DevTo...
bad
review
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConverterToolViewModel.cs b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConverterToolViewModel.cs new file mode 100644 index 0000000000..358050bef6 --- /dev/null +++ b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/Image...
good
review_fixed
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -0,0 +1,132 @@ +#nullable enable + +using System; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using DevToys.Core.Threading; +using DevToys.Helpers; +using DevToys.Shared.Core; +using DevToys.Shared.Core.Threading; +using Microsoft.Toolkit.Mvvm.ComponentModel; +using Microsof...
bad
review
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConversionWorkItem.cs b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConversionWorkItem.cs new file mode 100644 index 0000000000..11788d9390 --- /dev/null +++ b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverte...
good
review_fixed
csharp
DevToys-app/DevToys
4cbbdcfb95c8821be0a4caa82ef8cbc82a7822f4
@@ -147,8 +155,48 @@ private void UpdateSystemSettingsAndApplyTheme() private AvailableApplicationTheme GetCurrentSystemTheme() { - return _gtkSettings.GtkApplicationPreferDarkTheme || (_gtkSettings.GtkThemeName?.Contains("Dark", StringComparison.OrdinalIgnoreCase) ?? false) - ? AvailableA...
bad
review
csharp
DevToys-app/DevToys
06f11e716ac605f6368847c0196ea545976cced8
diff --git a/src/app/dev/platforms/desktop/DevToys.Linux/Core/ThemeListener.cs b/src/app/dev/platforms/desktop/DevToys.Linux/Core/ThemeListener.cs index b33f5704a0..5e978013e5 100644 --- a/src/app/dev/platforms/desktop/DevToys.Linux/Core/ThemeListener.cs +++ b/src/app/dev/platforms/desktop/DevToys.Linux/Core/ThemeListe...
good
review_fixed
csharp
DevToys-app/DevToys
06f11e716ac605f6368847c0196ea545976cced8
@@ -142,14 +136,19 @@ private bool GetBestValueForCompactMode() private void UpdateSystemSettingsAndApplyTheme() { - IsHighContrast = _adwStyleManager.HighContrast; + IsHighContrast + = _gtkSettings.GtkThemeName is not null + && _gtkSettings.GtkThemeName.Contains("high"...
bad
review
csharp
DevToys-app/DevToys
825b3e51a17d929cb863f464b70acf7e79c3f7a2
diff --git a/src/app/dev/platforms/desktop/DevToys.Linux/Core/ThemeListener.cs b/src/app/dev/platforms/desktop/DevToys.Linux/Core/ThemeListener.cs index 78479d3ec2..b33f5704a0 100644 --- a/src/app/dev/platforms/desktop/DevToys.Linux/Core/ThemeListener.cs +++ b/src/app/dev/platforms/desktop/DevToys.Linux/Core/ThemeListe...
good
review_fixed
csharp
DevToys-app/DevToys
825b3e51a17d929cb863f464b70acf7e79c3f7a2
@@ -856,39 +842,194 @@ private static void LaunchLinuxInstaller(string installerLocation) isClosable: true, actionButtonText: CoreTools.Translate("View log"), actionButtonAction: OpenUpdateLog); - MarkAttemptFinished($"AppImage replacement failed: {ex.Messag...
bad
review
csharp
Devolutions/UniGetUI
cb2e8539aa877f9e81708a818bc1fa908a237fab
diff --git a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs b/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs index 8c87e1a97..2b6bc0e4a 100644 --- a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs +++ b/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs @@ -421,10 +421,9 @...
good
review_fixed
csharp
Devolutions/UniGetUI
cb2e8539aa877f9e81708a818bc1fa908a237fab
@@ -856,39 +842,194 @@ private static void LaunchLinuxInstaller(string installerLocation) isClosable: true, actionButtonText: CoreTools.Translate("View log"), actionButtonAction: OpenUpdateLog); - MarkAttemptFinished($"AppImage replacement failed: {ex.Messag...
bad
review
csharp
Devolutions/UniGetUI
cb2e8539aa877f9e81708a818bc1fa908a237fab
diff --git a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs b/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs index 8c87e1a97..2b6bc0e4a 100644 --- a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs +++ b/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs @@ -421,10 +421,9 @...
good
review_fixed
csharp
Devolutions/UniGetUI
cb2e8539aa877f9e81708a818bc1fa908a237fab
@@ -1052,60 +1199,83 @@ private static bool CheckInstallerSignerThumbprint(string path, UpdaterOverrides } } - private static bool CheckMacInstallerSignature(string path) + [SupportedOSPlatform("macos")] + private static bool VerifyMacAppSignature(string appBundlePath) { if (DEVOL...
bad
review
csharp
Devolutions/UniGetUI
cb2e8539aa877f9e81708a818bc1fa908a237fab
diff --git a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs b/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs index 8c87e1a97..2b6bc0e4a 100644 --- a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs +++ b/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs @@ -421,10 +421,9 @...
good
review_fixed
csharp
Devolutions/UniGetUI
cb2e8539aa877f9e81708a818bc1fa908a237fab
@@ -841,7 +851,52 @@ private void TitleBar_PointerPressed(object? sender, PointerPressedEventArgs e) return; } - BeginMoveDrag(e); + if (!manualDrag) + { + BeginMoveDrag(e); + return; + } + + // Touch/pen on Windows: move the window manual...
bad
review
csharp
Devolutions/UniGetUI
2f5480a4ef0599c5253bd4b87e8e745ce0e402e8
diff --git a/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs b/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs index 7703d417d..8d3216da5 100644 --- a/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs +++ b/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs @@ -828,9 +828,20 @@ public struct MONITORINFO private void Cl...
good
review_fixed
csharp
Devolutions/UniGetUI
2f5480a4ef0599c5253bd4b87e8e745ce0e402e8
@@ -841,7 +851,52 @@ private void TitleBar_PointerPressed(object? sender, PointerPressedEventArgs e) return; } - BeginMoveDrag(e); + if (!manualDrag) + { + BeginMoveDrag(e); + return; + } + + // Touch/pen on Windows: move the window manual...
bad
review
csharp
Devolutions/UniGetUI
2f5480a4ef0599c5253bd4b87e8e745ce0e402e8
diff --git a/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs b/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs index 7703d417d..8d3216da5 100644 --- a/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs +++ b/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs @@ -828,9 +828,20 @@ public struct MONITORINFO private void Cl...
good
review_fixed
csharp
Devolutions/UniGetUI
2f5480a4ef0599c5253bd4b87e8e745ce0e402e8
@@ -0,0 +1,53 @@ +namespace UniGetUI.Core.Data +{ + // Blocks UI startup while the Windows installer is replacing files in {app} (see UniGetUI.iss), + // so an instance launched mid-update doesn't load a half-written binary set and crash. + public static class UpdateInProgressGuard + { + // MUST matc...
bad
review
csharp
Devolutions/UniGetUI
50e7e2ccea304ab48c601b0101ad15c5ef26d3ad
diff --git a/src/UniGetUI.Core.Data/UpdateInProgressGuard.cs b/src/UniGetUI.Core.Data/UpdateInProgressGuard.cs new file mode 100644 index 0000000000..af85fa4bea --- /dev/null +++ b/src/UniGetUI.Core.Data/UpdateInProgressGuard.cs @@ -0,0 +1,76 @@ +using System.Diagnostics; + +namespace UniGetUI.Core.Data +{ + // Bloc...
good
review_fixed
csharp
Devolutions/UniGetUI
50e7e2ccea304ab48c601b0101ad15c5ef26d3ad
@@ -0,0 +1,72 @@ +namespace UniGetUI.Core.Data.Tests +{ + public class UpdateInProgressGuardTests : IDisposable + { + // {root}/app stands in for {app}; {root} is its always-empty parent. + private readonly string _root; + private readonly string _appDir; + + public UpdateInProgressGua...
bad
review
csharp
Devolutions/UniGetUI
50e7e2ccea304ab48c601b0101ad15c5ef26d3ad
diff --git a/src/UniGetUI.Core.Data.Tests/UpdateInProgressGuardTests.cs b/src/UniGetUI.Core.Data.Tests/UpdateInProgressGuardTests.cs new file mode 100644 index 0000000000..966e9a6f73 --- /dev/null +++ b/src/UniGetUI.Core.Data.Tests/UpdateInProgressGuardTests.cs @@ -0,0 +1,89 @@ +namespace UniGetUI.Core.Data.Tests +{ + ...
good
review_fixed
csharp
Devolutions/UniGetUI
50e7e2ccea304ab48c601b0101ad15c5ef26d3ad
@@ -80,6 +80,7 @@ "Do you really want to uninstall the following {0} packages?": "Do you really want to uninstall the following {0} packages?", "No": "No", "Yes": "Yes", + "Partial": "Partial", "View on UniGetUI": "View on UniGetUI", "Update": "Update",
bad
review
Devolutions/UniGetUI
23191dafd4cf012339f95de031e010ffb85d2722
diff --git a/src/Languages/lang_en.json b/src/Languages/lang_en.json index 3cfc3babf2..35823ddbfa 100644 --- a/src/Languages/lang_en.json +++ b/src/Languages/lang_en.json @@ -80,6 +80,7 @@ "Do you really want to uninstall the following {0} packages?": "Do you really want to uninstall the following {0} packages?", ...
good
review_fixed
Devolutions/UniGetUI
23191dafd4cf012339f95de031e010ffb85d2722
@@ -524,6 +525,7 @@ "e.g. 10": "e.g. 10", "Custom minimum age (days)": "Custom minimum age (days)", "{pm} does not provide release dates for its packages, so this setting will have no effect": "{pm} does not provide release dates for its packages, so this setting will have no effect", + "{pm} only provides re...
bad
review
Devolutions/UniGetUI
23191dafd4cf012339f95de031e010ffb85d2722
diff --git a/src/Languages/lang_en.json b/src/Languages/lang_en.json index 3cfc3babf2..35823ddbfa 100644 --- a/src/Languages/lang_en.json +++ b/src/Languages/lang_en.json @@ -80,6 +80,7 @@ "Do you really want to uninstall the following {0} packages?": "Do you really want to uninstall the following {0} packages?", ...
good
review_fixed
Devolutions/UniGetUI
23191dafd4cf012339f95de031e010ffb85d2722
@@ -0,0 +1,269 @@ +use dioxus_core::Event; +use std::fmt::Debug; + +pub type BeforeInputEvent = Event<BeforeInputData>; + +/// Data fired alongside the `beforeinput` event. +/// +/// The `beforeinput` event fires before an editable element (an `<input>`, `<textarea>`, +/// or any element with `contenteditable="true"`) ...
bad
review
rust
DioxusLabs/dioxus
c89ce98790e9d6a143ac625ee1c8c0f2d770a706
diff --git a/packages/html/src/events/before_input.rs b/packages/html/src/events/before_input.rs new file mode 100644 index 0000000000..b072de7334 --- /dev/null +++ b/packages/html/src/events/before_input.rs @@ -0,0 +1,426 @@ +use dioxus_core::Event; +use std::fmt::{self, Debug, Display}; + +pub type BeforeInputEvent =...
good
review_fixed
rust
DioxusLabs/dioxus
c89ce98790e9d6a143ac625ee1c8c0f2d770a706
@@ -0,0 +1,74 @@ +use dioxus_html::HasBeforeInputData; +use wasm_bindgen::JsCast; +use web_sys::{Element, InputEvent}; + +use super::WebEventExt; + +pub(crate) struct WebBeforeInputData { + element: Element, + event: InputEvent, +} + +impl WebBeforeInputData { + pub fn new(element: Element, event: InputEvent) ...
bad
review
rust
DioxusLabs/dioxus
c89ce98790e9d6a143ac625ee1c8c0f2d770a706
diff --git a/packages/web/src/events/before_input.rs b/packages/web/src/events/before_input.rs new file mode 100644 index 0000000000..953a2dd8d2 --- /dev/null +++ b/packages/web/src/events/before_input.rs @@ -0,0 +1,46 @@ +use dioxus_html::{HasBeforeInputData, InputType}; +use web_sys::{Element, InputEvent}; + +use sup...
good
review_fixed
rust
DioxusLabs/dioxus
c89ce98790e9d6a143ac625ee1c8c0f2d770a706
@@ -280,7 +280,7 @@ where type Target = dyn Fn() -> T; fn deref(&self) -> &Self::Target { - unsafe { ReadableExt::deref_impl(self) } + ReadableExt::deref_impl(self)
bad
review
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
diff --git a/packages/fullstack-core/src/loader.rs b/packages/fullstack-core/src/loader.rs index 8a4a6b23a7..aec4565cf0 100644 --- a/packages/fullstack-core/src/loader.rs +++ b/packages/fullstack-core/src/loader.rs @@ -280,7 +280,7 @@ where type Target = dyn Fn() -> T; fn deref(&self) -> &Self::Target { - ...
good
review_fixed
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
@@ -239,44 +239,75 @@ pub trait ReadableExt: Readable { <Self::Storage as AnyStorage>::map(self.read(), |v| v.index(index)) } - /// SAFETY: You must call this function directly with `self` as the argument. - /// This function relies on the size of the object you return from the deref - /// bein...
bad
review
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
diff --git a/packages/signals/src/read.rs b/packages/signals/src/read.rs index 42442f6757..f992daff0b 100644 --- a/packages/signals/src/read.rs +++ b/packages/signals/src/read.rs @@ -1,8 +1,5 @@ use std::collections::{HashMap, HashSet}; -use std::{ - mem::MaybeUninit, - ops::{Deref, Index}, -}; +use std::ops::{D...
good
review_fixed
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
@@ -239,44 +239,75 @@ pub trait ReadableExt: Readable { <Self::Storage as AnyStorage>::map(self.read(), |v| v.index(index)) } - /// SAFETY: You must call this function directly with `self` as the argument. - /// This function relies on the size of the object you return from the deref - /// bein...
bad
review
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
diff --git a/packages/signals/src/read.rs b/packages/signals/src/read.rs index 42442f6757..f992daff0b 100644 --- a/packages/signals/src/read.rs +++ b/packages/signals/src/read.rs @@ -1,8 +1,5 @@ use std::collections::{HashMap, HashSet}; -use std::{ - mem::MaybeUninit, - ops::{Deref, Index}, -}; +use std::ops::{D...
good
review_fixed
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
@@ -239,44 +239,75 @@ pub trait ReadableExt: Readable { <Self::Storage as AnyStorage>::map(self.read(), |v| v.index(index)) } - /// SAFETY: You must call this function directly with `self` as the argument. - /// This function relies on the size of the object you return from the deref - /// bein...
bad
review
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
diff --git a/packages/signals/src/read.rs b/packages/signals/src/read.rs index 42442f6757..f992daff0b 100644 --- a/packages/signals/src/read.rs +++ b/packages/signals/src/read.rs @@ -1,8 +1,5 @@ use std::collections::{HashMap, HashSet}; -use std::{ - mem::MaybeUninit, - ops::{Deref, Index}, -}; +use std::ops::{D...
good
review_fixed
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
@@ -239,44 +239,75 @@ pub trait ReadableExt: Readable { <Self::Storage as AnyStorage>::map(self.read(), |v| v.index(index)) } - /// SAFETY: You must call this function directly with `self` as the argument. - /// This function relies on the size of the object you return from the deref - /// bein...
bad
review
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
diff --git a/packages/signals/src/read.rs b/packages/signals/src/read.rs index 42442f6757..f992daff0b 100644 --- a/packages/signals/src/read.rs +++ b/packages/signals/src/read.rs @@ -1,8 +1,5 @@ use std::collections::{HashMap, HashSet}; -use std::{ - mem::MaybeUninit, - ops::{Deref, Index}, -}; +use std::ops::{D...
good
review_fixed
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
@@ -239,44 +239,75 @@ pub trait ReadableExt: Readable { <Self::Storage as AnyStorage>::map(self.read(), |v| v.index(index)) } - /// SAFETY: You must call this function directly with `self` as the argument. - /// This function relies on the size of the object you return from the deref - /// bein...
bad
review
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
diff --git a/packages/signals/src/read.rs b/packages/signals/src/read.rs index 42442f6757..f992daff0b 100644 --- a/packages/signals/src/read.rs +++ b/packages/signals/src/read.rs @@ -1,8 +1,5 @@ use std::collections::{HashMap, HashSet}; -use std::{ - mem::MaybeUninit, - ops::{Deref, Index}, -}; +use std::ops::{D...
good
review_fixed
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
@@ -239,44 +239,75 @@ pub trait ReadableExt: Readable { <Self::Storage as AnyStorage>::map(self.read(), |v| v.index(index)) } - /// SAFETY: You must call this function directly with `self` as the argument. - /// This function relies on the size of the object you return from the deref - /// bein...
bad
review
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
diff --git a/packages/signals/src/read.rs b/packages/signals/src/read.rs index 42442f6757..f992daff0b 100644 --- a/packages/signals/src/read.rs +++ b/packages/signals/src/read.rs @@ -1,8 +1,5 @@ use std::collections::{HashMap, HashSet}; -use std::{ - mem::MaybeUninit, - ops::{Deref, Index}, -}; +use std::ops::{D...
good
review_fixed
rust
DioxusLabs/dioxus
3114e08279677acc6998ff0c23960e9c8ce4b731
@@ -4575,4 +4580,110 @@ __wbg_init({{module_or_path: "/{}/{wasm_path}"}}).then((wasm) => {{ Ok(()) } + + fn winres_icon_path(&self) -> crate::winres::WindowsResourceLinker { + todo!()
bad
review
rust
DioxusLabs/dioxus
dfaa9ffb95282e6f032e1bc3986ed728f87ac1b6
diff --git a/packages/cli/src/build/request.rs b/packages/cli/src/build/request.rs index 9e3090618b..652ffaa14d 100644 --- a/packages/cli/src/build/request.rs +++ b/packages/cli/src/build/request.rs @@ -943,6 +943,15 @@ impl BuildRequest { AndroidTools::unpack_prebuilt_openssl()?; } + // ...
good
review_fixed
rust
DioxusLabs/dioxus
dfaa9ffb95282e6f032e1bc3986ed728f87ac1b6
@@ -4575,4 +4580,110 @@ __wbg_init({{module_or_path: "/{}/{wasm_path}"}}).then((wasm) => {{ Ok(()) } + + fn winres_icon_path(&self) -> crate::winres::WindowsResourceLinker { + todo!() + } + + fn write_winres_icon(&self) -> Result<crate::winres::WindowsResourceLinker> {
bad
review
rust
DioxusLabs/dioxus
dfaa9ffb95282e6f032e1bc3986ed728f87ac1b6
diff --git a/packages/cli/src/build/request.rs b/packages/cli/src/build/request.rs index 9e3090618b..652ffaa14d 100644 --- a/packages/cli/src/build/request.rs +++ b/packages/cli/src/build/request.rs @@ -943,6 +943,15 @@ impl BuildRequest { AndroidTools::unpack_prebuilt_openssl()?; } + // ...
good
review_fixed
rust
DioxusLabs/dioxus
dfaa9ffb95282e6f032e1bc3986ed728f87ac1b6
@@ -2708,9 +2708,7 @@ impl BuildRequest { } Err(err) => { if self.using_dioxus_explicitly { - panic!("Windows resources couldn't be built. Err: {}", err) - } else { - tracing::warn!("Application may n...
bad
review
rust
DioxusLabs/dioxus
dfaa9ffb95282e6f032e1bc3986ed728f87ac1b6
diff --git a/packages/cli/src/build/request.rs b/packages/cli/src/build/request.rs index 9e3090618b..652ffaa14d 100644 --- a/packages/cli/src/build/request.rs +++ b/packages/cli/src/build/request.rs @@ -943,6 +943,15 @@ impl BuildRequest { AndroidTools::unpack_prebuilt_openssl()?; } + // ...
good
review_fixed
rust
DioxusLabs/dioxus
dfaa9ffb95282e6f032e1bc3986ed728f87ac1b6
@@ -0,0 +1,173 @@ +use anyhow::Result; +use image::load_from_memory; +use image::GenericImageView; +use image::ImageReader; +use std::path::Path; + +/// Trait that creates icons for various types +pub trait DioxusIconTrait { + fn get_icon() -> Result<Self> + where + Self: Sized; + fn from_memory(value: ...
bad
review
rust
DioxusLabs/dioxus
dfaa9ffb95282e6f032e1bc3986ed728f87ac1b6
diff --git a/packages/desktop/src/default_icon.rs b/packages/desktop/src/default_icon.rs new file mode 100644 index 0000000000..77941cff91 --- /dev/null +++ b/packages/desktop/src/default_icon.rs @@ -0,0 +1,187 @@ +use anyhow::Result; +use image::load_from_memory; +use image::GenericImageView; +use image::ImageReader; ...
good
review_fixed
rust
DioxusLabs/dioxus
dfaa9ffb95282e6f032e1bc3986ed728f87ac1b6
@@ -5,9 +5,10 @@ open Dapper type LogFn = string * Map<string, obj> -> unit -let query1<'a> (this:IDbConnection) trans timeout (logFunction:LogFn option) (query, pars) = +let query1<'a> (this:IDbConnection) trans timeout cancellationToken (logFunction:LogFn option) (query, pars) = if logFunction.IsSome then (...
bad
review
fsharp
Dzoukr/Dapper.FSharp
ac4390c848e1e5dd38dc5346ef8735531f82bf42
diff --git a/src/Dapper.FSharp/IDbConnection.fs b/src/Dapper.FSharp/IDbConnection.fs index d7c7453..da117b3 100644 --- a/src/Dapper.FSharp/IDbConnection.fs +++ b/src/Dapper.FSharp/IDbConnection.fs @@ -5,26 +5,28 @@ open Dapper type LogFn = string * Map<string, obj> -> unit -let query1<'a> (this:IDbConnection) tran...
good
review_fixed
fsharp
Dzoukr/Dapper.FSharp
ac4390c848e1e5dd38dc5346ef8735531f82bf42
@@ -0,0 +1,29 @@ +import eslint from '@eslint/js'; +import tseslint from 'typescript-eslint'; + +export default tseslint.config( + eslint.configs.recommended, + ...tseslint.configs.strict, + { + files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'], + languageOptions: { + parserOptions: { + projec...
bad
review
javascript
Egonex-AI/Understand-Anything
a1261b48830110319dba17dc4d7a0a0228faecf5
diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 00000000..34554d0b --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,56 @@ +import eslint from '@eslint/js'; +import tseslint from 'typescript-eslint'; +import globals from 'globals'; + +export default tseslint.config( + { + ignores: [ + ...
good
review_fixed
javascript
Egonex-AI/Understand-Anything
a1261b48830110319dba17dc4d7a0a0228faecf5
@@ -399,7 +408,8 @@ function Dashboard({ accessToken }: { accessToken: string }) { } return ( - <ThemeProvider metaTheme={metaTheme}> + <I18nProvider language={outputLanguage ?? "en"}> + <ThemeProvider metaTheme={metaTheme}>
bad
review
typescript
Egonex-AI/Understand-Anything
2083342199364af7ecf38de44aa8592fea48eaeb
diff --git a/understand-anything-plugin/packages/dashboard/src/App.tsx b/understand-anything-plugin/packages/dashboard/src/App.tsx index 4aed9bff..6835e0a7 100644 --- a/understand-anything-plugin/packages/dashboard/src/App.tsx +++ b/understand-anything-plugin/packages/dashboard/src/App.tsx @@ -23,6 +23,7 @@ import type...
good
review_fixed
typescript
Egonex-AI/Understand-Anything
2083342199364af7ecf38de44aa8592fea48eaeb
@@ -110,11 +111,27 @@ Determine whether to run a full analysis or incremental update. mkdir -p $PROJECT_ROOT/.understand-anything/tmp ``` 3.5. **Auto-update configuration:** - - If `--auto-update` is in `$ARGUMENTS`: write `{"autoUpdate": true}` to `$PROJECT_ROOT/.understand-anything/config.json` - - If `-...
bad
review
Egonex-AI/Understand-Anything
2083342199364af7ecf38de44aa8592fea48eaeb
diff --git a/understand-anything-plugin/skills/understand/SKILL.md b/understand-anything-plugin/skills/understand/SKILL.md index aa47a6c5..5faf83e9 100644 --- a/understand-anything-plugin/skills/understand/SKILL.md +++ b/understand-anything-plugin/skills/understand/SKILL.md @@ -1,7 +1,7 @@ --- name: understand descr...
good
review_fixed
Egonex-AI/Understand-Anything
2083342199364af7ecf38de44aa8592fea48eaeb
@@ -187,7 +293,7 @@ function Dashboard({ accessToken }: { accessToken: string }) { }, { key: "/", - description: "Focus search bar", + description: t.keyboardShortcuts.focusSearch, action: () => { const searchInput = document.querySelector<HTMLInputElement>( ...
bad
review
typescript
Egonex-AI/Understand-Anything
2083342199364af7ecf38de44aa8592fea48eaeb
diff --git a/understand-anything-plugin/packages/dashboard/src/App.tsx b/understand-anything-plugin/packages/dashboard/src/App.tsx index 4aed9bff..6835e0a7 100644 --- a/understand-anything-plugin/packages/dashboard/src/App.tsx +++ b/understand-anything-plugin/packages/dashboard/src/App.tsx @@ -23,6 +23,7 @@ import type...
good
review_fixed
typescript
Egonex-AI/Understand-Anything
2083342199364af7ecf38de44aa8592fea48eaeb
@@ -29,10 +29,31 @@ Determine whether to run a full analysis or incremental update. - Verify the resolved path exists and is a directory (run `test -d <path>`). If it does not exist or is not a directory, report an error to the user and **STOP**. - Set `PROJECT_ROOT` to the resolved absolute path. - If ...
bad
review
Egonex-AI/Understand-Anything
d9250d76a98ed524b2f46ba83d0a6587800614e0
diff --git a/understand-anything-plugin/skills/understand/SKILL.md b/understand-anything-plugin/skills/understand/SKILL.md index a6370096..5f6ab214 100644 --- a/understand-anything-plugin/skills/understand/SKILL.md +++ b/understand-anything-plugin/skills/understand/SKILL.md @@ -29,10 +29,49 @@ Determine whether to run ...
good
review_fixed
Egonex-AI/Understand-Anything
d9250d76a98ed524b2f46ba83d0a6587800614e0
@@ -29,10 +29,35 @@ Determine whether to run a full analysis or incremental update. - Verify the resolved path exists and is a directory (run `test -d <path>`). If it does not exist or is not a directory, report an error to the user and **STOP**. - Set `PROJECT_ROOT` to the resolved absolute path. - If ...
bad
review
Egonex-AI/Understand-Anything
d9250d76a98ed524b2f46ba83d0a6587800614e0
diff --git a/understand-anything-plugin/skills/understand/SKILL.md b/understand-anything-plugin/skills/understand/SKILL.md index a6370096..5f6ab214 100644 --- a/understand-anything-plugin/skills/understand/SKILL.md +++ b/understand-anything-plugin/skills/understand/SKILL.md @@ -29,10 +29,49 @@ Determine whether to run ...
good
review_fixed
Egonex-AI/Understand-Anything
d9250d76a98ed524b2f46ba83d0a6587800614e0
@@ -245,6 +252,28 @@ function navigateTourToLayer( return {}; } +/** + * Container ids derive from per-layer state — folder names in folder-strategy + * layers, community indices (`container:cluster-N`) in community-strategy + * layers — and collide across layers (e.g. API Contracts and Load Testing + * both prod...
bad
review
typescript
Egonex-AI/Understand-Anything
61356da3dc28523075a2f0ee89ece7f4fc8cdd03
diff --git a/understand-anything-plugin/packages/dashboard/src/store.ts b/understand-anything-plugin/packages/dashboard/src/store.ts index b635d667..ea398a15 100644 --- a/understand-anything-plugin/packages/dashboard/src/store.ts +++ b/understand-anything-plugin/packages/dashboard/src/store.ts @@ -196,7 +196,14 @@ inte...
good
review_fixed
typescript
Egonex-AI/Understand-Anything
61356da3dc28523075a2f0ee89ece7f4fc8cdd03
@@ -78,32 +78,83 @@ const NODE_TYPE_TO_CATEGORY: Record<NodeType, NodeCategory> = { // ── Helper components that must live inside <ReactFlow> ──────────────── -/** Pans/zooms to tour-highlighted nodes. */ +/** + * Pans/zooms to tour-highlighted nodes. Highlighted nodes are usually + * children of collapsed contain...
bad
review
typescript
Egonex-AI/Understand-Anything
61356da3dc28523075a2f0ee89ece7f4fc8cdd03
diff --git a/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx b/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx index 0caaf982..891d9971 100644 --- a/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx +++ b/understand-anything-plugin/packages/...
good
review_fixed
typescript
Egonex-AI/Understand-Anything
61356da3dc28523075a2f0ee89ece7f4fc8cdd03
@@ -1,7 +1,7 @@ --- name: understand description: Analyze a codebase to produce an interactive knowledge graph for understanding architecture, components, and relationships -argument-hint: [path] [--full|--auto-update|--no-auto-update|--review] +argument-hint: "[path] [--full|--auto-update|--no-auto-update|--review]...
bad
review
Egonex-AI/Understand-Anything
aef6f88e907bf018a6b8392f3658c6b10bcea82a
diff --git a/understand-anything-plugin/skills/understand/SKILL.md b/understand-anything-plugin/skills/understand/SKILL.md index 95c49786..a6370096 100644 --- a/understand-anything-plugin/skills/understand/SKILL.md +++ b/understand-anything-plugin/skills/understand/SKILL.md @@ -1,7 +1,7 @@ --- name: understand descr...
good
review_fixed
Egonex-AI/Understand-Anything
aef6f88e907bf018a6b8392f3658c6b10bcea82a
@@ -157,18 +160,36 @@ protected override Task StopCore() private async Task StartInternal(string startCmd, string args, string directoriy) { - try + var tcs = new TaskCompletionSource(); + + void Read_SocketIO_Parameters(object sender, string line) { - ...
bad
review
csharp
ElectronNET/Electron.NET
9c89d8481c63fd2fff38a0e7058a89070ebed1e7
diff --git a/src/ElectronNET.API/Runtime/Services/ElectronProcess/ElectronProcessActive.cs b/src/ElectronNET.API/Runtime/Services/ElectronProcess/ElectronProcessActive.cs index b2d32a9e..c74dad80 100644 --- a/src/ElectronNET.API/Runtime/Services/ElectronProcess/ElectronProcessActive.cs +++ b/src/ElectronNET.API/Runtime...
good
review_fixed
csharp
ElectronNET/Electron.NET
9c89d8481c63fd2fff38a0e7058a89070ebed1e7
@@ -286,9 +290,16 @@ function startSocketApiBridge(port) { // @ts-ignore io.on('connection', (socket) => { - console.log('Electron Socket: connected!'); + console.info('Electron Socket: connected!'); + + if (authToken && socket.request.headers.authorization !== authToken) { + ...
bad
review
javascript
ElectronNET/Electron.NET
9c89d8481c63fd2fff38a0e7058a89070ebed1e7
diff --git a/src/ElectronNET.Host/main.js b/src/ElectronNET.Host/main.js index 9ea21ded..ebf5fbef 100644 --- a/src/ElectronNET.Host/main.js +++ b/src/ElectronNET.Host/main.js @@ -1,10 +1,14 @@ const { app } = require('electron'); const { BrowserWindow } = require('electron'); -const { protocol } = require('electron'...
good
review_fixed
javascript
ElectronNET/Electron.NET
9c89d8481c63fd2fff38a0e7058a89070ebed1e7