echarts-bot.git
2 weeks agooutput response body when failed master
plainheart [Thu, 5 May 2022 05:23:32 +0000 (13:23 +0800)] 
output response body when failed

2 weeks agotweak editor name
plainheart [Tue, 3 May 2022 08:27:56 +0000 (16:27 +0800)] 
tweak editor name

2 weeks agoadd more links for reproduction example
plainheart [Mon, 2 May 2022 19:06:44 +0000 (03:06 +0800)] 
add more links for reproduction example

3 weeks agofix bot wake up can't get response immediately
plainheart [Sat, 30 Apr 2022 12:33:58 +0000 (20:33 +0800)] 
fix bot wake up can't get response immediately

3 weeks agofix codesandbox url
plainheart [Fri, 29 Apr 2022 09:38:17 +0000 (17:38 +0800)] 
fix codesandbox url

4 weeks agochore: update dependencies.
plainheart [Mon, 18 Apr 2022 10:35:38 +0000 (18:35 +0800)] 
chore: update dependencies.

8 weeks agochore: update dependencies.
plainheart [Sat, 26 Mar 2022 07:19:20 +0000 (15:19 +0800)] 
chore: update dependencies.

2 months agochore: upgrade bing-translate-api.
plainheart [Wed, 16 Mar 2022 04:07:30 +0000 (12:07 +0800)] 
chore: upgrade bing-translate-api.

2 months agotweak text.
plainheart [Sun, 13 Mar 2022 06:48:12 +0000 (14:48 +0800)] 
tweak text.

2 months agoremove travis.yml
plainheart [Sun, 13 Mar 2022 05:40:36 +0000 (13:40 +0800)] 
remove travis.yml

2 months agochore: update dependencies.
plainheart [Sun, 13 Mar 2022 05:39:37 +0000 (13:39 +0800)] 
chore: update dependencies.

4 months agoremove makeapie in demo hint
Ovilia [Wed, 12 Jan 2022 03:14:50 +0000 (11:14 +0800)] 
remove makeapie in demo hint

5 months agochore: update dependencies.
plainheart [Thu, 16 Dec 2021 03:46:16 +0000 (11:46 +0800)] 
chore: update dependencies.

5 months agofix: 1) if an issue was closed for missing title, reopen it if the title has been...
plainheart [Thu, 16 Dec 2021 03:04:10 +0000 (11:04 +0800)] 
fix: 1) if an issue was closed for missing title, reopen it if the title has been provided.
2) some logic refactor

5 months agoMerge pull request #9 from apache/check-title
Yi Shen [Thu, 9 Dec 2021 14:41:14 +0000 (22:41 +0800)] 
Merge pull request #9 from apache/check-title

feat: check if the title is valid when an issue is opened.

5 months agochore: remove dev code. 9/head
plainheart [Thu, 9 Dec 2021 14:15:24 +0000 (22:15 +0800)] 
chore: remove dev code.

5 months agofeat: check if the title is valid when an issue is opened.
plainheart [Thu, 9 Dec 2021 13:59:28 +0000 (21:59 +0800)] 
feat: check if the title is valid when an issue is opened.

5 months agoadd `duplicate` label when a committer comments with the `Duplicate of` keyword on...
plainheart [Sun, 5 Dec 2021 11:52:24 +0000 (19:52 +0800)] 
add `duplicate` label when a committer comments with the `Duplicate of` keyword on the issue.

5 months agofix
plainheart [Thu, 2 Dec 2021 07:51:40 +0000 (15:51 +0800)] 
fix

5 months agofix: only translate when the issue is not invalid.
plainheart [Wed, 1 Dec 2021 06:20:06 +0000 (14:20 +0800)] 
fix: only translate when the issue is not invalid.

5 months agofix: avoid opening an issue with no template through `Reference in new issue`.
plainheart [Wed, 1 Dec 2021 06:18:02 +0000 (14:18 +0800)] 
fix: avoid opening an issue with no template through `Reference in new issue`.

