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

WIP: Update Iquidus Explorer, fix vulnerabilities, add new features #252 #257

Closed
wants to merge 116 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
7945e71
import from external git, 1.7.x features. Issue #252
uaktags Jan 3, 2019
938055c
bump version
uaktags Jan 3, 2019
7331fc7
Fixed my bug in the sync index update. Properly checks confirms b4 save
uaktags Jan 4, 2019
12eb581
Fied inconsistencies in the peers.js I caused.
uaktags Jan 4, 2019
bc25fe0
Started bringing over some of the Masternode things from SigwoTech.
uaktags Jan 4, 2019
03ddd42
Fixed up some theme issues with reward.pug. Not complete though.
uaktags Jan 5, 2019
23c7479
Started import of DSTRACoin/diquidus.
uaktags Jan 5, 2019
8582b98
Fixed up the masternodes page from diquidus for our usage.
uaktags Jan 5, 2019
199cfd1
Fix for some cosmetic issues from diquidus. why arent we 100% bstrap4?
uaktags Jan 5, 2019
e69dc8c
Updated readme with intention of repo.
uaktags Jan 5, 2019
eb3f5b3
Removed missing translations file.
uaktags Jan 6, 2019
1188a7e
Removed the locale javascript. Update themes now!
uaktags Jan 6, 2019
ff82923
Updated the templates with the new i18 translations. rem settings.locale
uaktags Jan 6, 2019
755fcd8
Added dropdown to the Markets for when you have multiple.
uaktags Jan 6, 2019
565f098
Fixed some formatting issues.
uaktags Jan 6, 2019
aa0cee2
Fixed some variables in block.pug
uaktags Jan 7, 2019
8e7591d
Added dos mitigation for getlasttxsajax api from #256
uaktags Jan 7, 2019
a9c7b23
Fixed a pug variable issue due to the new i18 implementation in tx.pug
uaktags Jan 7, 2019
3410659
Fixed i18 variables in the index.pug
uaktags Jan 7, 2019
7e6fde5
An early example of Sigwo's coininfo has been ported over.
uaktags Jan 7, 2019
79f62e8
Massive Find/Replace for panel => card change for Bootstrap4
uaktags Jan 7, 2019
005da53
Basic implementation of the get_mn/stake_rewards
uaktags Jan 8, 2019
54f858d
I'd prefer to check stakes against blockindex
uaktags Jan 8, 2019
983999c
Works better if I correct the right func. -_-
uaktags Jan 8, 2019
a4c771d
More Bootstrap4 class changes for migration from 3. this is a PITA
uaktags Jan 10, 2019
d230e2c
Started working on a verifymessage system for richlist "claiming"
uaktags Jan 10, 2019
a2c998c
removed rl_labels, added name to model
uaktags Jan 16, 2019
1b0ae82
Fixed the check against if .name exists in addresses
uaktags Jan 16, 2019
1356658
added d-md-flex for the footer
uaktags Jan 16, 2019
aad3002
Not sure when I removed the layout boxes, but they're back.
uaktags Jan 16, 2019
8388106
Some small changes to make claiming a bit nicer.
uaktags Jan 16, 2019
f9120b3
Most of the logic for the Claim address is working.
uaktags Jan 17, 2019
c85a330
Fixed missing col in address view
uaktags Jan 17, 2019
9a6b2ad
Fixes #3.
uaktags Jan 19, 2019
30c73ea
Added some upgrade notes and a settings checker
uaktags Jan 20, 2019
d352a7b
changed settingsFilename back to the json file.
uaktags Jan 20, 2019
0f71879
updated notice in readme.
uaktags Jan 20, 2019
8ef79a6
Added some visual selectors for masternode and layouts
uaktags Jan 20, 2019
4f463fa
Added a check for RPCError in the database.js, more checks to come.
uaktags Jan 22, 2019
89d91ea
testing our PR 270. May not be totally finished
Mar 11, 2019
94f4afb
Merge branch 'master' of https://github.com/uaktags/explorer
Mar 11, 2019
f26e7b7
missed a variable PR270
Mar 11, 2019
b5cd52f
test against a possible dos attack for lasttx
Mar 12, 2019
7f03512
Working now. should help set/force a limit.
Mar 12, 2019
a5ad757
TX page fixes for #5
uaktags Apr 24, 2019
ba70e1f
Pug href variable fixes
uaktags Apr 24, 2019
b85d9dd
Fix for the preload issue #7
Apr 27, 2019
8d41bf9
Adding a comma to the supply and lastPrice.
Apr 27, 2019
c9f06ca
remove an unneeded console.log from prev commit
Apr 27, 2019
49445d6
This should help with the icon spacing in #10
uaktags Apr 29, 2019
c0983eb
This should fix/resolve #11
uaktags Apr 29, 2019
68fbe2e
update template for coininfo. #12
uaktags Apr 29, 2019
4a8dfd1
Default for MN should be false #12
uaktags Apr 29, 2019
8f18b99
interpolation issue with href
uaktags Apr 29, 2019
21a16f3
Deposit required wasn't showing #12
uaktags Apr 29, 2019
ab5af94
Updating movement page #15
uaktags Apr 29, 2019
f562d9c
Fixing some verbage in masternodes.js
uaktags Apr 30, 2019
fc161d1
appears to be an issue with ipstack #10
uaktags Apr 30, 2019
ced39e3
Should bring decimal_places back into the fold #16
uaktags Apr 30, 2019
2b8abf2
Fixes #12 in regards to coins locked
uaktags May 1, 2019
b159b0a
#10 added checks for errors in peers.js
uaktags May 1, 2019
5385c84
Enhances the coininfo page #12
uaktags May 2, 2019
5b21753
initial code in place for #14 and #13.
uaktags May 2, 2019
c6fed69
fixed SigwoTechnologies name in readme. My bad!
uaktags May 2, 2019
4e77b7c
clustering example in benchmark, not ready #14
uaktags May 2, 2019
cddbd0a
newer bitcoin-core command for blockcount #13 #14
uaktags May 2, 2019
4c86c7e
npm updated packages.
uaktags May 2, 2019
d09bea5
benchmark clustering is working #13 #14
uaktags May 2, 2019
4c9d83e
removed deprecated mongo calls
uaktags May 2, 2019
f41cd2f
Fixes an issue when clustered results come in.
uaktags May 2, 2019
d4af8f2
This should help with #10 for Network peers.
uaktags May 3, 2019
8cf8a37
initital parts are in place.
uaktags May 3, 2019
e3f3e8d
Clustering now goes past the 2nd cycle. #13 #14
uaktags May 3, 2019
8ed38ea
Fixes #17 checks for RpcError
uaktags May 3, 2019
bc2cba7
clustering now fully works.
uaktags May 3, 2019
7d44fdd
initial sync is clustered #13 #14 plus formatting
uaktags May 3, 2019
68c4996
Some more fixes for the clustering sync #13 #14
uaktags May 4, 2019
cae9b84
Almost fully working 'sync index check' with clustering
uaktags May 25, 2019
ed9cd7d
Getting more consistent and expected results
uaktags May 25, 2019
244d08e
A few more fixes to the stability and handling of Stats.Last
May 26, 2019
185f093
This stats.Update was good when we were using a single process, but k…
May 26, 2019
b732b59
gives us the proper break and doesn't timeout
May 26, 2019
feedc07
Added maxPerWorker and "cluster" to the settings.
May 26, 2019
9160bf7
update for the cluster settings
May 26, 2019
e1bf31e
starting to refractor, i wouldn't use it right now
May 26, 2019
f6c1538
added reindex to the refactor
May 26, 2019
584b78b
Think i finally figured out the logic for making sure only the needed…
May 26, 2019
1c055db
I believe I have check now refractored with update/reindex. Still nee…
May 26, 2019
434910e
this should remove the IPC already disconnected error
uaktags May 26, 2019
4d005bd
moved workers away from master.
uaktags May 29, 2019
57290e0
Starting to incorporate #19 but still WIP
uaktags May 29, 2019
49dcaad
Why is this file even here, can't find what its used in
uaktags May 29, 2019
d516f1f
brought use_rpc to all commands, will later remove node-api.
uaktags May 29, 2019
d7af773
Bringing the code in, commented out, for #25 but it still doesnt work…
uaktags May 30, 2019
76308da
revert the numCPUs change i had in place for testing
uaktags May 30, 2019
59146d0
Adding logging from #19 to the explorer.
uaktags May 30, 2019
53386b8
Some more logic is in place for #25. Hadn't had much time to test tho…
uaktags May 30, 2019
c527ffa
Found where the errconn message comes from. Now to work with it.
uaktags May 30, 2019
41e6c96
For #25, extending time to 15secs. Things get unstable the longer it …
uaktags May 30, 2019
3d2f7e0
Some initial edits for enabling the beta cluster mode.
uaktags Jun 12, 2019
e225c2d
We have (almost) normal sync functionality back with the optional clu…
uaktags Jun 15, 2019
ecd99fc
Had to rewrite prepare_vin and get_input due to excessive memory bott…
uaktags Jun 16, 2019
e3b4344
Slowly started adding some comments for future esdoc/jsdoc usage.
uaktags Jun 16, 2019
d7d2e7e
added the sync.ps1 file to ignore.
uaktags Jun 16, 2019
18cf72f
Merge pull request #20 from uaktags/cluster-sync
uaktags Jun 20, 2019
55e8a54
Fixes #28
Jun 20, 2019
12b0b43
Fixes #35 to add info and eye icons to block page
uaktags Jul 6, 2019
ab025af
This should remove the deprecation for mongo #36
uaktags Jul 6, 2019
0cb407d
Fixed a bug from the last commit for #36
uaktags Jul 6, 2019
351590e
Typo fixed for #36 Should be good to go now
uaktags Jul 6, 2019
3b240aa
Fixes #32 by only listening on settings.address.
uaktags Jul 6, 2019
d02c379
fix qr code location
Jul 2, 2019
012e4e2
remove a debug message i added for testing #32
uaktags Jul 6, 2019
06d8229
Fixes an issue with the block hash not showing in the api href
uaktags Jul 6, 2019
2f40625
Update issue templates
uaktags Jan 10, 2020
0ab43fd
Merge pull request #54 from uaktags/uaktags-testing-bug-template
uaktags May 1, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: ''
assignees: ''

