imcompiling
6ae56bf8b2
Add: Vote model.
2025-07-17 09:14:51 -04:00
imcompiling
f472c0419b
Add: CouncilMembers model.
2025-07-17 09:14:51 -04:00
imcompiling
a7532773c1
Feat: Add ElectionInformation table.
2025-07-17 09:14:51 -04:00
imcompiling
81ad4ba313
Feat: Install sqlmodel.
2025-07-17 09:14:51 -04:00
imcompiling
b221f1e438
Feat: Update the ban message.
...
build_develop / build (push) Successful in 37s
build_latest / build (push) Successful in 21s
build_release / build (push) Successful in 22s
For some reason, the user's name was None. I'm guessing because they were
banned and are no longer a member or something. Don't need to record the member's
name anyway though, as its already a part of the audit log.
2025-07-16 21:24:03 -04:00
imcompiling
1b08ba1355
Feat: Set delete messages to 30 minutes.
build_develop / build (push) Successful in 32s
2025-07-16 16:03:26 -04:00
imcompiling
e191df1a38
Fix: spelling and ignore pylance warning.
build_develop / build (push) Successful in 32s
2025-07-16 15:57:31 -04:00
imcompiling
e35a2a8c8d
Feat: Add autoban
build_develop / build (push) Successful in 38s
2025-07-16 15:55:09 -04:00
imcompiling
d7046e4595
Add: config for ban channel id.
2025-07-16 15:45:35 -04:00
imcompiling
70037fb47a
Update renovate.json
...
build_latest / build (push) Successful in 19s
Don't automerge major versions, don't automerge docker minor versions.
2025-07-15 09:05:24 -04:00
imcompiling
eb6a8c7479
Feat: Add logging to tell when refresh happens.
build_latest / build (push) Successful in 44s
build_release / build (push) Successful in 22s
2025-05-27 23:33:19 -04:00
imcompiling
58b230afe6
Fix: Catch git error and refresh connection.
...
build_latest / build (push) Successful in 39s
build_release / build (push) Successful in 23s
I think that the git error is just happening from timing out. Trying to fix by
refreshing the connection when it happens.
2025-05-27 23:31:02 -04:00
imcompiling
fb8dfef55e
Fix: daily test runs daily loop.
build_develop / build (push) Successful in 42s
build_latest / build (push) Successful in 19s
build_release / build (push) Successful in 20s
2025-05-27 23:13:39 -04:00
imcompiling
487d174b6d
Fix: Remove name clobber. Add a try except.
...
build_develop / build (push) Successful in 40s
Also add environment variable to launch settings.
2025-05-26 21:15:15 -04:00
imcompiling
abb50d71b4
Feat: Update logging.
...
build_develop / build (push) Successful in 36s
Narrowing down where the issue is. Active cycle is being obtained, but
nothing was happening with it. No more debug messages either.
2025-05-26 20:40:12 -04:00
imcompiling
7409e2fd2d
Feat: Add filename, lineno, and function name to logging.
2025-05-26 20:34:45 -04:00
imcompiling
6a67804937
Fix: Import logger correctly.
build_develop / build (push) Successful in 42s
2025-05-25 22:31:50 -04:00
imcompiling
4f4d76d151
Feat: Add some logging.
...
build_develop / build (push) Successful in 43s
Trying to figure out why the elections are not starting.
2025-05-25 22:24:26 -04:00
imcompiling
f3985b5d21
Feat: Set debug if env var is true.
2025-05-25 22:15:12 -04:00
imcompiling
142cc337a0
Feat: Add dakiny_bot logger.
2025-05-25 22:11:37 -04:00
imcompiling
fd1d1c075e
Feat: Remove logger from app.py. It existed it main.j
2025-05-25 22:11:18 -04:00
imcompiling
e3ffafcff2
Update to python 3.13
build_latest / build (push) Successful in 40s
build_develop / build (push) Successful in 28s
2025-05-25 16:23:41 -04:00
imcompiling
855f3c1df8
Merge pull request 'Update dependency setuptools to v80' ( #96 ) from renovate/setuptools-80.x into main
...
build_latest / build (push) Successful in 42s
Reviewed-on: #96
Reviewed-by: imcompiling <[email protected] >
2025-05-25 15:42:28 -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
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