| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Uses the commit API to obtain tag metadata such as when it was last
edited, and by whom.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Adds support for tag groups in content. This involves some modification
to the routing, and templating.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
| |
The URLs can be simply constructed using the other tag properties, so
they were removed from the database in favor of a property.
A group field was also added to support tags within groups.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Move the tag cropping logic to the frontend, which makes it easier to
crop without crossing boundaries such as link or code block boundaries.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
| |
Co-authored-by: ChrisJL <[email protected]>
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Add a template for the tag page itself, and add a route to use it.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Adds bot tags to the content page, as well as a model to go along with
it.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Adds an explicit setting for static builds instead of relying on the
environment variable.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
A default is set for backwards compatibility with bot version that don't explicitly give a value.
|
| |
| |
| |
| |
| |
| |
| | |
When reading the created_at time from the GitHub API, it'll be a naive
date string with UTC time, so we use that instead of the system's time.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Moves the responsibility of re-requesting a workflow run from the API to
the user. This makes the requests much shorter-lived, and allows the
client to control how they want to handle sleeping and retrying.
This also has the benefit of removing the only real piece of async code,
so now the view is completely sync once again.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|/
|
|
|
|
| |
Adds an API route to fetch GitHub build artifacts through a GitHub app.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Bumps the current django version to 3.2 For the most part, there are no
major changes here. The app configuration names were incorrect, and the
new version no longer ignores that, so those were updated. The new
version also requires explicitly defining the field type for primary
keys if they are not defined on the model.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Bumps flake-bandit to v3 to fix an incompatibility with the bandit
package.
This also bumps flake8-annotations to a legally acceptable version,
which introduces ANN401, which disallows `typing.Any` annotations (for
the most part, refer to the docs).
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The message model was tested by instantiating and confirming it has a
string representation, but instantiating abstract models is undefined
behavior, and can break with future versions of django.
The behavior of the test is redundant anyway, since an abstract model
wouldn't exist in isolation, and the desired behavior is confirmed by
inheritors.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
| |
The migration test suite was not really used, and it doesn't entirely
make sense to test a constant unchanging process either. Its behavior
is also very coupled with django's internals, and locks us into the
current version and setup.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
| |
The requests library has been replaced by httpx. It's a drop-in
replacement, but provides a better interface for certain things,
such as client sessions, and sync/async support.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|\ |
|
| |
| |
| |
| | |
Since the util file has been deleted, these migrations were referencing a missing file
|
| |
| |
| |
| | |
These caused more harm than they were worth, as every time Discord updated a behaviour of an embed we would get errors and need ot update the validation. Instead we should just accept whatever discord gives us as correct
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\| |
|
| |\ |
|
| | |
| | |
| | | |
Adding the video type at the request of Trey Hunner.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* add article discussing free hosting services
* add hsoting and VPS services article
* Merge branch 'pinned_messages' of https://github.com/Diabolical5777/site into pinned_messages
* Delete free_hosting_services.md
* Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md
Co-authored-by: Bluenix <[email protected]>
* Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md
Co-authored-by: Bluenix <[email protected]>
* Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md
Co-authored-by: Bluenix <[email protected]>
* add vps and hosting service guide
* Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md
Co-authored-by: Bluenix <[email protected]>
* add article on VPS and free hosting services
* Update vps_services.md
* Update vps_services.md
Co-authored-by: Bluenix <[email protected]>
Co-authored-by: ChrisJL <[email protected]>
|
| | |\ |
|
| | | |
| | | |
| | | | |
Migrate no-JSON-as-a-database pinned message to site
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
We must add support for all B I G S O L I D U S. This is necessary.
|
| | | | |
|