---

**Version of Iquidus Explorer**
Ex: 1.7.3
(Don't say 'latest', or 'master' here)

**Is this official Iquidus Explorer or a Fork?**
Ex: Official

**If Fork, what's the url for the code**
Ex: https://github.com/iquidus/explorer
(Note: if the issue isn't in official, we can't help.)

**Coin being used**
Ex: Bitcoin

**Environment**
- OS: [e.g. iOS]
- NodeJS version [ex: 8.2.1]
- MongoDB version


**Description of Problem**
A clear and concise description of what you're experiencing.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ settings.json
*.ico
*.png

package-lock.json
scripts/master.js
scripts/worker.js
scripts/sync.ps1
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
1.7.2
* Updated dependencies to mitigate vulnerabilities
* Updated themes to bootstrap 4 for latest Bootswatch themes
* Imported features from suprnurd/ciquidus fork
* Implemented requests made in Issues: #252, 253, 256

1.6.1
* fixed last_txs setting
* added hashrate_units setting
Expand Down
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
Iquidus Explorer - 1.6.1
Iquidus Explorer - 1.7.2 | WIP
================

## Due to recent confusion, it's important for me to state that currently this fork is a WORK IN PROGRESS state.
### Some things may not be working correctly, some things may be half-built. I'm working towards a stable state where NPM vulnerabilities are resolved, bootstrap is up to date, and features like Masternodes/i18/etc are supported by default. Please keep this in mind before putting into production!



-----

An open source block explorer written in node.js.

This is a community fork to continue development where Iquidus left off. The ultimate goal is that this is the midway point to 2.x and above.

Plenty of code was inspired or pulled from various sources in the community including the following:
* [Suprnurd's Ciquidus 'Chaincoin Explorer'](https://github.com/suprnurd/ciquidus)
* [DSTRACoin's Diquidus v2 Explorer](https://github.com/DSTRACoin/diquidus)
* [SigwoTechnologies' Explorer](https://github.com/SigwoTechnologies/explorer)
* [UAKTags' Explorer](https://github.com/uaktags/explorer)

### See it in action

* [Deutsche eMark](http://b.emark.tk/)
Expand Down Expand Up @@ -99,6 +114,7 @@ sync.js (located in scripts/) is used for updating the local databases. This scr
*/1 * * * * cd /path/to/explorer && /usr/bin/nodejs scripts/sync.js index update > /dev/null 2>&1
*/2 * * * * cd /path/to/explorer && /usr/bin/nodejs scripts/sync.js market > /dev/null 2>&1
*/5 * * * * cd /path/to/explorer && /usr/bin/nodejs scripts/peers.js > /dev/null 2>&1
*/5 * * * * ch /path/to/explorer && /usr/bin/nodejs scripts/masternodes.js > /dev/null 2>&1

### Wallet

Expand All @@ -108,8 +124,20 @@ Iquidus Explorer is intended to be generic so it can be used with any wallet fol

### Donate

Luke "Iquidus"
BTC: 168hdKA3fkccPtkxnX8hBrsxNubvk4udJi
JBS: JZp9893FMmrm1681bDuJBU7c6w11kyEY7D

Suprnurd - Ciquidus
CHC: CLkWg5YSLod772uLzsFRxHgHiWVGAJSezm
BTC: 1J8Chi5teDJrvBtSuQhioNCHfTNBCcCrPx

DSTRACoin - Diquidus
DST: D9uKDZxndukJsvNJxxU7bhi2fhXLZ7AhwQ
BTC: 3LjfMHcNnUt46mbQifvHfLTUPQW583NV41

Tim - "UAKTags"
BTC: 1CySa41xM8sRy6gbf34tebgcZ7dWrHyvBm


### Known Issues

Expand Down
3 changes: 3 additions & 0 deletions UPGRADE
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Note: All updates require the explorer to be restarted
1.6.1 -> 1.7.x [WIP]
* Settings.json changes for Display, Social, Coin_Commands, etc. Please see settings.json.template or run scripts/upgrade-settings-check.js
* remove locale/*.json (if it exists), we now use locale/<country_code>/translation.json

1.6.0 -> 1.6.1
* Add new cryptsy_id and hashrate_units settings (see settings.json.template)
Expand Down
Loading