Commit Graph

51 Commits

Author SHA1 Message Date
07bc11fbff Move settings to a function and add tests 2025-01-22 17:45:29 +01:00
b8152836c8 Refactor job modification logic and improve label handling in ModifyJobModal 2025-01-20 23:28:18 +01:00
4b3acc0948 Refactor things 2025-01-16 00:25:19 +01:00
8337a20b50 Add WIP for /remind list, and make /remind add work 2025-01-03 21:38:44 +01:00
6a6b7bf7d6 Update pyproject.toml to reorganize dependencies and add TODOs for future GitHub Actions workflows 2025-01-03 15:19:18 +01:00
c8b6dbfe41 Start refactoring bot, add /remind add command 2025-01-03 15:03:47 +01:00
2e30cafbac Bump version to 2.0.0 due to Python 3.13 requirement, also update dependencies 2025-01-02 21:20:20 +01:00
353c399f84 Add setuptools 2023-11-23 16:15:11 +01:00
135abb8684 Update dependency apscheduler to ^3.9.1-post.0 2023-08-14 16:33:09 +00:00
7f1b6b77a9 Update dependency sqlalchemy to v2 2023-03-20 03:59:24 +00:00
73df048d43 Install py-interactions from PyPI instead of git and remove wait-for 2023-03-20 04:35:37 +01:00
11d9f2c2a5 Use Ruff and fix all its warnings and errors 2023-03-19 00:54:55 +01:00
54a7a671f7 Update dependency python-dotenv to v1 2023-02-24 12:50:44 +00:00
ddb6eedc45 👨🏻‍🌾Update dependencies 2022-12-13 00:21:52 +01:00
f36d049fcb Update dependency discord-webhook to v1 2022-11-21 23:17:22 +00:00
17eada7e29 Send errors and missed reminders to webhook
New environment variable that you need to use for this to work.
2022-10-31 01:24:32 +01:00
e248238091 Uncapitalize dependencies 2022-10-29 17:35:19 +02:00
2ea3c8c8b5 Remove dev dependencies 2022-09-29 07:29:22 +02:00
378d96b27f Update dependency mypy to ^0.981 2022-09-29 05:22:16 +00:00
21be6c00b3 Use modern Discord Ui stuff, fix time zones and, fix Dockerfile
Changes:
Use buttons, pagination and modals instead of old text-based stuff
Fix time zones (Closes #23)
Fix Dockerfile
Replace Discord.py with discord-py-interactions
Default time zone is now UTC instead of Europe/Stockholm

Replace
  /remind resume
  /remind pause
  /remind remove
  /remind modify
with
  /remind list
2022-09-17 22:23:43 +02:00
6d31d1bb72 Format white space 2022-08-14 15:01:03 +02:00
cd29a23936 Update formatting 2022-08-14 13:37:49 +02:00
fbcdc61e71 Add Mypy 2022-07-21 20:48:51 +02:00
3068175afe Add types for dateparser and pytz 2022-07-21 20:26:01 +02:00
0376ae0214 Change line-length to 120 2022-07-21 20:22:27 +02:00
fb8043e129 Add pytest 2022-05-02 23:34:36 +02:00
d1dd40e911 Update dependency python-dotenv to ^0.20.0 2022-03-25 00:42:45 +00:00
c5abe6323c Update dependencies 2022-03-18 00:58:42 +01:00
075c7628b8 Bump sqlalchemy from 1.4.31 to 1.4.32
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.4.31 to 1.4.32.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

---
updated-dependencies:
- dependency-name: sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 06:09:01 +00:00
8d57319f1f Remove developer dependencies to reduce the amount of dependencies 2022-03-01 23:09:52 +01:00
23e3a6d04d Bump apscheduler from 3.9.0.post1 to 3.9.1
Bumps [apscheduler](https://github.com/agronholm/apscheduler) from 3.9.0.post1 to 3.9.1.
- [Release notes](https://github.com/agronholm/apscheduler/releases)
- [Changelog](https://github.com/agronholm/apscheduler/blob/3.9.1/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/apscheduler/compare/3.9.0.post1...3.9.1)

---
updated-dependencies:
- dependency-name: apscheduler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 06:07:37 +00:00
0cd93016f7 Bump apscheduler from 3.8.1 to 3.9.0.post1
Bumps [apscheduler](https://github.com/agronholm/apscheduler) from 3.8.1 to 3.9.0.post1.
- [Release notes](https://github.com/agronholm/apscheduler/releases)
- [Changelog](https://github.com/agronholm/apscheduler/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/apscheduler/compare/3.8.1...3.9.0.post1)

---
updated-dependencies:
- dependency-name: apscheduler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 06:12:56 +00:00
66dc2c73c2 Bump types-dateparser from 1.0.14 to 1.1.0
Bumps [types-dateparser](https://github.com/python/typeshed) from 1.0.14 to 1.1.0.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-dateparser
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 06:06:41 +00:00
28da36d920 Bump version to v0.3.0 2022-02-19 01:50:57 +01:00
ef5f68f3f3 Bump types-pytz from 2021.3.4 to 2021.3.5
Bumps [types-pytz](https://github.com/python/typeshed) from 2021.3.4 to 2021.3.5.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-pytz
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 06:09:28 +00:00
b1968ca868 Bump types-dateparser from 1.0.13 to 1.0.14
Bumps [types-dateparser](https://github.com/python/typeshed) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-dateparser
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 20:35:34 +00:00
cdcd3ef008 Bump black from 21.12b0 to 22.1.0
Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits/22.1.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 20:33:49 +00:00
ed15309b9b Bump pytest from 6.2.5 to 7.0.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.0.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 20:29:59 +00:00
ad4b8f412e Bump mypy from 0.930 to 0.931
Bumps [mypy](https://github.com/python/mypy) from 0.930 to 0.931.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.930...v0.931)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 16:03:50 +00:00
88e981e917 Use the Black profile for isort 2022-02-10 15:42:03 +01:00
84d6f3b06e Update poetry.lock
Package operations: 0 installs, 5 updates, 0 removals

  • Updating multidict (5.2.0 -> 6.0.2)
  • Updating pyparsing (3.0.6 -> 3.0.7)
  • Updating regex (2021.11.10 -> 2022.1.18)
  • Updating sqlalchemy (1.4.29 -> 1.4.31)
  • Updating types-dateparser (1.0.12 -> 1.0.13)
2022-01-31 17:38:28 +01:00
509a2c4797 Add changelog and bump version to v0.2.0 2022-01-09 21:13:50 +01:00
cd79127ea0 Update packages 2022-01-02 04:19:13 +01:00
1d1cbbbf98 Fix license 2022-01-02 04:17:27 +01:00
4ac28b64c0 Change license to GPLv3 2022-01-02 02:36:23 +01:00
c36e17fd9a Add types-dateparser 2021-08-25 17:20:24 +02:00
6ebf67372d Update pyproject.toml 2021-08-08 14:51:34 +02:00
cc546f51ec Update pyproject.toml 2021-07-27 23:19:38 +02:00
6038b91d9e Add pydocstyle 2021-07-26 21:09:35 +02:00
ba9738a269 Add flake8 and mypy 2021-07-25 13:57:42 +02:00