Commit Graph

224 Commits

Author SHA1 Message Date
joeuhren 18c536beac Remove unnecesary views/includes
-Removed address_history.pug, net_addnodes.pug, net_list.pug, rl_balance.pug, rl_received.pug and restored code in place of include due to only being used in one place
2021-01-02 01:49:29 -07:00
joeuhren d01ebdd115 Restore missing/deleted /ext/getnetworkpeers api
-Added new public api setting for enabling disabling public use of /ext/getnetworkpeers api
-Added new entry to the /info api page for the /ext/getnetworkpeers api
-Integrated /ext/getnetworkpeers api into the network page + network includes and removed the deleted /ext/connections api references
2021-01-02 01:30:47 -07:00
joeuhren 55449956ea Remove defunct exchange fides-ex 2021-01-01 22:20:42 -07:00
joeuhren 0dc7613cba Always do the check for and removal of sync msg 2021-01-01 18:33:53 -07:00
joeuhren ca52b10f59 Extended api updates
-Moved /ext/summary from routes/index.js to app.js with the rest of the extended apis and renamed to /etc/getsummary
-Added a new setting to enable/disable public use of /ext/getsummary + added it to list of public apis on the /info page
-Added a new setting to enable/disable public use of /ext/getaddresstxs + added it to list of public apis on the /info page + updated the return data so that it returns a named object array for public api for better readability and still returns the same array list for internal datatable use
-Updated /ext/getlasttxs so that it returns a named object array for public api for better readability and still returns the same array list for internal datatable use
-/ext/getsummary now only returns the online and offline masternode counts if the getmasternodecount api is available and enabled
2021-01-01 18:24:39 -07:00
joeuhren f70952f66b Disable api page + public apis when settings.display.api = false 2020-12-31 15:45:31 -07:00
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 c9956cf295 Improved /ext/getbasicstats api
-Masternode count is only included in the results if the getmasternodecount api is available and enabled
2020-12-30 18:51:39 -07:00
joeuhren d8c0603423 Fix readme spacing issue 2020-12-30 18:26:07 -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 d787a03fe2 Restore Exor theme (v2.0.0) 2020-12-29 18:14:18 -07:00
joeuhren 0817529329 Fix broken altmarkets change % value 2020-12-28 19:07:16 -07:00
joeuhren 951ce66ace Fix double negative market summary change value 2020-12-28 18:29:42 -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 581018dda2 Re-adjust footer position after closing alerts 2020-12-26 22:21:03 -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 dcc0db9ce0 Display error msg when market has not yet been synced 2020-12-25 21:54:51 -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 79a8e967ab Use digit grouping and small decimals for most numeric values
-Numeric values with fixed decimals now truncates trailing zeros to a minimum of 2
2020-12-25 19:07:03 -07:00
joeuhren 1755ea02f1 Show spinning loading icons in top panels 2020-12-25 16:31:26 -07:00
joeuhren 42ce038a9c Set chart width after init to prevent issues with chart not resizing properly 2020-12-25 15:35:20 -07:00
joeuhren 3af996eeda More layout and mobile fixes
-Table columns are no longer being hidden on mobile/tablet views. Instead, clickable columns with long data (such as hashes) are now reduced to an eye icon on mobile and smaller tablets to save space. In the event that text still doesn't fit in the viewport, applicable tables now allow horizontal scrolling to reveal the rest of the data
-Many table columns had their horizontal alignment updated to better match the type of data being displayed
-Moved some table columns around to be more consistent across all pages
-Applied some additional small tweaks and fixes to provide a better overall user experience
2020-12-25 15:01:03 -07:00
joeuhren 8f99ddc314 Better reusability of rl_labels.pug 2020-12-23 21:45:50 -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 2d734b9f00 Filter bad words from claim address display name
-Also fix claim address success msg when 'Display Name' contains script tags
2020-12-22 18:06:40 -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 d019f8f33a Fix spacing issue on tablet + mobile footer 2020-12-21 19:52:08 -07:00
joeuhren 8071494175 Fix jqPlot error msgs on market page when resizing 2020-12-21 19:42:17 -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 6749cafa53 Restore jasmine test functionality
-Rename spec directory to test
-Move old data.js file into the new test directory and rename to testData.js
-Remove unused support/jasmine.json file
-Populate testData.js with sample data from Exor blockchain
-Re-configure explorerSpec.js tests to match new testData.js data
2020-12-20 20:33:07 -07:00
joeuhren 3309a2dbd9 Line up borders better on market > order tables 2020-12-20 18:21:51 -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 6944e53e68 Fix non-sticky footer position on non-standard tx page 2020-12-18 18:34:10 -07:00
joeuhren 1454255128 Fix sticky footer spacing 2020-12-18 18:25:21 -07:00
joeuhren 3a0eb3fdbf Fix broken network tables 2020-12-18 18:13:23 -07:00
joeuhren 2df8a3f994 Position non-sticky footer at bottom of viewport
-Fix footer height and position after datatables are populated/drawn
-Remove footer-padding css rule
-Remove unnecessary spacing on all applicable pages
2020-12-18 18:10:58 -07:00
joeuhren 616f787540 Rename getaddresstxsajax api to getaddresstxs + fixes
-getaddresstxs api no longer allows query string parameters
-Removed unnecessary data from getaddresstxs api
-Removed unused functions fixDatatableQuerystring + removeURLParameter from layout.pug
2020-12-18 15:17:52 -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 474bb3ba9f Ignore css files generated on startup 2020-12-17 23:46:20 -07:00