| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
New error messages are returned, and there appears to be an upstream bug
which presently requires us to specify all attributes in the update.
|
| |
|
| |
|
|
|
| |
For after https://github.com/python-discord/sir-lancebot/pull/1670
|
| |
|
| |
|
|\
| |
| | |
Add endpoint to fetch filters in JSON format
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
While this is an API endpoint consumed by the bot, keep it in the
`resources` app instead of the `api` app, as all the logic and data for
resources is contained within the `resources` app and we don't want to
start messing around with that.
The response format from the endpoint is as follows:
{
"topics": [
"algorithms-and-data-structures",
"data-science",
"databases",
"discord-bots",
"game-development",
"general",
"microcontrollers",
"security",
"software-design",
"testing",
"tooling",
"user-interface",
"web-development",
"other"
],
"payment_tiers": [
"free",
"paid",
"subscription"
],
"type": [
"book",
"community",
"course",
"interactive",
"podcast",
"project-ideas",
"tool",
"tutorial",
"video"
],
"difficulty": [
"beginner",
"intermediate"
]
}
Closes #710.
|
|\ \
| | |
| | | |
Heroku is no longer free
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Via e-mail forwarded to me by Chris.
Reported-by: Chris Lovering <[email protected]>
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| | |
When a user does not have a discriminator, do not display it anymore.
Behaviour for users with discriminators (for historic infractions is
unchanged).
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| |/ |
|
|\ \ |
|
| |/ |
|
|/ |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows the Fast Forward bot and GitHub Actions scripts through the
webhook filter.
* Fast Forward bot should be allowed as otherwise any event created by
this bot (i.e. it's merges to main) are not reported into Discord as it
is considered a bot payload
* GitHub Actions are generally things we have created ourselves and are
not normally high noise, and as such are also worth reporting
|
| | |
|
| |
| |
| |
| | |
Co-authored-by: wookie184 <[email protected]>
|
| | |
|
| |
| |
| |
| | |
A separate paragraph was used in the HTML, but another <p> was not actually used.
|
| | |
|
| |
| |
| |
| | |
I fixed them in PRs that were merged after the JSON used for this conversion was generated.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- There might be missing HTML that was stripped by `markdownify`
- Slugs were converted from kebab-casing titles and editorizing to make
everything shorter (thanks to oil.nvim)
- I should've just used Python and arrow (for the dates), but before I
realized arrow existed Nushell had the best built-in support.
- Markdown is wrapped at 80
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The timeline app is introduced, moved from the home app.
- Add a basic README.md to illustrate the overall code breakdown of the
app as it is in the current stage.
- Two entries are added for now.
- Add ability to link headers using the slug portion of the filename.
- The way markdown files are fetched is similar to that of the resources
app - using the AppConfig ready() function, all resources are ensured
to be only fetched once when the app is first laoded.
I debated whether to introduce the new functionality in the home app
instead, without creating a new app. Eventually I decided extracting it
to a standalone app now is better as it allows easier extension of
functionality in the future. The home app can remain as it is to only
server the `/` homepage.
The timeline CSS is kept the same, as with the structure of the timeline
HTML template.
Once the CSS rewrite PR is merged, it's relatively easy to fix conflicts
here (again, since timeline is now its own app, with the CSS file and
HTML template moved - extra advantage).
References to `home:timeline` are updated to use `timeline:index`
throughout the codebase, as far as my ripgrep search could go.
The format of the markdown + YAML entries are still up for debate, so
I've only added the first two entries for now. They can be completely
overwritten in the future once the formats are decided by using a script
to convert all the data from my JSON file into individual markdown
files:
http://0x0.st/Xr78.txt
This link should last for at least a few months. (Originally saved on
https://paste.pythondiscord.com/KPJA, but it expires on 12th April 2024.)
|