Skip to content

Commit

Permalink
v1.0.3 (#144)
Browse files Browse the repository at this point in the history
* Master (#111)

* 0.2.2 Release (#103)

* HOTFIX: Fixed a registration error with the TreeView containers

* bump version and log changes

* add launch for runnin with extensions

* Major Upgrade (#123)

* Redesigned the entire extension (#112)

* Refactored enum types into an enums folder.

* Generating 'types' so we can provide types for our API we'll be exposing.

* API interface has been added

* Started initial refactor to App and expose API

* App class is now working.

* Twitch chat client is now working

* Old credentials removed by default

* Added an API entry to verify if a user is following the channel

* Fixed an error with the twitch login on linux

* Twitch Authentication server callback port is now a setting

* Fixed inconsistency in command titles

* Fixed bearer token issue

* Removed 'token' requirement for followers check, not required

* Reverted server port back to static 5544. Must match registered app with Twitch

* Updated changelog for 0.5.0

* Context menu support (#115)

* Remove highlights by context-menu

* Updated changelog

* Updated node_modules to fix security vulnerabilities (#113)

* Remove Types folder (#116)

* Ignore types

* Removed types folder

* Cleanup and fixed some issues (#122)

* Fixed a high vulnerability in node

* Fixed authentication issues and updated packages

* Fixed promise issues in the highlight

* Removed declaration generation

* Updated webpack plugins and options

* Redesigned the entire extension (#112)

* Refactored enum types into an enums folder.

* Generating 'types' so we can provide types for our API we'll be exposing.

* API interface has been added

* Started initial refactor to App and expose API

* App class is now working.

* Twitch chat client is now working

* Old credentials removed by default

* Added an API entry to verify if a user is following the channel

* Fixed an error with the twitch login on linux

* Twitch Authentication server callback port is now a setting

* Fixed inconsistency in command titles

* Fixed bearer token issue

* Removed 'token' requirement for followers check, not required

* Reverted server port back to static 5544. Must match registered app with Twitch

* Updated changelog for 0.5.0

* Context menu support (#115)

* Remove highlights by context-menu

* Updated changelog

* Updated node_modules to fix security vulnerabilities (#113)

* Remove Types folder (#116)

* Ignore types

* Removed types folder

* Cleanup and fixed some issues (#122)

* Fixed a high vulnerability in node

* Fixed authentication issues and updated packages

* Fixed promise issues in the highlight

* Removed declaration generation

* Updated webpack plugins and options

* clarify status bar item actions

* No longer alert about saving token, log it!

* Updated copyfiles to 2.3.0 to hopefully solve linux issue

* Fixed some casing issues for references on linux

* fix: change casing of 'twitch'

Co-authored-by: clarkio <clarkio@users.noreply.github.com>

* Bump elliptic from 6.4.1 to 6.5.3 (#124)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.1 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.4.1...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* 💯 1.0.0 Release🎉🎊✨🎆

* Update README.md

* hotfix(correct reading of settings by name)

* remove tmi token from readme requirements

* update version for patch

* fix(only reconnect on config change if previously connected)

* sec: fix deps from audit

* 1.0.2 Release

* fix: adjust whitespace

* AddWebTrends-2020-11 (#131)

* Added Web Trends

* Added Web Trends

* Added Web Trends

* Added Web Trends

* Added Web Trends

* Added Web Trends

* Create codeql-analysis.yml

* fix: move app to use new twitch app client id (#141)

* docs: add parithon as a contributor for code (#145)

* docs: update README.md [skip ci]

* docs: create .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* docs: add MatthewKosloski as a contributor for code (#146)

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* docs: add yoannfleurydev as a contributor for code (#147)

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* fix build badge

Co-authored-by: Anthony Conrad (parithon) <parithon@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bit <brandon@microsoft.com>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
  • Loading branch information
5 people authored Sep 6, 2021
1 parent 546ca4c commit 777ae55
Show file tree
Hide file tree
Showing 7 changed files with 142 additions and 7 deletions.
42 changes: 42 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"contributors": [
{
"login": "parithon",
"name": "Anthony Conrad (parithon)",
"avatar_url": "https://avatars.githubusercontent.com/u/8602418?v=4",
"profile": "https://github.com/parithon",
"contributions": [
"code"
]
},
{
"login": "MatthewKosloski",
"name": "Matthew Kosloski",
"avatar_url": "https://avatars.githubusercontent.com/u/1219553?v=4",
"profile": "https://matthewkosloski.me/",
"contributions": [
"code"
]
},
{
"login": "yoannfleurydev",
"name": "Yoann Fleury",
"avatar_url": "https://avatars.githubusercontent.com/u/3920615?v=4",
"profile": "http://blog.yoannfleury.dev",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
"projectName": "vscode-twitch-highlighter",
"projectOwner": "clarkio",
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true
}
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ vnext, master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ vnext ]
schedule:
- cron: '34 9 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Twitch Line Highlighter VS Code Extension
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

[![Build Status](https://clarkcode.visualstudio.com/vscode-line-highlighter-extension/_apis/build/status/Production%20Test%20%26%20Build%20-%20VS%20Code%20Line%20Highlighter%20Extension?branchName=refs%2Fpull%2F125%2Fmerge)](https://clarkcode.visualstudio.com/vscode-line-highlighter-extension/_build/latest?definitionId=23&branchName=refs%2Fpull%2F125%2Fmerge)
[![Build Status](https://clarkcode.visualstudio.com/vscode-line-highlighter-extension/_apis/build/status/Production%20Test%20%26%20Build%20-%20VS%20Code%20Line%20Highlighter%20Extension?branchName=master)](https://clarkcode.visualstudio.com/vscode-line-highlighter-extension/_build/latest?definitionId=23&branchName=master)

A VS Code extension to allow your Twitch viewers to help in spotting bugs, typos, etc. by sending a command in chat that will highlight the line of code they want you to check.

Expand All @@ -10,12 +13,12 @@ A VS Code extension to allow your Twitch viewers to help in spotting bugs, typos

In order to use this extension you will need the following things before going to the [Getting Started](#getting-started) section:

- An installed version of [VS Code](https://code.visualstudio.com)
- An installed version of [VS Code](https://code.visualstudio.com/?WT.mc_id=academic-0000-brcl)
- A Twitch account for yourself or a separate one to be used as a chat bot ([sign up here](https://www.twitch.tv/signup))

## Getting Started

1. Install the extension from the [marketplace](https://marketplace.visualstudio.com/items?itemName=clarkio.twitch-highlighter)
1. Install the extension from the [marketplace](https://marketplace.visualstudio.com/items?itemName=clarkio.twitch-highlighter&WT.mc_id=academic-0000-brcl)
2. Open your VS Code settings

- Keyboard shortcut: `CTRL/CMD + ,`
Expand Down Expand Up @@ -86,3 +89,25 @@ Some of the code in this extension has been adapted from the [twitchlint extensi
## Release Notes

See [CHANGELOG.md](CHANGELOG.md)

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://github.com/parithon"><img src="https://avatars.githubusercontent.com/u/8602418?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Anthony Conrad (parithon)</b></sub></a><br /><a href="https://github.com/clarkio/vscode-twitch-highlighter/commits?author=parithon" title="Code">💻</a></td>
<td align="center"><a href="https://matthewkosloski.me/"><img src="https://avatars.githubusercontent.com/u/1219553?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Matthew Kosloski</b></sub></a><br /><a href="https://github.com/clarkio/vscode-twitch-highlighter/commits?author=MatthewKosloski" title="Code">💻</a></td>
<td align="center"><a href="http://blog.yoannfleury.dev"><img src="https://avatars.githubusercontent.com/u/3920615?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yoann Fleury</b></sub></a><br /><a href="https://github.com/clarkio/vscode-twitch-highlighter/commits?author=yoannfleurydev" title="Code">💻</a></td>
</tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "twitch-highlighter",
"displayName": "Twitch Highlighter",
"description": "Allow your Twitch viewers to help in spotting bugs, typos, etc. by sending a command in chat that will highlight the line of code they want you to check.",
"version": "1.0.2",
"version": "1.0.3",
"preview": false,
"publisher": "clarkio",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions src/enums/TwitchKeys.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export enum TwitchKeys {
"clientId" = "hhxtni83sibk1278lmv6bwye1pnurt",
"scope" = "chat:read chat:edit"
"clientId" = "83juwb58ggj9s7l7nf9ngyill70tem",
"scope" = "chat:read chat:edit",
}
1 change: 1 addition & 0 deletions src/ttvchat/api/API.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class API {
}
});
});

return result;
}
public static async revokeToken(token: string) {
Expand Down

0 comments on commit 777ae55

Please sign in to comment.