echarts-bot.git
8 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

8 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.

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

8 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.

8 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.

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

8 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.

8 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`.

8 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

8 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

8 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

8 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

8 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.

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

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

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

9 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`.

11 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.

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

13 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.

14 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.

14 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.

14 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.

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

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

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

14 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.

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

15 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.

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

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

15 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

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

16 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.

16 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.

16 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.

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

17 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.

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

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

17 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.

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

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

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

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

17 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.

17 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

17 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.

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

17 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.

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

18 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.

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

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

18 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.

18 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.

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

18 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.

18 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.

18 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.

18 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.

18 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.

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

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

19 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.

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

20 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.

20 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.

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

20 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.

20 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`.

20 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.

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

21 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

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

21 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`.

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

21 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.

21 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.

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

23 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.

23 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

23 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.

23 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

23 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).

23 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).

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

2 years agoupdate committers
Ovilia [Thu, 6 Aug 2020 03:00:18 +0000 (11:00 +0800)] 
update committers

2 years agoupdate committer
Ovilia [Thu, 18 Jun 2020 05:26:51 +0000 (13:26 +0800)] 
update committer

2 years agofeat: change jsfiddle to codepen
Ovilia [Wed, 29 Apr 2020 09:23:54 +0000 (17:23 +0800)] 
feat: change jsfiddle to codepen

2 years agofix: contributor should not be considered as committer
Ovilia [Mon, 20 Apr 2020 01:59:35 +0000 (09:59 +0800)] 
fix: contributor should not be considered as committer

2 years agoupdate pr label
Ovilia [Tue, 3 Mar 2020 05:13:37 +0000 (13:13 +0800)] 
update pr label

2 years agofeat: pr label
Ovilia [Mon, 17 Feb 2020 03:47:52 +0000 (11:47 +0800)] 
feat: pr label

2 years agofeat: pull request handling
Ovilia [Mon, 13 Jan 2020 11:17:44 +0000 (19:17 +0800)] 
feat: pull request handling

2 years agofix: fix bot not running problem
Ovilia [Thu, 7 Nov 2019 11:25:43 +0000 (19:25 +0800)] 
fix: fix bot not running problem

2 years agoMerge pull request #4 from apache/revert-1-dependabot/npm_and_yarn/js-yaml-3.13.1
Ovilia [Mon, 4 Nov 2019 07:50:12 +0000 (15:50 +0800)] 
Merge pull request #4 from apache/revert-1-dependabot/npm_and_yarn/js-yaml-3.13.1

Revert "chore(deps): bump js-yaml from 3.12.0 to 3.13.1"

2 years agoRevert "chore(deps): bump js-yaml from 3.12.0 to 3.13.1" 4/head
Ovilia [Mon, 4 Nov 2019 07:49:57 +0000 (15:49 +0800)] 
Revert "chore(deps): bump js-yaml from 3.12.0 to 3.13.1"

2 years agoMerge pull request #1 from apache/dependabot/npm_and_yarn/js-yaml-3.13.1
Ovilia [Thu, 26 Sep 2019 02:08:41 +0000 (10:08 +0800)] 
Merge pull request #1 from apache/dependabot/npm_and_yarn/js-yaml-3.13.1

chore(deps): bump js-yaml from 3.12.0 to 3.13.1

2 years agoMerge pull request #3 from apache/dependabot/npm_and_yarn/lodash-4.17.15
Ovilia [Thu, 26 Sep 2019 02:08:25 +0000 (10:08 +0800)] 
Merge pull request #3 from apache/dependabot/npm_and_yarn/lodash-4.17.15

chore(deps): bump lodash from 4.17.11 to 4.17.15

2 years agoMerge pull request #2 from apache/dependabot/npm_and_yarn/mixin-deep-1.3.2
Ovilia [Thu, 26 Sep 2019 02:08:02 +0000 (10:08 +0800)] 
Merge pull request #2 from apache/dependabot/npm_and_yarn/mixin-deep-1.3.2

chore(deps): bump mixin-deep from 1.3.1 to 1.3.2