Commit Graph

9 Commits

Author SHA1 Message Date
2303cf71a2
chore: bump pydantic to 2 2023-07-11 23:33:22 +08:00
25d894c44d
chore: fix line break 2022-05-28 14:14:54 +08:00
Salty Fish
d437cb8b18
feat: basic Mattermost integration functionality (#10)
* Fix small error in venv setup guide

* Add functions for mm integration

Implemented: create channels for groups
Implemented: create webhooks on both sides for groups
As for now these functions can only be called from the Python REPL

* Add commands for mm channel/webhook creation

Implemented: archive a given list of channels (unused)

* Add new features to README

* Add filter argument for channel/webhook creation

This filter argument is optional and defaults to an empty string,
meaning no filtering is required. This is helpful for excluding previous
project repos or irrelevant repos.
Also added detection logic to handle an exception where a student is on
MM but not in the target team. (Perhaps we would want to invite that
student immediately?)

* Update README

Clarify platform difference for venv
Restructure Commands & Features section to make room for better docs

* Remove unused function from Canvas worker

* Add gitea domain name and suffix config items

Align with the mm worker, and grant more flexibility
Also changed terminology to be clearer (`domain_name` instead of `url`)

* Code style and quality updates

* Add domain name and suffix config items for Canvas

* Return to using dicts to represent groups

Removed `StudentGroup` at BoYanZh's request
2022-05-27 12:10:08 +08:00
1ca9da7335
chore: fix typo & requirements & misc 2022-03-14 13:04:54 +08:00
2dbe321d43
feat: canvas score utils 2021-10-07 01:12:22 +08:00
c75caa3990
feat: better logs 2021-09-15 04:00:23 +08:00
cad7a876f7 fix: requirements 2021-06-20 17:08:59 +08:00
8aec08f7d1 feat: cli with typer 2021-06-10 23:39:29 +08:00
5c1b1b4b19 feat: init 2021-06-09 20:55:50 +08:00