5 months agonot comment anymore when an issue was opened
plainheart [Mon, 29 Nov 2021 13:07:08 +0000 (21:07 +0800)] 
not comment anymore when an issue was opened

5 months agotweak issue class and issue opened hook
plainheart [Mon, 29 Nov 2021 07:17:12 +0000 (15:17 +0800)] 
tweak issue class and issue opened hook

5 months agoupdate bot for new issue template apache/echarts#16128
Ovilia [Mon, 29 Nov 2021 06:44:38 +0000 (14:44 +0800)] 
update bot for new issue template apache/echarts#16128

5 months agoMerge branch 'master' of https://github.com/apache/echarts-bot
plainheart [Mon, 29 Nov 2021 03:28:53 +0000 (11:28 +0800)] 
Merge branch 'master' of https://github.com/apache/echarts-bot

5 months agochore: add types and some comments.
plainheart [Mon, 29 Nov 2021 03:28:08 +0000 (11:28 +0800)] 
chore: add types and some comments.

6 months agofix a typo in workflow
Zhongxiang.Wang [Wed, 27 Oct 2021 17:06:25 +0000 (01:06 +0800)] 
fix a typo in workflow

6 months agoupdate links
plainheart [Tue, 26 Oct 2021 17:41:23 +0000 (01:41 +0800)] 
update links

6 months agochore: update dependencies.
plainheart [Tue, 26 Oct 2021 17:35:20 +0000 (01:35 +0800)] 
chore: update dependencies.

6 months agofeat: close issue when it's labeled with `duplicate`.
plainheart [Tue, 26 Oct 2021 17:33:23 +0000 (01:33 +0800)] 
feat: close issue when it's labeled with `duplicate`.

9 months agofix(text): fix a grammar error.
plainheart [Tue, 17 Aug 2021 03:08:52 +0000 (11:08 +0800)] 
fix(text): fix a grammar error.

10 months agochore: upgrade bing-translate-api.
plainheart [Mon, 28 Jun 2021 04:22:21 +0000 (12:22 +0800)] 
chore: upgrade bing-translate-api.

10 months agochore: upgrade probot and bing-translate-api.
plainheart [Fri, 25 Jun 2021 01:28:23 +0000 (09:28 +0800)] 
chore: upgrade probot and bing-translate-api.

11 months agochore: log to file when failed to translate.
plainheart [Wed, 26 May 2021 19:21:21 +0000 (03:21 +0800)] 
chore: log to file when failed to translate.

11 months agochore: upgrade bing-translate-api to v2.
plainheart [Wed, 26 May 2021 19:20:43 +0000 (03:20 +0800)] 
chore: upgrade bing-translate-api to v2.

12 months agochore: terminate the node process on unhandled promise rejection.
plainheart [Fri, 21 May 2021 06:26:53 +0000 (14:26 +0800)] 
chore: terminate the node process on unhandled promise rejection.

12 months agofix: remove magic strings.
plainheart [Wed, 19 May 2021 07:31:34 +0000 (15:31 +0800)] 
fix: remove magic strings.

12 months agofix: remove magic strings.
plainheart [Wed, 19 May 2021 07:27:23 +0000 (15:27 +0800)] 
fix: remove magic strings.

12 months agofix typo.
plainheart [Tue, 18 May 2021 11:07:29 +0000 (19:07 +0800)] 
fix typo.

12 months agofeat: 1) unlabel waiting-for: comminity if issue was closed by the author self
plainheart [Tue, 18 May 2021 11:06:12 +0000 (19:06 +0800)] 
feat: 1) unlabel waiting-for: comminity if issue was closed by the author self
2) unlabel `invalid` when reopened
3) do nothing if issue author is committer when labeled
4) unlabel `waiting-for: comminity` and close issue when `resolved` is labeled.

12 months agochore: update dependencies.
plainheart [Mon, 17 May 2021 00:36:17 +0000 (08:36 +0800)] 
chore: update dependencies.

12 months agochore: add github workflow to schedule to wake up the bot on Glitch.
plainheart [Sun, 25 Apr 2021 08:29:04 +0000 (16:29 +0800)] 
chore: add github workflow to schedule to wake up the bot on Glitch.

