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

Mydash.pp #1006

Open
wants to merge 165 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
e414dcc
dashify
snogcel Aug 1, 2016
71a3b75
convert currency from BTC to DASH
snogcel Aug 1, 2016
6b3dedd
convert label bitcoin to dash
snogcel Aug 1, 2016
f750a8d
update README.md
snogcel Aug 1, 2016
d7fc9e0
update bits -> uDASH
snogcel Jan 23, 2017
5d3e8fc
Bump package version to 0.4.1
snogcel Jan 23, 2017
a7f0c04
feature: dash theme (#5)
snogcel Feb 17, 2017
2369a4e
Bump package version to 0.4.2
snogcel Feb 17, 2017
b72acd5
fix: dash logo
snogcel Feb 27, 2017
8cea71a
Bump package version to 0.4.3
snogcel Feb 27, 2017
2db2d34
Layout: Fixed navbar for Japanese and German
tagawa Jun 15, 2017
8acc2f9
Images: Optimised for smaller filesizes
tagawa Jun 13, 2017
075c0fa
Merge pull request #2 from dashevo/tagawa/layout
Alex-Werner Sep 18, 2017
21a8415
Merge pull request #3 from dashevo/tagawa/assets
Alex-Werner Sep 18, 2017
57fc715
Added Portugues (Brasil) Translation
Alex-Werner Sep 18, 2017
0f2b959
Added Chinese translation
Alex-Werner Sep 18, 2017
09b1654
Added French translation
Alex-Werner Sep 18, 2017
b57860d
remove depency with flash based ZeroClipboard
gilemon Oct 3, 2017
829c94d
Merge pull request #4 from gilemon/patch-1
Alex-Werner Oct 16, 2017
f0d85de
Merge pull request #8 from dashevo/lang/zh
Alex-Werner Dec 18, 2017
8a1287b
Merge pull request #7 from dashevo/lang/po
Alex-Werner Dec 18, 2017
c38412b
Merge branch 'develop' into lang/fr
Alex-Werner Dec 18, 2017
ece3928
Merge pull request #6 from dashevo/lang/fr
Alex-Werner Dec 18, 2017
ce87526
Bump to 0.5.0 + minified file
Alex-Werner Dec 19, 2017
925d736
Add new languages French, Chinese and Portuguese to the footer
Feb 17, 2018
f1fb56c
Remove ZeroClipboard.swf, no need since we are now using pure javascript
Feb 17, 2018
4f7eff3
fix Older blocks from this date navigation, see https://github.com/da…
Feb 28, 2018
6d341fd
Copy button should be a pointer hand
Mar 6, 2018
cc479bc
Merge pull request #16 from gilemon/CopyPointerHand
KamuelaFranco Mar 7, 2018
f1596bd
add modification in source css
Mar 13, 2018
fe08028
reformat to comply with css standard
Mar 19, 2018
9bc67e6
Merge pull request #17 from gilemon/CopyPointerHand
KamuelaFranco Mar 19, 2018
445fe23
fix links from dashpay to dashevo repos
Mar 19, 2018
e2fd2e8
Merge pull request #13 from gilemon/removeSwf
Alex-Werner Mar 20, 2018
caf5d03
Merge pull request #18 from gilemon/fix/updateReadmeLinks
Alex-Werner Mar 20, 2018
2d6cfe6
update package manager and task runner
Mar 22, 2018
1adfc8d
update css for ui-bootstrap-tpls datepicker
Mar 22, 2018
b36bab1
add newline at end of file
Mar 22, 2018
23913a1
update html files for new Bootstrap directives
Mar 22, 2018
f980796
update js files for new Bootstrap directives
Mar 22, 2018
a91c898
Merge pull request #19 from gilemon/fix/updateLibraries
KamuelaFranco Mar 23, 2018
85f8a13
Updated gitignore
KamuelaFranco Apr 2, 2018
9886391
[EV-704] Move NPM organization
KamuelaFranco Apr 2, 2018
1d6fa4d
fix Syntax Error: Token '2' is an unexpected token at column 8 of the…
Apr 6, 2018
3b9f536
Fix : Undef Global service
Alex-Werner Apr 7, 2018
a5f8acb
Merge pull request #23 from dashevo/fix/devRegression
Alex-Werner Apr 7, 2018
306dbee
Added .idea to ignored entities
Alex-Werner Apr 7, 2018
07c13b0
Misc : Updated link in package.json
Alex-Werner Apr 7, 2018
92aa6f3
Merge branch 'develop' into feature/org-scoped-npm
Alex-Werner Apr 7, 2018
4ffbafa
Merge pull request #20 from dashevo/feature/org-scoped-npm
Alex-Werner Apr 7, 2018
597e528
Merge pull request #15 from gilemon/fixOlderBlocksFromThisDate
Alex-Werner Apr 7, 2018
9738612
Fix : formatting
Alex-Werner Apr 7, 2018
4263583
Merge pull request #24 from dashevo/fix/OlderBlocksFromThisDate
Alex-Werner Apr 7, 2018
c414a3a
Merge pull request #12 from gilemon/addNewLangToFooter
Alex-Werner Apr 7, 2018
ba90bfa
Merge pull request #26 from dashevo/feat/addNewLangToFooter
Alex-Werner Apr 7, 2018
82c5c75
chore: Update package name in readme (#27)
Alex-Werner Apr 14, 2018
c3ec59d
rename ngProgress.min.js to ngprogress.min.js in Gruntfile.js
May 21, 2018
5621f56
Merge pull request #31 from gilemon/fix/ngprogressGruntfile
Alex-Werner May 28, 2018
2067bbc
Update to match dashcore-node
Alex-Werner May 28, 2018
5bef746
Merge pull request #32 from dashevo/impr
Alex-Werner May 29, 2018
1fb8422
Bump and build to 1.0.0
Alex-Werner May 29, 2018
f4341ac
v.1.0.0 (#9)
Alex-Werner May 31, 2018
135a3d9
implement rebrand (#17)
nmarley Jun 8, 2018
25e88e1
bump version for UI rebrand
nmarley Jun 9, 2018
c0e205b
Merge branch 'master' into develop
nmarley Jun 10, 2018
fe4097d
Merge pull request #18 from dashevo/develop
nmarley Jun 12, 2018
893a749
Bump to version 1.1.1
Alex-Werner Jun 14, 2018
d960f46
Merge pull request #19 from dashevo/1.1.1
nmarley Jun 14, 2018
d57c82c
fix index description (#30)
charlesrocket Jan 23, 2019
e54bc8f
Bug: fix build process (#33)
Cofresi Jan 29, 2019
3f1e841
Update README.md (#35)
sa-egor Feb 13, 2019
60917ec
Build Docker image
shumkov Mar 26, 2019
aaee232
Fix Docker image version
shumkov Mar 26, 2019
640fb6e
Bump version to `2.0.3`
shumkov Mar 26, 2019
6364caa
Copy Insight code to the right folder in Dockerfile
shumkov Apr 16, 2019
c18fcfb
Fix config loading path for Docker image
shumkov Apr 17, 2019
c636fba
Move `dashcore-node` config outside root directory
shumkov Apr 18, 2019
6b71384
Fix: Search Bar Redirection
snogcel Jun 11, 2019
7d20cc1
Bump version for release with search fix (#45)
nmarley Jun 17, 2019
0ef36e7
Upgrade bower in order to fix build
shumkov Jun 17, 2019
9ea8847
Bump version to 2.0.9
shumkov Jun 20, 2019
74fc271
Merge pull request #47 from dashevo/bump-version-2-0-9
v2nek Jun 20, 2019
78956eb
Bump version to 2.0.10 (#50)
Cofresi Jun 27, 2019
34c4628
Add UI tests (#49)
abvgedeika Jul 1, 2019
df00988
fix(search): adds utils for hash test + fix search issue
Alex-Werner Aug 27, 2019
7927880
fix(verifyMessage): struct success changed to .then
Alex-Werner Aug 27, 2019
6c5bf8c
impr: updates expected trailing zeroes from 4 to 10
Alex-Werner Nov 4, 2019
4a869ba
fix(search): fallback handling of tx wrongly identified as block
Alex-Werner Nov 4, 2019
102e5d8
refact: improved readability + removed log
Alex-Werner Nov 4, 2019
15d0b4c
impr(Header): added Status.info.network to rootScope
Alex-Werner Nov 4, 2019
8af7acf
fix(blockHashValidator): revert to 4 zeroes for testnet
Alex-Werner Nov 4, 2019
659029c
impr(search): use network as param for testing blockHash
Alex-Werner Nov 4, 2019
1634ab4
fix: issue with callbackOnError
Alex-Werner Nov 4, 2019
ab37440
chore(travis): chrome stopped supporting trusty
Alex-Werner Nov 4, 2019
1457623
chore(travis): removing xvfb
Alex-Werner Nov 4, 2019
f02ef76
Merge pull request #52 from dashevo/fix/search
Alex-Werner Nov 13, 2019
56cd304
Merge pull request #53 from dashevo/fix/verify
Alex-Werner Nov 15, 2019
f5d95db
chore(package): bump to 2.0.11 + run build
Alex-Werner Nov 15, 2019
622fdfa
fix: tests (#60)
Alex-Werner Apr 17, 2020
349c648
fix: .error/.success removed in Angular (#59)
Alex-Werner Apr 20, 2020
bcec1e8
chore: prepare 2.0.12 (#61)
Alex-Werner May 11, 2020
7ecd5c1
chore: bump to 3.0.0 (#62)
Alex-Werner Oct 6, 2020
f6dbdc8
chore: update Insight API to 3.0.1
shumkov Oct 22, 2020
4958b50
chore: update Insight API to 3.0.1 (#63)
shumkov Oct 26, 2020
44e1bd5
chore: bump version to 3.1.0 (#65)
jawid-h Dec 15, 2020
3ca3172
Added Best ChainLock in status page (#68)
vtsiolkas Mar 17, 2021
7e3a14a
Fix transaction details rendering for small screens
UdjinM6 Mar 29, 2021
d8b068f
docs: improved translations and added Dutch translation (#66)
PanderMusubi May 24, 2021
889b05f
Merge pull request #70 from UdjinM6/fix_tx_details_xs
antouhou May 31, 2021
9abd490
chore: bump version to 3.1.1
antouhou May 31, 2021
98e55c4
Merge pull request #72 from dashevo/chore-bump-version
antouhou May 31, 2021
0aa8e82
ci: CI with Github Actions (#71)
strophy Aug 11, 2021
c3bd57e
chore: bump version to 3.1.2 (#74)
strophy Aug 23, 2021
336631d
Merge branch 'master' of github.com:dashevo/insight-ui
shumkov Sep 20, 2022
2fc148b
feat: update to Core v18 (#76)
shumkov Sep 21, 2022
730de28
chore(release): bump version to 3.2.0
shumkov Sep 21, 2022
bec00b7
ci: fix unable to connect to github.com
shumkov Sep 21, 2022
3cde05f
ci: second try to fix unable to connect to github.com
shumkov Sep 21, 2022
0d2f213
build: webdriver-manager is not found
shumkov Sep 21, 2022
227c8fd
chore(release): bump version to 4.0.0
shumkov Oct 11, 2022
ee498bf
chore(release): bump version to 4.0.1 (#80)
strophy Mar 24, 2023
9bb17d1
chore(release): bump version to v4.0.2 (#81)
strophy Mar 27, 2023
53a5660
fix: insight tests failing since release of core v19
strophy Jul 13, 2023
d3f81ad
Merge pull request #85 from dashpay/fix/v19-tests
markin-io Jul 13, 2023
107810c
Bump version
markin-io Jul 12, 2023
75c0024
Merge pull request #84 from dashpay/chore/bump-version
markin-io Jul 13, 2023
4c885ea
fix: adjust address validation to allow p2sh (#86)
UdjinM6 Aug 14, 2023
dde99f8
chore(release): bump version to 4.0.5 (#87)
strophy Aug 14, 2023
3e2e79d
chore: bump version
Apr 11, 2024
b66dd8e
Merge pull request #88 from dashpay/chore-bump-version
pshenmic Apr 11, 2024
f27da3c
Migrate to mocha + selenium webdriver
pshenmic May 3, 2024
ac7f7b1
Merge remote-tracking branch 'origin/master' into fix/ui-tests
pshenmic May 3, 2024
5a62b1a
Update package-lock.json
pshenmic May 3, 2024
87dd983
Clean up and fix lint
pshenmic May 3, 2024
4dbe1d5
Add setup chrome step
pshenmic May 3, 2024
2635e79
Fix missing new TopPanel()
pshenmic May 3, 2024
0924e3a
Use headless chrome runner
pshenmic May 3, 2024
f6f6369
Remove unneeded
pshenmic May 3, 2024
dcf85dc
Cleanup
pshenmic May 3, 2024
592a979
Downgrade some to reduce pr diff
pshenmic May 3, 2024
977c124
Merge pull request #89 from dashpay/fix/ui-tests
pshenmic May 4, 2024
06e1cae
Bump package version
pshenmic May 4, 2024
d7d883b
Merge pull request #90 from dashpay/chore/bump-version
pshenmic May 5, 2024
9e43682
initial commit
owl352 Aug 22, 2024
7a1e3de
Merge pull request #91 from owl352/master
pshenmic Aug 25, 2024
8972b9a
Bump package version
pshenmic Aug 26, 2024
18ce62e
Merge pull request #92 from dashpay/chore/bump-version
pshenmic Aug 26, 2024
231dd2e
initial commit
owl352 Aug 28, 2024
88d3413
versions bump
owl352 Aug 28, 2024
076307b
Merge pull request #93 from owl352/master
pshenmic Aug 28, 2024
f214332
initial commit
owl352 Sep 18, 2024
57e7328
fix
owl352 Sep 18, 2024
1ccddbd
fix
owl352 Sep 18, 2024
a168527
fix
owl352 Sep 18, 2024
ed56a23
fix
owl352 Sep 18, 2024
e0e2548
fix
owl352 Sep 18, 2024
062d6d1
fix title text
owl352 Sep 18, 2024
db2a4ab
fix version
owl352 Sep 18, 2024
8e31ec4
fix version
owl352 Sep 18, 2024
9f8e874
fix tabs
owl352 Sep 18, 2024
5a60fe7
fix tabs
owl352 Sep 18, 2024
b328d38
added second title
owl352 Sep 20, 2024
f3a5675
Merge pull request #94 from owl352/feat/title-6and7-types
pshenmic Sep 26, 2024
6f9dc31
chore: bump package version
pshenmic Sep 27, 2024
50e3a57
Merge pull request #95 from dashpay/chore/bump-package-version
pshenmic Sep 27, 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
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dashcore-node
public
Gruntfile.js
node_modules
15 changes: 15 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"extends": "airbnb-base",
"rules": {
"no-plusplus": 0,
"eol-last": [
"error",
"always"
],
"class-methods-use-this": "off",
"curly": [
"error",
"all"
]
}
}
171 changes: 171 additions & 0 deletions .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
name: Test and Release

on:
workflow_dispatch:
release:
types:
- published
pull_request:
branches:
- master
- v[0-9]+.[0-9]+-dev

jobs:
test:
name: Run Insight UI tests
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '20'

- name: Enable NPM cache
uses: actions/cache@v2
with:
path: '~/.npm'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Check NPM package lock version is updated
uses: dashevo/gh-action-check-package-lock@v1

- name: Install NPM dependencies
run: npm ci

- name: Run ESLinter
run: npm run lint

- name: Use https instead of git protocol fo git
run: git config --global url."https://".insteadOf git://

- name: Build project
run: npm run build

- name: Run tests
run: npm run test

release-npm:
name: Release NPM package
runs-on: ubuntu-20.04
needs: test
if: ${{ github.event_name == 'release' }}
steps:
- uses: actions/checkout@v2

- name: Check package version matches tag
uses: geritol/[email protected]
env:
TAG_PREFIX: refs/tags/v

- name: Enable NPM cache
uses: actions/cache@v2
with:
path: '~/.npm'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Install NPM dependencies
run: npm ci

- name: Set release tag
uses: actions/github-script@v3
id: tag
with:
result-encoding: string
script: |
const tag = context.payload.release.tag_name;
const [, major, minor] = tag.match(/^v([0-9]+)\.([0-9]+)/);
return (tag.includes('dev') ? `${major}.${minor}-dev` : 'latest');

- name: Use https instead of git protocol fo git
run: git config --global url."https://".insteadOf git://

- name: Publish NPM package
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
tag: ${{ steps.tag.outputs.result }}

release-docker:
name: Release Docker image
runs-on: ubuntu-20.04
needs: release-npm
if: ${{ github.event_name == 'release' }}
steps:
- uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v1
with:
version: v0.7.0
install: true
driver-opts: image=moby/buildkit:buildx-stable-1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set suffix to Docker tags
uses: actions/github-script@v3
id: suffix
with:
result-encoding: string
script: "return (context.payload.release.tag_name.includes('-dev') ? '-dev' : '');"

- name: Set release tag
uses: actions/github-script@v3
id: tag
with:
result-encoding: string
script: |
const tag = context.payload.release.tag_name;
const [, major] = tag.match(/^v([0-9]+)/);
return major;

- name: Set Docker tags and labels
id: docker_meta
uses: docker/metadata-action@v3
with:
images: dashpay/insight
tags: |
type=match,pattern=v(\d+),group=1
type=match,pattern=v(\d+.\d+),group=1
type=match,pattern=v(\d+.\d+.\d+),group=1
type=match,pattern=v(.*),group=1,suffix=,enable=${{ contains(github.event.release.tag_name, '-dev') }}
flavor: |
latest=${{ !contains(github.event.release.tag_name, '-dev') }}
suffix=${{ steps.suffix.outputs.result }}

- name: Build and push Docker image
id: docker_build
uses: docker/build-push-action@v2
with:
context: docker
file: docker/Dockerfile
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64
build-args: |
VERSION=${{ github.event.release.tag_name }}
MAJOR_VERSION=${{ steps.tag.outputs.result }}

- name: Output Docker image digest
run: echo ${{ steps.docker_build.outputs.digest }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pids
logs
results
build

.idea
node_modules

# extras
Expand Down Expand Up @@ -47,3 +47,4 @@ public/css/main.css
README.html
po/*
!po/*.po
.idea
2 changes: 2 additions & 0 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lib
test
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ pids
logs
results
build
lib/test
test

node_modules

Expand Down
14 changes: 7 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = function(grunt) {
dest: 'public/js/vendors.js'
},
angular: {
src: ['public/lib/angular/angular.min.js', 'public/lib/angular-resource/angular-resource.min.js', 'public/lib/angular-route/angular-route.min.js', 'public/lib/angular-qrcode/qrcode.js', 'public/lib/angular-animate/angular-animate.min.js', 'public/lib/angular-bootstrap/ui-bootstrap.js', 'public/lib/angular-bootstrap/ui-bootstrap-tpls.js', 'public/lib/angular-ui-utils/ui-utils.min.js', 'public/lib/ngprogress/build/ngProgress.min.js', 'public/lib/angular-gettext/dist/angular-gettext.min.js', 'public/lib/angular-moment/angular-moment.min.js'],
src: ['public/lib/angular/angular.min.js', 'public/lib/angular-resource/angular-resource.min.js', 'public/lib/angular-route/angular-route.min.js', 'public/lib/angular-qrcode/qrcode.js', 'public/lib/angular-animate/angular-animate.min.js', 'public/lib/angular-bootstrap/ui-bootstrap.js', 'public/lib/angular-bootstrap/ui-bootstrap-tpls.js', 'public/lib/angular-ui-utils/ui-utils.min.js', 'public/lib/ngprogress/build/ngprogress.min.js', 'public/lib/angular-gettext/dist/angular-gettext.min.js', 'public/lib/angular-moment/angular-moment.min.js', 'public/lib/angular-ui-router/release/angular-ui-router.js'],
dest: 'public/js/angularjs-all.js'
},
main: {
Expand Down Expand Up @@ -69,12 +69,12 @@ module.exports = function(grunt) {
markdown: {
all: {
files: [
{
expand: true,
src: 'README.md',
dest: '.',
ext: '.html'
}
{
expand: true,
src: 'README.md',
dest: '.',
ext: '.html'
}
]
}
},
Expand Down
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
# Insight UI

A Bitcoin blockchain explorer web application service for [Bitcore Node](https://github.com/bitpay/bitcore-node) using the [Insight API](https://github.com/bitpay/insight-api).
A Dash blockchain explorer web application service for [Dashcore Node](https://github.com/dashevo/dashcore-node) using [Insight API](https://github.com/dashevo/insight-api).

## Quick Start

Please see the guide at [https://bitcore.io/guides/full-node](https://bitcore.io/guides/full-node) for information about getting a block explorer running. This is only the front-end component of the block explorer, and is packaged together with all of the necessary components in [Bitcore](https://github.com/bitpay/bitcore).
Please see the guide at [https://bitcore.io/guides/full-node](https://bitcore.io/guides/full-node) for information about getting a block explorer running. This is only the front-end component of the block explorer, and is packaged together with all of the necessary components in [Dashcore](https://github.com/dashevo/dashcore).

## Getting Started

To manually install all of the necessary components, you can run these commands:

```bash
npm install -g bitcore-node
bitcore-node create mynode
npm install -g @dashevo/dashcore-node
dashcore-node create mynode
cd mynode
bitcore-node install insight-api
bitcore-node install insight-ui
bitcore-node start
dashcore-node install @dashevo/insight-api
dashcore-node install @dashevo/insight-ui
dashcore-node start
```

Open a web browser to `http://localhost:3001/insight/`

## Development

To run Insight UI locally in development mode:
To run Insight UI Dash locally in development mode:

Install bower dependencies:
Install dependencies:

```
$ bower install
$ npm install
```

To compile and minify the web application's assets:
To download bower dependencies, compile and minify the web application's assets:

```
$ grunt compile
$ npm run build
```

There is a convenient Gruntfile.js for automation during editing the code

```
$ grunt
$ npm run watch
```

## Multilanguage support

Insight UI uses [angular-gettext](http://angular-gettext.rocketeer.be) for multilanguage support.
Insight UI Dash uses [angular-gettext](http://angular-gettext.rocketeer.be) for multilanguage support.

To enable a text to be translated, add the ***translate*** directive to html tags. See more details [here](http://angular-gettext.rocketeer.be/dev-guide/annotate/). Then, run:

```
grunt compile
npm run build
```

This action will create a template.pot file in ***po/*** folder. You can open it with some PO editor ([Poedit](http://poedit.net)). Read this [guide](http://angular-gettext.rocketeer.be/dev-guide/translate/) to learn how to edit/update/import PO files from a generated POT file. PO file will be generated inside po/ folder.
Expand All @@ -70,11 +70,11 @@ compile***.

## Note

For more details about the [Insight API](https://github.com/bitpay/insight-api) configuration and end-points, go to [Insight API GitHub repository](https://github.com/bitpay/insight-api).
For more details about the [Insight API](https://github.com/dashevo/insight-api) configuration and end-points, go to [Insight API GitHub repository](https://github.com/dashevo/insight-api).

## Contribute

Contributions and suggestions are welcomed at the [Insight UI GitHub repository](https://github.com/bitpay/insight-ui).
Contributions and suggestions are welcomed at the [Insight UI Dash GitHub repository](https://github.com/dashevo/insight-ui).


## License
Expand Down
29 changes: 16 additions & 13 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
{
"name": "Insight",
"version": "0.0.1",
"name": "insight-ui-dash",
"version": "2.0.0",
"dependencies": {
"angular": "~1.2.13",
"angular-resource": "~1.2.13",
"angular-route": "~1.2.13",
"bootstrap": "~3.1.1",
"angular-bootstrap": "~0.10.0",
"angular": "1.7.6",
"angular-animate": "1.7.6",
"angular-bootstrap": "~2.5.0",
"angular-gettext": "~2.3.11",
"angular-moment": "~1.3.0",
"angular-qrcode": "~3.1.0",
"angular-animate": "~1.2.13",
"momentjs": "~2.5.1",
"zeroclipboard": "~1.3.2",
"ngprogress": "~1.0.4",
"angular-resource": "1.7.6",
"angular-route": "1.7.6",
"angular-ui-router": "~1.0.20",
"angular-ui-utils": "~0.1.1",
"angular-gettext": "~1.1.0",
"angular-moment": "~0.8.0"
"bootstrap": "~3.4.0",
"momentjs": "~2.21.0",
"ngprogress": "~1.1.3"
},
"resolutions": {
"angular": "1.7.6"
}
}
2 changes: 1 addition & 1 deletion bitcore-node/index.js → dashcore-node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var InsightUI = function(options) {
}
};

InsightUI.dependencies = ['insight-api'];
InsightUI.dependencies = ['@dashevo/insight-api'];

inherits(InsightUI, BaseService);

Expand Down
2 changes: 1 addition & 1 deletion bitcore-node/service.js → dashcore-node/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Service.prototype.start = function(done) {
};

/**
* Function to be called when bitcore-node is stopped
* Function to be called when bitcore-node-dash is stopped
*/
Service.prototype.stop = function(done) {
setImmediate(done);
Expand Down
Loading