aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Support Hyperlinked Tag Group ReplacementGravatar Hassan Abouelela2022-08-23-5/+53
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Merge branch 'main' into bot-tagsGravatar Hassan Abouelela2022-08-23-7/+12
|\
| * Merge pull request #764 from python-discord/fix-infraction-testsGravatar wookie1842022-08-18-5/+10
| |\ | | | | | | Explicitly Specify Infraction Time In Tests
| | * Merge branch 'main' into fix-infraction-testsGravatar Hassan Abouelela2022-08-18-2/+2
| | |\ | | |/ | |/|
| * | Merge pull request #766 from Ibrahim2750mi/strike-passed-date-code-jamGravatar wookie1842022-08-16-2/+2
| |\ \ | | | | | | | | Striked passed date for code jam 9
| | * | striked passed dateGravatar Ibrahim2022-08-16-2/+2
| |/ /
| | * Explicitly Specify Infraction Time In TestsGravatar Hassan Abouelela2022-08-14-5/+10
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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]>
* | Clarify Tag Model DocstringGravatar Hassan Abouelela2022-08-23-1/+1
| | | | | | Co-authored-by: ChrisJL <[email protected]>
* | Improve Tag Commit NamingGravatar Hassan Abouelela2022-08-23-5/+5
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Fix Tests For Tag MetadataGravatar Hassan Abouelela2022-08-16-29/+148
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Fix Tag Metadata For Static BuildsGravatar Hassan Abouelela2022-08-16-3/+12
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Better Split Up Tag Commit MessagesGravatar Hassan Abouelela2022-08-16-1/+8
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Add Tag MetadataGravatar Hassan Abouelela2022-08-16-25/+146
| | | | | | | | | | | | | | 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]>
* | Unify Tag Migrations & Add Commit ModelGravatar Hassan Abouelela2022-08-16-47/+72
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Move GitHub strptime Format To SettingsGravatar Hassan Abouelela2022-08-16-3/+3
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Update Tests For Tag GroupsGravatar Hassan Abouelela2022-08-14-24/+157
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Change Hyperlink Color On HoverGravatar Hassan Abouelela2022-08-14-0/+4
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Add Tag Group SupportGravatar Hassan Abouelela2022-08-14-52/+187
| | | | | | | | | | | | | | Adds support for tag groups in content. This involves some modification to the routing, and templating. Signed-off-by: Hassan Abouelela <[email protected]>
* | Move Tag URL To Property And Add GroupGravatar Hassan Abouelela2022-08-14-10/+47
| | | | | | | | | | | | | | | | | | 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]>
* | Improve Tag CroppingGravatar Hassan Abouelela2022-08-13-6/+40
| | | | | | | | | | | | | | 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]>
* | Enable Code Highlighting On All Content PagesGravatar Hassan Abouelela2022-08-13-8/+4
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Clean Up Tag Link SubstitutionGravatar Hassan Abouelela2022-08-13-4/+3
| | | | | | | | | | Co-authored-by: ChrisJL <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
* | Set Link Color For Sub-elementsGravatar Hassan Abouelela2022-08-13-0/+6
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Add Tag View TestsGravatar Hassan Abouelela2022-08-13-4/+233
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Export Tag Model As Top Level Model ObjectGravatar Hassan Abouelela2022-08-13-2/+5
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Add Content App To NavbarGravatar Hassan Abouelela2022-08-13-0/+3
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Add PyMDown ExtensionsGravatar Hassan Abouelela2022-08-13-1/+17
| | | | | | | | | | | | | | Adds the python-markdown extension pack as it offers better support for things such as codeblocks. Signed-off-by: Hassan Abouelela <[email protected]>
* | Add Tag Page TemplateGravatar Hassan Abouelela2022-08-13-5/+105
| | | | | | | | | | | | Add a template for the tag page itself, and add a route to use it. Signed-off-by: Hassan Abouelela <[email protected]>
* | Add Tags To Content ListingsGravatar Hassan Abouelela2022-08-13-12/+177
| | | | | | | | | | | | | | Adds bot tags to the content page, as well as a model to go along with it. Signed-off-by: Hassan Abouelela <[email protected]>
* | Add Setting For Static BuildsGravatar Hassan Abouelela2022-08-13-11/+11
|/ | | | | | | Adds an explicit setting for static builds instead of relying on the environment variable. Signed-off-by: Hassan Abouelela <[email protected]>
* Merge pull request #762 from python-discord/raise-static-buildsGravatar Hassan Abouelela2022-08-12-10/+16
|\ | | | | Static Builds Small Improvements
| * Increase Timeout For Artifact DownloadGravatar Hassan Abouelela2022-08-12-1/+1
| | | | | | | | | | | | | | 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]>
| * Bump Deadline For GitHub Artifacts RouteGravatar Hassan Abouelela2022-08-12-1/+1
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * Raise Static Build After WaitingGravatar Hassan Abouelela2022-08-12-8/+14
|/ | | | | | | | 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]>
* Merge pull request #742 from python-discord/github-artifactsGravatar Hassan Abouelela2022-08-12-107/+684
|\ | | | | Add GitHub Artifacts API Route
| * Rename GitHub App Environment VariablesGravatar Hassan Abouelela2022-08-12-8/+8
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * Merge branch 'main' into github-artifactsGravatar Hassan Abouelela2022-08-09-9/+53
| |\ | |/ |/|
* | Merge pull request #758 from python-discord/api-last_appliedGravatar Boris Muratov2022-08-06-0/+1
|\ \ | | | | | | Added `last_applied` to `serializers`
| * \ Merge branch 'main' into api-last_appliedGravatar Boris Muratov2022-08-06-9/+20
| |\ \ | |/ / |/| |
* | | Merge pull request #741 from python-discord/speedup-testsGravatar ChrisJL2022-08-04-9/+20
|\ \ \ | | | | | | | | Remove IP Specification From Compose Ports
| * \ \ Merge branch 'main' into speedup-testsGravatar ChrisJL2022-08-04-990/+354
| |\ \ \ | |/ / / |/| | |
| * | | Run Migrations For TestsGravatar Hassan Abouelela2022-07-12-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Call the migration handler in manage.py when running tests, before handing control back to django. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | Remove IP From Compose PortsGravatar Hassan Abouelela2022-07-12-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| | * | Added `last_applied` to `serializers`Gravatar ionite342022-08-03-0/+1
| |/ / |/| |
* | | Merge pull request #751 from python-discord/add-infraction-last-appliedGravatar Xithrius2022-07-31-0/+32
|\ \ \
| * | | Backdate last_applied dates to use value of inserted_atGravatar Chris Lovering2022-07-27-1/+8
| | | |
| * | | Add a field to track the time an infraction was last appliedGravatar Chris Lovering2022-07-27-0/+25
|/ / / | | | | | | | | | A default is set for backwards compatibility with bot version that don't explicitly give a value.
| | * Use UTC Time For GitHub APIGravatar Hassan Abouelela2022-07-24-3/+3
| | | | | | | | | | | | | | | | | | | | | 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]>
| | * Use Dataclass For Workflow RunGravatar Hassan Abouelela2022-07-24-29/+62
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * Merge branch 'main' into github-artifactsGravatar Hassan Abouelela2022-07-24-38/+54
| | |\ | |_|/ |/| |