12 months agoupdate description
Ovilia [Fri, 23 Apr 2021 03:23:25 +0000 (11:23 +0800)] 
update description

13 months agofeat: add zr daily build
Ovilia [Tue, 20 Apr 2021 10:29:28 +0000 (18:29 +0800)] 
feat: add zr daily build

13 months agoMerge branch 'master' of github.com:apache/incubator-echarts-bot
Ovilia [Tue, 20 Apr 2021 08:05:21 +0000 (16:05 +0800)] 
Merge branch 'master' of github.com:apache/incubator-echarts-bot

13 months agochore: add .asf.yaml
plainheart [Sat, 10 Apr 2021 09:11:07 +0000 (17:11 +0800)] 
chore: add .asf.yaml

13 months agofix(translation): fix markdown error in translation result.
plainheart [Sat, 10 Apr 2021 09:00:29 +0000 (17:00 +0800)] 
fix(translation): fix markdown error in translation result.

13 months agofix: don't add `awaiting review` if the PR is draft.
plainheart [Mon, 29 Mar 2021 02:57:55 +0000 (10:57 +0800)] 
fix: don't add `awaiting review` if the PR is draft.

13 months agofix: don't add `awaiting review` if the PR is draft.
plainheart [Mon, 29 Mar 2021 02:50:30 +0000 (10:50 +0800)] 
fix: don't add `awaiting review` if the PR is draft.

14 months agochore: update bing translate api.
plainheart [Tue, 16 Mar 2021 08:17:54 +0000 (16:17 +0800)] 
chore: update bing translate api.

14 months agofix: fix an error in `isFirstTimeContributor` function.
plainheart [Mon, 15 Mar 2021 00:26:08 +0000 (08:26 +0800)] 
fix: fix an error in `isFirstTimeContributor` function.

14 months agoimprove translator.
plainheart [Sun, 14 Mar 2021 08:09:21 +0000 (16:09 +0800)] 
improve translator.

14 months agofeat: add bing translator.
plainheart [Wed, 10 Mar 2021 01:18:39 +0000 (09:18 +0800)] 
feat: add bing translator.

14 months agofeat: remove awaiting review label when PR is converted to draft.
plainheart [Tue, 9 Mar 2021 02:08:57 +0000 (10:08 +0800)] 
feat: remove awaiting review label when PR is converted to draft.

14 months agofeat: label first-time contributor.
plainheart [Mon, 8 Mar 2021 01:39:20 +0000 (09:39 +0800)] 
feat: label first-time contributor.

14 months agochore: update dependencies.
plainheart [Wed, 3 Mar 2021 00:29:09 +0000 (08:29 +0800)] 
chore: update dependencies.

14 months agofix: remove incubator.
plainheart [Wed, 3 Mar 2021 00:07:36 +0000 (08:07 +0800)] 
fix: remove incubator.

14 months agofix: fix issue translate bug.
plainheart [Tue, 23 Feb 2021 09:51:46 +0000 (17:51 +0800)] 
fix: fix issue translate bug.

14 months agofix: remove comments in issue body before translating.
plainheart [Tue, 23 Feb 2021 07:30:24 +0000 (15:30 +0800)] 
fix: remove comments in issue body before translating.

14 months agoMerge branch 'master' of github.com:apache/incubator-echarts-bot
Ovilia [Tue, 23 Feb 2021 05:58:55 +0000 (13:58 +0800)] 
Merge branch 'master' of github.com:apache/incubator-echarts-bot

14 months agorefactor: 1) to improve the language detection, always use google translation API...
plainheart [Mon, 22 Feb 2021 11:54:36 +0000 (19:54 +0800)] 
refactor: 1) to improve the language detection, always use google translation API to determine the language of issue.
2) tweak issue init logic.

14 months agomerge
Ovilia [Mon, 22 Feb 2021 11:21:34 +0000 (19:21 +0800)] 
merge

