Commit Graph

11 Commits

Author SHA1 Message Date
109d26eb6e
style: run pre-commit 2024-06-05 06:24:40 -04:00
Frederick
1530d8b44d
feat: create-personal-repos allows suffix (#18)
* feat: create-personal-repos allows suffix

Fix gitea worker by s/sis_login_id/login_id/g
Also simplify name conversion with str.title()

* docs: document create-personal-repos --suffix
2022-09-23 14:00:08 +08:00
Frederick
58cd7ba4a1
feat: extend create-issues with --regex and --file (#19)
* feat: create-issues allows reading from file

* feat: create-issues allows regex for repo names

* docs: extend create-issues
2022-09-23 00:49:10 +08:00
Frederick
6c0df81ec6
feat: Option to invite teaching team when creating MM channels (#17)
Also add config for mattermost_teaching_team
2022-09-21 00:17:27 +08:00
Salty Fish
462500b33e
feat: suffix argument to mm channel creation (#15) 2022-06-25 11:16:21 +08:00
Salty Fish
d674fbbc27
feat: batch unsubscribing functionality for gitea (#14)
* Add command to unsubscribe from repos in batches

* Update README

* Miscellaneous changes
2022-06-11 14:57:07 +08:00
934343ea7e
chore: List[Dict] -> Dict[str, List] 2022-05-28 00:35:53 +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
2683d2cecf
feat: create milestones on gitea 2022-05-08 22:10:27 +08:00
1ca9da7335
chore: fix typo & requirements & misc 2022-03-14 13:04:54 +08:00
3d18d5c6f7
feat: better extract assignment 2021-11-06 18:31:25 +08:00