|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| |/ /  
| |   
| |   
| |   
| |   
| |   
| |   
| | | Updates the versions for all non-dev dependencies, and locks them to
exact versions. This is part of a push for better dependency management
planned by the core-developer team.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| |\ \  
| | | 
| | | | Use a httpx.Client for netlify static builds | 
| |/ /  
| |   
| |   
| |   
| |   
| | | This allows for setting the config in one place and reusing it.
This also solves an issue where the requests to fetch the download URL would timeout after the (default) 5 seconds. | 
| |\ \  
| | | 
| | | | Bump django from 4.0.6 to 4.0.7 | 
| |/ /  
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| | | Bumps [django](https://github.com/django/django) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.0.6...4.0.7)
---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected]> | 
| |\ \  
| | | 
| | | | Fix Warnings & Enable In Tests | 
| | |\ \  
| |/ /  
|/| | |  | 
| |\ \ \ |  | 
| | |\ \ \  
| |/ / /  
|/| | | |  | 
| |\ \ \ \ |  | 
| |/ / / /  
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | | | Poetry 1.2 introduced a regression which broke pip `--user` installs.
These types of install where the main way we did installations in docker
and CI, which made it much more convenient to control their location,
availability, and caching.
Poetry's team does not recognize this as a supported use case, so major
changes were required to get everything working again. Most of the
changes were consolidated into chrislovering/python-poetry-base for
docker, and hassanabouelela/setup-python for CI.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | | |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | |  | 
| | |\ \ \  
| |/ / /  
|/| | | |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | In reference to issue #2108, this commit aims to add an initial set of keywords per rule.
These keywords will be later in the "rule" bot command in order to make rule identification easier | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | Whitenoise raises a warning when the static content folder does not
exist, which is the case during tests in CI. This is not an issue
though, and static content does get used properly in tests. Thus, the
warning is silenced.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | There are currently no warnings emitted during our tests, so this is a
low-cost method of ensuring we can better notice problems such as
deprecation warnings earlier.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | | 
| | | | 
| | | | 
| | | | | Signed-off-by: Hassan Abouelela <[email protected]> | 
| | |/ /  
|/| |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | | | Removes a few features which were deprecated in django 4.0. Running with
warnings enabled shows no other errors.
USE_L10N was deprecated, and is now enabled by default. In future
versions of django, it'll be impossible to turn localization off.
Explicitly defining the custom_app_config for the API app is no longer
necessary as django can pick it up on its own.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | |  | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | | Renames the tag model `author` field to `authors` to better indicate
what's contained in the field, and updates the documentation.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | 
| | | 
| | | 
| | | | 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]> |