Commit Graph

102 Commits

Author SHA1 Message Date
snyk-bot
cfc1bf3bab fix: requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-ZIPP-7430899
2024-07-16 08:37:31 -04:00
a497f03089
feat: create comment 2024-07-05 04:11:18 -04:00
dac569259b
feat: joj3 failed table / fix: joj3 scoreboard (#29) 2024-07-05 03:39:12 -04:00
4c1230ce45
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2 (#31)
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-06-19 17:24:11 -04:00
e810a36407
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2 (#30)
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-06-19 03:53:40 -04:00
28b0edec2c
chore: upgrade focs_gitea to 1.22 2024-06-10 04:22:04 -04:00
1605335a1c
feat: JOJ3 scoreboard (#28)
Co-authored-by: BoYanZh <boyanzh233@gmail.com>
2024-06-08 17:12:29 -04:00
1d6147db60
style: fix codacy checks 2024-06-05 06:56:56 -04:00
9c461de87a
chore: add colorama dep 2024-06-05 06:50:17 -04:00
109d26eb6e
style: run pre-commit 2024-06-05 06:24:40 -04:00
CHHC-L
a169a8b61c
feat: less Mattermost events (#27)
Co-authored-by: CHHC-L <136193358+serkini@users.noreply.github.com>
2023-09-27 21:51:22 -04:00
c1bf2ecf3a
feat: give hint when failed to find a team (#24) 2023-09-15 14:50:59 -04:00
666d62bc98
feat: handle focs_gitea logger 2023-07-13 19:33:17 +08:00
dd33a8ef9c
feat: intercept standard logging messages 2023-07-13 03:35:27 +08:00
78f29fc9f6
fix: gitea get team by name not found 2023-07-11 23:43:44 +08:00
2303cf71a2
chore: bump pydantic to 2 2023-07-11 23:33:22 +08:00
King
d56328ce4a
fix: use integration_id to get students' jAccount username (#22) 2023-05-28 17:17:50 +08:00
King
fb2b866667
fix: use canvas email instead of gitea user (#21) 2023-05-23 01:17:15 +08:00
lgtm-com[bot]
ac54d14aee
ci: add CodeQL workflow for GitHub code scanning (#20)
Co-authored-by: LGTM Migrator <lgtm-migrator@users.noreply.github.com>
2022-11-12 03:32:04 +08: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
db402cbb1d
fix: gitea worker uses login_id, skips when student not found (#16)
* fix: gitea worker uses login_id, skips when student not found

* fix: bare except

* fix: redundant logger warning
2022-09-21 10:01:27 +08:00
3df525e563
ci: always install itself 2022-09-21 00:24:11 +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
95b2edd804
ci: run --help to test correctness 2022-09-17 17:16:23 +08:00
32e35bc919
fix: use login_id as student id 2022-09-17 17:14:05 +08:00
3d6462aec7
chore: update default canvas domain name 2022-09-17 17:09:04 +08:00
df4daea519
fix: 'Group' object is not subscriptable 2022-07-17 15:34:25 +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
25d894c44d
chore: fix line break 2022-05-28 14:14:54 +08:00
3b6f83440a
feat: git host in config 2022-05-28 00:37:12 +08:00
3e66456535
feat: stderr log level in config (#12) 2022-05-28 00:37:07 +08:00
0e8c99b1d2
fix: typo 2022-05-28 00:36:43 +08:00
934343ea7e
chore: List[Dict] -> Dict[str, List] 2022-05-28 00:35:53 +08:00
b9b1513542
chore: remove pycln (#13) 2022-05-28 00:35:35 +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
5f8f9d2f08
chore: List[Tuple] -> Dict[str, Tuple] 2022-05-27 09:54:28 +08:00
89172137fe
chore: make lgtm happy 2022-05-19 23:00:45 +08:00
2683d2cecf
feat: create milestones on gitea 2022-05-08 22:10:27 +08:00
e26c9461b6
feat: raise exception on unsupported language for joj 2022-05-07 14:31:21 +08:00
e03dac6ef5
docs: reformat commands 2022-03-14 13:09:31 +08:00
1ca9da7335
chore: fix typo & requirements & misc 2022-03-14 13:04:54 +08:00
9eefd8bc01
feat: joj worker 2021-12-22 23:05:10 +08:00
1bdcab4b6c
fix: continue on wrong path 2021-12-10 13:56:28 +08:00
74cedc3f5b
fix: LATE SUBMISSION to grade file 2021-11-06 18:43:06 +08:00
3d18d5c6f7
feat: better extract assignment 2021-11-06 18:31:25 +08:00
449874afc3
feat: show succeed repos in checkout-releases 2021-11-06 01:14:16 +08:00
55f25d8e12
docs: add a Codacy badge 2021-11-04 01:53:37 +08:00
e8f5bd7a08
style: fix codacy 2021-11-04 01:47:38 +08:00