Skip to content

Commit

Permalink
Merge pull request #866 from BuxOrg/feat-606-migrate
Browse files Browse the repository at this point in the history
feat(BUX-606): migrate box-console
  • Loading branch information
dorzepowski authored Feb 27, 2024
2 parents 91fde23 + cfeaa88 commit 1f88283
Show file tree
Hide file tree
Showing 40 changed files with 143 additions and 340 deletions.
39 changes: 3 additions & 36 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": "bux-console",
"projectOwner": "BuxOrg",
"projectName": "spv-wallet-admin",
"projectOwner": "bitcoin-sv",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand All @@ -11,38 +11,5 @@
"commitConvention": "none",
"contributorsPerLine": 7,
"contributorsSortAlphabetically": false,
"contributors": [
{
"login": "icellan",
"name": "Siggi",
"avatar_url": "https://avatars.githubusercontent.com/u/4411176?v=4",
"profile": "https://github.com/icellan",
"contributions": [
"infra",
"code",
"security"
]
},
{
"login": "mrz1836",
"name": "Mr. Z",
"avatar_url": "https://avatars.githubusercontent.com/u/3743002?v=4",
"profile": "https://mrz1818.com",
"contributions": [
"infra",
"code",
"maintenance",
"business"
]
},
{
"login": "galt-tr",
"name": "Dylan",
"avatar_url": "https://avatars.githubusercontent.com/u/64976002?v=4",
"profile": "https://github.com/galt-tr",
"contributions": [
"code"
]
}
]
"contributors": []
}
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CODEOWNERS file for BuxOrg
# CODEOWNERS file for spv-wallet-admin

# This file is used to designate code owners for files and directories in this repository.
# The code owner will automatically be requested for review on pull requests that modify the corresponding files.
Expand Down
4 changes: 0 additions & 4 deletions .github/FUNDING.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

# Pull Request Checklist

