Skip to content

Commit

Permalink
2.2.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
karamem0 committed Oct 9, 2024
1 parent ba3d328 commit 166f95e
Show file tree
Hide file tree
Showing 67 changed files with 2,875 additions and 1,120 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
deploy-development:
if: github.ref == 'refs/heads/develop'
uses: ./.github/workflows/workflow.deploy.yml
uses: ./.github/workflows/deploy.yml
secrets:
APP_CLIENT_ID: ${{secrets.APP_CLIENT_ID}}
APP_DOMAIN_NAME: ${{secrets.APP_DOMAIN_NAME}}
Expand All @@ -22,7 +22,7 @@ jobs:
environment: development
deploy-production:
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/workflow.deploy.yml
uses: ./.github/workflows/deploy.yml
secrets:
APP_CLIENT_ID: ${{secrets.APP_CLIENT_ID}}
APP_DOMAIN_NAME: ${{secrets.APP_DOMAIN_NAME}}
Expand All @@ -35,7 +35,7 @@ jobs:
environment: production
create-release:
if: contains(github.ref, 'refs/tags/')
uses: ./.github/workflows/workflow.release.yml
uses: ./.github/workflows/release.yml
secrets:
APP_CLIENT_ID: ${{secrets.APP_CLIENT_ID}}
APP_DOMAIN_NAME: ${{secrets.APP_DOMAIN_NAME}}
Expand Down
32 changes: 16 additions & 16 deletions README.ja-jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

参加中のチームをタイルで表示することで素早くアクセスできます。

