Commit Graph

419 Commits

Author SHA1 Message Date
Sebastian Grewe
3930285521 fixing website name in breadcrumbs 2013-09-17 17:14:06 +02:00
Sebastian Grewe
cdf71cbfba adding account balance to new dashboard via Ajax 2013-09-17 14:27:46 +02:00
Sebastian Grewe
59b82c72e1 fixing PHP notice when blocks table empty on blockstats 2013-09-17 12:56:30 +02:00
Sebastian Grewe
4ffca7d5ac API overhaul for easier handling of API calls
* [FEATURE] Allow in-class checking for user permissions
* [FEATURE] Allow in-class creation of the JSON data for coherence
* [FEATURE} Added API version in JSON data for client side checks
* [IMPROVEMENT] Adjusted all API calls to use the new JSON layout

**NOTE**: This is breaking backwads compatibility with the old API!
Please adjust your client application to support this new version.
The data array should not change much more other than added features.
2013-09-17 11:55:54 +02:00
Sebastian Grewe
b89660ae32 re-adjusting old sidebar info 2013-09-16 18:00:38 +02:00
Sebastian Grewe
0af26e7647 moving templates for old themes 2013-09-16 17:53:50 +02:00
Sebastian Grewe
2b8fff3a9b New graph for round shares
* [FEATURE] Adding bar graph for round shares
 * Graph auto-updates via Ajax from getdashboarddata
* [IMPROVEMENT] Minor improvements to the JS template
2013-09-16 16:22:23 +02:00
Sebastian Grewe
e1ec8ed9da removing unused template 2013-09-16 16:20:33 +02:00
Sebastian Grewe
373c25366f minor userinfo update 2013-09-16 16:20:13 +02:00
Sebastian Grewe
4bbe40068a Improved dashboard overview graphs and gauges 2013-09-16 11:36:20 +02:00
Sebastian Grewe
6a7d34181a Adding share rate graph
* [FEATURE] Adding share rate to graph
2013-09-16 11:04:14 +02:00
Sebastian Grewe
b533ea11a7 Updated hashrate graphs in dashboard
* [FEATURE] Display both pool and personal hashrate
* [FEATURE] Use EnhancedLegendRendere to toggle lines in graph
* [IMPROVEMENT] Unified Ajax call for graph and gauges
* [IMPROVEMENT] Allow `getdashboarddata` to supply raw hashrate values
2013-09-16 09:59:22 +02:00
Sebastian Grewe
27a76509f6 disabled JS console output 2013-09-15 17:52:49 +02:00
Sebastian Grewe
0b0483f679 re-enabled jqplot plugins 2013-09-15 17:49:41 +02:00
Sebastian Grewe
286c1d5110 Fixed refresh interval functions and memory leaks
* [FIX] Memory leak fixed in Hashrate Graph
* [FIX] Potential memory leak in Gauges
* [FIX] Properly refresh data via setTimeout
 * Ensures Ajax calls are completed before re-calling them
2013-09-15 17:40:24 +02:00
Sebastian Grewe
0c3713284f removing JS console output 2013-09-15 14:23:31 +02:00
Sebastian Grewe
4aea28cb9c remove graph min/max, adding padding 2013-09-15 01:45:24 +02:00
Sebastian Grewe
8193860bd9 Do not store that many data points 2013-09-15 01:42:25 +02:00
Sebastian Grewe
917aeace49 Better visualize our hashrate graph
* Do not pre-init the data graph
* Fill with new data as it arrives
2013-09-15 01:38:42 +02:00
Sebastian Grewe
8add7f75c4 Adjusted graph colors
* Matching the existing visualize plugin closely
2013-09-15 00:17:35 +02:00
Sebastian Grewe
7471e505f9 Graph line update
* Removed data points from display
* Hover to see data point information
* Fill area under the line
2013-09-14 23:43:32 +02:00
Sebastian Grewe
0eebc89fe7 Added more graph options
* [FEATURE] Added graph trendline (average)
* [FEATURE] Added graph labels
2013-09-14 23:23:36 +02:00
Sebastian Grewe
728ee2dd11 Feature update and Improvement to Dashboard
* [FEATURE] Dasboard honors Ajax interval for hashrate graph
* [IMPROVEMENT] Load graph plugins on graph template not on master template
2013-09-14 23:01:31 +02:00
Sebastian Grewe
8c96e166b7 [FEATURE] Added Ajax Data Interval Setting
* Allows Admins to change the SQL Interval used in queries
 * Default: 300 seconds / 5 minutes
 * Allowed: 1 minute, 5 minutes, 10 minutes
 * Tooltop in admin panel explains this setting
