1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 17:19:00 +03:00
Commit graph

299 commits

Author SHA1 Message Date
5ff23722ce
...and a few small touches
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-26 22:08:57 +03:00
5239b82806
Some workarounds...
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-26 21:54:31 +03:00
152682e456
(Almost) Final implementation of /warn
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-26 20:59:56 +03:00
2564277070
Merge remote-tracking branch 'origin/master' into warn 2024-03-26 19:42:41 +03:00
187f21f1bf
Merge remote-tracking branch 'origin/master' into warn
# Conflicts:
#	locale/Messages.resx
#	locale/Messages.ru.resx
#	locale/Messages.tt-ru.resx
#	src/Commands/BanCommandGroup.cs
2024-03-26 18:47:07 +03:00
9429dfe8d8
Fix "No operation context has been set for this scope." crash on startup (#293)
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-03-26 15:35:31 +05:00
dependabot[bot]
cccc4d6205
Bump muno92/resharper_inspectcode from 1.11.7 to 1.11.8 (#292)
Bumps
[muno92/resharper_inspectcode](https://github.com/muno92/resharper_inspectcode)
from 1.11.7 to 1.11.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/muno92/resharper_inspectcode/releases">muno92/resharper_inspectcode's
releases</a>.</em></p>
<blockquote>
<h2>1.11.8</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>the input <code>cacheHome</code> should be <code>cachesHome</code>
[sic] by <a href="https://github.com/n0099"><code>@​n0099</code></a> in
<a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/458">muno92/resharper_inspectcode#458</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/n0099"><code>@​n0099</code></a> made
their first contribution in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/458">muno92/resharper_inspectcode#458</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.7...1.11.8">https://github.com/muno92/resharper_inspectcode/compare/1.11.7...1.11.8</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/muno92/resharper_inspectcode/blob/main/CHANGELOG.md">muno92/resharper_inspectcode's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.7...1.11.8">1.11.8</a>
- 2024-03-23</h2>
<ul>
<li>the input <code>cacheHome</code> should be <code>cachesHome</code>
[sic] by <a href="https://github.com/n0099"><code>@​n0099</code></a> in
<a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/458">muno92/resharper_inspectcode#458</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1aa09d0e3f"><code>1aa09d0</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/459">#459</a>
from muno92/tagpr-from-1.11.7</li>
<li><a
href="b5d9f05274"><code>b5d9f05</code></a>
Compile</li>
<li><a
href="cf28f1048a"><code>cf28f10</code></a>
[tagpr] update CHANGELOG.md</li>
<li><a
href="d41935b2e5"><code>d41935b</code></a>
[tagpr] prepare for the next release</li>
<li><a
href="5685c9cc42"><code>5685c9c</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/458">#458</a>
from n0099/main</li>
<li><a
href="d433d7b7fd"><code>d433d7b</code></a>
Update README.md</li>
<li>See full diff in <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.7...1.11.8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=muno92/resharper_inspectcode&package-manager=github_actions&previous-version=1.11.7&new-version=1.11.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 10:47:05 +03:00
e76fccd622
Rename currentMember to botMember (#291)
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-24 21:40:04 +03:00
171cfaea1a
Add 'ModeratorRole' guild setting (#290)
Octobot has various moderation commands such as /ban, /mute, /kick.
These commands add multiple features to Discord's built-in functions
(such as durations and logging). Some admins may want to force their
users to use Octobot's commands instead of Discord UI functions.
However, due to the current design, they can't take away the permissions
as that remove access to the respective command.

This PR adds the `ModeratorRole` option which allows anyone who has
`ManageMessages` permission and the role to perform any moderator
action.

If the role is not set, the Discord permissions are checked instead. If
the user doesn't have the role, but has the permission, they can still
run the command.

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-03-24 23:29:10 +05:00
5e4d0a528c
Split message clear log when cleared messages are too long (#288)
This change makes Octobot split the message clear log into multiple
messages when the combined length of cleared messages exceeds the
maximum length for an embed description.

Closes #180
2024-03-24 15:48:32 +00:00
c2f7aadaea
Do not use ResultError#IsUserOrEnvironmentError (#289)
In LoggerExtensions#LogResult we skip logging the result if the error is
"user or environment error". What matches that criteria is defined by
Remora's implementation.

However, none of errors defined by the implementation should *ever* happen or be ignored:
* CommandNotFoundError: The client shouldn't send us non-existing
commands. This *can* happen because the client's command list can get
out of sync with the server's, but this happens rarely.
* AmbiguousCommandInvocationError: We don't have commands that would
trigger this error
* RequiredParameterValueMissingError: The client shouldn't send us
commands without required paremeters
* ParameterParsingError: See #220
* ConditionNotSatisfiedError: The client shouldn't send us commands that
don't satisfy our conditions

Closes #220
2024-03-24 15:38:51 +00:00
dbd14a458a
what
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-24 16:09:25 +03:00
88448cdb49
Better implementation of /warn
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-24 15:55:26 +03:00
844615e8bf
fix: do not use RepositoryUrl from GitInfo (#287)
GitInfo's `RepositoryUrl` string depends on origin URL, which is
unvalidated user input that isn't even guaranteed to exist. This can
cause issues that are almost impossible to
debug

Closes #281
2024-03-24 17:39:26 +05:00
962580d32f
Merge remote-tracking branch 'origin/master' into warn
# Conflicts:
#	locale/Messages.resx
#	locale/Messages.ru.resx
#	locale/Messages.tt-ru.resx
#	src/Messages.Designer.cs
2024-03-24 13:19:18 +03:00
a9509deb1c
Don't use BannedUntil in MemberData.<init> (#286)
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-24 13:11:00 +03:00
ac8621a2ec
Pre-Wiki Update (#285)
This PR has been opened to finally update Octobot's Wiki.

Current changes summary:
- correct minor spelling issues in some command descriptions
- /about: add Octobot's Wiki button

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-23 21:45:39 +03:00
e0232f6008
Merge some sequential 'if' statements (#284)
i thought there would be a lot of statements that could be merged, but
these are only ones I could find, apparently

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-03-21 21:31:17 +05:00
a80debf1b1
Use Result.Success property instead of Result.FromSuccess() (#283)
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-03-21 20:55:34 +05:00
309d900067
Log result failures with stack traces (#282)
This feature will improve the debugging experience for developers by
providing the information about *where exactly* a result has failed

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-03-20 18:08:16 +00:00
5cc04e9cc3
Change position of "Jump to ..." action for better consistency (#279)
This will better align with how a normal moderator would respond to the
log:

Before: "see log" -> "jump to message without knowing what changed" ->
"read message diff"
After: "see log" -> "read message diff" -> "jump to message for context"

In addition, the change improves consistency with how reminders are
shown.

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-03-20 22:34:22 +05:00
0a930dcab1
Allow using expression-bodied properties (#280)
This change significantly reduces the code space used by properties
while maintaining clarity on types. Since only properties are allowed to
use expression bodies, it is clear to developers that what they are
looking at is a property or not

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-03-20 21:08:59 +05:00
ca49231c86
Disable issue report button if dirty version detected (#275)
In this PR, I'm disabling the Report Issue button if a "dirty" version
is detected. This is done just in case so that "smart" developers don't
accidentally report a bug that they themselves created.

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-20 15:59:25 +03:00
ecb92a318c
Fix /ping not showing correct locale (#276)
yeah...

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-20 11:22:54 +00:00
cd75780582
Add "Member left" message (#234)
Closes #231

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
Signed-off-by: Macintxsh <95250141+mctaylors@users.noreply.github.com>
2024-03-20 11:18:40 +00:00
2342116e87
Add GitInfo NuGet package (#268)
In this PR, I added a NuGet package called GitInfo. It can replace
Octobot.RepositoryUrl and display the bot version as the current branch
and commit.

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
Signed-off-by: Macintxsh <95250141+mctaylors@users.noreply.github.com>
2024-03-19 20:51:32 +03:00
ab2158a648
Initial implementation of /warn
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-19 18:46:56 +03:00
771750c922
Rename locale Sound to Loaded for clarity (#270)
If you go through the locales, sooner or later you will notice `Sound*`,
which is used in `GuildLoadedResponder.cs`. A new contributor (most
likely) will not understand what it is used for at once, because we use
`$"Loaded{i}".Localized()` instead of `Messages.Sound*` directly. Also,
if you change the locale's value, for example the same "Loaded!",
`Sound` will not fit anymore, because "Loaded!" is not a sound, but a
phrase.

Other suggestions are welcome.

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-18 21:27:35 +03:00
1894b063ae
Fix auto-unban log spam (#271)
Closes #255

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-18 21:26:04 +03:00
398abad277
Remove unused IDiscordRestChannelAPI in ToolsCommandGroup (#273)
Signed-off-by: Macintxsh <95250141+mctaylors@users.noreply.github.com>
2024-03-18 23:23:42 +05:00
5105b43eff
Add WelcomeMessagesChannel setting (#269)
Closes #232

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-18 11:42:37 +03:00
62709d927b
Add time format example to the description of commands that use TimeSpan. (#267)
This PR was made to help users who are trying /remind for the first time
by showing an example of the correct time format in the description.

---------

Signed-off-by: Macintxsh <95250141+mctaylors@users.noreply.github.com>
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-03-17 16:46:53 +03:00
8eed295fcd
Add /8ball command (#264)
@neroduckale was bored so I made this feature.

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
Signed-off-by: Macintxsh <95250141+mctaylors@users.noreply.github.com>
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-03-13 20:40:29 +03:00
dependabot[bot]
bf8a89c4e9
Bump the remora group with 3 updates (#263) 2024-02-12 13:56:14 +05:00
dependabot[bot]
fe22ed3025
Bump muno92/resharper_inspectcode from 1.11.6 to 1.11.7 (#262) 2024-02-12 08:44:52 +00:00
d39303560d
Make LogAction return void (#261)
1) the method isn't actually async lulw
2) it always returns success, so might as well just be void

reduces complexity by a bit

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2024-02-06 18:39:20 +00:00
58bd439aa7
Revert "Add profiler base" (#260)
Reverts TeamOctolings/Octobot#235
See #244
2024-02-06 21:35:33 +03:00
dependabot[bot]
5483bbd203
Bump the remora group with 4 updates (#259) 2024-02-06 12:09:26 +00:00
dependabot[bot]
5b4d581325
Bump muno92/resharper_inspectcode from 1.11.5 to 1.11.6 (#258)
Bumps
[muno92/resharper_inspectcode](https://github.com/muno92/resharper_inspectcode)
from 1.11.5 to 1.11.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/muno92/resharper_inspectcode/releases">muno92/resharper_inspectcode's
releases</a>.</em></p>
<blockquote>
<h2>1.11.6</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>Update dependency prettier to v3.2.5 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/452">muno92/resharper_inspectcode#452</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.5...1.11.6">https://github.com/muno92/resharper_inspectcode/compare/1.11.5...1.11.6</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/muno92/resharper_inspectcode/blob/main/CHANGELOG.md">muno92/resharper_inspectcode's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.5...1.11.6">1.11.6</a>
- 2024-02-04</h2>
<ul>
<li>Update dependency prettier to v3.2.5 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/452">muno92/resharper_inspectcode#452</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="acada41504"><code>acada41</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/453">#453</a>
from muno92/tagpr-from-1.11.5</li>
<li><a
href="08ee0368f2"><code>08ee036</code></a>
Compile</li>
<li><a
href="b799b60c07"><code>b799b60</code></a>
[tagpr] update CHANGELOG.md</li>
<li><a
href="cbb09562f1"><code>cbb0956</code></a>
[tagpr] prepare for the next release</li>
<li><a
href="d24bc7a55c"><code>d24bc7a</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/452">#452</a>
from muno92/renovate/all-minor-patch</li>
<li><a
href="907b47e05a"><code>907b47e</code></a>
Update dependency prettier to v3.2.5</li>
<li>See full diff in <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.5...1.11.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=muno92/resharper_inspectcode&package-manager=github_actions&previous-version=1.11.5&new-version=1.11.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 18:53:55 +03:00
290449077a
Use TimeSpanParser.TryParse instead of ParseTimeSpan (#257)
The ParseTimeSpan method is not needed because we no longer use the
quirky (IMO) and long
`Parser.TryParseAsync(from).AsTask().GetAwaiter().GetResult()` to parse
TimeSpan

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-01-28 21:36:29 +03:00
f034ede58d
Parry "лан" flooders (#256)
Signed-off-by: Macintxsh <95250141+mctaylors@users.noreply.github.com>
2024-01-28 15:27:21 +03:00
af84f8853a
Add /editremind (#247)
In this PR, I'm adding a command to modify existing reminders. This can
be useful if you, for example, got the name a bit wrong or set the wrong
reminder time. Just use /editremind and recreating the reminder from
scratch will no longer be necessary.

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-01-27 15:50:27 +03:00
7e9c08cab7
Don't use Option attribute in ExecuteBanAsync method (#252)
https://github.com/TeamOctolings/Octobot/issues/246#issuecomment-1912579699
> The `Option` attribute also somehow affects the command update
behavior. I'll get rid of it then.

Closes #246

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-01-27 15:06:10 +03:00
b4ae9cca2d
Update CODEOWNERS (#253)
Signed-off-by: Macintxsh <95250141+mctaylors@users.noreply.github.com>
2024-01-27 14:59:16 +03:00
83e2c5040e
Remove mctaylors.ru mentions (#251)
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2024-01-22 20:47:53 +05:00
dependabot[bot]
202daf5c1f
Bump muno92/resharper_inspectcode from 1.11.3 to 1.11.5 (#249)
Bumps
[muno92/resharper_inspectcode](https://github.com/muno92/resharper_inspectcode)
from 1.11.3 to 1.11.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/muno92/resharper_inspectcode/releases">muno92/resharper_inspectcode's
releases</a>.</em></p>
<blockquote>
<h2>1.11.5</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>Update dependency prettier to v3.2.4 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/450">muno92/resharper_inspectcode#450</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.4...1.11.5">https://github.com/muno92/resharper_inspectcode/compare/1.11.4...1.11.5</a></p>
<h2>1.11.4</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>Update dependency prettier to v3.2.3 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/448">muno92/resharper_inspectcode#448</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.3...1.11.4">https://github.com/muno92/resharper_inspectcode/compare/1.11.3...1.11.4</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/muno92/resharper_inspectcode/blob/main/CHANGELOG.md">muno92/resharper_inspectcode's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.4...1.11.5">1.11.5</a>
- 2024-01-17</h2>
<ul>
<li>Update dependency prettier to v3.2.4 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/450">muno92/resharper_inspectcode#450</a></li>
</ul>
<h2><a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.3...1.11.4">1.11.4</a>
- 2024-01-17</h2>
<ul>
<li>Update dependency prettier to v3.2.3 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/448">muno92/resharper_inspectcode#448</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fc10815374"><code>fc10815</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/451">#451</a>
from muno92/tagpr-from-1.11.4</li>
<li><a
href="bc33dd24aa"><code>bc33dd2</code></a>
Compile</li>
<li><a
href="028cfdecda"><code>028cfde</code></a>
[tagpr] update CHANGELOG.md</li>
<li><a
href="640972301a"><code>6409723</code></a>
[tagpr] prepare for the next release</li>
<li><a
href="c3894f5242"><code>c3894f5</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/450">#450</a>
from muno92/renovate/all-minor-patch</li>
<li><a
href="760594a283"><code>760594a</code></a>
Update dependency prettier to v3.2.4</li>
<li><a
href="95aa80267b"><code>95aa802</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/449">#449</a>
from muno92/tagpr-from-1.11.3</li>
<li><a
href="48e34500da"><code>48e3450</code></a>
Compile</li>
<li><a
href="b5aefe4308"><code>b5aefe4</code></a>
[tagpr] update CHANGELOG.md</li>
<li><a
href="af674ca3eb"><code>af674ca</code></a>
[tagpr] prepare for the next release</li>
<li>Additional commits viewable in <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.3...1.11.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=muno92/resharper_inspectcode&package-manager=github_actions&previous-version=1.11.3&new-version=1.11.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 14:28:24 +03:00
dependabot[bot]
6a928482af
Bump muno92/resharper_inspectcode from 1.11.1 to 1.11.3 (#248)
Bumps
[muno92/resharper_inspectcode](https://github.com/muno92/resharper_inspectcode)
from 1.11.1 to 1.11.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/muno92/resharper_inspectcode/releases">muno92/resharper_inspectcode's
releases</a>.</em></p>
<blockquote>
<h2>1.11.3</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>Update dependency prettier to v3.2.2 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/446">muno92/resharper_inspectcode#446</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.2...1.11.3">https://github.com/muno92/resharper_inspectcode/compare/1.11.2...1.11.3</a></p>
<h2>1.11.2</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>Update dependency prettier to v3.2.1 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/444">muno92/resharper_inspectcode#444</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.1...1.11.2">https://github.com/muno92/resharper_inspectcode/compare/1.11.1...1.11.2</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/muno92/resharper_inspectcode/blob/main/CHANGELOG.md">muno92/resharper_inspectcode's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.2...1.11.3">1.11.3</a>
- 2024-01-14</h2>
<ul>
<li>Update dependency prettier to v3.2.2 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/446">muno92/resharper_inspectcode#446</a></li>
</ul>
<h2><a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.1...1.11.2">1.11.2</a>
- 2024-01-12</h2>
<ul>
<li>Update dependency prettier to v3.2.1 by <a
href="https://github.com/renovate"><code>@​renovate</code></a> in <a
href="https://redirect.github.com/muno92/resharper_inspectcode/pull/444">muno92/resharper_inspectcode#444</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="232528197e"><code>2325281</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/447">#447</a>
from muno92/tagpr-from-1.11.2</li>
<li><a
href="647d06fb9d"><code>647d06f</code></a>
Compile</li>
<li><a
href="cdd28cb72a"><code>cdd28cb</code></a>
[tagpr] update CHANGELOG.md</li>
<li><a
href="fa426c01cc"><code>fa426c0</code></a>
[tagpr] prepare for the next release</li>
<li><a
href="17b3b070ca"><code>17b3b07</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/446">#446</a>
from muno92/renovate/all-minor-patch</li>
<li><a
href="060783efbb"><code>060783e</code></a>
Update dependency prettier to v3.2.2</li>
<li><a
href="92513104eb"><code>9251310</code></a>
Merge pull request <a
href="https://redirect.github.com/muno92/resharper_inspectcode/issues/445">#445</a>
from muno92/tagpr-from-1.11.1</li>
<li><a
href="da76157235"><code>da76157</code></a>
Compile</li>
<li><a
href="adedbdf9b9"><code>adedbdf</code></a>
[tagpr] update CHANGELOG.md</li>
<li><a
href="8d31ede466"><code>8d31ede</code></a>
[tagpr] prepare for the next release</li>
<li>Additional commits viewable in <a
href="https://github.com/muno92/resharper_inspectcode/compare/1.11.1...1.11.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=muno92/resharper_inspectcode&package-manager=github_actions&previous-version=1.11.1&new-version=1.11.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 08:11:17 +03:00
e01fde83c6
Use custom TimeSpanParser (#223)
Closes #154

---------

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
2023-12-31 12:27:00 +00:00
894e819865
Fix newline in LogResult (#245)
Fixes an issue on Windows that would cause the `ResultErrorMessage` to
be unindented.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-12-31 13:42:59 +03:00
3134c35751
Ban usages of Thread#Sleep (#243)
Using Thread.Sleep blocks the _entire_ thread from doing *anything*,
while Task.Delay allows the thread to execute other tasks while the
delay is passing. The inability to cancel Thread.Sleep may also cause
longer shutdowns

tl;dr Thread.Sleep bad, Task.Delay good
made because of
578c03871d

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-12-21 20:21:20 +03:00