15 months agofix(translator): use `franc-min` instead of `franc` for more accurate detection.
plainheart [Wed, 17 Feb 2021 12:52:50 +0000 (20:52 +0800)] 
fix(translator): use `franc-min` instead of `franc` for more accurate detection.

15 months agofix(translator): tweak `detectEnglish` logic.
plainheart [Wed, 17 Feb 2021 09:39:12 +0000 (17:39 +0800)] 
fix(translator): tweak `detectEnglish` logic.

15 months agofix: always determine if the issue is in English according to the detected language...
plainheart [Fri, 12 Feb 2021 05:48:17 +0000 (13:48 +0800)] 
fix: always determine if the issue is in English according to the detected language by Google Translate.

15 months agofix issue translate check bug.
plainheart [Tue, 9 Feb 2021 08:49:55 +0000 (16:49 +0800)] 
fix issue translate check bug.

15 months agofix code style
plainheart [Tue, 9 Feb 2021 03:04:51 +0000 (11:04 +0800)] 
fix code style

15 months agofix: issue translator may be not working in some cases.
plainheart [Tue, 9 Feb 2021 02:58:00 +0000 (10:58 +0800)] 
fix: issue translator may be not working in some cases.

15 months agofix: tweak the format of translated comment.
plainheart [Sun, 7 Feb 2021 14:53:24 +0000 (22:53 +0800)] 
fix: tweak the format of translated comment.

15 months agofix code style
plainheart [Sun, 7 Feb 2021 14:47:45 +0000 (22:47 +0800)] 
fix code style

15 months agofix: tweak English language check logic.
plainheart [Sun, 7 Feb 2021 14:39:15 +0000 (22:39 +0800)] 
fix: tweak English language check logic.

15 months agofix: comment only when translated successfully.
plainheart [Sun, 7 Feb 2021 02:34:38 +0000 (10:34 +0800)] 
fix: comment only when translated successfully.

15 months agofeat: translate the issue automatically if the language is not English.
plainheart [Sun, 7 Feb 2021 02:31:17 +0000 (10:31 +0800)] 
feat: translate the issue automatically if the language is not English.

15 months agofeat: translate the issue automatically if the language is not English.
plainheart [Sun, 7 Feb 2021 01:53:38 +0000 (09:53 +0800)] 
feat: translate the issue automatically if the language is not English.

15 months agochore: update probot version and package.json.
plainheart [Sun, 7 Feb 2021 01:27:08 +0000 (09:27 +0800)] 
chore: update probot version and package.json.

16 months agochore: update probot version.
plainheart [Wed, 20 Jan 2021 00:33:52 +0000 (08:33 +0800)] 
chore: update probot version.

16 months agoadd a demo link
Wenli Zhang [Thu, 7 Jan 2021 05:45:50 +0000 (13:45 +0800)] 
add a demo link

17 months agofix: revert the API changes according to the probot and update probot version.
plainheart [Fri, 18 Dec 2020 06:26:00 +0000 (14:26 +0800)] 
fix: revert the API changes according to the probot and update probot version.

17 months agochore: update probot version.
plainheart [Fri, 11 Dec 2020 05:00:31 +0000 (13:00 +0800)] 
chore: update probot version.

17 months agochore: ignore log dir in git.
plainheart [Thu, 26 Nov 2020 04:24:01 +0000 (12:24 +0800)] 
chore: ignore log dir in git.

17 months agofeat: add persistent file logger to record the errors occured in webhooks.
plainheart [Thu, 26 Nov 2020 04:16:03 +0000 (12:16 +0800)] 
feat: add persistent file logger to record the errors occured in webhooks.

17 months agofix: fix issue checking bug.
plainheart [Thu, 26 Nov 2020 03:27:15 +0000 (11:27 +0800)] 
fix: fix issue checking bug.

17 months agotweak: also check if issue title contains Chinese characters and increase the max_chn...
plainheart [Tue, 24 Nov 2020 00:23:06 +0000 (08:23 +0800)] 
tweak: also check if issue title contains Chinese characters and increase the max_chn_char_count.

