Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
10d7538
Merge remote-tracking branch 'upstream/master'
sustained Jan 12, 2020
7079a3a
chore: Set up/changes to ESLint, Prettier and friends.
sustained Jan 20, 2020
4f2c239
chore: Update PM2 config file.
sustained Jan 20, 2020
44a98d6
chore: Ignore compiled TS.
sustained Jan 20, 2020
23bac0b
chore: Configure TypeScript.
sustained Jan 20, 2020
9665b8d
other: Move old src files to __src (temporary).
sustained Jan 20, 2020
e2f8222
other: Keep (currently) empty pieces folders.
sustained Jan 20, 2020
f9ba5d4
chore: Update package.json keywords.
sustained Jan 20, 2020
bded0a8
chore: Update package.json scripts.
sustained Jan 20, 2020
4c27fc4
chore: Add module aliases to package.json.
sustained Jan 20, 2020
2793da7
chore: Update package.json dependencies.
sustained Jan 20, 2020
6576aba
chore: Let's make this rewrite be 0.2.x.
sustained Jan 20, 2020
922ebcf
deps: Update package-lock.json.
sustained Jan 20, 2020
49474a0
wip: Add RFC command skeleton.
sustained Jan 20, 2020
2111532
other: Add en-US language file.
sustained Jan 20, 2020
d0100d9
feat: Add service piece store.
sustained Jan 20, 2020
aa23b51
wip: Add RFCService.
sustained Jan 20, 2020
df2461a
wip: Add RFCRefreshTask.
sustained Jan 20, 2020
276a382
wip: Add RFCSchema.
sustained Jan 20, 2020
1723448
feat: Add utility to determine current tag/branch/commit.
sustained Jan 20, 2020
84e3012
feat: Add Vue embed template.
sustained Jan 20, 2020
f26c73d
other: Add constants.
sustained Jan 20, 2020
2236b37
other: Augment typings.
sustained Jan 20, 2020
789ad25
other: Update .env.example.
sustained Jan 20, 2020
d51ba44
wip: Add VueClient, client options etc.
sustained Jan 20, 2020
1c6dbb4
fix: Typo - pluralise.
sustained Jan 20, 2020
4e61587
docs(contributing): Mention commit conventions.
sustained Jan 20, 2020
2755977
build: Ignore data dir.
sustained Jan 20, 2020
04d531b
deps: Switch Github API client from github-api to @octokit/rest.
sustained Jan 20, 2020
c4f3efb
fix: Schema paths.
sustained Jan 20, 2020
9b415a6
fix: No member in DMs.
sustained Jan 20, 2020
421b8b1
fix: Strip newline from version.
sustained Jan 20, 2020
c919aad
feat: Github client.
sustained Jan 20, 2020
47eebf9
change: Update RFC schema.
sustained Jan 20, 2020
05df518
refactor: Extract constants.
sustained Jan 20, 2020
7612b60
feat(rfc): Rewrite RFCService, port over !rfcs command (wip).
sustained Jan 20, 2020
fd89385
fix: Dynamic prefix.
sustained Jan 20, 2020
b4854ae
fix: Fix Fuse import issue.
sustained Jan 20, 2020
d43ab45
fix: Race condition.
sustained Jan 20, 2020
ca179c8
change: Only cache the data we actually care about.
sustained Jan 20, 2020
f6f3aa5
deps: Add date-fns.
sustained Jan 20, 2020
e21b753
other: Add paths.
sustained Jan 20, 2020
ca0d184
style: Reword comments.
sustained Jan 20, 2020
b1f1e7f
style: Switch to enum.
sustained Jan 20, 2020
6569f0e
fix: Add missing URL.
sustained Jan 20, 2020
391a5b9
style: Missing comment.
sustained Jan 20, 2020
badde4c
refactor: Improve cache-related code.
sustained Jan 20, 2020
5d6d7b3
style: Extract service to instance property.
sustained Jan 20, 2020
71ca660
feat(rfc): Implement refreshing & dumping; add --short list flag.
sustained Jan 20, 2020
c36771c
fix: Looking up RFCs by number.
sustained Jan 20, 2020
05d2a86
feat: Allow searching by "label X and Y" as well as "label X or Y".
sustained Jan 20, 2020
d832ede
fix: Always await cacheRFCs().
sustained Jan 20, 2020
7ee5ec7
fix: Update fuzzy searcher after loading RFCs from cache.
sustained Jan 20, 2020
73b9c42
style: Missing comments, missing export.
sustained Jan 20, 2020
1d6ad29
change(rfcs): Allow passing in RFCs to filter, to allow chaining.
sustained Jan 20, 2020
ceffe04
fix(rfcs): Missing import.
sustained Jan 20, 2020
0972b6a
fix(rfcs): Missing enum value.
sustained Jan 20, 2020
2b5f93d
change(rfcs): Use RFCFilter enum.
sustained Jan 20, 2020
b924687
other(rfcs): Remove old commands.
sustained Jan 20, 2020
e53f581
style(rfcs): Add comments.
sustained Jan 20, 2020
a6aca1c
refactor(rfcs): Extract response building and sending.
sustained Jan 20, 2020
3981984
style(rfcs): Unnecessary variable.
sustained Jan 20, 2020
56c6f4e
change(rfcs): Adjust permission-related language stuff.
sustained Jan 20, 2020
e19dfa6
i18n(rfcs): Update.
sustained Jan 20, 2020
a8be00b
style(rfcs): Comments.
sustained Jan 20, 2020
bcab96d
feat(rfcs): Looking up RFCs via fuzzy searching and/or filters. \o/
sustained Jan 20, 2020
5dfc03e
change: Reduce fuzzy searcher weighting of RFC body slightly.
sustained Jan 20, 2020
3733ab3
change: Extend RichDisplay so that it uses our green emojis.
sustained Jan 20, 2020
4265ebe
change(rfcs): Show author as link.
sustained Jan 20, 2020
c5a1968
i18n: Adjust RFC extended help.
sustained Jan 20, 2020
d40bfcc
feat(info): Add InformationalCodeCommand.
sustained Jan 20, 2020
7b6f6ba
i18n(info): Fix incomplete entry.
sustained Jan 20, 2020
c2039d6
i18n(rfcs): Clarify.
sustained Jan 20, 2020
a499634
other: Remove more old (reference) files that are no longer relevant.
sustained Jan 20, 2020
166a01a
refactor(info): Extract base functionality - share with other info cmds.
sustained Jan 20, 2020
569b089
style(info): Clean up imports.
sustained Jan 21, 2020
8807019
other: Add missing typings.
sustained Jan 21, 2020
6a83b25
change(info): Send whether or not the response was sent to a DM.
sustained Jan 21, 2020
0e6d39d
change(info): Allow overriding rich display options.
sustained Jan 21, 2020
9355ed5
style(info): Clean up imports.
sustained Jan 21, 2020
63571c5
change(info): Override options.
sustained Jan 21, 2020
3bae43f
feat(info): Add InformationalRolesCommand.
sustained Jan 21, 2020
18cc088
style(info): Fix class name.
sustained Jan 21, 2020
a55ea41
feat(info): Add InformationalCodeOfConductCommand.
sustained Jan 21, 2020
103fc0b
feat(info): Add InformationalEtiquetteCommand.
sustained Jan 21, 2020
b7efc50
feat(info): Add InformationalCodeSharingCommand.
sustained Jan 21, 2020
ed6c8af
refactor(info): Refactor base info cmd to allow returning single embed.
sustained Jan 21, 2020
66272fb
feat(info): Add InformationalDontRepeatYourselfCommand.ts.
sustained Jan 21, 2020
d88341e
style(info): Rename directory/category to align with core commands.
sustained Jan 21, 2020
1662ec7
other: Remove another reference file.
sustained Jan 21, 2020
5dacd86
style(info): Shorten annoyingly long class names.
sustained Jan 21, 2020
d032473
build(editor): Configure VS Code to exclude .js files from ^P etc.
sustained Jan 21, 2020
54b913d
feat(releases): Add "vue repo" data serializer for schema.
sustained Jan 21, 2020
3c77810
feat(releases): Add schema.
sustained Jan 21, 2020
f002a7e
change(schemas): Update release schema.
sustained Jan 21, 2020
3585d28
feat(releases): Add release entry serializer.
sustained Jan 21, 2020
78dd910
fix(languages): Wrong lang key.
sustained Jan 21, 2020
b443692
feat(github-client): Handle rate and abuse limiting.
sustained Jan 21, 2020
250196b
style(types): Relocate release entry.
sustained Jan 21, 2020
fb5ebee
style(build): Order module aliases.
sustained Jan 21, 2020
4be79ac
feat(pieces): Add logging methods to all Pieces.
sustained Jan 21, 2020
ad9f9e9
build(scripts): Show logs after running npm run dev.
sustained Jan 21, 2020
849a9bb
fix(github-client): Missing package needed by throttling plugin?
sustained Jan 21, 2020
25457c6
change: Add verbose method; add missing spreads.
sustained Jan 21, 2020
beedd65
refactor(settings): Extract settings keys.
sustained Jan 21, 2020
87ac327
refactor(settings): Various settings-related improvements.
sustained Jan 22, 2020
b66be0d
style(info): Rename.
sustained Jan 22, 2020
8f58167
style(rfcs): Adjust comment/ordering; remove unnecessary method.
sustained Jan 22, 2020
0d4b7e1
change(services): Services don't have a run method.
sustained Jan 22, 2020
ee0bb10
refactor(i18n): Big i18n changes! All hail typed language keys!
sustained Jan 22, 2020
30feee0
fix(info): RichDisplays "not allowed" in DMs.
sustained Jan 22, 2020
e7928fa
change(i18n): Symbols turned out to be a bad idea.
sustained Jan 22, 2020
3b5cc2f
i18n(rfcs): Forgot to update this.
sustained Jan 22, 2020
9dfc51e
fix(settings): Settings woes.
sustained Jan 22, 2020
c9eed65
i18n: Missing key.
sustained Jan 22, 2020
24e9740
refactor(i18n): Remove unnecessary TS boilerplate.
sustained Jan 22, 2020
ae85fe9
change(rfcs): Better searching, Fuse.js -> Lunr.
sustained Jan 22, 2020
daa9def
fix(build): Incorrect path.
sustained Jan 22, 2020
b2f57d3
build(tsconfig): Add missing type.
sustained Jan 22, 2020
fbb4d8f
deps: Add semver.
sustained Jan 22, 2020
5834e69
i18n(rfc): Simplify rfc expanded help.
sustained Jan 23, 2020
d1dd025
change(rfc): Add sort direction enum.
sustained Jan 23, 2020
1c7695b
fix(rfc): Oops.
sustained Jan 23, 2020
99bcc3d
change(rfc): Simplify command.
sustained Jan 23, 2020
f35abcf
i18n(misc): Add a few translations.
sustained Jan 23, 2020
d8cce48
feat(utils): Add excerpt util; minor adjustments.
sustained Jan 23, 2020
957ed30
style(rfc): Import path.
sustained Jan 23, 2020
06319cb
feat(docs): Add DocService skeleton [wip].
sustained Jan 23, 2020
fcac42d
fix(doc): Paths.
sustained Jan 23, 2020
8176695
change(doc): Error handling, basic i18n.
sustained Jan 23, 2020
5fc5186
change(doc): Add interfaces/types.
sustained Jan 23, 2020
a881317
other: Remove old/unused data.
sustained Jan 23, 2020
d2901ec
change(doc): Missed a type.
sustained Jan 23, 2020
3a674ad
feat(doc): Add Vuex API docs.
sustained Jan 23, 2020
5947b87
fix: Add error method to Pieces.
sustained Jan 23, 2020
d7463bf
fix(doc): Import typos.
sustained Jan 23, 2020
30690e3
refactor(doc): Update links.
sustained Jan 24, 2020
35bf1c1
deps: Add missing @types.
sustained Jan 24, 2020
6907835
change(doc): Fine-tune keywords/aliases.
sustained Jan 24, 2020
6bc332c
change(doc): TS-style props/arguments.
sustained Jan 24, 2020
cb367f6
change(doc): More tuning.
sustained Jan 24, 2020
3356ac4
change(doc): Add missing links.
sustained Jan 24, 2020
abc4288
build(pm2): Detect changes to HJSON.
sustained Jan 24, 2020
c82e504
deps: Add uuid/v4.
sustained Jan 24, 2020
f20f1dc
change(doc): Enable by default.
sustained Jan 24, 2020
7814fa9
feat(util): Add blockCode.
sustained Jan 24, 2020
3cf344a
change(doc) Normalise link text.
sustained Jan 25, 2020
4f73460
change(doc): Move note out of default.
sustained Jan 25, 2020
55f42d3
feat: Automatic presence/status.
sustained Jan 25, 2020
5071d0e
feat(doc): APICommand + DocService.
sustained Jan 25, 2020
9ca7373
fix(doc): Typo.
sustained Jan 25, 2020
5c58b39
fix: Path.
sustained Jan 25, 2020
edec677
other: Remove most reference files.
sustained Jan 25, 2020
3de6ad9
style: Unused imports.
sustained Jan 25, 2020
4bc61a1
refactor(doc): Prepare for GuideCommand + rename docs -> guide.
sustained Jan 25, 2020
7f5bd06
feat(doc): GuideCommand.
sustained Jan 25, 2020
fee8c46
fix(doc): Pass filter flag to DocService.
sustained Jan 25, 2020
969c563
style(i18n): Missing prefixes; extract sections.
sustained Jan 26, 2020
01b2ea5
feat(i18n): Strongly-typed i18n keys.
sustained Jan 26, 2020
fa7aa4c
change: Reflect i18n changes.
sustained Jan 26, 2020
46ce954
feat(release): ReleaseService, ReleaseSchema, ReleaseCheckTask (wip).
sustained Jan 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
NAME=VueBot
PREFIX=!
BOT_TOKEN=
CLIENT_ID=
OWNER_IDS=
Expand Down
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ module.exports = {
node: true,
es6: true,
},
extends: ['prettier', 'plugin:vue/essential', '@vue/prettier'],
extends: ['prettier'],
rules: {
'prettier/prettier': 'error',
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'func-call-spacing': 'error',
'curly': 'error'
curly: 'error',
},
parserOptions: {
parser: 'babel-eslint',
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ typings/
.next

# Project files
src/config.json
src/config.json

# Built TypeScript
dist/

# JSON provider storage
data/providers/json
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ module.exports = {
singleQuote: true,
trailingComma: 'es5',
bracketSpacing: true,
printWidth: 80,
}
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Contributing

## Commit Conventions

We try to (at least vaguely) follow the [Angular commit guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines), though with some minor adjustments.

- `build`: Affects the build process/development
- **Examples:** Changes to npm, babel, webpack, typescript, prettier, eslint, pm2 etc. config files
- **NOTE:** Used to be categorised as `chore`
- `docs`: Relates to the documentation
- `enhance`: Modifies an _existing feature_ (an enhancement/improvement)
- `feat`: Adds a brand new feature
- `fix`: Fixes a bug/issue
- `perf`: Improves performance
- `refactor`: A (generally large-scale) change which doesn't fall under change, feat, fix or style
- `style`: Smaller-scale refactorings
- **Examples:** White-space, formatting, naming/wording/phrasing, unused imports etc.
- `test`: Relates to tests
File renamed without changes.
Loading