-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into deploy/dot-seller
- Loading branch information
Showing
175 changed files
with
7,440 additions
and
3,615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ node_modules/ | |
.storybook/ | ||
.vscode/ | ||
**/stories/ | ||
docker/ | ||
deployment/ | ||
.github/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
name: 🐛 Bug Report | ||
about: Template for reporting bugs | ||
title: '<title>' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
<!-- | ||
Note: Please search to see if an issue already exists for the bug you encountered. | ||
--> | ||
|
||
### Current Behavior: | ||
|
||
<!-- A concise description of what you're experiencing. --> | ||
|
||
### Expected Behavior: | ||
|
||
<!-- A concise description of what you expected to happen. --> | ||
|
||
### Steps To Reproduce: | ||
|
||
<!-- | ||
Example: steps to reproduce the behavior: | ||
1. In this environment... | ||
1. With this config... | ||
1. Run '...' | ||
1. See error... | ||
--> | ||
|
||
## Environment | ||
|
||
<!-- What is the environment that the bug happens? | ||
Example: | ||
- OS: Ubuntu 20.04 | ||
- Node: 13.14.0 | ||
- npm: 7.6.3 | ||
--> | ||
|
||
## ✔️ Possible solutions | ||
|
||
<!-- (This section is optional.) | ||
Any hint on how to solve the issue? | ||
What parts of the code will be affected? | ||
--> | ||
|
||
### Anything else: | ||
|
||
<!-- | ||
Links? References? Anything that will give us more context about the issue that you are encountering! | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: ✨ Feature request | ||
about: Template for requesting new features | ||
title: '<title>' | ||
labels: enhancement | ||
assignees: '' | ||
--- | ||
|
||
## 📚 Context | ||
|
||
<!-- | ||
What is the problem that you are trying to solve? | ||
Why is this problem relevant? | ||
--> | ||
|
||
## ✔️ Solution | ||
|
||
<!-- | ||
(This section and the ones below are optional.) | ||
What are the possible solutions? | ||
If there are multiple, what are the benefits and drawbacks of each one? | ||
--> | ||
|
||
## 📈 Subtasks | ||
|
||
<!-- | ||
- [ ] If there is a solution, what are the subtasks for completing this issue? | ||
--> | ||
|
||
## 🎯 Definition of Done | ||
|
||
<!-- | ||
- [ ] If there is a solution, what are the final deliverables? | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
version: 2 | ||
updates: | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
reviewers: | ||
- 'oap75' | ||
- 'olehmell' | ||
schedule: | ||
interval: 'weekly' | ||
commit-message: | ||
prefix: 'dependabot' | ||
pull-request-branch-name: | ||
separator: '/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: build and deploy base image for web app | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
paths: | ||
- 'docker/**' | ||
|
||
jobs: | ||
base_front_build: | ||
name: build & Push Docker image to Docker Hub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@master | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@master | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Build base image | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
builder: ${{ steps.buildx.outputs.name }} | ||
file: docker/BaseDockerfile | ||
push: true | ||
tags: | | ||
dappforce/subsocial-base-polkaverse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# NOTICE | ||
|
||
polkaverse by DAPPFORCE PTE. LTD. | ||
|
||
Copyright (C) 2022-2023 DAPPFORCE PTE. LTD. | ||
|
||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License at https://github.com/dappforce/polkaverse/blob/main/LICENSE for more details. | ||
|
||
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
LOG_LEVEL=info | ||
NEXT_PUBLIC_APP_KIND=subsocial | ||
NEXT_PUBLIC_CONNECTION_KIND='$GH_CONNECTION_KIND' | ||
NEXT_PUBLIC_SUBSTRATE_URL='$GH_SUBSTRATE_URL' | ||
NEXT_PUBLIC_SUBSTRATE_RPC_URL='$GH_SUBSTRATE_RPC_URL' | ||
NEXT_PUBLIC_OFFCHAIN_URL='$GH_OFFCHAIN_URL' | ||
NEXT_PUBLIC_OFFCHAIN_WS='$GH_OFFCHAIN_WS' | ||
NEXT_PUBLIC_IPFS_NODE_URL='$GH_IPFS_NODE_URL' | ||
NEXT_PUBLIC_GA_ID='$GH_GA_ID' | ||
NEXT_PUBLIC_APP_KIND='$GH_APP_KIND' | ||
NEXT_PUBLIC_APP_BASE_URL='$GH_APP_BASE_URL' | ||
SELLER_CLIENT_ID='$GH_SELLER_CLIENT_ID' | ||
SELLER_CLIENT_TOKEN_SIGNER='$GH_SELLER_TOKEN_SIGNER' | ||
APP_KIND=subsocial | ||
CONNECTION_KIND='$GH_CONNECTION_KIND' | ||
SUBSTRATE_URL='$GH_SUBSTRATE_URL' | ||
SUBSTRATE_RPC_URL='$GH_SUBSTRATE_RPC_URL' | ||
OFFCHAIN_URL='$GH_OFFCHAIN_URL' | ||
OFFCHAIN_WS='$GH_OFFCHAIN_WS' | ||
IPFS_NODE_URL='$GH_IPFS_NODE_URL' | ||
GA_ID='$GH_GA_ID' | ||
APP_KIND='$GH_APP_KIND' | ||
APP_BASE_URL='$GH_APP_BASE_URL' | ||
HCAPTCHA_SITE_KEY='$GH_HCAPTCHA_SITE_KEY' | ||
OFFCHAIN_SIGNER_URL='$GH_OFFCHAIN_SIGNER_URL' | ||
AMP_ID='$GH_AMP_ID' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.