aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py (unfollow)
Commit message (Collapse)AuthorLines
2022-08-23Support Hyperlinked Tag Group ReplacementGravatar Hassan Abouelela-5/+53
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-23Clarify Tag Model DocstringGravatar Hassan Abouelela-1/+1
Co-authored-by: ChrisJL <[email protected]>
2022-08-23Improve Tag Commit NamingGravatar Hassan Abouelela-5/+5
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-16Fix Tests For Tag MetadataGravatar Hassan Abouelela-29/+148
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-16Fix Tag Metadata For Static BuildsGravatar Hassan Abouelela-3/+12
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-16Better Split Up Tag Commit MessagesGravatar Hassan Abouelela-1/+8
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-16Add Tag MetadataGravatar Hassan Abouelela-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]>
2022-08-16Unify Tag Migrations & Add Commit ModelGravatar Hassan Abouelela-47/+72
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-16Move GitHub strptime Format To SettingsGravatar Hassan Abouelela-3/+3
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-16striked passed dateGravatar Ibrahim-2/+2
2022-08-14Explicitly Specify Infraction Time In TestsGravatar Hassan Abouelela-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]>
2022-08-14Update Tests For Tag GroupsGravatar Hassan Abouelela-24/+157
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-14Change Hyperlink Color On HoverGravatar Hassan Abouelela-0/+4
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-14Add Tag Group SupportGravatar Hassan Abouelela-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]>
2022-08-14Move Tag URL To Property And Add GroupGravatar Hassan Abouelela-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]>
2022-08-13Improve Tag CroppingGravatar Hassan Abouelela-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]>
2022-08-13Enable Code Highlighting On All Content PagesGravatar Hassan Abouelela-8/+4
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-13Clean Up Tag Link SubstitutionGravatar Hassan Abouelela-4/+3
Co-authored-by: ChrisJL <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-13Set Link Color For Sub-elementsGravatar Hassan Abouelela-0/+6
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-13Add Tag View TestsGravatar Hassan Abouelela-4/+233
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-13Export Tag Model As Top Level Model ObjectGravatar Hassan Abouelela-2/+5
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-13Add Content App To NavbarGravatar Hassan Abouelela-0/+3
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-13Add PyMDown ExtensionsGravatar Hassan Abouelela-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]>
2022-08-13Add Tag Page TemplateGravatar Hassan Abouelela-5/+105
Add a template for the tag page itself, and add a route to use it. Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-13Add Tags To Content ListingsGravatar Hassan Abouelela-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]>
2022-08-13Add Setting For Static BuildsGravatar Hassan Abouelela-11/+11
Adds an explicit setting for static builds instead of relying on the environment variable. Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-12Increase Timeout For Artifact DownloadGravatar Hassan Abouelela-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]>
2022-08-12Bump Deadline For GitHub Artifacts RouteGravatar Hassan Abouelela-1/+1
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-12Raise Static Build After WaitingGravatar Hassan Abouelela-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]>
2022-08-12Rename GitHub App Environment VariablesGravatar Hassan Abouelela-8/+8
Signed-off-by: Hassan Abouelela <[email protected]>
2022-08-03Added `last_applied` to `serializers`Gravatar ionite34-0/+1
2022-07-27Backdate last_applied dates to use value of inserted_atGravatar Chris Lovering-1/+8
2022-07-27Add a field to track the time an infraction was last appliedGravatar Chris Lovering-0/+25
A default is set for backwards compatibility with bot version that don't explicitly give a value.
2022-07-24Use UTC Time For GitHub APIGravatar Hassan Abouelela-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]>
2022-07-24Use Dataclass For Workflow RunGravatar Hassan Abouelela-29/+62
Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-23Be explicit about example in rule being an allowed use-caseGravatar Bluenix-1/+1
2022-07-23Rework sentence urging reaching out to the events teamGravatar Bluenix-1/+1
Co-authored-by: wookie184 <[email protected]>
2022-07-23Fix past-tense "exempt" typoGravatar Bluenix-1/+1
Co-authored-by: wookie184 <[email protected]>
2022-07-23Relax rule about usage of non-WebSocket communicationGravatar Bluenix-8/+6
2022-07-21Update codejams sidebar about cj9 theme announcementGravatar Bluenix-1/+1
2022-07-21Strike out beginning of code jam dateGravatar Bluenix-1/+1
2022-07-21Remove unnecessary "also" in new exception to codejam ruleGravatar Bluenix-1/+1
2022-07-21Clarify WebSocket restriction rule's impact on static servingGravatar Bluenix-1/+3
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.
2022-07-19Add CJ9 page link to side barGravatar mina-0/+1
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
2022-07-19Add back green box link to CJ 9 pageGravatar mina-0/+3
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
2022-07-17Copy over qualifier description from codejam 8Gravatar Bluenix-4/+14
2022-07-15Remove trailing space in codejam rulesGravatar Bluenix-1/+1
2022-07-15Add note about approval for non-WebSocket communicationGravatar Bluenix-0/+2
2022-07-15Reword new codejam rule exception clauseGravatar Bluenix-2/+2
Co-authored-by: wookie184 <[email protected]>
2022-07-14Remove accidental stray parenthesis in new codejam ruleGravatar Bluenix-1/+1
Co-authored-by: Kieran Siek <[email protected]>