Commit Graph
100 Commits
Author SHA1 Message Date
imcompiling af3b8e9e69 Add lint ignores for tests.
build_develop / build (push) Successful in 44s
2025-04-24 08:59:47 -04:00
imcompiling a5655c4d6b Add a test for get_datetime. 2025-04-24 08:59:20 -04:00
imcompiling a277566654 Merge commit '58c167bbe30fa422277bef9e1ad0aed7bc350fc4' into missed-election 2025-04-23 14:54:01 -04:00
imcompiling 58c167bbe3 Revert "Remove setuptools as a dependency."
build_latest / build (push) Successful in 31s
This reverts commit c5e4a94cd2.
2025-04-23 14:52:51 -04:00
imcompiling 6adb98111b Add the freezegun module for testing. 2025-04-23 14:22:29 -04:00
imcompiling 4d96aebeb1 Address some pylance warnings. 2025-04-23 14:15:39 -04:00
imcompiling d38f56ff41 Rename module to conform to naming conventions. 2025-04-23 14:07:46 -04:00
imcompiling 95fb9e289b Imports got sorted, address some pylance warnings. 2025-04-23 14:05:36 -04:00
imcompiling 3bcd1a3a01 Update settings to handle lists
build_develop / build (push) Successful in 34s
lists won't ever happen, but pylance didn't like it.
2025-04-23 14:03:50 -04:00
imcompiling 6c57644eb0 Add pytest and coverage.
build_develop / build (push) Successful in 1m11s
2025-04-23 13:22:41 -04:00
imcompiling c5e4a94cd2 Remove setuptools as a dependency.
build_latest / build (push) Successful in 37s
2025-04-06 12:07:20 -04:00
imcompiling f95955dc7f Merge pull request 'Update docker/login-action action to v3' (#92) from renovate/docker-login-action-3.x into main
build_latest / build (push) Successful in 24s
Reviewed-on: #92
Reviewed-by: imcompiling <[email protected]>
2025-04-06 11:59:05 -04:00
imcompiling 29eb21b286 Merge pull request 'Update dependency pytz to v2025' (#89) from renovate/pytz-2025.x into main
build_latest / build (push) Successful in 29s
Reviewed-on: #89
Reviewed-by: imcompiling <[email protected]>
2025-03-23 23:39:51 -04:00
imcompiling c48fba9c85 Update the create database script to account for directory structure change.
build_latest / build (push) Successful in 36s
2025-03-21 10:03:11 -04:00
imcompiling 7e3b57f4b6 Update pyproject to point to home directory, add an init and remove pyproject that ignores the warning that the init file fixes. 2025-03-21 10:02:30 -04:00
imcompiling 889ba2fd6b Correct cog listing.
build_latest / build (push) Successful in 32s
2025-03-19 17:47:58 -04:00
imcompiling 8b5c954aa5 Remove poetry lock.
build_latest / build (push) Successful in 34s
2025-03-19 11:20:00 -04:00
imcompiling adc44d4466 Merge branch '82-uv'
build_latest / build (push) Has been cancelled
2025-03-19 11:17:52 -04:00
imcompiling 1ab9cdfea3 Added editorconfig and dockerignore. Update the dockerfile to use uv.
build_develop / build (push) Successful in 38s
2025-03-19 10:08:01 -04:00
imcompiling 5748159279 Update launch module. 2025-03-19 09:58:06 -04:00
imcompiling 12b700f340 Update imports for new file structure. 2025-03-19 09:57:36 -04:00
imcompiling 89534ed5b8 Rename database package. 2025-03-19 09:52:15 -04:00
imcompiling 80dde1e8ed Move all files into dakiny_bot package. 2025-03-19 09:41:54 -04:00
imcompiling 969f380b08 Add ignore workflow runs on readme changes.
build_latest / build (push) Successful in 23s
2025-03-17 16:46:27 -04:00
imcompiling 10d7014c41 Merge branch 'main' of https://gitea.cheezers.org/imcompiling/dakiny-bot 2025-03-17 16:46:16 -04:00
imcompiling 6199350cca Merge pull request 'Update actions/checkout action to v4' (#85) from renovate/actions-checkout-4.x into main
build_latest / build (push) Successful in 1m32s
Reviewed-on: #85
Reviewed-by: imcompiling <[email protected]>
2025-02-25 09:27:43 -05:00
imcompiling 78d4b3d2de Remove a depreciated lint rule.
build_develop / build (push) Failing after 33s
2025-02-04 23:13:24 -05:00
imcompiling d9645dc342 Add yaml dataclass wizard and uvicorn. 2025-02-04 23:08:22 -05:00
imcompiling f1dd3cbd3b Rename yml files to yaml. 2025-02-04 22:53:54 -05:00
imcompiling d56251c0b9 Do not ping a user on their cakeday.
build_release / build (push) Successful in 17s
build_latest / build (push) Successful in 1m45s
2025-02-04 22:49:53 -05:00
imcompiling 667a600ec6 Add poetry lock file. 2025-02-04 22:46:51 -05:00
imcompiling 03a94ca6dd Turn on lockFileMaintenance for renovatebot. 2025-02-04 22:45:14 -05:00
imcompiling 9da598e4d9 Add renovatebot json config.
build_latest / build (push) Successful in 2m3s
2025-02-04 17:35:11 -05:00
imcompiling 3a280696ca Need to install specific poetry version, export gets removed in v2.
build_latest / build (push) Successful in 1m41s
build_release / build (push) Successful in 19s
2025-01-19 18:35:38 -05:00
imcompiling 8825afdb46 Missed removing a parameter from buiild_votes_str().
build_latest / build (push) Failing after 29s
build_release / build (push) Failing after 29s
2025-01-19 18:19:51 -05:00
imcompiling 5f7ef0a7fb In progress working on uv.
build_develop / build (push) Failing after 1m9s
2025-01-11 10:52:21 -05:00
imcompiling 6fc91e0708 dakiny-bot#83 fix the view points bug when someone isn't in the guild anymore.
build_latest / build (push) Successful in 1m36s
build_release / build (push) Successful in 18s
build_develop / build (push) Successful in 23s
2024-12-22 22:21:01 -05:00
imcompiling 95cfcca600 Issue #79, add a 2 hour timeout to event submission.
build_latest / build (push) Successful in 1m27s
build_release / build (push) Successful in 22s
2024-12-22 17:11:54 -05:00
imcompiling 0419c9dfd6 Add auto complete for view clan points command.
build_latest / build (push) Successful in 1m30s
2024-12-22 16:51:10 -05:00
imcompiling 6ec2862aed Merge branch '76-clan-points'
build_latest / build (push) Successful in 17s
build_release / build (push) Successful in 17s
2024-12-22 15:49:24 -05:00
imcompiling c8f5c5bffb Add view clan points command. Break out function for creating the string so that code isn't duplicated.
build_develop / build (push) Successful in 2m11s
2024-12-22 15:48:10 -05:00
imcompiling a56b47a5fa Revamped utils to handle clan and event points in one. Updated record as needed. 2024-12-22 15:34:14 -05:00
imcompiling 906b63d57f Update view event points for new table name. 2024-12-22 15:13:35 -05:00
imcompiling 1bae320446 Fix in typos. 2024-12-22 15:10:47 -05:00
imcompiling a081718f8d Combine event and clan points into one table. 2024-12-22 14:41:50 -05:00
imcompiling 0dd1a90edd Merge branch 'main' into 76-clan-points 2024-12-22 14:04:03 -05:00
imcompiling 1305e15edf Change cutoff months for rollover.
build_latest / build (push) Successful in 1m49s
build_develop / build (push) Successful in 24s
build_release / build (push) Successful in 20s
2024-12-14 18:36:47 -05:00
imcompiling 86e9e3e32b Write a new test case for quarter name. 2024-12-14 17:57:01 -05:00
imcompiling 8498f42ba0 update ruff version
build_develop / build (push) Successful in 2m41s
2024-10-05 14:16:01 -04:00
imcompiling be46edd4ea Updated docustrings.
build_develop / build (push) Successful in 1m24s
2024-09-20 21:52:00 -04:00
imcompiling e34d847364 Add all settings commands for clan points.
build_develop / build (push) Successful in 1m25s
2024-09-20 21:49:13 -04:00
imcompiling 50d10f5168 Rework point settings to combine clan and event points into same class for simplicity. 2024-09-20 21:43:08 -04:00
imcompiling a01503c2c3 Add new sql tables to sql data classes 2024-09-20 21:21:07 -04:00
imcompiling 4c40a4c0e5 Reordered to alphabetical like rest of classes.
build_develop / build (push) Successful in 1m25s
2024-09-20 21:19:23 -04:00
imcompiling c3f25b6b54 Add settings to DakinySettings.
build_develop / build (push) Has been cancelled
2024-09-20 21:18:14 -04:00
imcompiling e36b2425aa Add new tables for clan points.
build_develop / build (push) Successful in 1m24s
2024-09-20 21:15:09 -04:00
imcompiling d7a0480c2b Merge branch '78-config-for-skipping-election-cycle'
build_latest / build (push) Successful in 17s
build_release / build (push) Successful in 17s
build_develop / build (push) Has been cancelled
2024-09-07 15:49:21 -04:00
imcompiling 8457c09b5b Remove bad import.
build_develop / build (push) Successful in 1m24s
2024-09-07 15:46:52 -04:00
imcompiling 3c31d0ad33 Add active parameter to elections. Only return an election for use if the election is active. 2024-09-07 15:46:30 -04:00
imcompiling 70676a98dd Merge branch '77-verification-for-splits'
build_latest / build (push) Successful in 16s
build_release / build (push) Successful in 16s
2024-09-07 15:15:26 -04:00
imcompiling 512802def7 Add ability to configure event verification.
build_develop / build (push) Successful in 1m22s
2024-09-07 15:14:50 -04:00
imcompiling 87b21782ce Remove unneeded import. 2024-09-07 15:08:53 -04:00
imcompiling 38ef2f4cb8 process_event isn't part of the class anymore. 2024-09-07 15:07:59 -04:00
imcompiling 79706fbe34 Fix bad array index. Send event to event channel when approved.
build_develop / build (push) Successful in 1m22s
2024-09-07 15:05:34 -04:00
imcompiling 83d39d0002 Add an approval process for event submissions.
build_develop / build (push) Successful in 1m25s
2024-09-07 15:00:16 -04:00
imcompiling d81ff295dd Don't need to save right after loading.
build_latest / build (push) Successful in 1m26s
2024-09-05 15:40:35 -04:00
imcompiling 9bfbafe15b Merge branch '21-edit-configs-from-discord'
build_latest / build (push) Successful in 17s
build_release / build (push) Successful in 17s
2024-09-05 15:30:36 -04:00
imcompiling b42f04aada Implemented rest of config settings commands.
build_develop / build (push) Successful in 1m27s
2024-09-05 15:30:08 -04:00
imcompiling 2ba56ead82 Alphabetically sorted DakinySettings. 2024-09-05 15:21:23 -04:00
imcompiling be824de52e Add rest of setting channel id commands. 2024-09-05 15:02:40 -04:00
imcompiling d3084c4ddb Create new settings command. Create first channel id settings command.
build_develop / build (push) Successful in 1m25s
2024-09-05 14:49:30 -04:00
imcompiling da7e529502 Remove unneeded typechecking import.
build_develop / build (push) Successful in 1m20s
2024-09-03 19:47:49 -04:00
imcompiling 4044c84811 Change file copied by Dockerfile. Remove last references to old config in docstrings. 2024-09-03 19:46:02 -04:00
imcompiling 44586183fe Replace rest of bot.config references. Clear record.py of old config usage. 2024-09-03 19:43:37 -04:00
imcompiling 3a47f58382 Remove config param from edit_clan_council_info(). 2024-09-03 19:33:13 -04:00
imcompiling 06d81a4604 Remove config param from record_event_points(). 2024-09-03 19:31:40 -04:00
imcompiling b1f8e9d742 Remove config param from build_highcouncil_votes_str(). 2024-09-03 19:28:05 -04:00
imcompiling 609fa38f20 Remove config param from build_votes_str(). 2024-09-03 16:13:35 -04:00
imcompiling f81e95381e Remove config param from get_quarter_cycle(). 2024-09-03 16:08:27 -04:00
imcompiling 62f9902298 Remove config param from get_current_election_cycle(). Update test.py to use new settings. 2024-09-03 16:07:23 -04:00
imcompiling 1dd5a33da5 Remove config param from get_quarter_name(). 2024-09-03 16:04:33 -04:00
imcompiling 8dc2668f44 Remove config param from get_election_name(). 2024-09-03 16:03:36 -04:00
imcompiling 3b289e74c8 Updated files in classes directory to use new configs. Ensured usages are updated. 2024-09-03 15:57:50 -04:00
imcompiling 2244765d87 Organized settings better within the dataclass. 2024-09-03 15:13:47 -04:00
imcompiling 62f53bde55 Renamed to DakinySettings. Converted dataclass to YAMLWizard.
build_develop / build (push) Failing after 17s
2024-09-03 14:37:06 -04:00
imcompiling b15e99ca68 Remove hydra from main. Install PyYAML. 2024-09-03 14:14:22 -04:00
imcompiling 628152c22c Change DakinyConfig.py file name. 2024-09-03 13:53:11 -04:00
imcompiling f00b6502f6 Merge branch '65-database-changes'
build_release / build (push) Successful in 16s
build_latest / build (push) Successful in 16s
2024-09-03 11:55:04 -04:00
imcompiling a55a90b922 Fixed missed column name change.
build_develop / build (push) Successful in 1m24s
2024-09-03 11:52:40 -04:00
imcompiling 7e0ff1da18 Rename EventPoints.Cycle to EventPoints.QuarterName.
build_develop / build (push) Successful in 1m23s
2024-09-03 11:42:20 -04:00
imcompiling eb5102578d Change ElectionCycle class to Election. Change ElectionCycle column in database to ElectionName. Update some variables for clarification. 2024-09-03 11:24:28 -04:00
imcompiling 306e0d687a Update ElectionCycle to ElectionName in database creation script. 2024-09-03 11:10:10 -04:00
imcompiling 8fb59ba394 Remove unused noqa.
build_develop / build (push) Failing after 42s
2024-09-03 11:00:48 -04:00
imcompiling 7b521893d3 Rename ParticipationPoints to EventPoints. 2024-09-03 10:59:39 -04:00
imcompiling 19e654aed0 Update ruff version 2024-09-03 10:59:28 -04:00
imcompiling 0d38bc82c4 Merge commit 'b64e2471fa7fdca5bb925c54eaa9adee78a19e5d'
build_latest / build (push) Successful in 16s
build_release / build (push) Successful in 16s
build_develop / build (push) Successful in 2m10s
2024-08-02 16:23:45 -04:00
imcompiling b64e2471fa Prevent double period.
build_develop / build (push) Successful in 1m28s
2024-08-02 16:23:35 -04:00
imcompiling 0b5330f7ca Merge commit '4e64eac17669e5e9b4e4626b3e2f9501b55c7aac'
build_latest / build (push) Successful in 16s
build_release / build (push) Successful in 16s
2024-08-01 22:07:55 -04:00
imcompiling 4e64eac176 Handle case when there are no non-discord members to view points for.
build_develop / build (push) Successful in 1m25s
2024-08-01 22:07:28 -04:00
imcompiling c90ddf42c3 Merge branch 'main' of https://gitea.cheezers.org/imcompiling/dakiny-bot
build_latest / build (push) Successful in 1m25s
build_develop / build (push) Successful in 16s
2024-08-01 21:50:02 -04:00