17 months agofix: update deprecated `context.github` to `context.octokit`.
plainheart [Mon, 23 Nov 2020 11:22:31 +0000 (19:22 +0800)] 
fix: update deprecated `context.github` to `context.octokit`.

17 months agotweak: do not add en label when issue contains over 5 Chinese characters.
plainheart [Mon, 23 Nov 2020 04:52:59 +0000 (12:52 +0800)] 
tweak: do not add en label when issue contains over 5 Chinese characters.

17 months agochore: update probot version.
plainheart [Mon, 23 Nov 2020 04:46:29 +0000 (12:46 +0800)] 
chore: update probot version.

18 months agouse makeapie instead of gallery link
Wenli Zhang [Fri, 13 Nov 2020 07:57:07 +0000 (15:57 +0800)] 
use makeapie instead of gallery link

18 months agochore: update probot version.
plainheart [Fri, 6 Nov 2020 04:15:20 +0000 (12:15 +0800)] 
chore: update probot version.

18 months agofix: fix the logic of `isCommiter`.
plainheart [Wed, 28 Oct 2020 02:54:09 +0000 (10:54 +0800)] 
fix: fix the logic of `isCommiter`.

18 months agochore: update probot and dependencies.
plainheart [Wed, 28 Oct 2020 01:45:49 +0000 (09:45 +0800)] 
chore: update probot and dependencies.

18 months agoMerge pull request #8 from plainheart/fix-checkbox
Zhongxiang.Wang [Wed, 28 Oct 2020 00:58:02 +0000 (08:58 +0800)] 
Merge pull request #8 from plainheart/fix-checkbox

fix: use `[x]` but not `[-]` to check if checkbox exists and is checked.

18 months agoMerge pull request #7 from plainheart/master
Zhongxiang.Wang [Wed, 28 Oct 2020 00:57:45 +0000 (08:57 +0800)] 
Merge pull request #7 from plainheart/master

fix: use `isCoreCommitter` instead of `isCommitter` to be compatible with the committers who are hiding their membership in organization.

20 months agofix: awaiting api changes
Ovilia [Wed, 9 Sep 2020 06:22:45 +0000 (14:22 +0800)] 
fix: awaiting api changes

20 months agofix: use `[x]` but not `[-]` to check if checkbox exists and is checked. 8/head
plainheart [Thu, 3 Sep 2020 01:09:24 +0000 (09:09 +0800)] 
fix: use `[x]` but not `[-]` to check if checkbox exists and is checked.

20 months agofeat: add "PR: awaiting doc" label if doc changed
Ovilia [Mon, 31 Aug 2020 05:47:54 +0000 (13:47 +0800)] 
feat: add "PR: awaiting doc" label if doc changed

20 months agofix: use `isCoreCommitter` instead of `isCommitter` to be compatible with the committ... 7/head
plainheart [Tue, 25 Aug 2020 03:18:05 +0000 (11:18 +0800)] 
fix: use `isCoreCommitter` instead of `isCommitter` to be compatible with the committers who are hiding their membership visibility in organization.
and updated some texts.

20 months agoMerge branch 'master' of https://github.com/apache/incubator-echarts-bot
plainheart [Fri, 21 Aug 2020 03:43:32 +0000 (11:43 +0800)] 
Merge branch 'master' of https://github.com/apache/incubator-echarts-bot

20 months agofix: fix `isCoreCommitter` import bug and update a deprecated usage(edit -> update).
plainheart [Thu, 20 Aug 2020 10:25:03 +0000 (18:25 +0800)] 
fix: fix `isCoreCommitter` import bug and update a deprecated usage(edit -> update).

21 months agofix: fix `isCoreCommitter` import bug and update a deprecated usage(edit -> update). 6/head
plainheart [Thu, 20 Aug 2020 10:25:03 +0000 (18:25 +0800)] 
fix: fix `isCoreCommitter` import bug and update a deprecated usage(edit -> update).

21 months agofix: pull request is committer checking
Ovilia [Fri, 14 Aug 2020 05:19:57 +0000 (13:19 +0800)] 
fix: pull request is committer checking