Commit Graph

51 Commits

Author SHA1 Message Date
mQzLjP
6be5df7314
fix(gitea): timezone (#56) 2025-05-20 23:25:27 -04:00
mQzLjP
23204ef168
feat: create issue with milestone (#55) 2025-05-20 14:49:01 -04:00
mQzLjP
396329f4b6
feat: archive repos by regex (#54) 2025-05-16 20:04:44 -04:00
d094d7a974
feat: default branch as config field 2025-03-22 17:41:51 -04:00
1c90f55013
feat: get jaccount from sjtu email 2025-02-19 22:55:46 -05:00
599a07d41f
fix(gitea): remote drone in master branch protection (#46) 2024-12-07 01:50:35 -05:00
cae195a4b5
feat: unwatch all repos 2024-10-02 14:14:24 -04:00
0b50495d09
feat: optional gitea debug 2024-09-14 21:32:27 -04:00
cdc86c5457
fix: support set settings 2024-09-14 19:34:34 -04:00
bace3c0d30
feat: continue running on user missing in create-teams (#38) 2024-07-23 09:21:37 -04:00
0ed098fd1d
fix: gitea get team id by name (#36) 2024-07-23 04:25:10 -04:00
a497f03089
feat: create comment 2024-07-05 04:11:18 -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
78f29fc9f6
fix: gitea get team by name not found 2023-07-11 23:43:44 +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
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
df4daea519
fix: 'Group' object is not subscriptable 2022-07-17 15:34:25 +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
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
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
40703f2126
style: fix codacy 2021-11-04 01:42:08 +08:00
a399a07533
feat: update checkout to release 2021-11-04 01:34:38 +08:00
63b1fd7c3f
fix: merge whitelist 2021-10-21 12:54:53 +08:00
e438f02b23
fix: canvas score file 2021-10-14 20:27:39 +08:00
9ce50c6964
fix: white list Owners team in branch protection 2021-10-13 02:45:51 +08:00
31bca87d4b
fix: export public keys 2021-10-11 14:46:56 +08:00
13e7278cdd
feat: git retry 2021-10-11 03:44:51 +08:00
c2333d88b1
fix: empty repo branch protection failed 2021-10-07 03:31:23 +08:00
e1d3ad0428
feat: create teams with branch protection 2021-10-07 01:56:07 +08:00
2dbe321d43
feat: canvas score utils 2021-10-07 01:12:22 +08:00
7fa19c3cb9
feat: list no collaborator/commit repos 2021-09-28 15:35:27 +08:00
5741675f10
chore: log format 2021-09-23 12:54:12 +08:00
f705f59d0e
fix: log level 2021-09-19 17:01:29 +08:00
16925bcf05
feat: logs & lists 2021-09-17 00:54:09 +08:00
a20ce8b3d6
fix: missing parameter 2021-09-16 00:21:57 +08:00
b143172df8
fix: name converter 2021-09-15 15:28:42 +08:00
c75caa3990
feat: better logs 2021-09-15 04:00:23 +08:00
48cbf4871d
feat: more helps 2021-09-14 18:15:15 +08:00
3a6399ea1c
fix: lru_cache (#7) 2021-07-01 18:31:09 +08:00
49d2ce56f3 feat: check exist issue by title 2021-06-19 01:42:24 +08:00
5736be013c style: single leading underscore 2021-06-19 01:42:24 +08:00
dc1d068e5d fix: attr & dir 2021-06-14 10:04:11 +08:00