Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Init metricity using docker-compose init volume | 2021-09-17 | -84/+28 | |
| | ||||
* | Merge pull request #589 from python-discord/jb3/repos-update | 2021-09-12 | -2/+2 | |
|\ | ||||
| * | Update mock GitHub API response | 2021-09-10 | -1/+1 | |
| | | | | | | | | Fixes breaking tests | |||
| * | Update repository selection on home page | 2021-09-10 | -1/+1 | |
|/ | | | In accordance with a poll in #dev-contrib, King Arthur becomes the 6th repository featured on the Python Discord homepage. | |||
* | Merge pull request #585 from python-discord/update_length_validation | 2021-09-09 | -2/+2 | |
|\ | | | | | Update embed description length to 4096 | |||
| * | Update embed description length to 4096 | 2021-09-07 | -2/+2 | |
|/ | ||||
* | Merge pull request #584 from python-discord/remove-port-check-as-it's-optional | 2021-09-07 | -2/+2 | |
|\ | | | | | Remove explicit check for db port, as it's optional | |||
| * | Remove explicit check for db port, as it's optional | 2021-09-07 | -2/+2 | |
|/ | | | | We also do not specifiy it in prod, so this crash looped when trying to deploy | |||
* | Merge pull request #583 from python-discord/init-metricity-at-runtime | 2021-09-07 | -40/+109 | |
|\ | | | | | Initialise metricity at runtime | |||
| * | Add print statement to log when metricity is being initialised | 2021-09-07 | -0/+2 | |
| | | ||||
| * | Correctly attribute SO author for SQL function | 2021-09-07 | -0/+4 | |
| | | ||||
| * | Raise a ValueError with a useful message for invalid db urls | 2021-09-07 | -1/+3 | |
| | | ||||
| * | Remove unnecessary variable | 2021-09-07 | -3/+2 | |
| | | | | | | | | Co-authored-by: Vivaan Verma <[email protected]> | |||
| * | Fix spelling of `initialising` in manage.py | 2021-09-07 | -2/+2 | |
| | | | | | | Co-authored-by: Vivaan Verma <[email protected]> | |||
| * | Create and populate metricity in a single connection | 2021-09-07 | -25/+31 | |
| | | ||||
| * | Close db conns when finished | 2021-09-07 | -0/+2 | |
| | | | | | | | | psycopg2's context managers don't do this for us, so we need to close conns manually. | |||
| * | Move db url validation to cls method | 2021-09-07 | -12/+21 | |
| | | | | | | | | This standardises the way we validate db urls, and ensures each place that uses a db url manually properly validates it first. | |||
| * | Use context manager for file open | 2021-09-06 | -3/+2 | |
| | | | | | | | | Also remove a useless print statement to reduce noise | |||
| * | Initialise metricity at runtime | 2021-09-06 | -31/+77 | |
|/ | | | | | | Currently the bot cannot start in dev as the site errors, saying that metricity doesn't exist. Previously this note existing was fine, unless you needed to use metricity data. With the recent addition of django-prometheus, metricity is now required on boot. This PR moves the init of metricity from a docker-compose volume, into running of the site. This means that external projects using site, that don't have access to the init.sql file to mount a volume, now also init metricity. | |||
* | Merge pull request #581 from python-discord/Pin-platform-in-Dockerfile | 2021-09-04 | -1/+1 | |
|\ | | | | | Pin platform in Dockerfile | |||
| * | Pin platform in Dockerfile | 2021-09-04 | -1/+1 | |
|/ | | | | | | Some of our deps don't have wheels for atm processors. With Mac's M1 chips becomming more common, we should make it easier for those users to build our environments. | |||
* | Merge pull request #580 from python-discord/jb3/ips-allowed-hosts | 2021-09-04 | -0/+3 | |
|\ | | | | | Add pod IPs to allowed hosts | |||
| * | Correct import order | 2021-09-04 | -1/+1 | |
| | | ||||
| * | Add pod IPs to allowed hosts | 2021-09-04 | -0/+3 | |
|/ | ||||
* | Merge pull request #575 from python-discord/jb3/django-prometheus | 2021-09-04 | -4/+60 | |
|\ | | | | | Add Django Prometheus | |||
| * | Merge branch 'main' into jb3/django-prometheus | 2021-09-04 | -5/+14 | |
| |\ | |/ |/| | ||||
* | | Merge pull request #579 from python-discord/jb3/update-k8s-path | 2021-09-04 | -1/+1 | |
|\ \ | | | | | | | Update manifest path | |||
| * | | Update in accordance with python-discord/kubernetes#95 | 2021-09-04 | -1/+1 | |
|/ / | ||||
* | | Merge pull request #577 from ↵ | 2021-09-03 | -4/+13 | |
|\ \ | | | | | | | | | | | | | python-discord/Add-timeout-to-GitHub-repo-metadata-fetch Timeout when fetching GitHub repository metadata | |||
| * | | Timeout when fetching GitHub repository metadata | 2021-09-03 | -4/+13 | |
|/ / | | | | | | | Not having this timeout could cause a worker to hang indefinitely | |||
| * | Explicitly set gunicorn config argument | 2021-09-04 | -0/+1 | |
| | | ||||
| * | Ignore gunicorn configuration from flake8 | 2021-09-03 | -3/+8 | |
| | | ||||
| * | Add gunicorn.conf.py with Prometheus specific settings | 2021-09-03 | -0/+5 | |
| | | ||||
| * | Add note on BUILDING_DOCKER | 2021-09-03 | -0/+4 | |
| | | ||||
| * | Follow standard for dependency versioning for django-prometheus | 2021-09-02 | -1/+1 | |
| | | | | | | Co-authored-by: Vivaan Verma <[email protected]> | |||
| * | Revert change to Metricity DB URL | 2021-09-02 | -1/+1 | |
| | | | | | | | | Co-Authored-By: jchristgit <[email protected]> | |||
| * | Add Django Prometheus to URLs | 2021-09-02 | -0/+1 | |
| | | ||||
| * | Add Django Prometheus to installed apps and middleware | 2021-09-02 | -3/+12 | |
| | | ||||
| * | Install Django prometheus | 2021-09-02 | -1/+32 | |
|/ | ||||
* | Merge pull request #571 from Numerlor/doc-blank-base_url | 2021-09-02 | -2/+22 | |
|\ | | | | | Allow the base_url of a documentation link to be empty | |||
| * | Merge branch 'main' into doc-blank-base_url | 2021-09-02 | -3/+0 | |
| |\ | |/ |/| | ||||
* | | Merge pull request #573 from python-discord/jb3/update-gunicorn-prefs | 2021-09-01 | -3/+0 | |
|\ \ | | | | | | | Update gunicorn options for deployment | |||
| * | | Update gunicorn options for deployment | 2021-08-31 | -3/+0 | |
|/ / | | | | | Remove threads & max requests configuration | |||
| * | Move base_url field to the end | 2021-08-30 | -2/+2 | |
| | | | | | | | | | | In most cases this won't need to be specified, so it makes more sense to move it out of the way | |||
| * | Allow empty value for inventory url field | 2021-08-30 | -0/+20 | |
|/ | ||||
* | Merge pull request #568 from python-discord/jb3/collectstatic-build | 2021-08-27 | -2/+16 | |
|\ | ||||
| * | Linting compliance | 2021-08-27 | -1/+6 | |
| | | ||||
| * | Merge branch 'main' into jb3/collectstatic-build | 2021-08-27 | -1/+1 | |
| |\ | |/ |/| | ||||
* | | Merge pull request #569 from KittyBorgX/main | 2021-08-27 | -1/+1 | |
|\ \ | | | | | | | [BUG FIX] - README.md - Remove the docs dir from the readme | |||
| * | | [BUG FIX] - README.md - Remove the docs dir from the readme | 2021-08-27 | -1/+1 | |
|/ / | | | | | | | The README.md file had an outdated hyperlink which pointed to the docs directory which doesnt exist anymore This PR fixes that |