#dev-log

1 messages ยท Page 64 of 1

regal archBOT
regal archBOT
#

Note on using the Open Trivia api:
The site indicates that the questions are licensed under CC BY-SA 4.0, which stipulates we:

Attribution โ€” You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

More stipulations apply if we modify the questions, view CC website for more details.

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: mbaruh/sm\-stats
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
odd spireBOT
oak estuaryBOT
regal archBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
odd spireBOT
regal archBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
odd spireBOT
oak estuaryBOT
regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: fix\-sentry\-sourcemaps
regal archBOT
regal archBOT
regal archBOT
#

Currently the .wiki command only gives the titles of the options and no description of the topics, so it would be good, if it would a show paginated messaeg containing each topic in the following embed format (Top 10 results)

Title.
50 character summary of the topic.
Thumbnail of that wikipedia link.

Would you like to implement this yourself?

  • [x] I'd like to implement this feature myself
  • [ ] Anyone can implement this feature
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/testing\-library/user\-event\-12\.6\.2
#

Bumps @testing-library/user-event from 12.6.0 to 12.6.2.

Release notes
Sourced from @testing-library/user-event's releases.

v12.6.2
12.6.2 (2021-01-21)
Bug Fixes

upload: accept File or File[] #529 (#530) (390013e)

v12.6.1
12.6.1 (2021-01-21)
Bug Fixes

