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,223 @@ +# Copyright 2017-2025 John Snow Labs +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by ...
bad
review
python
JohnSnowLabs/spark-nlp
e5f1537359cb66b20728461b4248db837ba90339
diff --git a/python/sparknlp/annotator/embeddings/modernbert_embeddings.py b/python/sparknlp/annotator/embeddings/modernbert_embeddings.py new file mode 100644 index 00000000000000..c24f82f0e5df4c --- /dev/null +++ b/python/sparknlp/annotator/embeddings/modernbert_embeddings.py @@ -0,0 +1,223 @@ +# Copyright 2017-2025...
good
review_fixed
python
JohnSnowLabs/spark-nlp
e5f1537359cb66b20728461b4248db837ba90339
@@ -921,6 +925,15 @@ List<Guid> consolidateIds(SelectableDbItemList selectionList, List<Guid> origina game.OverrideInstallState = EditingGame.OverrideInstallState; } + if (appSettings.GameSortingNameAutofill && string.IsNullOrEmpty(game.SortingName))
bad
review
csharp
JosefNemec/Playnite
063201353a4c4a35fd76c302bfcf79451dbff008
diff --git a/source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs b/source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs index 51600cd94..e5551d26f 100644 --- a/source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs +++ b/source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs @@ -656,6 +656,10 @@ Li...
good
review_fixed
csharp
JosefNemec/Playnite
063201353a4c4a35fd76c302bfcf79451dbff008
@@ -921,6 +925,15 @@ List<Guid> consolidateIds(SelectableDbItemList selectionList, List<Guid> origina game.OverrideInstallState = EditingGame.OverrideInstallState; } + if (appSettings.GameSortingNameAutofill && string.IsNullOrEmpty(game.SortingName)) + ...
bad
review
csharp
JosefNemec/Playnite
063201353a4c4a35fd76c302bfcf79451dbff008
diff --git a/source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs b/source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs index 51600cd94..e5551d26f 100644 --- a/source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs +++ b/source/Playnite.DesktopApp/ViewModels/GameEditViewModel.cs @@ -656,6 +656,10 @@ Li...
good
review_fixed
csharp
JosefNemec/Playnite
063201353a4c4a35fd76c302bfcf79451dbff008
@@ -56,13 +56,42 @@ public partial class Programs @"unins\d+" }; + private static readonly string[] configAndRedistsExecutablesMasks = new string[]
bad
review
csharp
JosefNemec/Playnite
f7753378c3dbe3cfdf37a432c241b9f7ec4145a0
diff --git a/source/Playnite/Common/Programs.cs b/source/Playnite/Common/Programs.cs index c95132060..684b7612b 100644 --- a/source/Playnite/Common/Programs.cs +++ b/source/Playnite/Common/Programs.cs @@ -49,18 +49,29 @@ public override string ToString() public partial class Programs { - private s...
good
review_fixed
csharp
JosefNemec/Playnite
f7753378c3dbe3cfdf37a432c241b9f7ec4145a0
@@ -61,6 +63,15 @@ public object Convert(object value, Type targetType, object parameter, System.Gl } var hours = minutes / 60; + if (parameter is bool formatToDays && formatToDays && hours >= 24)
bad
review
csharp
JosefNemec/Playnite
77e2a186d72af1c6c22bdfceb56337bb215e23bf
diff --git a/source/Playnite/Converters/PlayTimeToStringConverter.cs b/source/Playnite/Converters/PlayTimeToStringConverter.cs index fcbe84732..53740708a 100644 --- a/source/Playnite/Converters/PlayTimeToStringConverter.cs +++ b/source/Playnite/Converters/PlayTimeToStringConverter.cs @@ -19,6 +19,7 @@ public class Play...
good
review_fixed
csharp
JosefNemec/Playnite
77e2a186d72af1c6c22bdfceb56337bb215e23bf
@@ -0,0 +1,50 @@ +using NUnit.Framework; +using Playnite.Converters; +using Playnite.SDK; +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Text.RegularExpressions; +using System.Threading.Tasks; + +namespace Playnite.Tests.Converters +...
bad
review
csharp
JosefNemec/Playnite
77e2a186d72af1c6c22bdfceb56337bb215e23bf
diff --git a/source/Tests/Playnite.Tests/Converters/PlayTimeToStringConverterTests.cs b/source/Tests/Playnite.Tests/Converters/PlayTimeToStringConverterTests.cs new file mode 100644 index 000000000..609657edb --- /dev/null +++ b/source/Tests/Playnite.Tests/Converters/PlayTimeToStringConverterTests.cs @@ -0,0 +1,47 @@ +...
good
review_fixed
csharp
JosefNemec/Playnite
77e2a186d72af1c6c22bdfceb56337bb215e23bf
@@ -169,6 +169,7 @@ public class GameStats public BaseStatInfo Favorite { get; set; } public ulong TotalPlayTime { get; set; } public ulong AvaragePlayTime { get; set; } + public ulong? TotalInstallSize { get; set; }
bad
review
csharp
JosefNemec/Playnite
ea0df032562d4678b175973b4e8bfaee7a6cd58a
diff --git a/source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs b/source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs index 3370330a2..35d809ee0 100644 --- a/source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs +++ b/source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs @@ -169,6 +169,...
good
review_fixed
csharp
JosefNemec/Playnite
ea0df032562d4678b175973b4e8bfaee7a6cd58a
@@ -321,6 +322,7 @@ private GameStats FillData(bool filtered) ulong hidden = 0; ulong favorite = 0; ulong totalPlaytime = 0; + ulong? totalInstallSize = 0;
bad
review
csharp
JosefNemec/Playnite
ea0df032562d4678b175973b4e8bfaee7a6cd58a
diff --git a/source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs b/source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs index 3370330a2..35d809ee0 100644 --- a/source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs +++ b/source/Playnite.DesktopApp/ViewModels/StatisticsViewModel.cs @@ -169,6 +169,...
good
review_fixed
csharp
JosefNemec/Playnite
ea0df032562d4678b175973b4e8bfaee7a6cd58a
@@ -125,12 +125,25 @@ public BaseCollectionView GamesView public List<FilterPreset> SortedFilterPresets { - get => Database.FilterPresets.OrderBy(a => a.Name).ToList(); + + get + { + var sortingOrder = Database.GetFilterPresetsSettin...
bad
review
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
diff --git a/source/Playnite/ViewModels/MainViewModelBase.cs b/source/Playnite/ViewModels/MainViewModelBase.cs index a454a37fb..29806ad81 100644 --- a/source/Playnite/ViewModels/MainViewModelBase.cs +++ b/source/Playnite/ViewModels/MainViewModelBase.cs @@ -125,12 +125,21 @@ public BaseCollectionView GamesView ...
good
review_fixed
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
@@ -1310,6 +1313,37 @@ bool updateCompletionStatus(Game game, CompletionStatusSettings settings) } } + public List<FilterPreset> GetSortedFilterPresets(bool getClone)
bad
review
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
diff --git a/source/Playnite/Database/GameDatabase.cs b/source/Playnite/Database/GameDatabase.cs index bcd19c488..8ce5f1b8d 100644 --- a/source/Playnite/Database/GameDatabase.cs +++ b/source/Playnite/Database/GameDatabase.cs @@ -68,7 +68,10 @@ public interface IGameDatabaseMain : IGameDatabase IDisposable Buff...
good
review_fixed
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
@@ -1310,6 +1313,37 @@ bool updateCompletionStatus(Game game, CompletionStatusSettings settings) } } + public List<FilterPreset> GetSortedFilterPresets(bool getClone) + { + var filterPresetsSettings = (FilterPresets as FilterPresetsCollection).GetSettings(); + ...
bad
review
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
diff --git a/source/Playnite/Database/GameDatabase.cs b/source/Playnite/Database/GameDatabase.cs index bcd19c488..8ce5f1b8d 100644 --- a/source/Playnite/Database/GameDatabase.cs +++ b/source/Playnite/Database/GameDatabase.cs @@ -68,7 +68,10 @@ public interface IGameDatabaseMain : IGameDatabase IDisposable Buff...
good
review_fixed
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
@@ -0,0 +1,60 @@ +using NUnit.Framework; +using Playnite.Common; +using Playnite.Database; +using Playnite.SDK.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Playnite.Tests.Database +{ + [TestFixture] + public class Fi...
bad
review
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
diff --git a/source/Tests/Playnite.Tests/Database/FiltersDatabaseTests.cs b/source/Tests/Playnite.Tests/Database/FiltersDatabaseTests.cs new file mode 100644 index 000000000..d763b1047 --- /dev/null +++ b/source/Tests/Playnite.Tests/Database/FiltersDatabaseTests.cs @@ -0,0 +1,83 @@ +using NUnit.Framework; +using Playn...
good
review_fixed
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
@@ -0,0 +1,60 @@ +using NUnit.Framework; +using Playnite.Common; +using Playnite.Database; +using Playnite.SDK.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Playnite.Tests.Database +{ + [TestFixture] + public class Fi...
bad
review
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
diff --git a/source/Tests/Playnite.Tests/Database/FiltersDatabaseTests.cs b/source/Tests/Playnite.Tests/Database/FiltersDatabaseTests.cs new file mode 100644 index 000000000..d763b1047 --- /dev/null +++ b/source/Tests/Playnite.Tests/Database/FiltersDatabaseTests.cs @@ -0,0 +1,83 @@ +using NUnit.Framework; +using Playn...
good
review_fixed
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
@@ -1310,6 +1313,37 @@ bool updateCompletionStatus(Game game, CompletionStatusSettings settings) } } + public List<FilterPreset> GetSortedFilterPresets(bool getClone) + { + var filterPresetsSettings = (FilterPresets as FilterPresetsCollection).GetSettings(); + ...
bad
review
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
diff --git a/source/Playnite/Database/GameDatabase.cs b/source/Playnite/Database/GameDatabase.cs index bcd19c488..8ce5f1b8d 100644 --- a/source/Playnite/Database/GameDatabase.cs +++ b/source/Playnite/Database/GameDatabase.cs @@ -68,7 +68,10 @@ public interface IGameDatabaseMain : IGameDatabase IDisposable Buff...
good
review_fixed
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
@@ -1310,6 +1313,35 @@ bool updateCompletionStatus(Game game, CompletionStatusSettings settings) } } + public List<FilterPreset> GetSortedFilterPresets() + { + var filterPresetsSettings = (FilterPresets as FilterPresetsCollection).GetSettings(); + var so...
bad
review
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
diff --git a/source/Playnite/Database/GameDatabase.cs b/source/Playnite/Database/GameDatabase.cs index bcd19c488..8ce5f1b8d 100644 --- a/source/Playnite/Database/GameDatabase.cs +++ b/source/Playnite/Database/GameDatabase.cs @@ -68,7 +68,10 @@ public interface IGameDatabaseMain : IGameDatabase IDisposable Buff...
good
review_fixed
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
@@ -1310,6 +1313,35 @@ bool updateCompletionStatus(Game game, CompletionStatusSettings settings) } } + public List<FilterPreset> GetSortedFilterPresets() + { + var filterPresetsSettings = (FilterPresets as FilterPresetsCollection).GetSettings(); + var so...
bad
review
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
diff --git a/source/Playnite/Database/GameDatabase.cs b/source/Playnite/Database/GameDatabase.cs index bcd19c488..8ce5f1b8d 100644 --- a/source/Playnite/Database/GameDatabase.cs +++ b/source/Playnite/Database/GameDatabase.cs @@ -68,7 +68,10 @@ public interface IGameDatabaseMain : IGameDatabase IDisposable Buff...
good
review_fixed
csharp
JosefNemec/Playnite
0c4a6c036edd6976cc0e4aad2bd0a27b423777bf
@@ -83,6 +83,21 @@ public bool LastPlayed } } + private bool added = true;
bad
review
csharp
JosefNemec/Playnite
5ba93435980107d5ddeefb8b4db307c415bc1a62
diff --git a/source/Playnite/Settings/DetailsVisibilitySettings.cs b/source/Playnite/Settings/DetailsVisibilitySettings.cs index 872e4f1d2..68c018697 100644 --- a/source/Playnite/Settings/DetailsVisibilitySettings.cs +++ b/source/Playnite/Settings/DetailsVisibilitySettings.cs @@ -83,6 +83,21 @@ public bool LastPlayed ...
good
review_fixed
csharp
JosefNemec/Playnite
5ba93435980107d5ddeefb8b4db307c415bc1a62
@@ -86,6 +86,38 @@ public static string ToTileCase(this string source, CultureInfo culture = null) } } + public static bool IsStartOfStringAcronym(this string acronymStart, string input) + { + if (string.IsNullOrEmpty(input) || string.IsNullOrEmpty(acronymStart) || ...
bad
review
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
diff --git a/source/Playnite/Common/Extensions/StringExtensions.cs b/source/Playnite/Common/Extensions/StringExtensions.cs index d8563a6f0..0543bde2a 100644 --- a/source/Playnite/Common/Extensions/StringExtensions.cs +++ b/source/Playnite/Common/Extensions/StringExtensions.cs @@ -86,6 +86,47 @@ public static string ToT...
good
review_fixed
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
@@ -840,5 +812,32 @@ private bool FilterByStyleOr(Game game, FilterSettings filterSettings) return true; } + + private bool GetNameFilterResult(Game game, FilterSettings filterSettings) + { + if (filterSettings.Name.IsNullOrEmpty() || game.Name.IsNullOrEmpty()) + ...
bad
review
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
diff --git a/source/Playnite/Database/GameDatabase_Filters.cs b/source/Playnite/Database/GameDatabase_Filters.cs index 319d07b6a..57ed92ec9 100644 --- a/source/Playnite/Database/GameDatabase_Filters.cs +++ b/source/Playnite/Database/GameDatabase_Filters.cs @@ -11,15 +11,25 @@ public partial class GameDatabase : IGameDa...
good
review_fixed
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
@@ -1172,6 +1172,8 @@ SHIFT-ENTER: open item menu</sys:String> <sys:String x:Key="LOCEmuOverridePlatformTooltip">When set, scanner will assign this platform to all games, overwriting any automatically detected platforms.</sys:String> <sys:String x:Key="LOCSearchIncludeCommandsInDefault">Include commands in d...
bad
review
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
diff --git a/source/Playnite/Localization/LocSource.xaml b/source/Playnite/Localization/LocSource.xaml index d54da2008..7739216ca 100644 --- a/source/Playnite/Localization/LocSource.xaml +++ b/source/Playnite/Localization/LocSource.xaml @@ -1172,6 +1172,8 @@ SHIFT-ENTER: open item menu</sys:String> <sys:String x:K...
good
review_fixed
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
@@ -117,7 +117,7 @@ private bool GameFilter(Game game, string searchTerm, GameSearchFilterSettings s return false; } - if (!SearchViewModel.MatchTextFilter(searchTerm, game.Name)) + if (!SearchViewModel.MatchTextFilter(searchTerm, game.Name, mainModel.AppSetting...
bad
review
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
diff --git a/source/Playnite/ViewModels/SearchViewModel.cs b/source/Playnite/ViewModels/SearchViewModel.cs index d18e7c68d..d6998f209 100644 --- a/source/Playnite/ViewModels/SearchViewModel.cs +++ b/source/Playnite/ViewModels/SearchViewModel.cs @@ -105,7 +105,7 @@ private ContextSwitchSearchItemAction GetGameMenuAction...
good
review_fixed
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
@@ -655,7 +655,7 @@ private List<SearchItem> FilterSearchResults(List<SearchItem> toFilter, string f return results; } - public static bool MatchTextFilter(string filter, string toMatch) + public static bool MatchTextFilter(string filter, string toMatch, bool matchTargetAcronym...
bad
review
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
diff --git a/source/Playnite/ViewModels/SearchViewModel.cs b/source/Playnite/ViewModels/SearchViewModel.cs index d18e7c68d..d6998f209 100644 --- a/source/Playnite/ViewModels/SearchViewModel.cs +++ b/source/Playnite/ViewModels/SearchViewModel.cs @@ -105,7 +105,7 @@ private ContextSwitchSearchItemAction GetGameMenuAction...
good
review_fixed
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
@@ -28,6 +28,16 @@ public void MatchTextFilterTest() Assert.IsTrue(SearchViewModel.MatchTextFilter(null, null)); Assert.IsTrue(SearchViewModel.MatchTextFilter("", null)); Assert.IsTrue(SearchViewModel.MatchTextFilter(null, "")); + + // Acronym tests + As...
bad
review
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
diff --git a/source/Tests/Playnite.Tests/SearchViewModelTests.cs b/source/Tests/Playnite.Tests/SearchViewModelTests.cs index 21ba1ceb7..60cd47366 100644 --- a/source/Tests/Playnite.Tests/SearchViewModelTests.cs +++ b/source/Tests/Playnite.Tests/SearchViewModelTests.cs @@ -15,19 +15,38 @@ public class SearchViewModelTes...
good
review_fixed
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
@@ -86,6 +86,38 @@ public static string ToTileCase(this string source, CultureInfo culture = null) } } + public static bool IsStartOfStringAcronym(this string acronymStart, string input) + { + if (string.IsNullOrEmpty(input) || string.IsNullOrEmpty(acronymStart) || ...
bad
review
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
diff --git a/source/Playnite/Common/Extensions/StringExtensions.cs b/source/Playnite/Common/Extensions/StringExtensions.cs index d8563a6f0..0543bde2a 100644 --- a/source/Playnite/Common/Extensions/StringExtensions.cs +++ b/source/Playnite/Common/Extensions/StringExtensions.cs @@ -86,6 +86,47 @@ public static string ToT...
good
review_fixed
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
@@ -202,14 +202,16 @@ public interface IGameDatabase /// </summary> /// <param name="game"></param> /// <param name="filterSettings"></param> + /// /// <param name="nameFilterSearchWithAcronyms"></param> /// <returns></returns> - bool GetGameMatchesFilter(Game game...
bad
review
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
diff --git a/source/PlayniteSDK/Database/IGameDatabase.cs b/source/PlayniteSDK/Database/IGameDatabase.cs index 4c4428cd5..44be0a5ca 100644 --- a/source/PlayniteSDK/Database/IGameDatabase.cs +++ b/source/PlayniteSDK/Database/IGameDatabase.cs @@ -211,5 +211,22 @@ public interface IGameDatabase /// <param name="f...
good
review_fixed
csharp
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
@@ -40,6 +40,11 @@ DockPanel.Dock="Top" Margin="0,15,0,0" IsChecked="{Binding Settings.IncludeCommandsInDefaultSearch}" /> + <CheckBox Content="{DynamicResource SearchBoxSearchWithAcronyms}"
bad
review
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
diff --git a/source/Playnite.DesktopApp/Controls/SettingsSections/Search.xaml b/source/Playnite.DesktopApp/Controls/SettingsSections/Search.xaml index efe942b23..f19a00410 100644 --- a/source/Playnite.DesktopApp/Controls/SettingsSections/Search.xaml +++ b/source/Playnite.DesktopApp/Controls/SettingsSections/Search.xaml...
good
review_fixed
JosefNemec/Playnite
a767f78fbe398cf6fc69e6c5ee81333fbe417068
@@ -223,64 +223,20 @@ Auto-activates via `GEMINI.md` context file. Also ships custom Gemini commands: </details> <details> -<summary><strong>Cursor — full details</strong></summary> +<summary><strong>Cursor / Windsurf / Cline / Copilot — full details</strong></summary> -```bash -npx skills add JuliusBrussee/cavem...
bad
review
JuliusBrussee/caveman
268c56201a7f6c74e4bcd7edee03fb55849674ae
diff --git a/README.md b/README.md index f4eaca00..c7cc226c 100644 --- a/README.md +++ b/README.md @@ -223,64 +223,20 @@ Auto-activates via `GEMINI.md` context file. Also ships custom Gemini commands: </details> <details> -<summary><strong>Cursor — full details</strong></summary> +<summary><strong>Cursor / Windsurf...
good
review_fixed
JuliusBrussee/caveman
268c56201a7f6c74e4bcd7edee03fb55849674ae
@@ -223,64 +223,20 @@ Auto-activates via `GEMINI.md` context file. Also ships custom Gemini commands: </details> <details> -<summary><strong>Cursor — full details</strong></summary> +<summary><strong>Cursor / Windsurf / Cline / Copilot — full details</strong></summary> -```bash -npx skills add JuliusBrussee/cavem...
bad
review
JuliusBrussee/caveman
268c56201a7f6c74e4bcd7edee03fb55849674ae
diff --git a/README.md b/README.md index f4eaca00..c7cc226c 100644 --- a/README.md +++ b/README.md @@ -223,64 +223,20 @@ Auto-activates via `GEMINI.md` context file. Also ships custom Gemini commands: </details> <details> -<summary><strong>Cursor — full details</strong></summary> +<summary><strong>Cursor / Windsurf...
good
review_fixed
JuliusBrussee/caveman
268c56201a7f6c74e4bcd7edee03fb55849674ae
@@ -1465,6 +1465,8 @@ internal async Task ImportKeysToRedeem(string filePath) { try { OrderedDictionary<string, string> gamesToRedeemInBackground = new(StringComparer.OrdinalIgnoreCase); + int lineCount = (await File.ReadAllLinesAsync(filePath).ConfigureAwait(false)).Length;
bad
review
csharp
JustArchiNET/ArchiSteamFarm
08a7baa0773b4e9ea02df6854c7d05f91c98d8ff
diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 354c3de72f361..9f4302c76028b 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -1465,8 +1465,12 @@ internal async Task ImportKeysToRedeem(string filePath) { try { OrderedDictionary<string, string> gamesToRede...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
08a7baa0773b4e9ea02df6854c7d05f91c98d8ff
@@ -1498,6 +1502,8 @@ internal async Task ImportKeysToRedeem(string filePath) { FilterGamesToRedeemInBackground(gamesToRedeemInBackground); + int linesSkipped = lineCount - gamesToRedeemInBackground.Count;
bad
review
csharp
JustArchiNET/ArchiSteamFarm
08a7baa0773b4e9ea02df6854c7d05f91c98d8ff
diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 354c3de72f361..9f4302c76028b 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -1465,8 +1465,12 @@ internal async Task ImportKeysToRedeem(string filePath) { try { OrderedDictionary<string, string> gamesToRede...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
08a7baa0773b4e9ea02df6854c7d05f91c98d8ff
@@ -24,6 +24,7 @@ <PackageReference Include="SteamKit2" /> <PackageReference Include="System.Composition" /> <PackageReference Include="System.Security.Cryptography.ProtectedData" /> + <PackageReference Include="Tmds.DBus.Protocol" />
bad
review
JustArchiNET/ArchiSteamFarm
7ca7a81449d31e93b02163e77828676d12397d0b
diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index cfc428939bc20..e337a02db2748 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -24,6 +24,7 @@ <PackageReference Include="SteamKit2" /> <PackageReference Include="System.Comp...
good
review_fixed
JustArchiNET/ArchiSteamFarm
7ca7a81449d31e93b02163e77828676d12397d0b
@@ -36,10 +35,20 @@ public sealed class SwaggerSecurityCriticalAttribute : CustomSwaggerAttribute { public override void Apply(OpenApiSchema schema) { ArgumentNullException.ThrowIfNull(schema); - if (schema.Items is { Reference: null }) { - schema.Items.AddExtension(ExtensionName, new OpenApiBoolean(true)); -...
bad
review
csharp
JustArchiNET/ArchiSteamFarm
c75d6ab9fd14ca883224c5e5534d2c1748153e5f
diff --git a/ArchiSteamFarm/IPC/Integration/SwaggerSecurityCriticalAttribute.cs b/ArchiSteamFarm/IPC/Integration/SwaggerSecurityCriticalAttribute.cs index df9ebbe2af851..be8b369b6fe0d 100644 --- a/ArchiSteamFarm/IPC/Integration/SwaggerSecurityCriticalAttribute.cs +++ b/ArchiSteamFarm/IPC/Integration/SwaggerSecurityCrit...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
c75d6ab9fd14ca883224c5e5534d2c1748153e5f
@@ -206,6 +206,11 @@ internal static void EnableTraceLogging() { } internal static void InitCoreLoggers(bool uniqueInstance) { + if (LogManager.Configuration == null) {
bad
review
csharp
JustArchiNET/ArchiSteamFarm
e2192139d811ec078d6182d80d4b0b7f83e1afd4
diff --git a/ArchiSteamFarm/NLog/Logging.cs b/ArchiSteamFarm/NLog/Logging.cs index bf606f323beed..75e75c66cea76 100644 --- a/ArchiSteamFarm/NLog/Logging.cs +++ b/ArchiSteamFarm/NLog/Logging.cs @@ -207,6 +207,7 @@ internal static void EnableTraceLogging() { internal static void InitCoreLoggers(bool uniqueInstance) {...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
e2192139d811ec078d6182d80d4b0b7f83e1afd4
@@ -59,6 +55,14 @@ internal sealed class SteamTarget : AsyncTaskTarget { // Keeping date in default layout also doesn't make much sense (Steam offers that), so we remove it by default public SteamTarget() => Layout = "${level:uppercase=true}|${logger}|${message}"; + protected override void InitializeTarget() { + ...
bad
review
csharp
JustArchiNET/ArchiSteamFarm
e2192139d811ec078d6182d80d4b0b7f83e1afd4
diff --git a/ArchiSteamFarm/NLog/Targets/SteamTarget.cs b/ArchiSteamFarm/NLog/Targets/SteamTarget.cs index d9125f1ab6600..086f46c11f332 100644 --- a/ArchiSteamFarm/NLog/Targets/SteamTarget.cs +++ b/ArchiSteamFarm/NLog/Targets/SteamTarget.cs @@ -30,17 +30,15 @@ using ArchiSteamFarm.Steam; using JetBrains.Annotations; ...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
e2192139d811ec078d6182d80d4b0b7f83e1afd4
@@ -283,7 +283,7 @@ public async Task<ActionResult<GenericResponse>> InputPost(string botNames, [Fro [HttpGet("{botNames:required}/Inventory/{appID}/{contextID}")] [ProducesResponseType<GenericResponse<IReadOnlyDictionary<string, BotInventoryResponse>>>((int) HttpStatusCode.OK)] [ProducesResponseType<GenericRespo...
bad
review
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
diff --git a/ArchiSteamFarm/IPC/Controllers/Api/BotController.cs b/ArchiSteamFarm/IPC/Controllers/Api/BotController.cs index fc77b616b4e60..0a87ad43114a9 100644 --- a/ArchiSteamFarm/IPC/Controllers/Api/BotController.cs +++ b/ArchiSteamFarm/IPC/Controllers/Api/BotController.cs @@ -283,7 +283,7 @@ public async Task<Actio...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
@@ -283,7 +283,7 @@ public async Task<ActionResult<GenericResponse>> InputPost(string botNames, [Fro [HttpGet("{botNames:required}/Inventory/{appID}/{contextID}")] [ProducesResponseType<GenericResponse<IReadOnlyDictionary<string, BotInventoryResponse>>>((int) HttpStatusCode.OK)] [ProducesResponseType<GenericRespo...
bad
review
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
diff --git a/ArchiSteamFarm/IPC/Controllers/Api/BotController.cs b/ArchiSteamFarm/IPC/Controllers/Api/BotController.cs index fc77b616b4e60..0a87ad43114a9 100644 --- a/ArchiSteamFarm/IPC/Controllers/Api/BotController.cs +++ b/ArchiSteamFarm/IPC/Controllers/Api/BotController.cs @@ -283,7 +283,7 @@ public async Task<Actio...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
@@ -205,7 +205,8 @@ public async IAsyncEnumerable<Asset> GetMyInventoryAsync(uint appID = Asset.Stea get_descriptions = true, steamid = steamID, - count = itemsCountPerRequest + count = itemsCountPerRequest, + language = language ?? ""
bad
review
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
diff --git a/ArchiSteamFarm/Steam/Integration/ArchiHandler.cs b/ArchiSteamFarm/Steam/Integration/ArchiHandler.cs index ba6c505585d21..22977d006f3ec 100644 --- a/ArchiSteamFarm/Steam/Integration/ArchiHandler.cs +++ b/ArchiSteamFarm/Steam/Integration/ArchiHandler.cs @@ -179,7 +179,7 @@ public async Task<bool> AddFriend(u...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
@@ -233,7 +233,7 @@ public async Task<bool> CancelTradeOffer(ulong tradeID) { /// This method should be used exclusively for foreign inventories (other users), but in special circumstances it can be used for fetching bot's own inventory as well. /// </remarks> [PublicAPI] - public async IAsyncEnumerable<Asset...
bad
review
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
diff --git a/ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs b/ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs index 3dff2dba4e7f1..d63a0c3f9ba5f 100644 --- a/ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs +++ b/ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs @@ -233,7 +233,7 @@ public async Task<bool>...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
@@ -174,7 +174,7 @@ public ulong GetFirstSteamMasterID() { /// <remarks>This action should be used if you require full inventory exclusively, otherwise consider calling <see cref="ArchiHandler.GetMyInventoryAsync" /> instead.</remarks> [PublicAPI] - public async Task<(HashSet<Asset>? Result, string Message)> GetI...
bad
review
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
diff --git a/ArchiSteamFarm/Steam/Interaction/Actions.cs b/ArchiSteamFarm/Steam/Interaction/Actions.cs index 75aaf72c813f7..b18d3d56664a0 100644 --- a/ArchiSteamFarm/Steam/Interaction/Actions.cs +++ b/ArchiSteamFarm/Steam/Interaction/Actions.cs @@ -174,7 +174,7 @@ public ulong GetFirstSteamMasterID() { /// <remarks...
good
review_fixed
csharp
JustArchiNET/ArchiSteamFarm
59a0a2bbe1a01819552b33454b03535cececf566
@@ -1306,9 +1306,9 @@ const Component = ({ params }: Route.ComponentProps) => { isOpen={isViewRulesetModalOpen} onOpenChange={setIsViewRulesetModalOpen} isDismissable - className="theme--transparent-overlay fixed top-0 left-0 z-10 flex h-(--visual-viewpo...
bad
review
typescript
Kong/insomnia
472f04a9e9a8e4a776364acd7231551cdf55c44a
diff --git a/packages/insomnia/src/routes/organization.$organizationId.project.$projectId.workspace.$workspaceId.spec.tsx b/packages/insomnia/src/routes/organization.$organizationId.project.$projectId.workspace.$workspaceId.spec.tsx index a7274d40f8f..d9317d6dcab 100644 --- a/packages/insomnia/src/routes/organization.$...
good
review_fixed
typescript
Kong/insomnia
472f04a9e9a8e4a776364acd7231551cdf55c44a
@@ -660,7 +660,7 @@ const Component = ({ params }: Route.ComponentProps) => { const lintToolbar = ( <div - className={`flex flex-wrap items-center gap-2 border-solid border-(--hl-md) p-(--padding-sm) ${isLintPaneOpen ? 'border-b' : ''}`} + className={`flex h-(--line-height-sm) flex-wrap items-center...
bad
review
typescript
Kong/insomnia
472f04a9e9a8e4a776364acd7231551cdf55c44a
diff --git a/packages/insomnia/src/routes/organization.$organizationId.project.$projectId.workspace.$workspaceId.spec.tsx b/packages/insomnia/src/routes/organization.$organizationId.project.$projectId.workspace.$workspaceId.spec.tsx index a7274d40f8f..d9317d6dcab 100644 --- a/packages/insomnia/src/routes/organization.$...
good
review_fixed
typescript
Kong/insomnia
472f04a9e9a8e4a776364acd7231551cdf55c44a
@@ -1355,17 +1355,19 @@ const Component = ({ params }: Route.ComponentProps) => { <Panel ref={lintPanelRef} id="lint-panel" - defaultSize={20} + defaultSize={0} minSize={5} ...
bad
review
typescript
Kong/insomnia
472f04a9e9a8e4a776364acd7231551cdf55c44a
diff --git a/packages/insomnia/src/routes/organization.$organizationId.project.$projectId.workspace.$workspaceId.spec.tsx b/packages/insomnia/src/routes/organization.$organizationId.project.$projectId.workspace.$workspaceId.spec.tsx index a7274d40f8f..d9317d6dcab 100644 --- a/packages/insomnia/src/routes/organization.$...
good
review_fixed
typescript
Kong/insomnia
472f04a9e9a8e4a776364acd7231551cdf55c44a
@@ -303,6 +305,18 @@ export const Url = ({ min={0} max={2} /> + <Checkbox + className="mt-1 cursor-pointer rounded-sm px-2 py-1 text-xs text-(--hl) transition-colors hover:bg-(--hl-sm) hover:text-(--color-font)" +...
bad
review
typescript
Kong/insomnia
1afdbeb85f3847375c39b38d0533aa58ab3480b9
diff --git a/packages/insomnia/src/ui/components/settings/llms/url.tsx b/packages/insomnia/src/ui/components/settings/llms/url.tsx index ca9777545dbf..0d9d97551ee1 100644 --- a/packages/insomnia/src/ui/components/settings/llms/url.tsx +++ b/packages/insomnia/src/ui/components/settings/llms/url.tsx @@ -2,6 +2,7 @@ impor...
good
review_fixed
typescript
Kong/insomnia
1afdbeb85f3847375c39b38d0533aa58ab3480b9
@@ -321,6 +336,18 @@ export const Url = ({ min={0} max={1} /> + <Checkbox + className="mt-1 cursor-pointer rounded-sm px-2 py-1 text-xs text-(--hl) transition-colors hover:bg-(--hl-sm) hover:text-(--color-font)" +...
bad
review
typescript
Kong/insomnia
1afdbeb85f3847375c39b38d0533aa58ab3480b9
diff --git a/packages/insomnia/src/ui/components/settings/llms/url.tsx b/packages/insomnia/src/ui/components/settings/llms/url.tsx index ca9777545dbf..0d9d97551ee1 100644 --- a/packages/insomnia/src/ui/components/settings/llms/url.tsx +++ b/packages/insomnia/src/ui/components/settings/llms/url.tsx @@ -2,6 +2,7 @@ impor...
good
review_fixed
typescript
Kong/insomnia
1afdbeb85f3847375c39b38d0533aa58ab3480b9
@@ -339,6 +367,18 @@ export const Url = ({ min="1" max="128000" /> + <Checkbox + className="mt-1 cursor-pointer rounded-sm px-2 py-1 text-xs text-(--hl) transition-colors hover:bg-(--hl-sm) hover:text-(--color-fon...
bad
review
typescript
Kong/insomnia
1afdbeb85f3847375c39b38d0533aa58ab3480b9
diff --git a/packages/insomnia/src/ui/components/settings/llms/url.tsx b/packages/insomnia/src/ui/components/settings/llms/url.tsx index ca9777545dbf..0d9d97551ee1 100644 --- a/packages/insomnia/src/ui/components/settings/llms/url.tsx +++ b/packages/insomnia/src/ui/components/settings/llms/url.tsx @@ -2,6 +2,7 @@ impor...
good
review_fixed
typescript
Kong/insomnia
1afdbeb85f3847375c39b38d0533aa58ab3480b9
@@ -0,0 +1,109 @@ +import 'node-forge/lib/util'; +import 'node-forge/lib/cipher'; +import 'node-forge/lib/cipherModes'; +import 'node-forge/lib/aes'; + +import forge from 'node-forge/lib/forge';
bad
review
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157
diff --git a/packages/insomnia/src/utils/vault-crypto.ts b/packages/insomnia/src/utils/vault-crypto.ts new file mode 100644 index 000000000000..5a1099fe6f4e --- /dev/null +++ b/packages/insomnia/src/utils/vault-crypto.ts @@ -0,0 +1,21 @@ +export const encryptSecretValue = async (rawValue: string, symmetricKey: JsonWebK...
good
review_fixed
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157
@@ -148,9 +147,9 @@ export const ResponseViewer = ({ // Show everything else as "source" const match = _getContentType().match(/charset=([\w-]+)/); const charset = match && match.length >= 2 ? match[1] : 'utf8'; - // Sometimes iconv conversion fails so fallback to regular buffer + // Sometimes deco...
bad
review
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157
diff --git a/packages/insomnia/src/ui/components/viewers/response-viewer.tsx b/packages/insomnia/src/ui/components/viewers/response-viewer.tsx index d19d3b292112..1fc36b7b042f 100644 --- a/packages/insomnia/src/ui/components/viewers/response-viewer.tsx +++ b/packages/insomnia/src/ui/components/viewers/response-viewer.t...
good
review_fixed
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157
@@ -23,11 +23,9 @@ export async function clientAction({ request }: Route.ClientActionArgs) { // Update vault salt and delete vault key from session await services.userSession.update({ vaultSalt: newVaultSalt, vaultKey: '' }); // show notification - electron.ipcRenderer.emit('show-toast', null, { - ...
bad
review
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157
diff --git a/packages/insomnia/src/routes/auth.clear-vault-key.tsx b/packages/insomnia/src/routes/auth.clear-vault-key.tsx index eede8df6658c..c508a67240fa 100644 --- a/packages/insomnia/src/routes/auth.clear-vault-key.tsx +++ b/packages/insomnia/src/routes/auth.clear-vault-key.tsx @@ -1,8 +1,8 @@ -import electron from...
good
review_fixed
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157
@@ -0,0 +1,21 @@ +export const encryptSecretValue = async (rawValue: string, symmetricKey: JsonWebKey): Promise<string> => { + if (typeof symmetricKey !== 'object' || Object.keys(symmetricKey).length === 0) { + return rawValue; + } + try { + return await window.main.vault.encryptSecretValue(rawValue, symmetric...
bad
review
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157
diff --git a/packages/insomnia/src/utils/vault-crypto.ts b/packages/insomnia/src/utils/vault-crypto.ts new file mode 100644 index 000000000000..5a1099fe6f4e --- /dev/null +++ b/packages/insomnia/src/utils/vault-crypto.ts @@ -0,0 +1,21 @@ +export const encryptSecretValue = async (rawValue: string, symmetricKey: JsonWebK...
good
review_fixed
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157
@@ -437,6 +446,44 @@ const database: Window['database'] = { invoke: (fnName, ...args) => invokeWithNormalizedError('database.invoke', fnName, ...args), }; +const env: Window['env'] = { + // GitLab OAuth — redirect URI, client ID, and API URL allow dev/enterprise overrides + INSOMNIA_GITLAB_REDIRECT_URI: process...
bad
review
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157
diff --git a/packages/insomnia/src/entry.preload.ts b/packages/insomnia/src/entry.preload.ts index 182f610bf87a..82d0a5334882 100644 --- a/packages/insomnia/src/entry.preload.ts +++ b/packages/insomnia/src/entry.preload.ts @@ -343,6 +343,12 @@ const main: Window['main'] = { port.postMessage({ ...options, type:...
good
review_fixed
typescript
Kong/insomnia
805fcc4d7d7cd82a81a23564bd0f148037686157