Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update development with quick fixes #569

Merged
merged 41 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
4ec9dec
Merge pull request #445 from fairDataSociety/development
tfius Aug 15, 2023
f996185
fix: blur when theme not chosen
IgorShadurin Aug 17, 2023
75838fa
Merge pull request #450 from fairDataSociety/fix/invite-blurred-text
IgorShadurin Aug 18, 2023
536ba95
Merge pull request #487 from fairDataSociety/development
tfius Sep 8, 2023
e1c8c12
Merge pull request #488 from fairDataSociety/development
tfius Sep 8, 2023
aba38ed
Update swarm.yml
darkobas2 Oct 6, 2023
e70587e
[ci] seperate swarm vars
darkobas2 Oct 6, 2023
5119598
[skip-ci] swarm: run only on master
darkobas2 Oct 6, 2023
8059724
[ci] swarm: fix bee url
darkobas2 Oct 6, 2023
4f75a9f
[skip ci] swarm: change cache purge site for swarm
darkobas2 Oct 7, 2023
b33ba95
Merge pull request #559 from fairDataSociety/development
darkobas2 Nov 28, 2023
74b4898
feat: docs update
tamas6 Dec 4, 2023
150e5fa
Merge branch 'master'
tamas6 Dec 4, 2023
4fb115d
typo fixx
tamas6 Dec 4, 2023
7297294
Update swarm.yml
darkobas2 Dec 6, 2023
11e0bdb
Update swarm.yml
darkobas2 Dec 6, 2023
3943816
fix: list view (#565)
tomicvladan Dec 8, 2023
8eda635
Merge branch 'fairDataSociety:master' into master
tamas6 Dec 13, 2023
b736655
fix: metamask migration dialog
tomicvladan Dec 13, 2023
1debe97
Merge pull request #568 from fairDataSociety/fix/metamask-migration-d…
tfius Dec 13, 2023
6b14e4a
feat: hidden functionalities
tomicvladan Dec 13, 2023
0d3c082
fix: main sidebar
tomicvladan Dec 13, 2023
240656a
fix: var name
tomicvladan Dec 13, 2023
cd3496a
fix: footer and hide migration notification
tomicvladan Dec 13, 2023
f54075d
fix: metamask disclaimer message
tomicvladan Dec 13, 2023
f984613
fix: footer styling
tomicvladan Dec 14, 2023
f318629
fix: drive options mobile
tomicvladan Dec 14, 2023
04c405d
fix: disclaimer message width
tomicvladan Dec 14, 2023
ede9d1d
fix: list view sorting
tomicvladan Dec 14, 2023
130a48d
Merge pull request #566 from fairDataSociety/fix/list-view
tfius Dec 14, 2023
91f4316
Merge pull request #570 from fairDataSociety/feat/hidden-functionalities
tfius Dec 14, 2023
ce3a2c4
feat: zkevm testnet
tomicvladan Dec 19, 2023
28dcbb8
fix: login redirection
tomicvladan Dec 19, 2023
796934c
chore: fdp-storage upgrade
tomicvladan Dec 20, 2023
2424b50
Merge pull request #574 from fairDataSociety/fix/login-redirection
tfius Dec 20, 2023
c3732aa
Merge pull request #575 from fairDataSociety/feat/zkevm
tfius Dec 20, 2023
4e636af
Merge branch 'master' into master
tamas6 Jan 25, 2024
b46c727
docs: user guide updat
tamas6 Feb 5, 2024
e38ceec
Merge 'master' of https://github.com/fairDataSociety/fairdrive-theapp
tamas6 Feb 5, 2024
1679a1e
Merge branch 'master' of https://github.com/tamas6/fairdrive-theapp
tamas6 Feb 5, 2024
eb31397
Merge pull request #564 from tamas6/master
tfius Feb 7, 2024
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
16 changes: 10 additions & 6 deletions .github/workflows/swarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- master
- development
- staging

jobs:
build:
Expand All @@ -15,15 +13,20 @@ jobs:
working-directory: .
strategy:
matrix:
node-version: [18.x]
node-version: [16.x]
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: checkout
uses: actions/checkout@v3

- name: Set environment specific variables
uses: jnus/[email protected]
with:
scope: ${{ github.ref_name }}
scope: "swarm"
configFile: '.github/workflows/variables.json'
secrets: '${{ toJson(secrets.github_token) }}'

Expand Down Expand Up @@ -62,6 +65,7 @@ jobs:
bee-url: ${{ env.SWARM_URL }}
dir: ./out
index-document: index.html
pin: true
timeout: 200000
- name: update feed
id: swarm-feed
Expand All @@ -71,7 +75,7 @@ jobs:
with:
bee-url: ${{ env.SWARM_URL }}
reference: ${{ steps.swarm-upload.outputs.reference }}
topic: consents
topic: theapp
signer: ${{ secrets[env.SIGNER] }}
- name: get CID
id: swarm-cid
Expand All @@ -88,4 +92,4 @@ jobs:
env:
TOKEN: '${{ secrets.purge_token }}'
run: |
curl -s ${{ env.PURGE_URL }}/deploy/purge?token=${{ secrets.purge_token }} -H "site: app.fairdrive${{ env.DEPLOYMENT }}fairdatasociety.org" -H "uri: "
curl -s ${{ env.PURGE_URL }}/deploy/purge?token=${{ secrets.purge_token }} -H "site: app.fairdrive${{ env.DEPLOYMENT }}io" -H "uri: /"
69 changes: 64 additions & 5 deletions .github/workflows/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"Scope": {
"Environment": [
"master",
"main"
"main",
"swarm"
]
}
},
Expand Down Expand Up @@ -74,6 +75,15 @@
]
}
},
{
"Name": "NEXT_PUBLIC_FAIRDRIVEHOST",
"Value": "https://app.fairdrive.io",
"Scope": {
"Environment": [
"swarm"
]
}
},
{
"Name": "NEXT_PUBLIC_FAIRDRIVEHOST",
"Value": "https://fairdrive#{DEPLOYMENT}fairdatasociety.org",
Expand All @@ -91,7 +101,8 @@
"main",
"master",
"staging",
"development"
"development",
"swarm"
]
}
},
Expand All @@ -103,17 +114,65 @@
{
"Name": "NEXT_PUBLIC_CREATE_ACCOUNT_REDIRECT",
"Value": "https://create#{DEPLOYMENT}fairdatasociety.org",
"Scope": {}
"Scope": {
"Environment": [
"main",
"master",
"staging",
"development"
]
}
},
{
"Name": "NEXT_PUBLIC_CREATE_ACCOUNT_REDIRECT",
"Value": "https://create.fairdrive.io",
"Scope": {
"Environment": [
"swarm"
]
}
},
{
"Name": "NEXT_PUBLIC_NFT_GENERATOR_URL",
"Value": "https://nft#{DEPLOYMENT}fairdatasociety.org",
"Scope": {}
"Scope": {
"Environment": [
"main",
"master",
"staging",
"development"
]
}
},
{
"Name": "NEXT_PUBLIC_NFT_GENERATOR_URL",
"Value": "https://nft.fairdrive.io",
"Scope": {
"Environment": [
"swarm"
]
}
},
{
"Name": "NEXT_PUBLIC_CONSENT_VIEWER",
"Value": "https://app.crviewer#{DEPLOYMENT}fairdatasociety.org",
"Scope": {}
"Scope": {
"Environment": [
"main",
"master",
"staging",
"development"
]
}
},
{
"Name": "NEXT_PUBLIC_CONSENT_VIEWER",
"Value": "https://crviewer.fairdrive.org",
"Scope": {
"Environment": [
"swarm"
]
}
},
{
"Name": "NEXT_PUBLIC_BLOCKCHAIN_INFO",
Expand Down
10 changes: 3 additions & 7 deletions docs/CONTACT.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

# Contact Us

If you have any questions, concerns, or feedback about Fairdrive, we'd love to hear from you! Here's how you can reach us:

## Discussions

You can join discussions on [GitHub](https://github.com/orgs/fairDataSociety/discussions)
You can join discussions on [GitHub](https://github.com/orgs/fairDataSociety/discussions)

## Social Media

Expand All @@ -15,11 +14,8 @@ You can also reach out to us on social media:
- [GitHub](https://github.com/fairDataSociety)
- [Discord](https://discord.com/invite/vw3PmWf2rE)


## Getting Help

If you need help using Fairdrive, check out our [User Guide](USER-GUIDE.md) and [FAQ](FAQ.md).
Start [here](GETTING-STARTED.md) or see [Design](DESIGN.md), [Functionality](FUNCTIONALITY.md) or [Architecture](ARCHITECTURE.md).
If you need help using Fairdrive, check out our [User Guide](USER-GUIDE.md) and [FAQ](FAQ.md).
Start [here](GETTING-STARTED.md) or see [Design](DESIGN.md), [Functionality](FUNCTIONALITY.md) or [Architecture](ARCHITECTURE.md).
Developers can check [Development Instructions](DEVELOPMENT.md).

If you can't find the answer to your question, feel free to [contact us](CONTACT.md).
18 changes: 15 additions & 3 deletions docs/GETTING-STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,25 @@ Fairdrive is a web application, so there's no need to install anything on your c

## Creating an Account

To use Fairdrive, you'll need to create an account. Here's how:
To use Fairdrive, you'll need to create an account, or migrate through Metamask.

Follow these steps to create an account:

1. Go to the Fairdrive website.
2. Click on the "Sign Up" button.
3. Fill out the registration form with your details.
4. Click "Submit" to create your account.

Follow these steps to login with Metamask

1. Install Metamask extension to Chrome.
2. Go to the Fairdrive website.
3. Click on the connect button in the right header corner.
4. Select Metamask, if you are not logged in currently, please login.
5. Provide a one-time-only password for athentication.
6. Send the neccessary gas fee.
7. When the funding is done, you are able to see the Fairdrive overview section. In this page you will see the migrate button above, to proceed with user credentials for interoperability.

## Logging In

Once you've created your account, you can log in to Fairdrive:
Expand All @@ -41,8 +53,8 @@ Once you're logged in, you can start using Fairdrive to manage your pods, files,

## Getting Help

If you need help using Fairdrive, check out our [User Guide](USER-GUIDE.md) and [FAQ](FAQ.md).
Start [here](GETTING-STARTED.md) or see [Design](DESIGN.md), [Functionality](FUNCTIONALITY.md) or [Architecture](ARCHITECTURE.md).
If you need help using Fairdrive, check out our [User Guide](USER-GUIDE.md) and [FAQ](FAQ.md).
Start [here](GETTING-STARTED.md) or see [Design](DESIGN.md), [Functionality](FUNCTIONALITY.md) or [Architecture](ARCHITECTURE.md).
Developers can check [Development Instructions](DEVELOPMENT.md).

If you can't find the answer to your question, feel free to [contact us](CONTACT.md).
Expand Down
9 changes: 1 addition & 8 deletions docs/USER-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ To use Fairdrive, you'll need to create an account using any of below options. H
4. When you finish procedure your FDP account will be ready
5. Login into Fairdrive using your username/password

#### 3. Using Bloosom extension

1. Make sure you are logged in inside Blossom extension
2. Click Connect
3. Select Blossom
4. Allow Fairdrive full access of your personal storage

## Logging In

**Metamask** account:
Expand All @@ -49,7 +42,7 @@ To use Fairdrive, you'll need to create an account using any of below options. H
2. Enter passphrase
3. Sign message

**FDP Portable account** to log in to Fairdrive:
**FDP Portable account** (development only) to log in to Fairdrive:

1. Go to the Fairdrive website.
2. Click on the "Log In" button.
Expand Down
61 changes: 38 additions & 23 deletions 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 @@ -25,7 +25,7 @@
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@fairdatasociety/blossom": "^0.5.0",
"@fairdatasociety/fdp-storage": "^0.13.0",
"@fairdatasociety/fdp-storage": "^0.17.0",
"@headlessui/react": "^1.7.14",
"@metamask/sdk": "^0.5.6",
"@types/react-blockies": "^1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Connect/Metamask/MetamaskConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const MetamaskConnect = ({ onConnect }: MetamaskConnectProps) => {
setAddress(wallet.address);
setMnemonic(mnemonic);

router.push('/overview');
router.push('/drive');
} catch (error) {
console.error(error);
setErrorMessage(String(error.message || error));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function MetamaskCreateAccount({

await fdpClientRef.current.account.register(request);
setWallet(fdpClientRef.current.account.wallet);
setFdpStorageType('native');
setFdpStorageType('native', undefined, false);
setIsLoggedIn(true);
setLoginType('username');
setUser(username);
Expand Down
Loading
Loading