Commit Graph

111 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 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 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 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 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 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 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 3f3159dd2c Fix broken error page 2020-12-17 23:44:16 -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 03bff8c72f Sass support + layout/css cleanup
-Add sass support (Replace style.css with style.scss; add new sass_theme_reader.sh script; add sass:compile to package.json; add new dependencies for sass; compiled style.css is now minified)
-Claim address improvements (Better instructions; better error msgs)
-Fix for disappearing Network > Connections table
-Tons of layout and css fixes and tweaks (Improved mobile support)
-Remove old Exor theme
2020-12-12 20:21:49 -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 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 011d4be8b8 Fix broken search on claim address page 2020-12-05 18:40:05 -07:00
joeuhren 904e33e16b A few more layout fixes 2020-12-05 17:57:45 -07:00
joeuhren 731210337f Display multi-market names from actual market file 2020-12-05 17:39:14 -07:00
joeuhren 484910c3e0 Restore multi-market selector 2020-12-05 17:00:33 -07:00
joeuhren 27b8684e51 Fix mobile menu dropdown 2020-12-05 16:26:53 -07:00
joeuhren f50c51d77c Improved long index sync warning functionality 2020-12-05 12:39:36 -07:00
joeuhren 1cdee303fe Enable better responsive/mobile support 2020-12-01 19:19:50 -07:00
joeuhren 15b29c2cf8 Split out format_unixtime function + use to format all timestamps 2020-11-29 20:05:42 -07:00
joeuhren 737b160acd Complete overhaul of all pugs + claim + reward improvements 2020-11-29 19:29:38 -07:00
joeuhren 2be8cc324e Rename api for getlasttxsajax to getlasttxs 2020-11-28 20:40:37 -07:00