[![.github/workflows/workflow.yml](https://github.com/karamem0/teamtile/actions/workflows/workflow.yml/badge.svg)](https://github.com/karamem0/teamtile/actions/workflows/workflow.yml)
[![.github/workflows/trigger.yml](https://github.com/karamem0/teamtile/actions/workflows/trigger.yml/badge.svg)](https://github.com/karamem0/teamtile/actions/workflows/trigger.yml)
[![codecov](https://codecov.io/gh/karamem0/teamtile/graph/badge.svg?token=UY4ZU4E73I)](https://codecov.io/gh/karamem0/teamtile)
[![license](https://img.shields.io/github/license/karamem0/teamtile.svg)](https://github.com/karamem0/teamtile/blob/main/LICENSE)

Expand Down Expand Up @@ -69,7 +69,7 @@
|項目||
|-|-|
|種類|シングル ページ アプリケーション|
|リダイレクト URL|`[Azure Web アプリの URL]`/auth/callback|
|リダイレクト URL|**Azure Web アプリの URL**/auth/callback|
|アクセス トークン|チェックする|
|ID トークン|チェックす津|

Expand All @@ -92,7 +92,7 @@

|項目||
|-|-|
|アプリケーション ID URL|api://`[Azure Web アプリ のドメイン名]`/`[アプリケーション ID]`|
|アプリケーション ID URL|api://**Azure Web アプリ のドメイン名**/**アプリケーション ID**|
|スコープ名|user_impersonation|
|同意できるユーザー|管理者とユーザー|
|管理者の同意の表示名|Teamtile へのアクセス|
Expand Down Expand Up @@ -137,23 +137,23 @@

2. `.env` ファイルを編集します。

|項目||必須|
|プレースホルダー|置換|
|-|-|-|
|{{AppId}}|`[アプリケーション ID]`|はい|
|{{TenantId}}|`[テナント ID]`|はい|
|{{TelemetryConnectionString}}|`[Application Insights の接続文字列]`|いいえ|
|`{{APP_CLIENT_ID}}`|**アプリケーション ID**|
|`{{APP_DOMAIN_NAME}}`|**Azure Web アプリのドメイン名**|
|`{{APP_TENANT_ID}}`|**テナント ID**|
|`{{TELEMETRY_CONNECTION_STRING}}`|**Application Insights の接続文字列**|

3. `source/server` フォルダーに移動します。

4. `appsettings.json` ファイルを編集します。

|項目||必須|
|プレースホルダー|置換|
|-|-|-|
|{{Audience}}|api://`[Azure Web アプリのドメイン名]`/`[アプリケーション ID]`|はい|
|{{AppId}}|`[アプリケーション ID]`|はい|
|{{AppSecret}}|`[アプリケーション シークレット]`|はい|
|{{TenantId}}|`[テナント ID]`|はい|
|{{TelemetryConnectionString}}|`[Application Insights の接続文字列]`|いいえ|
|`{{APP_CLIENT_ID}}`|**アプリケーション ID**|
|`{{APP_CLIENT_SECRET}}`|**アプリケーション シークレット**|
|`{{APP_TENANT_ID}}`|**テナント ID**|
|`{{TELEMETRY_CONNECTION_STRING}}`|**Application Insights の接続文字列**|

5. アプリケーションをビルドします。

Expand All @@ -173,10 +173,10 @@ Compress-Archive -Path ./bin/Release/net8.0/publish/* -DestinationPath ../../bui

2. `manifest.json` ファイルを編集します。

|項目||
|プレースホルダー|置換|
|-|-|
|{{AppDomain}}|`[Azure Web アプリのドメイン名]`|
|{{AppId}}|`[アプリケーション ID]`|
|`{{APP_DOMAIN_NAME}}`|**Azure Web アプリのドメイン名**|
|`{{APP_CLIENT_ID}}`|**アプリケーション ID**|

3. `manifest` フォルダーの中身を圧縮します。

Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

You can quickly access participating teams by displaying them as tiles.

[![.github/workflows/workflow.yml](https://github.com/karamem0/teamtile/actions/workflows/workflow.yml/badge.svg)](https://github.com/karamem0/teamtile/actions/workflows/workflow.yml)
[![.github/workflows/trigger.yml](https://github.com/karamem0/teamtile/actions/workflows/trigger.yml/badge.svg)](https://github.com/karamem0/teamtile/actions/workflows/trigger.yml)
[![codecov](https://codecov.io/gh/karamem0/teamtile/graph/badge.svg?token=UY4ZU4E73I)](https://codecov.io/gh/karamem0/teamtile)
[![license](https://img.shields.io/github/license/karamem0/teamtile.svg)](https://github.com/karamem0/teamtile/blob/main/LICENSE)

Expand Down Expand Up @@ -69,7 +69,7 @@ Are you frustrated with finding a team? Teamtile provides these features to you
|Parameter|Value|
|-|-|
|Type|Single-page application|
|Redirect URL|`[URL of Azure Web App]`/auth/callback|
|Redirect URL|**URL of Azure Web App**/auth/callback|
|Access tokens|Checked|
|ID tokens|Checked|

Expand All @@ -92,7 +92,7 @@ Are you frustrated with finding a team? Teamtile provides these features to you

|Parameter|Value|
|-|-|
|Application ID URL|api://`[Domain name of Azure Web App]`/`[Application ID]`|
|Application ID URL|api://**Domain name of Azure Web App**/**Application ID**|
|Scope name|user_impersonation|
|User|Admins and users|
|Admin consent display name|Access Teamtile|
Expand Down Expand Up @@ -137,23 +137,23 @@ Are you frustrated with finding a team? Teamtile provides these features to you

2. Edit `.env` file.

|Parameter|Value|Required|
|Placeholder|Replace|
|-|-|-|
|{{AppId}}|`[Application ID]`|true|
|{{TenantId}}|`[Tenent ID]`|true|
|{{TelemetryConnectionString}}|`[Connection String of Application Insights]`|false|
|`{{APP_CLIENT_ID}}`|**Application ID**|
|`{{APP_DOMAIN_NAME}}`|**Domain name of Azure Web App**|
|`{{APP_TENANT_ID}}`|**Tenent ID**|
|`{{TELEMETRY_CONNECTION_STRING}}`|**Connection String of Application Insights**|

3. Go to `source/server` folder.

4. Edit `appsettings.json` file.

|Parameter|Value|Required|
|Placeholder|Replace|
|-|-|-|
|{{Audience}}|api://`[Domain name of Azure Web App]`/`[Application ID]`|true|
|{{AppId}}|`[Application ID]`|true|
|{{AppSecret}}|`[Application Secret]`|true|
|{{TenantId}}|`[Tenent ID]`|true|
|{{TelemetryConnectionString}}|`[Connection String of Application Insights]`|false|
|`{{APP_CLIENT_ID}}`|**Application ID**|
|`{{APP_CLIENT_SECRET}}`|**Application Secret**|
|`{{APP_TENANT_ID}}`|**Tenent ID**|
|`{{TELEMETRY_CONNECTION_STRING}}`|**Connection String of Application Insights**|

5. Build application.

Expand All @@ -173,10 +173,10 @@ Compress-Archive -Path ./bin/Release/net8.0/publish/* -DestinationPath ../../bui

2. Edit `manifest.json` file.

|Parameter|Value|
|Placeholder|Replace|
|-|-|
|{{AppDomain}}|`[Domain name of Azure Web App]`|
|{{AppId}}|`[Application ID]`|
|`{{APP_DOMAIN_NAME}}`|**Domain name of Azure Web App**|
|`{{APP_CLIENT_ID}}`|**Application ID**|

3. Compress contents of `manifest` folder.

Expand Down
29 changes: 22 additions & 7 deletions source/client/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import { FlatCompat } from '@eslint/eslintrc';
import { fileURLToPath } from 'url';
import { fixupConfigRules } from '@eslint/compat';
import globals from 'globals';
import hooks from 'eslint-plugin-hooks';
import js from '@eslint/js';
import path from 'path';
import pluginHooks from 'eslint-plugin-hooks';
import pluginTestingLibrary from 'eslint-plugin-testing-library';

const compat = new FlatCompat({
baseDirectory: path.dirname(fileURLToPath(import.meta.url)),
Expand All @@ -26,12 +27,11 @@ export default [
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:sonarjs/recommended-legacy',
'plugin:testing-library/react'
'plugin:sonarjs/recommended-legacy'
)),
{
'plugins': {
hooks
'hooks': pluginHooks
},
'languageOptions': {
'globals': {
Expand Down Expand Up @@ -116,7 +116,7 @@ export default [
],
'@stylistic/indent-binary-ops': [
'error',
4
2
],
'@stylistic/jsx-closing-bracket-location': [
'error',
Expand Down Expand Up @@ -190,7 +190,12 @@ export default [
'default': 'array'
}
],
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/no-unused-vars': [
'error',
{
'varsIgnorePattern': '^_'
}
],
'@typescript-eslint/no-use-before-define': 'error',
'hooks/sort': [
'error',
Expand Down Expand Up @@ -219,7 +224,17 @@ export default [
'sonarjs/no-collapsible-if': 'warn',
'sonarjs/no-duplicate-string': 'off',
'sonarjs/no-small-switch': 'warn',
'sonarjs/prefer-single-boolean-return': 'off'
'sonarjs/no-unknown-property': 'off',
'sonarjs/prefer-single-boolean-return': 'off',
'sonarjs/sonar-no-unused-vars': 'off'
}
},
{
'files': [
'**/*.test.ts',
'**/*.test.tsx'
],
...pluginTestingLibrary.configs['flat/dom'],
...pluginTestingLibrary.configs['flat/react']
}
];
1 change: 0 additions & 1 deletion source/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<meta charset="utf-8" />
<meta name="author" content="karamem0">
<meta name="description" content="You can quickly access participating teams by displaying them as tiles.">
<meta name="keywords" content="Microsoft Teams,Teams,チームス,チームズ,Teams App,Teams アプリ,Microsoft 365,マイクロソフト 365,生産性">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@karamem0">
Expand Down
Loading

0 comments on commit 166f95e

Please sign in to comment.