| Commit message (Collapse) | Author | Lines |
|
|
|
A default is set for backwards compatibility with bot version that don't explicitly give a value.
|
|
|
|
Co-authored-by: wookie184 <[email protected]>
|
|
Co-authored-by: wookie184 <[email protected]>
|
|
|
|
|
|
|
|
|
|
Before this change, the rule technically disallows implementing JavaScript clients because webbrowsers use HTTP to fetch the static files.
This commit also fixes a mistake in a previous commit where Markdown-style characters were used instead of code-tags.
|
|
Technically it's an ongoing jam, not a previous jam. But I think adding this link will help with discoverability if you're already on the CJ Info page. Can be updated once a theme is announced
|
|
This was the easiest way of navigating to the CJ9 page previously other than the home page. Let's keep it for the duration of the jam
|
|
|
|
|
|
|
|
Co-authored-by: wookie184 <[email protected]>
|
|
Co-authored-by: Kieran Siek <[email protected]>
|
|
|
|
|
|
|
|
Co-authored-by: Numerlor <[email protected]>
|
|
|
|
|
|
|
|
|
|
Call the migration handler in manage.py when running tests, before
handing control back to django.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Specifying the port IP in compose seems to significantly slow down
networking with postgres. This effect is epically noticeable in tests,
which are 5-10x faster with the change.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Bumps the django version to 4.0, and DRF for compatibility.
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]>
|
|
|
|
|
|
|
|
Co-authored-by: Kieran Siek <[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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|