- [ ] 📖 I created my PR using provided : [CODE_STANDARDS](https://github.com/BuxOrg/bux-console/blob/main/.github/CODE_STANDARDS.md)
- [ ] 📖 I have read the short Code of Conduct: [CODE_OF_CONDUCT](https://github.com/BuxOrg/bux-console/blob/main/.github/CODE_OF_CONDUCT.md)
- [ ] 📖 I created my PR using provided : [CODE_STANDARDS](https://github.com/bitcoin-sv/spv-wallet-admin/blob/main/.github/CODE_STANDARDS.md)
- [ ] 📖 I have read the short Code of Conduct: [CODE_OF_CONDUCT](https://github.com/bitcoin-sv/spv-wallet-admin/blob/main/.github/CODE_OF_CONDUCT.md)
- [ ] 🏠 I tested my changes locally.
- [ ] ✅ I have provided tests for my changes.
- [ ] 📝 I have used conventional commits.
Expand Down
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ announce:
# See more at: https://goreleaser.com/customization/announce/#slack
slack:
enabled: false
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Changelog: https://github.com/BuxOrg/{{ .ProjectName }}/releases/tag/{{ .Tag }}'
channel: '#bux'
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Changelog: https://github.com/bitcoin-sv/{{ .ProjectName }}/releases/tag/{{ .Tag }}'
channel: '#bsv-team-pr'
# username: ''
# icon_emoji: ''
# icon_url: ''
Expand Down Expand Up @@ -67,6 +67,6 @@ announce:
# Username for your Reddit account
username: ""
# Defaults to `{{ .GitURL }}/releases/tag/{{ .Tag }}`
# url_template: 'https://github.com/BuxOrg/{{ .ProjectName }}/releases/tag/{{ .Tag }}'
# url_template: 'https://github.com/bitcoin-sv/{{ .ProjectName }}/releases/tag/{{ .Tag }}'
# Defaults to `{{ .ProjectName }} {{ .Tag }} is out!`
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MIT License

Copyright (c) 2023 BSV Blockchain Association ("BA")
Copyright (c) 2022 @BuxOrg

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ include .make/common.mk

## Not defined? Use default repo name which is the application
ifeq ($(REPO_NAME),)
REPO_NAME="bux-console"
REPO_NAME="spv-wallet-admin"
endif

## Not defined? Use default repo owner
ifeq ($(REPO_OWNER),)
REPO_OWNER="BuxOrg"
REPO_OWNER="bitcoin-sv"
endif

## Default branch
Expand Down
61 changes: 11 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
# BUX: Console
> Administrative dashboard to manage your [BUX](https://getbux.io) Server
[![last commit](https://img.shields.io/github/last-commit/BuxOrg/bux-console.svg?style=flat)](https://github.com/BuxOrg/bux-console/commits/master)
[![version](https://img.shields.io/github/release-pre/BuxOrg/bux-console.svg?style=flat)](https://github.com/BuxOrg/bux-console/releases)
[![app health](https://img.shields.io/website-up-down-green-red/https/getbux.io.svg?label=status&v=1)](https://getbux.io)
[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/BuxOrg/bux-console&style=flat&v=3)](https://mergify.io)
[![Sponsor](https://img.shields.io/badge/sponsor-BuxOrg-181717.svg?logo=github&style=flat&v=1)](https://github.com/sponsors/BuxOrg)
# SPV-WALLET-ADMIN

## Table of Contents
- [What is BUX?](#what-is-bux)
- [What is SPV-Wallet?](#what-is-spv-wallet)
- [Installation](#installation)
- [Documentation](#documentation)
- [Code Standards](#code-standards)
Expand All @@ -18,8 +11,8 @@

<br />

## What is BUX?
[Read more about BUX](https://getbux.io)
## What is SPV-Wallet?
[Read more about SPV-Wallet](https://replace-after-moving-spv-wallet)

<br />

Expand All @@ -35,8 +28,6 @@ yarn start
```

## Documentation
View more [BUX documentation](https://getbux.io)

<details>
<summary><strong><code>Release Deployment</code></strong></summary>
<br/>
Expand Down Expand Up @@ -84,49 +75,19 @@ Please read our [standards document](.github/CODE_STANDARDS.md)

<br />

## Usage
Here's the [getting started](https://getbux.io) with BUX

<br />


## Contributing
View the [contributing guidelines](.github/CONTRIBUTING.md) and follow the [code of conduct](.github/CODE_OF_CONDUCT.md).

<br/>

### How can I help?
All kinds of contributions are welcome :raised_hands:!
The most basic way to show your support is to star :star2: the project, or to raise issues :speech_balloon:.
You can also support this project by [becoming a sponsor on GitHub](https://github.com/sponsors/BuxOrg) :clap:
or by making a [**bitcoin donation**](https://getbux.io/#sponsor?utm_source=github&utm_medium=sponsor-link&utm_campaign=bux-console&utm_term=bux-console&utm_content=bux-console) to ensure this journey continues indefinitely! :rocket:

[![Stars](https://img.shields.io/github/stars/BuxOrg/bux-console?label=Please%20like%20us&style=social&v=2)](https://github.com/BuxOrg/bux-console/stargazers)

## Contributing
All kinds of contributions are welcome!
<br/>
To get started, take a look at [code standards](.github/CODE_STANDARDS.md).
<br/>
View the [contributing guidelines](.github/CODE_STANDARDS.md#3-contributing) and follow the [code of conduct](.github/CODE_OF_CONDUCT.md).

### Contributors ✨
Thank you to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://github.com/icellan"><img src="https://avatars.githubusercontent.com/u/4411176?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Siggi</b></sub></a><br /><a href="#infra-icellan" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/BuxOrg/bux-console/commits?author=icellan" title="Code">💻</a> <a href="#security-icellan" title="Security">🛡️</a></td>
<td align="center"><a href="https://mrz1818.com"><img src="https://avatars.githubusercontent.com/u/3743002?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mr. Z</b></sub></a><br /><a href="#infra-mrz1836" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/BuxOrg/bux-console/commits?author=mrz1836" title="Code">💻</a> <a href="#maintenance-mrz1836" title="Maintenance">🚧</a> <a href="#business-mrz1836" title="Business development">💼</a></td>
<td align="center"><a href="https://github.com/galt-tr"><img src="https://avatars.githubusercontent.com/u/64976002?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dylan</b></sub></a><br /><a href="https://github.com/BuxOrg/bux-console/commits?author=galt-tr" title="Code">💻</a></td>
</tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

> This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.
<br />
<br/>

## License
[![License](https://img.shields.io/github/license/BuxOrg/bux-console.svg?style=flat&v=1)](LICENSE)
[![License](https://img.shields.io/github/license/bitcoin-sv/spv-wallet-admin.svg?style=flat&v=1)](LICENSE)
27 changes: 6 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,34 @@
{
"name": "@buxorg/bux-console",
"name": "@bsv/spv-wallet-admin",
"version": "0.0.0",
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "react-scripts eject"
},
"author": "Siggi <github@icellan.com>",
"homepage": "https://getbux.io",
"license": "MIT",
"keywords": [
"bux",
"spv-wallet-admin",
"bitcoin",
"bitcoinsv",
"bsv"
],
"repository": {
"type": "git",
"url": "https://github.com/BuxOrg/bux-console"
"url": "https://github.com/bitcoin-sv/spv-wallet-admin"
},
"bugs": {
"url": "https://github.com/BuxOrg/bux-console/issues"
"url": "https://github.com/bitcoin-sv/spv-wallet-admin/issues"
},
"contributors": [
{
"name": "Siggi",
"url": "https://github.com/icellan/"
},
{
"name": "MrZ",
"url": "https://github.com/mrz1836/"
},
{
"name": "dorzepowski",
"url": "https://github.com/dorzepowski/"
}
],
"contributors": [],
"engines": {
"node": "^20.0.0"
},
"proxy": "http://localhost:3003",
"dependencies": {
"@4chain-ag/react-configuration": "^1.0.4",
"@buxorg/js-buxclient": "^1.4.5",
"@bsv/spv-wallet-js-client": "^0.2.1",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.3",
"@emotion/server": "^11.11.0",
Expand Down
Binary file modified public/android-chrome-192x192.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 modified public/android-chrome-512x512.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 modified public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/config.default.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"loginTitle": "Sign in to a Bux server",
"loginTitle": "Sign in to a SPV Wallet",
"loginSubtitle": "Sign in using your xPriv",
"transportType": "http",
"serverUrl": "",
Expand Down
Binary file modified public/favicon-16x16.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 modified public/favicon-32x32.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 modified public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>BUX - Administrative Console Dashboard</title>
<title>SPV Wallet - Administrative Console Dashboard</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "Bux Console",
"name": "Bux admin console",
"short_name": "SPV Wallet Admin",
"name": "SPV Wallet Admin",
"icons": [
{
"src": "favicon.ico",
Expand Down
2 changes: 1 addition & 1 deletion release/README.DOCKER.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Bux Console
# SPV Wallet Admin

---

Expand Down
74 changes: 0 additions & 74 deletions src/components/block-headers.js

This file was deleted.

7 changes: 1 addition & 6 deletions src/components/dashboard-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ const adminItems = [
icon: (<BitcoinIcon fontSize="small" />),
title: 'Access Keys'
},
{
href: '/admin/block-headers',
icon: (<BitcoinIcon fontSize="small" />),
title: 'Block Headers'
},
{
href: '/admin/destinations',
icon: (<LocationSearchingIcon fontSize="small" />),
Expand Down Expand Up @@ -163,7 +158,7 @@ export const DashboardSidebar = (props) => {
<Typography
variant="h4"
>
Bux
SPV Wallet
</Typography>
<Typography
variant="p"
Expand Down
Loading

0 comments on commit 1f88283

Please sign in to comment.