Skip to content

Commit 446fb8c

Browse files
Merge pull request #93 from OpenTouryoProject/develop
Release work ( ~ May 1, 2022)
2 parents f639d9a + b7650c2 commit 446fb8c

102 files changed

Lines changed: 3823 additions & 5 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

HOST/dotnet/FrontendHost.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.29519.87
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.32126.317
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FrontendHost", "FrontendHost\FrontendHost.csproj", "{E4AC93C0-3766-420C-9455-A05B99ADC6B2}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FrontendHost", "FrontendHost\FrontendHost.csproj", "{E4AC93C0-3766-420C-9455-A05B99ADC6B2}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

HOST/dotnet/FrontendHost/FrontendHost.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

Notifications/FCM/send.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
curl -X POST ^
2+
--header "Authorization: key={サーバーキー}" ^
3+
--header "project_id: key={送信者ID}" ^
4+
--header Content-Type:"application/json" ^
5+
https://fcm.googleapis.com/fcm/send ^
6+
-d @test.json
7+
pause

Notifications/FCM/test.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"to": "Topic or FCM Token",
3+
"notification": {
4+
"title":"FCM Message",
5+
"body":"This is an FCM Message"
6+
}
7+
}

UI/SPA/React/react_template/src/components/RedirectOfAuth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {callConvertCodeToToken} from '../common.js';
66
import util from '../touryo/common.js';
77
import oauth_oidc from '../touryo/oauth_oidc';
88

9-
export default class RedirectOfAuth extends React.Component {
9+
export class RedirectOfAuth extends React.Component {
1010
render() {
1111
if(window.location.hash.indexOf("code=") !== -1)
1212
{

UI/XPlat/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cross-platform系テンプレートを格納する。
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
**/ios/Flutter/.last_build_id
26+
.dart_tool/
27+
.flutter-plugins
28+
.flutter-plugins-dependencies
29+
.packages
30+
.pub-cache/
31+
.pub/
32+
/build/
33+
34+
# Web related
35+
lib/generated_plugin_registrant.dart
36+
37+
# Symbolication related
38+
app.*.symbols
39+
40+
# Obfuscation related
41+
app.*.map.json
42+
43+
# Android Studio will place build artifacts here
44+
/android/app/debug
45+
/android/app/profile
46+
/android/app/release
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: 02c026b03cd31dd3f867e5faeb7e104cce174c5f
8+
channel: stable
9+
10+
project_type: app
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# How to use
2+
Add the necessary information for push notifications.
3+
4+
- /lib/configs/app_fcm.dart
5+
- /android/app/google-services.json
6+
7+
To change the authentication server to be used,
8+
change the URL and parameters in the following file.
9+
10+
- /lib/configs/app_auth.dart
11+
12+
For the settings of Private-Use URI Scheme Redirection and
13+
Claimed Https Scheme URI Redirection, please set them in the following files.
14+
15+
- /android/app/src/main/AndroidManifest.xml
16+
- /android/app/build.gradle
17+
18+
If the authentication server uses a self-signed certificate,
19+
add the certificate to the following location to allow for self-signed certificates.
20+
This file can be exported as a CER in DER from the location bar of the browser.
21+
22+
- /android/app/src/debug/res/raw/my_ca.cer
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java
8+
9+
# Remember to never publicly share your keystore.
10+
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
key.properties

0 commit comments

Comments
 (0)