| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | * | | | | | Pin psycopg version and re-lock | 2021-09-22 | -101/+139 | ||
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason the lock file was out of date, which caused issues when trying to poetry install on Windows without build tools. psycopg had to be pinned to ~=2.8.0 as 2.9 introduces an issue with us not setting the db connection to UTC | ||||
| | * | | | | | Merge pull request #588 from python-discord/revert-metricity-init-changes | 2021-09-17 | -137/+35 | ||
| | |\ \ \ \ \ | | | | | | | | | | | | | | | Revert metricity init changes | ||||
| | | * | | | | | Move psql health check to docker compose file | 2021-09-17 | -53/+7 | ||
| | | | | | | | | |||||
| | | * | | | | | Init metricity using docker-compose init volume | 2021-09-17 | -84/+28 | ||
| | |/ / / / / | |||||
| | | | | | * | Merge branch 'main' into otn_softdel | 2021-08-20 | -35/+522 | ||
| | | | | | |\ | |||||
| | | | | | * | | fix CommandError: Conflicting migrations detected. | 2021-07-24 | -0/+14 | ||
| | | | | | | | | |||||
| | | | | | * | | Merge branch 'main' into otn_softdel | 2021-07-24 | -202/+829 | ||
| | | | | | |\ \ | |||||
| | | | | | * | | | Update docstring. | 2021-07-22 | -1/+1 | ||
| | | | | | | | | | |||||
| | | | | | * | | | Use sets to compare 2 un-ordered lists. | 2021-06-10 | -9/+10 | ||
| | | | | | | | | | |||||
| | | | | | * | | | Merge branch 'main' into otn_softdel | 2021-06-10 | -83/+363 | ||
| | | | | | |\ \ \ | |||||
| | | | | | * | | | | Use assertListEqual where applicable instead of assertEqual. | 2021-06-10 | -8/+10 | ||
| | | | | | | | | | | |||||
| | | | | | * | | | | fix conflicts?. | 2021-06-10 | -0/+0 | ||
| | | | | | |\ \ \ \ | |||||
| | | | | | | * | | | | Return a list of ot-names only for GET request only to ↵ | 2021-05-31 | -2/+17 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bot/off-topic-channel-names | ||||
| | | | | | * | | | | | Add tests for active params. | 2021-06-10 | -4/+34 | ||
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Fix bug: Do not force active param. | 2021-06-10 | -6/+9 | ||
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Lint file and remove update() method declaration from ↵ | 2021-06-10 | -2/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OffTopicChannelNameListSerializer. | ||||
| | | | | | * | | | | | Query off topic names based on Active attribute. | 2021-06-04 | -6/+10 | ||
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Return a list of ot-names only for GET request only to ↵ | 2021-06-04 | -2/+19 | ||
| | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | bot/off-topic-channel-names | ||||
| | | | | | * | | | | Use ModelViewSet to add support for PUT and PATCH request. | 2021-05-19 | -8/+5 | ||
| | | | | | | | | | | |||||
| | | | | | * | | | | Serialize name and active attribute. | 2021-05-19 | -12/+1 | ||
| | | | | | | | | | | |||||
| | | | | | * | | | | Add active field to OffTopicChannelName model. | 2021-05-19 | -1/+29 | ||
| | | | | | | | | | | |||||
| * | | | | | | | | | Link icons belong close together. | 2022-01-23 | -12/+12 | ||
| | | | | | | | | | | |||||
| * | | | | | | | | | Make GoodReads icons readable. | 2022-01-23 | -11/+5 | ||
| | | | | | | | | | | |||||
| * | | | | | | | | | Move evil <script> tag into a .js file. | 2022-01-23 | -52/+48 | ||
| | | | | | | | | | | |||||
| * | | | | | | | | | Always add a link icon for the primary URL. | 2022-01-23 | -2/+12 | ||
| | | | | | | | | | | |||||
| * | | | | | | | | | Kaizen: Refactor some code to be more beautiful. | 2022-01-23 | -16/+16 | ||
| | | | | | | | | | | |||||
| * | | | | | | | | | Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-main | 2021-09-13 | -44/+113 | ||
| |\| | | | | | | | | |||||
| | * | | | | | | | | 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. | ||||
| * | | | | | | | | | Remove wildcard asterisks in URL. | 2021-09-12 | -8/+0 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is no longer necessary as empty columns are treated as all being selected. | ||||
| * | | | | | | | | | Empty columns treated as all selected. | 2021-09-12 | -1/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treating an asterisk as a wild card is now redundant. | ||||
| * | | | | | | | | | Removed default selections. | 2021-09-12 | -6/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will instead treat empty selections as all being selected. | ||||
| * | | | | | | | | | Merge with main, resolve conflicts. | 2021-09-05 | -68/+929 | ||
| |\| | | | | | | | | |||||
| | * | | | | | | | | Merge pull request #581 from python-discord/Pin-platform-in-Dockerfile | 2021-09-04 | -1/+1 | ||
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Pin platform in Dockerfile | ||||