selectOptions (#543) (6a02a14), closes #542

Commits

390013e fix(upload): accept File or File[] #529 (#530)
6a02a14 fix: selectOptions (#543)
6c21e1f docs: add nickmccurdy as a contributo...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/sentry/react\-6\.0\.1
#

Bumps @sentry/react from 6.0.0 to 6.0.1.

Release notes
Sourced from @sentry/react's releases.

6.0.1

[vue] fix: Make sure that error is present before logging it in Vue (#3183)
[serverless] fix: Fix issue when /dist didn't exist before building (#3190)

Changelog
Sourced from @sentry/react's changelog.

6.0.1

[vue] fix: Make sure that error is present before logging it in Vue (#3183)
[serverless] fix: Fix issue when /dist didn't exist be...

#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/sentry/react\-6\.0\.1
regal archBOT
#

If a conversion is tried on a non-existing infraction, it should be gracefully handled instead of throwing a 404 exception.

Sentry Issue: BOT-M2

ResponseCodeError: Status: 404 Response: {'detail': 'Not found.'}
  File "bot/api.py", line 67, in maybe_raise_for_status
    raise ResponseCodeError(response=response, response_json=response_json)
  File "bot/api.py", line 75, in request
    await...
regal archBOT
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/testing\-library/user\-event\-12\.6\.2
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: update\-badges
odd spireBOT
regal archBOT
oak estuaryBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: update\-badges
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
jb3

4dad590 HelpChannels: use a more accurate lock for mess... - MarkKoz
025edaa HelpChannels: await init task at the start of e... - MarkKoz
0d330d7 HelpChannels: prevent user from claiming multip... - MarkKoz
e281bb4 HelpChannels: move function to the channel module - MarkKoz
4697374 HelpChannels: refactor stat tracking - MarkKoz

#
jb3
[python-discord/bot] branch deleted: bug/help/1341/race\-conditions
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

Description

A command such as .http dogs would be implemented to visually show what different status codes are, with dogs.

Reasoning

Another fun way to learn status codes or refer them. And for non-cat people and dog lover โค๏ธ .

Proposed Implementation

  • Make a group named http which would contain cat and dog nested commands.
  • Since dogs have some comes missing, we will use aiohttp and regex to get the status codes using commands.task which will run every 2 ...
regal archBOT
odd spireBOT
regal archBOT
#

Right now, discord converts twitter links when applying the standard twitter embed treatment. Our check for rich embeds determines whether an embed is autogenerated or not by checking if the embed link is present within the source message here https://github.com/python-discord/bot/blob/fa02180246e6cf1245d5705b36a2056ed449ef6b/bot/exts/filters/filtering.py#L520, but this does not account for discords transformation of mobile.twitter.com links to twitter.com links, and thus a message with mobil...

regal archBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
umbral grove
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
odd spireBOT
oak estuaryBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
odd spireBOT
regal archBOT
#

Currently, we only create an embed when a message is deleted through a single deletion event. Bulk deletions are ignored, which cause messages cleared by a purge-ban to not appear here, which is pretty problematic.

Note that the !clean command does trigger a bulk deletion, but we don't want it to appear in the change-log since we already have another logging method for them. We need to come up with a system to ignore those.

odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: feat/info/server\-cmd\-enhancements
oak estuaryBOT
odd spireBOT
regal archBOT
oak estuaryBOT
regal archBOT
oak estuaryBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

Currently, commands such as !embed or !rule can seem untargeted when sent in channels. To solve this I propose mentioning the username or even pinging the user.

There are multiple ideas I have how we could go about this:

  • make the user an optional argument. By far the most obvious and simple choice. !paste 12345667 or !paste @username but the issue is that this could ping the user twice
  • additionally or alternatively get the user from a reply, so you can reply with !paste (an...
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/swc/core\-1\.2\.46
#

Bumps @swc/core from 1.2.45 to 1.2.46.

Commits

5c3a0b5 v1.2.46: Prevent regression. (#1356)
e40aca9 v1.2.46 (#1354)
acb4f1a Bump versions
b7ae896 fix(es): Fix bugs (#1353)
d4df2ce fix(es): Fix bugs (#1347)
6a1c3da fix(bundler): Fix bugs (#1346)
0469e3a fix(es): Move and rename JscTarget (#1343)
17f17e8 fix(bundler): Fix bugs (#1342)
ddc9492 fix(es/transforms): Handle enum in namespaces (#1340)
613a5a4 fix(es): Fixes for the type checker (#1331)
Addition...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/webpack\-5\.17\.0
#

Bumps webpack from 5.16.0 to 5.17.0.

Release notes
Sourced from webpack's releases.

v5.17.0
Features

add experimental lazy compilation via experiments.lazyCompilation: true for web and node targets

compiles entrypoints and import()s only when they are accessed
More details see: webpack/webpack#12469
Known issues: webpack-dev-server/webpack serve opening an entrypoint for the first time, sometimes need a manual refresh.

move some javascript parsing r...

regal archBOT
#

We can't use the regular onblur handler here, at least not in it's current implementation. The select does not keep focus only with the parent element, but with the children too. This is fine for mouse navigation, as losing focus would mean you've closed the menu. It does not work for keyboard navigation however, as switching between each of the options defocuses the root element.

One possible workaround would be to check if the active document element is contained within the parent element...

regal archBOT
#

@kosayoda hmm looking at this again I may have misunderstood this issue.
Your function checks whether the channel is invisible to non-staff, while here it checks whether it's visible to helpers (including public channels)

Yep, we canโ€™t use the current implementation here. Maybe we could support passing a custom role list to is_staff_channel? I think this PR is fine though.

regal archBOT
oak estuaryBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#

When querying the database, we should not have it return all found matches, instead 50 or 100 as mentioned. The use case here is that returning all matches with a large DB can cause a memory issue. Searches such as " " can return some insanely large number of infractions and cause an OOM error. Akarys was discussing how you can go about testing that feature [here](#dev-contrib message).

I'm not sure what you mean by codebas...

regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/sentry/react\-6\.0\.2
#

Bumps @sentry/react from 6.0.1 to 6.0.2.

Release notes
Sourced from @sentry/react's releases.

6.0.2

[browser] fix: Disable session tracking in non-browser environments (#3194)

Changelog
Sourced from @sentry/react's changelog.

6.0.2

[browser] fix: Disable session tracking in non-browser environments (#3194)

Commits

6d7700c release: 6.0.2
0990173 ci: Disable browserstuck until we fix the tests (#3199)
e7e9199 Prettier likes semicol...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/typescript\-eslint/eslint\-plugin\-4\.14\.1
#

Bumps @typescript-eslint/eslint-plugin from 4.14.0 to 4.14.1.

Release notes
Sourced from @typescript-eslint/eslint-plugin's releases.

v4.14.1
4.14.1 (2021-01-25)
Bug Fixes

eslint-plugin: [sort-type-union-intersection-members] consider void as a nullish (#2944) (a241b25), closes #2940
scope-manager: fix incorrect handling of class decorators and class method default params (#2943) (e1eac83), closes #2...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/typescript\-eslint/parser\-4\.14\.1
#

Bumps @typescript-eslint/parser from 4.14.0 to 4.14.1.

Release notes
Sourced from @typescript-eslint/parser's releases.

v4.14.1
4.14.1 (2021-01-25)
Bug Fixes

eslint-plugin: [sort-type-union-intersection-members] consider void as a nullish (#2944) (a241b25), closes #2940
scope-manager: fix incorrect handling of class decorators and class method default params (#2943) (e1eac83), closes #2941 #2942 #2751

C...

#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/sentry/react\-6\.0\.2
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/typescript\-eslint/parser\-4\.14\.1
regal archBOT
#
[forms-frontend] Branch dependabot/npm\_and\_yarn/typescript\-eslint/eslint\-plugin\-4\.14\.1 was force-pushed to `ac45760`
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/typescript\-eslint/eslint\-plugin\-4\.14\.1
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/webpack\-5\.17\.0
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/swc/core\-1\.2\.46
regal archBOT
#
[python-discord/forms-frontend] New branch created: repo\-cleanup
#

This PR does some housekeeping for the repository. If any changes are unwanted, or unnecessary, I'm happy to revert them. The changes can be broken down into three categories:

Code Cleanup

Addition, removal, or modification of components that affect the functionality of the application.

  • [x] Remove Unused Resources (Renovate config, react logo svg).
  • [x] Cleans up minor warnings or errors.
  • [x] Adds apple touch icon.

Contributing Workflow

Changes related to the experience ...

odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/bot] branch deleted: mbaruh/menu
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#

Description

Make fake redis an environment variable (like it is in sir-lancebot), and possibly have the default fake redis value be true.

Reasoning

A lot of developers try to start the project, just to be met with a long traceback ending with:

socket.gaierror: [Errno 11004] getaddrinfo failed

It is unclear that the cause here is a lack of a redis setup, and the main indicator that it is, is to look further up in the traceback to find the call to start redis, then to put two a...

regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#

Thanks! The dimensions and vectorisation work, and I think you arrived at something pretty nice.

The only thing I'd like to see changed is the mouth color. I see that you are already using a slightly darker color for it, but it would be nice to make it even darker, in order to bring som contrast. I've personally used #422C01 before, but you can check out what precise colors you think fit and have a look at older lemojis as reference.

odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/webpack\-5\.18\.0
#

Bumps webpack from 5.17.0 to 5.18.0.

Release notes
Sourced from webpack's releases.

v5.18.0
Internals

refactor hashing to move the responsibility of hashing module exports info and referenced modules from Dependencies to the Module

Hashing in Dependencies can be much cheaper now (could improve performance when many dependencies are used that point to the same module, like many references to React.createElement)
Fixes bugs where Dependencies forgot to ...

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/webpack\-5\.18\.0
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
jb3

Very rough experience! Probably not enough to be able to complete this fully though sadly, at least not in the immediate future.

On 29 Jan 2021, at 21:48, Xithrius notifications@github.com wrote:

@jb3 https://github.com/jb3 you have experience with workspaces, right?

Do you think you could do this, or link any useful documentation for someone to pick this PR up?

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <h...

odd spireBOT
regal archBOT
#

If I understand correctly, you overwrote the list method just to customise the response. Specifically, you want to only return the raw data from the paginated response and not any of the pagination metadata. If that's the case, a better way is to create a custom paginator which overwrites get_paginated_response. This approach achieves the same result with less redundant code since it can rely on the `l...

odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#

Sorry for getting back to you a bit late. I still don't understand what you mean. I thought you meant that it avoids matching a trailing slash in the path, but the regex still matches it. Here is a real example:

https://gitlab.com/gitlab-org/gitlab/-/blob/master/scripts/create_postgres_user.sh/#L3-4

Furthermore, GitLab resolves that URL just fine in my browser (though maybe it's cause my browser is silently stripping it). If the trailing slash is really a problem when you need...

regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
ocean rock
#

unfork ๐Ÿด

regal archBOT
oak estuaryBOT
odd spireBOT
oak estuaryBOT
oak estuaryBOT
regal archBOT
regal archBOT
#
[python-discord/smartconfig] branch deleted: add\-release\-workflow
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
#

Running the code reveals errors:

https://gitlab.com/gitlab-org/gitlab/-/blob/master/scripts/create_postgres_user.sh#L3-5 leads to

2021-01-30 12:12:37 | bot.exts.info.code_snippets | ERROR | Failed to fetch code snippet from https://api.github.com/repos/gitlab-org/gitlab/branches. HTTP Status: 404. Message: 404, message='Not Found', url=URL('https://api.github.com/repos/gitlab-org/gitlab/branches').
2021-01-30 12:12:37 | bot.exts.info.code_snippets | ERROR | Failed to fetch code s...
odd spireBOT
regal archBOT
regal archBOT
#

I imagine that trying to evenly distribute truncation would result in all code blocks being too heavily truncated to still be meaningful. A simpler strategy of truncating the first blocks and omitting the rest sounds fine.

Line limit should still apply to the final line count and will truncate at line boundaries. The limit could be raised to 20. Make sure you don't include "bare" file paths that lack code blocks because they got truncated. In other words, if there isn't enough space for th...

regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#

Why is there a change in the bot/utils/pagination.py ? Wasn't that a part of the #555

My mistake. I made another PR, but I accidentally did it on my master branch. I am on a feature branch on my local repository, and it brought the changes in the master branch over. Is there a way to separate the feature branch from the master branch?

Just remove it manually is the only solution I can think of run (since u had many important commits)

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

I think it's important to appreciate we're not talking about a true "leveling system" like you see in many other bots, with reputation and very visible "level" embeds. In fact, the core of the system is about having two tiers:

  • A "new member" membership type, where some permissions are restricted to prevent accounts that just joined from spamming, raiding, or otherwise abusing our community in ways we don't want to see.
  • A "regular member" membership type, which grants you those permiss...
#

I don't have a clear answer to that, but I was mainly reading the previous responses and wanted to make sure that this issue is not about having various reputation/status levels, if we even decide to do it.

I'm not sure we need such a system at the moment, but there may be areas to consider:

  • Restrict new joins from posting images more broadly than just the pygen image ban.
  • Disable external reactions/emojis for new joins everywhere
  • Unify the voice verification with the "new mem...
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/sentry/react\-6\.0\.3
#

Bumps @sentry/react from 6.0.2 to 6.0.3.

Release notes
Sourced from @sentry/react's releases.

6.0.3

[tracing] ref: feat(tracing): Add context update methods to Span and Transaction (#3192)
[node] ref: Make ExpressRequest not extend http.IncomingMessage anymore (#3211)
[browser] deps: Allow for LocalForage >=1.8.1 (#3205)
[ember] fix(ember): Fix location url for 'hash' location type (#3195)
[ember] fix(ember): Fix Ember to work with Embro...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/eslint\-7\.19\.0
#

Bumps eslint from 7.18.0 to 7.19.0.

Release notes
Sourced from eslint's releases.

v7.19.0

ce7f061 Update: add shadowed variable loc to message in no-shadow (fixes #13646) (#13841) (t-mangoe)
c60e23f Update: fix let logic in for-in and for-of loops in no-extra-parens (#14011) (Milos Djermanovic)
d76e8f6 Fix: no-useless-rename invalid autofix with parenthesized identifiers (#14032) (Milos Djermanovic)
5800d92 Docs: Clarify stylistic rule update policy (#14...

#

Bumps workbox-webpack-plugin from 6.0.2 to 6.1.0.

Release notes
Sourced from workbox-webpack-plugin's releases.

Workbox v6.1.0 includes a number of new features, as well as an important fix for a bug that could have affected workbox-precaching behavior in earlier v6 releases.
๐ŸŽ‰ What's New?
setCatchHandler for individual Routes
The setCatchHandler() method on a Router allows you to configure "fallback" logic if any handler invoked by that ...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/workbox\-webpack\-plugin\-6\.1\.0
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/swc/core\-1\.2\.47
#

Bumps @swc/core from 1.2.46 to 1.2.47.

Commits

0d130f8 fix(bundler): Prevent hanging (#1369)
af25a88 fix(swc): Fix bugs for v1.2.47 (#1368)
ca417e9 feat(node-swc): Support windows ia32 arch (#1367)
4155822 Fix span of arrow expression with type params (#1365)
767f21e fix(bundler): Fix pass ordering (#1363)
78e79a7 feat(es/transforms/typescript): Strip out type-only namespaces (#1361)
93a1914 fix(es): Fixes for type checker (#1359)
947161b fix(bundler): ...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/webpack\-5\.19\.0
#

Bumps webpack from 5.18.0 to 5.19.0.

Release notes
Sourced from webpack's releases.

v5.19.0
Features

allow to set chunk name for exposes for ModuleFederationPlugin

Bugfixes

add a missing simicolon in runtime code
improve consistency of top level await with other implementations and the spec
make options for ProgressPlugin optional in typings

Performance

try to avoid unnecessary allocations

Commits

3f7573c 5.19.0
e66cd2f fix merge issue
827c52e...

odd spireBOT
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

I would suggest wording more along these lines:

When creating a new JSON file you might run into the following error:

`JSONDecodeError: Expecting value: line 1 column 1 (char 0)`

This means that your `.json` *file* is completely empty, but it still needs to represent some kind of data, even if it's an empty container.

To solve the error, simply change the file to read `{}`. This will save an empty "object", which is very similar to what a dict is in Python. To learn more abou...
regal archBOT
regal archBOT
#
[python-discord/branding] New branch created: valentines\-banner
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/sentry/react\-6\.0\.4
#

Bumps @sentry/react from 6.0.2 to 6.0.4.

Release notes
Sourced from @sentry/react's releases.

6.0.4

[browser] fix: Don't break when function call context is undefined (#3222)
[tracing] fix: Set default sampling context data where startTransaction is called (#3210)
[tracing] fix: Remove stray sampling data tags (#3197)
[tracing] fix: Clear activeTransaction from the scope and always start idle timers (#3215)
[angular] ref: Add Angular 11 to ...

#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/sentry/react\-6\.0\.3
oak estuaryBOT
regal archBOT
regal archBOT
regal archBOT
#

We have quite a few watchlist triggers, such as regexes and domains which will ping the moderators when someone post a message matching our denylist.

One of the issue we are currently facing is that it can be hard to know why we watch that particular word or domain. We already allow adding reasons when adding filters to our denylist, but we donโ€™t display them when pinging the mods. We should totally do that!

#
[python-discord/bot] New branch created: wookie184\-floats\-tag
odd spireBOT
regal archBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/sentry/react\-6\.0\.4
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/webpack\-5\.20\.0
#

Bumps webpack from 5.18.0 to 5.20.0.

Release notes
Sourced from webpack's releases.

v5.20.0
Features

add experiments.lazyCompilation.imports to disable lazy compilation of import()s
add experiments.lazyCompilation.test to allow custom selection of modules that should be lazy compiled
When using profile: true resp. --profile webpack will now print a summary of expensive modules or loaders

Bugfixes

fix that experiments.lazyCompilation.client now works ...

#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/webpack\-5\.19\.0
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/testing\-library/react\-11\.2\.5
#

Bumps @testing-library/react from 11.2.3 to 11.2.5.

Release notes
Sourced from @testing-library/react's releases.

v11.2.5
11.2.5 (2021-02-02)
Bug Fixes

render: add default type for Queries parameter (#871) (5576e6f)

v11.2.4
11.2.4 (2021-02-02)
Bug Fixes

render: Default to HTMLElement in returned container (#868) (81c2de9)

Commits

cbe020a docs: add solufa as a contributor (#872)
5576e6f fix(render): add default type for Quer...

ocean rock
#

it's going to be a long night

regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/swc/core\-1\.2\.47
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/workbox\-webpack\-plugin\-6\.1\.0
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/eslint\-7\.19\.0
#
jb3
[python-discord/forms-frontend] branch deleted: repo\-cleanup
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/testing\-library/react\-11\.2\.5
#

Bumps @typescript-eslint/parser from 4.14.1 to 4.14.2.

Release notes
Sourced from @typescript-eslint/parser's releases.

v4.14.2
4.14.2 (2021-02-01)
Bug Fixes

eslint-plugin: [consistent-type-imports] incorrect handling of computed property type signatures (#2990) (58f2655), closes #2989
scope-manager: correctly reference generic parameters when decorator metadata is enabled (#2975) (7695ef3), closes #2972

...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/typescript\-eslint/parser\-4\.14\.2
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/typescript\-eslint/eslint\-plugin\-4\.14\.2
#

Bumps @typescript-eslint/eslint-plugin from 4.14.1 to 4.14.2.

Release notes
Sourced from @typescript-eslint/eslint-plugin's releases.

v4.14.2
4.14.2 (2021-02-01)
Bug Fixes

eslint-plugin: [consistent-type-imports] incorrect handling of computed property type signatures (#2990) (58f2655), closes #2989
scope-manager: correctly reference generic parameters when decorator metadata is enabled (#2975) (7695...

#

Bumps @testing-library/user-event from 12.6.2 to 12.6.3.

Release notes
Sourced from @testing-library/user-event's releases.

v12.6.3
12.6.3 (2021-02-01)
Bug Fixes

add isInstanceOfElement helper (#552) (b4330c4)

Commits

b4330c4 fix: add isInstanceOfElement helper (#552)
See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/u...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/testing\-library/user\-event\-12\.6\.3
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/webpack\-cli\-4\.5\.0
#

Bumps webpack-cli from 4.4.0 to 4.5.0.

Release notes
Sourced from webpack-cli's releases.

v4.5.0
4.5.0 (2021-02-02)
Notes

now you can use webpack.config.mjs and webpack.config.js with { "type": "module" } in package.json
you can avoid using the cross-env package:

Before:
{
"scripts": {
"build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js"
}
}

Now (you ca...

#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/typescript\-eslint/eslint\-plugin\-4\.14\.2
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/webpack\-5\.20\.0
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/testing\-library/user\-event\-12\.6\.3
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/typescript\-eslint/parser\-4\.14\.2
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/webpack\-cli\-4\.5\.0
regal archBOT
#

One thing I'd note for development is maybe the usage of the script/protoc.sh

I plan to replace the script with on written in Python when I do #73. I'll document things better at that point.

and a note about how the config parsing actually works/should be modified.

Good point. I should document the config format, which is really just linking to the nsjail readme and maybe the protobuf file.

#
[python-discord/snekbox] branch deleted: feat/nsjail/74/config
#

Can we also give an example where there are represented exactly:

# This is because 0.125 is precisely 1/8, or 1/(2^3)
>>> format(0.125, '.25f')
'0.1250000000000000000000000'

Then the math.isclose() for Floats Equality Testing:

>>> x = 0.1 + 0.1 + 0.1
>>> y = 0.3
>>> x == y
False
>>> from math import isclose
>>> x = 0.0000001
>>> y = 0.0000002
>>> 
>>> a = 123456789.01
>>> b = 123456789.02
>>> 
>>> print('x = y:', isclose(x, y, abs_tol=0.0001, rel_tol=0.01)...
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/types/react\-17\.0\.1
regal archBOT
#
[python-discord/forms-backend] New branch created: dependabot/pip/starlette\-0\.14\.2
#

Bumps starlette from 0.14.1 to 0.14.2.

Release notes
Sourced from starlette's releases.

Version 0.14.2
Fixed

Fixed ServerErrorMiddleware compatibility with Python 3.9.1/3.8.7 when debug mode is enabled - #1132.
Fixed unclosed socket ResourceWarnings when using the TestClient with WebSocket endpoints - #1132.
Improved detection of async endpoints wrapped in functools.partial on Python 3.8+ - #1106.

Changelog
Sourced from starlette's changelog.

0.1...

odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/types/react\-17\.0\.1
regal archBOT
#

The tag is already fairly long, and our aim is to try and keep them fairly short so i've only put in what I think is most important, and linked to other things. Regarding your three points:

  1. it's explained at the start of the first link, https://docs.python.org/3/tutorial/floatingpoint.html, much more clearly then I could if I tried to fit it in.
  2. I think the tag would be too big with this explained properly, although I think it could help to add a line like `You can also check if two...
#

The tag is already fairly long, and our aim is to try and keep them fairly short so i've only put in what I think is most important, and linked to other things. Regarding your three points:

  1. it's explained at the start of the first link, https://docs.python.org/3/tutorial/floatingpoint.html, much more clearly then I could if I tried to fit it in.
  2. I think the tag would be too big with this explained properly, although I think it could help to add a line like `You can also chec...
regal archBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#

Greetings, human @ChiliPy.

I approve of this idea of creating a discord.py tag for attaching an image within an embed, but I fear it is not giving a proper explanation of what's going on.

I'd suggest including what's in the docs, and maybe adding some information on top of it, if you'd like. Doesn't have to be a clone of the doc's description of what's going on, it can be in your own words.

We can shuffle all this around in a PR if you decide to make one, or if you'd prefer someone ...