1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-02 16:43:12 +00:00
Commit graph

694 commits

Author SHA1 Message Date
kzndotsh
7a02e448d3 chore: remove unused pyright and vulture configurations from .pre-commit-config.yaml and pyproject.toml
style(Dockerfile): improve readability by aligning RUN commands
refactor(pyproject.toml): increase line-length limit to 120 and change line-ending to 'lf' for better compatibility
2024-07-02 02:23:17 +00:00
kzndotsh
62f74b67aa
Merge pull request #295 from allthingslinux/refactor-multiguild 2024-06-29 06:11:09 -04:00
kzndotsh
692855e6be Refactor database models and clean up archive
Temp moving moderation and misc files to .archive for cleanup purposes.
Updated `schema.prisma` to use environment variables for production.
Removed redundant user, role, and emoji statistics database models and associated controllers.
Integrated a new `Case` model to consolidate infraction-related data.
Modified reminder, snippet, and note models, and their corresponding controllers to streamline and standardize the database structure.
Removed outdated database seeding commands.
2024-06-29 06:08:48 -04:00
kzndotsh
3137677cd8 feat(pyproject.toml): upgrade sentry-sdk to version 2.7.0 and add httpx and loguru extras for enhanced error tracking and logging capabilities 2024-06-27 03:23:31 +00:00
electron271
f668fbc917
[Commands] Only allow alphanumeric mail names 2024-06-26 15:04:35 -05:00
electron271
c1e175f982
make the temp password randomly generated 2024-06-26 14:49:18 -05:00
kzndotsh
61b68dbb59
Merge pull request #292 from allthingslinux/mailcow
feat: add Mailcow integration for user mail registration
2024-06-26 15:36:16 -04:00
kzndotsh
d7308dc2eb Fix 2024-06-26 15:34:03 -04:00
kzndotsh
537543bdae fix(mail.py): add timeout to httpx.AsyncClient to prevent indefinite hanging of requests
feat(mail.py): add error handling for failed DMs to users, providing feedback when DMs can't be sent due to user settings
2024-06-26 19:32:11 +00:00
kzndotsh
d229acac43
Update tux/cogs/admin/mail.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2024-06-26 15:26:50 -04:00
kzndotsh
8b256c54cf
Update tux/cogs/admin/mail.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2024-06-26 15:12:59 -04:00
kzndotsh
de70280cfc
Merge pull request #291 from allthingslinux/renovate/sentry-sdk-2.x-lockfile
fix(deps): update dependency sentry-sdk to v2.7.0
2024-06-26 15:09:13 -04:00
kzndotsh
a38ed837a3
Merge pull request #290 from allthingslinux/renovate/pyright-1.x-lockfile
fix(deps): update dependency pyright to v1.1.369
2024-06-26 15:09:00 -04:00
kzndotsh
71ce056110 feat: add Mailcow integration for user mail registration
- Add MAILCOW_API_KEY and MAILCOW_API_URL to .env.example for Mailcow integration
- Create new mail.py file in tux/cogs/admin for mail registration commands
- Add Mailcow constants in tux/utils/constants.py for API key and URL
- The changes allow admins to register users for mail via a Discord command
2024-06-26 19:00:13 +00:00
renovate[bot]
9a675802a0
fix(deps): update dependency sentry-sdk to v2.7.0 2024-06-26 13:19:03 +00:00
electron271
f4bc07b9c1
fix build_embed and set_status in console.py 2024-06-25 20:15:22 -05:00
renovate[bot]
9b57da4649
fix(deps): update dependency pyright to v1.1.369 2024-06-25 22:31:44 +00:00
electron271
c324785789
Merge pull request #280 from tessjj/export
Fix strict typing issues
2024-06-25 10:01:09 -05:00
electron271
753b65e665
Merge pull request #281 from tessjj/snippet-bloat
Self-delete "No snippets found" error embeds.
2024-06-25 09:59:43 -05:00
electron271
9c89b738ef
Merge pull request #283 from tessjj/regex
Edit the harmful command regex to be less strict.
2024-06-25 09:58:55 -05:00
Tess J. J
8e85f4f98f
Merge pull request #287 from allthingslinux/renovate/mypy-1.x-lockfile
fix(deps): update dependency mypy to v1.10.1
2024-06-25 04:56:50 -04:00
renovate[bot]
ea40fc8849
fix(deps): update dependency mypy to v1.10.1 2024-06-25 03:06:22 +00:00
electron271
326ed607f4
Merge pull request #286 from allthingslinux/284-edit-time-format-for-remindme
Add more time formats to `remindme` and make message ephemeral
2024-06-24 16:27:11 -05:00
electron271
73237679eb
Update functions.py 2024-06-24 16:26:46 -05:00
electron271
ad049b8e8b
Add more time formats to remindme and make message ephemeral 2024-06-24 16:23:27 -05:00
wlinator
23b9fb9aa0 Edit harmful regex to be less strict 2024-06-24 19:34:37 +02:00
electron271
39fe3e23a7
Merge pull request #282 from allthingslinux/electron271-patch-1
less spammy snippets style
2024-06-24 09:11:22 -05:00
electron271
4c11a960fa
less spammy snippets style 2024-06-24 09:05:40 -05:00
wlinator
ac911d9376 Self-delete "No snippets found" error embeds 2024-06-23 23:29:34 +02:00
wlinator
5afaee9196 Fix strict typing in xkcd.py 2024-06-23 23:05:03 +02:00
wlinator
dd2ee9379c Fix strict typing issues 2024-06-23 22:30:40 +02:00
kzndotsh
7d309632d0
Merge pull request #278 from tessjj/export
PR: '/export banned' and '/export members' command.
2024-06-23 03:15:51 -04:00
kzndotsh
2567ccf3c5 chore(.pre-commit-config.yaml): update ruff-pre-commit version from v0.4.9 to v0.4.10 for latest features and bug fixes
refactor(info.py): remove irc command as it's no longer needed in the project
2024-06-23 07:15:19 +00:00
kzndotsh
dbe4579b66 Moving to guild directory 2024-06-23 03:04:14 -04:00
wlinator
b624add8ea Refactor 2024-06-22 20:18:43 +02:00
wlinator
dfe5ce488e Always include the --all flag at the front 2024-06-22 20:07:53 +02:00
wlinator
bc46d1a48e Create get_help_embed to reduce code redundancy for the flag information 2024-06-22 20:06:19 +02:00
wlinator
8ba20c5422 Change default quoting to QUOTE_ALL 2024-06-22 19:42:25 +02:00
wlinator
1b07cc2547 Add '/export members' command 2024-06-22 19:38:38 +02:00
wlinator
c746972adc Define default headers for the ban csv 2024-06-22 19:22:14 +02:00
wlinator
81d73cae6c Make "default" an optional parameter in _define_headers 2024-06-22 19:20:28 +02:00
wlinator
3e12ca88be Create _create_encoded_string to later reduce code redundancy 2024-06-22 19:12:50 +02:00
wlinator
03b421bf84 Make a functions file for export functions 2024-06-22 19:04:31 +02:00
electron271
a2275de3e3
Merge pull request #274 from tessjj/xkcd
Add xkcd alt text to the embeds.
2024-06-22 09:20:59 -05:00
electron271
ec943b24a4
Merge pull request #273 from tessjj/profile_avatar
Rewrite /avatar code and displays server avatar if available.
2024-06-22 09:20:19 -05:00
wlinator
ac6fc6e21c Set a more descriptive filename in '/export banned' 2024-06-22 16:08:23 +02:00
wlinator
6719333efe Add --all flag to '/export banned' 2024-06-22 16:02:33 +02:00
wlinator
174481917f guild.bans requires client ban_members permissions 2024-06-22 15:56:44 +02:00
wlinator
c95a6f1794 Small fix: change help output for clarity 2024-06-22 15:53:25 +02:00
wlinator
b24bcd70a6 Show help information in the export ban command if no flags are specified 2024-06-22 15:46:05 +02:00