Skip to content

Commit

Permalink
Add creating tables script; Add stretch bar to browser; Update config…
Browse files Browse the repository at this point in the history
…uration section in Readme (#33)

* Update browser

* Update browser

* Update config

* add : get user config from env

* add userConfig file

* add sysconfig file

* add userConfig file

* add swan_address in sysconfig

* add userConfig file

* add userConfig file

* delete token

* change ip address of swan address

* change ip address of swan address

* change ip address of swan address

* Update browser

* Revert "Update browser"

* Update README.md

* Update README.md

* Update config example

* Update README.md

* Update .env.example

* Update browser

* Update readme

* Update readme for release

* Update README.md

* Add volumn backup

* Modify config and create public task

* Update swan lib

* Save csv to level db

* Update backup task name

* Add retrieve volume history and rebuild volume api

* Add autobid scheduler

* Add autobid scheduler

* Update db and lotus rpc

* Update rebuild browser

* Update rebuild browser

* Update readme

* Update browser

* Add update backup plan status api, update browser and backup scheduler

* Update leveldb search policy, return when key not found

* Update rebuild scheduler and browser

* Replace leveldb with Postgresql, update backup scheduler

* Replace leveldb with Postgresql, update backup scheduler

* Update browser

* Update browser

* Update readme and close db

* Update readme and browser

* Update browser and modify response

* Update browser

* Add pagination

* Update readme

* Update function of closing db connetion

* Update browser

* Update browser

* Update browser

* Update browser

* Update status scheduler

* Update browser and readme

* Update browser and readme

* Update browser and readme

* Update backup plan status

* Add delete status for backup plan

* Update browser

* Update readme

* Update readme

* Delete ledger_info.log

* Update readme

* Update README.md

* Update browser and readme

* Update readme

* Update readme

* Update readme and db installation

* Update browser,add side bar

* Add table schema

* Update flask swan api

* Update flask swan api

* Update readme

* Update swan api


* Update readme

Co-authored-by: gma <gma@nbai.io>
Co-authored-by: zzhao-nbai <50418712+zzhao-nbai@users.noreply.github.com>
Co-authored-by: zhiqiang <zzhao@nbai.io>
Co-authored-by: boqian-nbai <78975968+boqian-nbai@users.noreply.github.com>
  • Loading branch information
5 people authored Dec 10, 2021
1 parent edab73c commit dcb57e2
Show file tree
Hide file tree
Showing 49 changed files with 1,198 additions and 123 deletions.
12 changes: 6 additions & 6 deletions .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SWAN_ADDRESS=https://api.filswan.com
FS3_VOLUME_ADDRESS=~/minio-data
FS3_VOLUME_ADDRESS=~/fs3-data
FS3_WALLET_ADDRESS=
CAR_FILE_SIZE=8589934592
IPFS_API_ADDRESS=
Expand All @@ -8,8 +8,8 @@ SWAN_TOKEN=
LOTUS_CLIENT_API_URL=
LOTUS_CLIENT_ACCESS_TOKEN=
VOLUME_BACKUP_ADDRESS=
PSQL_HOST=
PSQL_USER=
PSQL_PASSWORD=
PSQL_DBNAME=
PSQL_PORT=
PSQL_HOST=127.0.0.1
PSQL_USER=root
PSQL_PASSWORD=root
PSQL_DBNAME=fs3
PSQL_PORT=5432
442 changes: 404 additions & 38 deletions README.md

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions browser/config/prod.env.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict'
module.exports = {
NODE_ENV: '"production"',
// BASE_API: '"http://192.168.88.216:5002/"',
BASE_API: '"./"',
BASE_API: '"https://api.filswan.com/"'
}
Binary file modified browser/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta name="referrer" content="no-referrer" charset="utf-8">
<title>MinIO Browser</title>
<title>FS3</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
Expand Down
2 changes: 1 addition & 1 deletion browser/package-lock.json

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

4 changes: 2 additions & 2 deletions browser/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "minio",
"name": "fs3",
"version": "1.0.0",
"description": "minio",
"description": "fs3",
"author": "",
"private": true,
"scripts": {
Expand Down
Binary file modified browser/release/favicon.ico
Binary file not shown.
5 changes: 3 additions & 2 deletions browser/release/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta name=referrer content=no-referrer charset=utf-8><title>MinIO Browser</title><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><meta name=format-detection content="telephone=no"><meta name=renderer content=webkit|ie-comp|ie-stand><meta http-equiv=X-UA-Compatible content="IE=Edge,chrome=1"><meta content="telephone=no" name=format-detection><meta content="email=no" name=format-detection><script src=https://cdn.jsdelivr.net/npm/marked/marked.min.js></script><script src=https://cdn.jsdelivr.net/gh/ethereum/web3.js/dist/web3.min.js></script><script async src="https://www.googletagmanager.com/gtag/js?id=UA-118655606-11"></script><script>window.dataLayer = window.dataLayer || [];
<!DOCTYPE html><html><head><meta name=referrer content=no-referrer charset=utf-8><title>FS3</title><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><meta name=format-detection content="telephone=no"><meta name=renderer content=webkit|ie-comp|ie-stand><meta http-equiv=X-UA-Compatible content="IE=Edge,chrome=1"><meta content="telephone=no" name=format-detection><meta content="email=no" name=format-detection><script src=https://cdn.jsdelivr.net/npm/marked/marked.min.js></script><script src=https://cdn.jsdelivr.net/gh/ethereum/web3.js/dist/web3.min.js></script><script async src="https://www.googletagmanager.com/gtag/js?id=UA-118655606-11"></script><script>window.dataLayer = window.dataLayer || [];

function gtag(){dataLayer.push(arguments);}

Expand All @@ -11,5 +11,6 @@
);var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-K643GK6');</script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.826650126ec1a62ffdb4121522521753.css rel=stylesheet></head><body><div id=app></div><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K643GK6" height=0 width=0 style=display:none;visibility:hidden></iframe></noscript><script type=text/javascript src=./static/js/manifest.7c5e75a98142954535fe.js></script><script type=text/javascript src=./static/js/vendor.b66f0ccb10fda13b76a8.js></script><script type=text/javascript src=./static/js/app.e5d4156021ac330763de.js></script></body></html>
})(window,document,'script','dataLayer','GTM-K643GK6');</script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.4f6f7255195a5820740aa654c35bdf68.css rel=stylesheet></head><body><div id=app></div><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K643GK6" height=0 width=0 style=display:none;visibility:hidden></iframe></noscript><script type=text/javascript src=./static/js/manifest.4181f0a9e7fcecb41837.js></script><script type=text/javascript src=./static/js/vendor.b66f0ccb10fda13b76a8.js></script><script type=text/javascript src=./static/js/app.7d5b78ac81e0a193b34a.js></script></body></html>


Large diffs are not rendered by default.

Binary file not shown.
Binary file added browser/release/static/img/logo_small.f4c70c4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed browser/release/static/img/title.7c3abd8.png
Binary file not shown.
1 change: 1 addition & 0 deletions browser/release/static/js/1.57db7b0f50a66405e815.js

Large diffs are not rendered by default.

Binary file not shown.
1 change: 1 addition & 0 deletions browser/release/static/js/10.40dbd49ac5bda063dd02.js

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

39 changes: 39 additions & 0 deletions browser/release/static/js/2.c37ae3f7b8ff1ef2d560.js

Large diffs are not rendered by default.

Binary file not shown.
1 change: 1 addition & 0 deletions browser/release/static/js/3.1a49624422ab33aec2e4.js

Large diffs are not rendered by default.

Binary file not shown.
1 change: 1 addition & 0 deletions browser/release/static/js/4.8f8cb2738cd12e351e85.js

Large diffs are not rendered by default.

Binary file not shown.
1 change: 1 addition & 0 deletions browser/release/static/js/5.673e7cb163df3e4b3680.js

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

1 change: 1 addition & 0 deletions browser/release/static/js/6.872437ca1f6b38421641.js

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

Loading

0 comments on commit dcb57e2

Please sign in to comment.