| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|\ |
|
| |\
| | |
| | | |
Explicitly Specify Infraction Time In Tests
|
| | |\
| | |/
| |/| |
|
| |\ \
| | | |
| | | | |
Striked passed date for code jam 9
|
| |/ / |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The infraction tests checked that the route returned infractions in the
correct order, which is based on insertion time. This can be fragile
however, since the insertion time can be very close (or identical)
during the tests. That became especially more likely with PR #741
(commit 149e67b4) which improved database access speed.
This is fixed by explicitly specifying the insertion time, and spacing
them out properly.
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]>
|
| |
| |
| |
| | |
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]>
|
| |
| |
| |
| | |
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]>
|
| |
| |
| |
| | |
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]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
Adds the python-markdown extension pack as it offers better support for
things such as codeblocks.
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]>
|
|\
| |
| | |
Static Builds Small Improvements
|
| |
| |
| |
| |
| |
| |
| | |
Sets the timeout of downloads to 3 minutes (from a default of 5 seconds)
since some artifacts can be quite large.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|/
|
|
|
|
|
|
| |
Adds a missing raise in the static build for situations where everything
was successful, but the build time passed the deadline specified by the
site API.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|\
| |
| | |
Add GitHub Artifacts API Route
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Added `last_applied` to `serializers`
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
Remove IP Specification From Compose Ports
|
| |\ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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]>
|
| |/ /
|/| | |
|
|\ \ \ |
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
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]>
|
| | |\
| |_|/
|/| | |
|