Commit Graph

110 Commits

Author SHA1 Message Date
joeuhren 2fd39d76ce Add new "last updated date" settings
-Added new configurable settings to allow displaying a "last updated date" timestamp for: index, reward, masternode, movement, network, richlist and market pages
-Affected pages are now configured to be completely hidden and disabled when their display settings are set to false
2020-12-31 15:19:48 -07:00
joeuhren 9488e7e588 Add two new masternode rewards apis
-Added /ext/getmasternoderewards which returns a list of masternode reward transactions for a single address since a particular block height
-Added /ext/getmasternoderewardstotal which returns the total masternode rewards earned for a single address since a particular block height
2020-12-30 20:27:42 -07:00
joeuhren be1205d90a Add masternodes page/feature
-Added a new "Masternodes" page which displays the current list of masternodes on the network
-/api/getmasternodelist is no longer publicly accessible and has been replaced by /ext/getmasternodelist which returns the masternode list from local collection instead of directly from wallet
-Added new masternode sync options to sync.js and sync.sh
-Added new masternodes_last_updated field to the Stats collection
-Updated delete_database.sh and restore_backup.sh to include support for the new masternodes collection
-Network header menu icon changed to allow the new Masternodes menu item to use the old network icon
2020-12-30 18:22:02 -07:00
joeuhren 0817529329 Fix broken altmarkets change % value 2020-12-28 19:07:16 -07:00
joeuhren 374ab2d7aa Add new settings to disable individual public apis
-All coind + extended public api calls can now be enabled/disabled individually via settings.json; Disabled apis still work internally when disabled; The only noteworthy exception is the extended /ext/getlasttxs endpoint which is the only extended api consumed by the explorer itself, although it works to prevent outside access by default, it is controlled by http headers which can be manipulated and it's extremely likely that a savvy user could enable usage of /ext/getlasttxs for their own needs even if the site has specifically disabled that public api. More thought may be needed to properly resolve that problem, but it may also not be a big deal since it's data that is available to the explorer and in no way hidden or secret
-Disabled apis do not show up on the /info page and will return a "This method is disabled" msg if the endpoint is called
-Applied some code formatting to the /lib/nodeapi.js file
2020-12-28 15:12:56 -07:00
joeuhren ac237ad8e9 Add new "headerlogo" setting
-When "homelink" setting is set to 'logo', it now first checks the "headerlogo" value and uses that value if set correctly otherwise it will failover to using the normal "logo"
-Added a sample Exor header logo
2020-12-27 18:36:02 -07:00
joeuhren 5ecbcb8601 Add new logo panel setting "logopnl" 2020-12-27 17:58:09 -07:00
joeuhren 102bc3f75d Reworked the "Market Cap" top panel feature
-Added a new setting for "marketcappnl" which shows a "Market Cap" top panel box
-Removed "show_market_cap" and "show_market_cap_over_price" settings
2020-12-27 17:26:01 -07:00
joeuhren 5fa4c977fc More claim address feature updates
-Lots of changes to the claim address page: now supports the ability to enter a wallet address instead of always being read-only; no longer displays address information summary; updated alert text and display with better icons; initial info alert denotes current claim status when viewing an existing address; you can now show/hide claim instructions which are defaulted to hidden; Submit button changed to Claim button; Updated page text and verbiage
-Added new setting, "claim_address_header_menu" which shows/hides a new "Claim Address" header menu item
-Claim url changed from /address/{hash}/claim to /claim and /claim/{hash}
-Added additional error handling for successfully verifying a wallet address that is now known to the explorer
-Added a new locale string for the "Claim Address" header menu
2020-12-26 22:01:36 -07:00
joeuhren 711d1fcd83 Add 16x16 base64 logo images to markets
-Logos are displayed in market dropdown, market select box and at the top-left of each box on the markets page
-Markets are now sorted by market name
2020-12-25 21:08:25 -07:00
joeuhren 3842457c1a Remove unnecessary period from mkt_no_chart string 2020-12-25 19:48:22 -07:00
joeuhren 2650e91274 Add new market settings for accessing multiple markets
-Add new market_dropdown_menu setting for displaying the Markets header menu item as a dropdown
-Add new market_select_visible setting for displaying a clickable list of enabled markets near the top of all market pages
-Market select box header text changed to 'Market Select' and added to locale strings
2020-12-23 20:34:01 -07:00
joeuhren 40b5787493 Claim address updates
-Claimed addresses now replace actual wallet addresses across all pages of the site
-Add new claim_address setting to enable/disable claiming of addresses
-Add ability to un-claim an address by signing a blank message
2020-12-23 18:40:10 -07:00
joeuhren 82efa96954 Fix + add better tooltips where applicable
-Moved code to enable tooltips into a global function and the call is now made closer to page load being complete
-Added error checking for browsers with no tooltip support
-Added a few new locale strings for tooltip titles
2020-12-22 15:57:19 -07:00
joeuhren c9fdb2013e Dynamically enable wallet api cmds based on settings
-Added a 'heavies' object to the api_cmds setting and moved all heavy api calls inside to allow for better separation of api calls
2020-12-21 19:28:55 -07:00
joeuhren dfbd2d9046 verifymessage added to api cmd settings 2020-12-21 18:12:40 -07:00
joeuhren 4a084cdfe1 Split out peer cmds into new functions
-Add new setting for getpeerinfo cmd
-getpeerinfo api call moved to explorer.js
-Peer geo location api call moved to explorer.js
2020-12-21 16:19:14 -07:00
joeuhren 8219039f42 Remove unused commands.js file 2020-12-20 20:50:36 -07:00
joeuhren 27f96fa4fc Add new table_header_bgcolor setting 2020-12-20 18:13:24 -07:00
joeuhren 52a5487071 Change settings to allow more control over navbar colors
-Remove navbar_dark and navbar_light settings
-Add page_header_bgcolor setting for changing page header background color via bootstrap css classes
-Add page_footer_bgcolor setting for changing page footer background color via bootstrap css classes
2020-12-18 22:18:59 -07:00
joeuhren becdeab02d getlasttxs api no longer allows query string parameters 2020-12-18 14:55:30 -07:00
joeuhren 7a1f4a23d5 Filter unnecessary data from ajax-enabled datatables 2020-12-17 23:55:57 -07:00
joeuhren 9912c92695 Script updates + directory structure cleanup
-Updated JQuery to v3.5.1
-Updated Bootstrap to v4.5.3
-Updated DataTables to v1.10.22
-Updated FontAwesome to v5.15.1
-Updated Chart.js to v2.9.4
-Updated flag-icon-css to v3.5.0
-All scripts now load minified
-Removed unused/unnecessary scripts (moment.js and some jqPlot plugins)
-Scripts that are not used on every page are now only loaded on pages where they are needed (jqPlot, Chart.js and flag-icon-css)
-Default website language to English
-Enable unicode support
-Removed unused images
-public directory cleanup (images directory renamed to img, javascript directory renamed to js, stylesheets directory renamed to css, themes directory moved from /public/themes to /public/css/themes, removed vendor directory and moved the important contents to the new img, css and js directories)
-Reward.pug rewritten to support Chart.js v2.9.4
-Updated README Features section
2020-12-17 20:01:50 -07:00
joeuhren 50aeb9d321 Fix getlasttxs api
-Completely removed the /ext/getlasttxsajax api and replaced with /ext/getlasttxs
-Fixed record count for movement page
2020-12-10 17:51:46 -07:00
joeuhren cf24f26dd0 Add new settings for sticky header/footer 2020-12-09 19:36:39 -07:00
joeuhren 2acb681b5a Better error checking for invalid markets 2020-12-08 22:52:15 -07:00
joeuhren 120947fe42 Add new setting to determine how many blocks to sync before saving stats 2020-12-08 20:49:06 -07:00
joeuhren 4240178255 Add support for customizing all daemon api cmds 2020-12-07 21:32:43 -07:00
joeuhren c7efaad294 Add settings to customize footer height + social link sizes 2020-12-05 20:10:17 -07:00
joeuhren 1ad61a58da Move sync message file to tmp directory 2020-12-05 18:21:21 -07:00
joeuhren e0225deed7 All remaining rpc cmd calls run through a function now 2020-12-05 15:09:33 -07:00
joeuhren f50c51d77c Improved long index sync warning functionality 2020-12-05 12:39:36 -07:00
joeuhren 4b208b74a4 More node 14+ error ERR_INVALID_ARG_TYPE fixes 2020-12-03 16:21:06 -07:00
joeuhren 6d74c3e6de Flatten tx count value for faster lookups with large blockchains 2020-12-03 14:16:34 -07:00
joeuhren 2be8cc324e Rename api for getlasttxsajax to getlasttxs 2020-11-28 20:40:37 -07:00
joeuhren e7ce0cef27 Fix all collection.count is deprecated warnings 2020-11-28 14:44:42 -07:00
joeuhren 85fef18cdb Complete overhaul of all markets 2020-11-27 20:34:15 -07:00
joeuhren ed22c671fc Remove defunct exchange tradesatoshi 2020-11-24 17:44:50 -07:00
joeuhren 8cd4c2ed3e Default settings.user_rpc to true on new installs 2020-11-23 21:02:07 -07:00
joeuhren b65f8c0105 Settings.wallet: convert old user & pass strings 2020-11-23 21:01:18 -07:00
joeuhren 8247192d68 Add last_txs to getaddress API 2020-11-23 20:58:34 -07:00
joeuhren 8554981f8d Couple of fixes for initial indexing - stats.supply and stats.last 2020-11-23 20:22:40 -07:00
joeuhren 42c9b17ca8 Markets API: Add Altmarkets chart data 2020-11-23 19:43:27 -07:00
joeuhren a56d06e37e Fix stex market 2020-11-23 19:34:24 -07:00
joeuhren 8ea29f6c86 Fix for on-demand markets loading 2020-11-23 19:33:54 -07:00
joeuhren 87f0665ff4 Bootstrap: Add settings to customise navbar 2020-11-23 18:01:15 -07:00
joeuhren 594566c606 Stex market fixes 2020-11-23 17:20:30 -07:00
joeuhren 45d15876b9 Remove hardcoded markets, load using config strings 2020-11-23 17:19:42 -07:00
joeuhren dd6195cc97 Fix fides-ex market 2020-11-23 16:03:45 -07:00
joeuhren b154a0829b Change AJAX query logic 2020-11-23 15:35:14 -07:00