* Added data interval to API call for dashboard
* Added additional output to gauges footer

Addresses #444
2013-09-14 21:45:31 +02:00
Sebastian Grewe
faadf7cbaf [FEATURE] Proper login/logout/auth redirects
* Allow to redirect to referrer page when access is denied
* Logout user and point towards login, add redirect
* Logout user as usual but added save redirects
* Adjusted templates and page codes
2013-09-14 21:20:12 +02:00
Sebastian Grewe
b66c3eafec Admin Option for Ajax Refresh Interval
* Allow admins to change the refresh interval for Ajax calls
 * Only Gauges affected for now

Further Addresses #444 with more goodies
2013-09-14 19:35:30 +02:00
Sebastian Grewe
69ed2ab768 load initial Gauges data via Ajax 2013-09-14 19:08:19 +02:00
Sebastian Grewe
9b50e9d842 removed debug output 2013-09-14 18:52:22 +02:00
Sebastian Grewe
de560ea422 ajax calls interval 10s 2013-09-14 18:43:19 +02:00
Sebastian Grewe
2ba96b6a2f make async ajax calls 2013-09-14 18:01:35 +02:00
Sebastian Grewe
4df57f612e make async ajax calls 2013-09-14 18:00:43 +02:00
Sebastian Grewe
4303ccc42f added query time as gauge 2013-09-14 17:59:13 +02:00
Sebastian Grewe
1fab736eb6 new graph location 2013-09-14 17:59:01 +02:00
Sebastian Grewe
4e19de4c7a Unified gauges Ajax
* Single call for all data
* Use proper hash units as configured in pool
* New API call for dashboard data that has adjusted output
2013-09-14 17:03:19 +02:00
Sebastian Grewe
c7ca211532 Merge branch 'next' into issue-444-theserapher 2013-09-14 15:50:28 +02:00
Sebastian Grewe
e6ab8006d1 [FEATURE] Adding more to gauges, adding graph to dashboard
* Adding live-updates for gauges
* Adding new API calls
* Updated statistics to allow custom intervals
* Disabled caching for API calls for now
* Added new hashrate graph with auto-update

Addresses #444
2013-09-14 14:43:14 +02:00
nrpatten
35f042dd7b Update default.tpl
Add center span
2013-09-14 09:44:38 +10:00
nrpatten
af94ba00fd Update default.tpl
add center span
2013-09-14 09:41:28 +10:00
nrpatten
805fca23a1 Update default.tpl
Add center span
2013-09-14 09:38:27 +10:00
nrpatten
e691c5cd8b Update default.tpl 2013-09-13 22:16:46 +10:00
nrpatten
25027c09b5 Update default.tpl
Update Toggle Switch Test
2013-09-13 22:13:30 +10:00
nrpatten
48e89d78cb Update default.tpl
Toggle Switch Test
2013-09-13 22:05:26 +10:00
nrpatten
aeb3827b4d Update default.tpl
Toggle Switch Test
2013-09-13 22:01:05 +10:00
nrpatten
ca780ba164 Update default.tpl
Toggle Switch Test
2013-09-13 21:58:12 +10:00
nrpatten
5e873c3d8a Update default.tpl
Toggle Switch test
2013-09-13 21:56:38 +10:00
Sebastian Grewe
aa10b6efc1 [FEATURE] Adding hashrate modifiers
* Allow admins to set hashrate speed displays via admin panel
 * Personal
 * Pool
 * Network
* Allows for easier integration of SHA coins

Fixes #652
2013-09-13 13:36:36 +02:00
Sebastian Grewe
6d0854149b adding pool and net hashrate gauges 2013-09-13 10:28:23 +02:00
Sebastian Grewe
522e37717b adding Ajax refresh for Gauges 2013-09-13 09:35:30 +02:00
Sebastian Grewe
e0b1db19db adding missing master template 2013-09-13 08:40:35 +02:00
Sebastian Grewe
c8f7163fa8 adding sample gauges with static data for now 2013-09-13 08:39:17 +02:00