Commit Graph

213 Commits

Author SHA1 Message Date
e6c406d6b5
feat: hide empty comment 2024-10-09 05:13:54 -04:00
311aff4d9c
fix: comment with summary 2024-10-09 04:52:01 -04:00
bc5739a0b1
feat: revert to old comment 2024-10-09 04:41:28 -04:00
mQzLjP
0e54dd50ec
feat: JOJ3 issue enhancement (#43) 2024-10-09 03:19:39 -04:00
9647b5d728
style: run pre-commit 2024-10-08 06:59:10 -04:00
2ccce41807
feat: add powered by in joj3 comment 2024-10-04 20:40:39 -04:00
3b40174a64
feat: sort failed table by time 2024-10-04 18:46:48 -04:00
f3f45f8280
feat: more info in joj3 commit msgs 2024-10-04 10:45:58 -04:00
6c047795ea
revert: "feat: InterceptHandler with no depth on no backtrace"
This reverts commit fdfebc87d8.
2024-10-02 23:49:51 -04:00
fdfebc87d8
feat: InterceptHandler with no depth on no backtrace 2024-10-02 22:47:47 -04:00
04995f1934
feat: InterceptHandler with diagnose and backtrace 2024-10-02 22:38:10 -04:00
cae195a4b5
feat: unwatch all repos 2024-10-02 14:14:24 -04:00
f9b6409e53
feat: log debug log file path 2024-10-01 16:44:54 -04:00
2116cfa997
feat: hide log diagnose & backtrace in for joj3 2024-10-01 16:35:25 -04:00
35f1fa37f3 fix: typo 2024-10-01 13:24:53 -04:00
bc92b222c3 feat: sort score from low to high 2024-10-01 13:15:33 -04:00
bc6d85811d
feat: leave comment on force quit 2024-10-01 04:56:59 -04:00
131fd5af0b
feat: comment "Failed" on force quit 2024-10-01 04:24:58 -04:00
d92e8114d8
fix: joj3-failed-table order 2024-10-01 03:17:43 -04:00
d0192f37ef
feat: failure link 2024-10-01 02:32:20 -04:00
9d4d4eb7fe
feat: skip commit & push on nothing changed 2024-09-30 06:19:34 -04:00
cc9cb3224c
feat: update joj3 issue format 2024-09-30 05:59:43 -04:00
b128625bce
feat: update joj3 format 2024-09-30 05:31:13 -04:00
98e4400e32
feat: support joj3 metadata skip steps 2024-09-26 03:34:57 -04:00
85fae796ce
fix: handle invalid space \xa0 in repo_name_converter (#41) 2024-09-20 03:38:33 -04:00
e332c64221
feat: joj3 comment show link to actions 2024-09-14 21:58:53 -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
6303d31b1b
feat: create result issue 2024-09-14 18:27:52 -04:00
a686b5df5a
feat: less arguments 2024-09-14 18:27:46 -04:00
0c2fdaaa34
feat: joj3 commands load settings from file 2024-09-14 18:27:37 -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
dac569259b
feat: joj3 failed table / fix: joj3 scoreboard (#29) 2024-07-05 03:39:12 -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
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
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
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
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
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
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
e8f5bd7a08
style: fix codacy 2021-11-04 01:47:38 +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
18bfc4d6f7
fix: clone repo 2021-11-03 15:00:34 +08:00
ca46377ec0
feat: add LATE SUBMISSION in GRADE FILE for late submissions 2021-11-01 23:52:54 +08:00
d6ee159a70
feat: better grade upload 2021-10-30 19:52:56 +08:00
a52ab405cf style: rename filename variable 2021-10-30 18:36:42 +08:00
027faaa5bc
fix: remove accidently added print 2021-10-23 15:34:35 +08:00
63b1fd7c3f
fix: merge whitelist 2021-10-21 12:54:53 +08:00
48feb3e244
feat: optimize prepare assignment logic 2021-10-14 21:01:06 +08:00
e438f02b23
fix: canvas score file 2021-10-14 20:27:39 +08:00
48e67985d2
fix: remove late file 2021-10-14 18:52:54 +08:00
ec3346b9ba
feat: support zip for prepare assignment & late file 2021-10-14 18:51:44 +08:00
3de4dccb79
fix: checkout to single repo 2021-10-13 02:54:35 +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
880948829a
feat: teapot: for all methods log exception in loguru 2021-09-16 00:45:43 +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
079d1c85ac feat: lazy loading 2021-06-14 10:04:11 +08:00
8aec08f7d1 feat: cli with typer 2021-06-10 23:39:29 +08:00
de686ef4d2 feat: retrieve release 2021-06-10 21:42:24 +08:00
0adc5a54cd feat: issues & archive 2021-06-10 21:42:24 +08:00
a0e9c6808a refactor: __get_username_by_canvas_student 2021-06-10 21:42:24 +08:00
19556e7527 feat: setup.py for installation 2021-06-10 21:42:24 +08:00
b56ffa6552 fix: checkout 2021-06-10 21:42:24 +08:00
baa7ed089d feat: git 2021-06-10 21:42:24 +08:00
5c1b1b4b19 feat: init 2021-06-09 20:55:50 +08:00