Commit Graph

98 Commits

Author SHA1 Message Date
Sebastian Grewe
8ae36844f1 fixing some PHP warnings 2013-09-07 20:53:28 +02:00
Sebastian Grewe
d4ce764d77 proper allow back/forth on blocks 2013-09-06 10:49:19 +02:00
Sebastian Grewe
ab6a4f57d3 further implemetation into mmcfe-ng 2013-09-06 10:29:42 +02:00
Sebastian Grewe
b3ba080345 obigals work, cherrypicked 2013-09-06 09:48:08 +02:00
Sebastian Grewe
5b353ab759 Merge branch 'next' into issue-543 2013-09-06 09:40:28 +02:00
Sebastian Grewe
7ec8fa9b95 Moving a lot of settings from config to adminpanel
* Migrated configuration options to admin panel
* Removed configuration options from config file
* Added help text for each configuration option into panel

Addresses #622 and needs extensive testing by pools. A lot has changed
so pool owners might have to adjust their own templates to match this
new system.
2013-08-20 12:02:47 +02:00
Sebastian Grewe
14c0535b10 Fill empty hours with proper data
* Properly sort the array prior to sending it back
 * Sort from current to one hour earlier for proper data display
 * Adjusted templates to use new sorted arrays

Fixes #606
2013-08-15 09:58:33 +02:00
Sebastian Grewe
e5cb4d0886 Fixing combined hashrate graph
This shouuld fix #598 with graphs being completely off
2013-08-14 11:23:14 +02:00
Sebastian Grewe
184ad5d58b fixing color of total percentage again 2013-08-14 11:15:49 +02:00
Sebastian Grewe
567b8e1655 Fix rounding issues on total row
* Use actual percentages to calculate the total to ensure
  the rows average matches the totals average

Fixes #596
2013-08-14 11:10:58 +02:00
Sebastian Grewe
0679601fbd Initilize totals with 0 values
Addresses #596
2013-08-14 11:03:56 +02:00
Sebastian Grewe
c0e8459519 fix coloring of total percentage 2013-08-14 10:59:50 +02:00
Sebastian Grewe
85e22bc02f Adding totals to block statistics
* Total expected shares
* Total actual shares
* Average Percentage
2013-08-12 10:07:19 +02:00
Sebastian Grewe
7214d27d9e make blocks list sortable 2013-08-09 14:58:46 +02:00
Sebastian Grewe
c568683152 Adding empty example for round stat integration
Addresses #543
2013-08-08 10:01:33 +02:00
Sebastian Grewe
aad8271a13 Fix blockexplorer links to use blockhash not height
Fixes #571
2013-08-08 09:42:10 +02:00
Sebastian Grewe
eca77d551c Changed percentages for invalids, pool efficiency
This should address #514 with negative efficiencies. Formulas were
wrong.

Will fix #514 when merged.
2013-07-24 10:00:27 +02:00
Sebastian Grewe
7cf3ff3d88 Fix anonymous detection in share contributors list
Fixes #484
2013-07-18 13:55:05 +02:00
Sebastian Grewe
1cd39099ee Merge pull request #483 from TheSerapher/issue-446
Issue 446
2013-07-18 02:05:45 -07:00
Sebastian Grewe
73ec707381 Adds blockhash to blockexplorer URL
* Changed blockexplorer URL to use Blockhash instead of height
* Added calls to find current networks blocks blockhash
* Propagated changes onto temmplate
* Added new dist configuration for new blockexplorer URL

Fixes #446
2013-07-18 09:43:16 +02:00
Sebastian Grewe
8393053641 Disabel API references if API disabled
This will turn off displaying any API references and links when API was
turned off in the configuration.

Fixes #467
2013-07-18 09:04:59 +02:00
Sebastian Grewe
8ec1d2cab3 Adding anonymous account support
* Added anonymous flag to accounts table
* Added checkbox for anonymous flag in edit account page
* Updated user class to support new flag
* Updated statistics class to support anonymous and donations
* Updated all templates showing usernames to show anonymous instead
* Added new SQL `ALTER TABLE` file for upgrading the table

Fixes #419 once merged.
2013-07-12 10:33:42 +02:00
Sebastian Grewe
08359c0d19 Further escaping of user inputs 2013-07-11 15:53:38 +02:00
Sebastian Grewe
5acebc37d3 Allow guest access to pages with config options
This will allow pool owners to make certain pages public accessible
without user registration or login. Please check the config dist file
for details.

Fixes #408
2013-07-09 16:13:43 +02:00
Sebastian Grewe
3da5a226e1 Better number format for est. shares 2013-07-08 15:42:23 +02:00
Sebastian Grewe
308b01c700 Better number format for block percentages 2013-07-08 15:40:21 +02:00
Sebastian Grewe
1c2891cc78 Removed piechart, removed no shares notification
* Removed broken piechart for now
* Do not display message if no shares are found for calculations to
  avoid cross-tabe error messages

Fixes #312
2013-07-08 08:54:17 +02:00
Sebastian Grewe
952c8732b1 Properly display piechart, first attempt
Should further address #312
2013-07-07 22:15:40 +02:00
Ilya Stromberg
7a0f08d3d0 (#376) Fix HTML/CSS markup at Statistics page 2013-07-05 21:16:51 +04:00
Sebastian Grewe
a0243ee31e allow empty blockexplorer URL 2013-07-05 09:47:44 +02:00
Sebastian Grewe
3d942e8434 Adding getpoolstatus API Method
Fixes #369
2013-07-04 13:26:58 +02:00
Sebastian Grewe
b8771091fb Adding link to JSON API to server stats page 2013-07-04 13:26:03 +02:00
Sebastian Grewe
bba15719db Do not use link difficulty if chaininfo unset
Fixes #336
2013-07-02 21:15:44 +02:00
Sebastian Grewe
19a0eeb8a1 Adding colorized percentage
As requested by @obigal this will add colorized percentage:

* Above 100% it's red
* Below or even 100% it's green

Fixes #321
2013-07-01 18:27:41 +02:00
Sebastian Grewe
46f39723de Display block amount/value on block list
Fixes #318
2013-07-01 18:01:03 +02:00
Sebastian Grewe
b89561df78 Proper fix for top estimates being 0
Properly fixes #314
2013-07-01 17:53:57 +02:00
Sebastian Grewe
fac2814618 Re-assign own estimate variable
This might fix #314 that a user was since #306.
2013-07-01 17:05:41 +02:00
Sebastian Grewe
e3c1d7e0d0 Modfied templates to support empty trade currency
This will remove any template content related to the trade currency if
that one is left empty in the configuration.

While going through the templates I also cleaned up the PHP Warnings
left. The code and templates should now process without throwing any PHP
warnings.

Fixes #305 and further addresses #301
2013-07-01 12:32:59 +02:00
Sebastian Grewe
cf921e72c3 Fix own list entry if not in top-15
Fixes #292
2013-06-30 19:22:57 +02:00
Sebastian Grewe
99a58e7119 fixed missing /if 2013-06-28 20:39:01 +02:00
Sebastian Grewe
9e59f99230 remove block confirm notice for pps 2013-06-28 20:32:18 +02:00
Sebastian Grewe
7b0ae8d86e reduced blocks count to fixed 20 2013-06-28 20:29:51 +02:00
Sebastian Grewe
647b522b00 Adding percentage colulmn to block template
This shows the % of shares found for a block compared to the expected
value.
2013-06-17 15:00:56 +02:00
Sebastian Grewe
4f3e1e9ccb Adding support for API currencies
Since some altcoins are not listed with USD yet @vias79 suggested adding
different API target currencies. This commit will add the feature and
closes #201.
2013-06-17 10:40:36 +02:00
Sebastian Grewe
0817befaaa Further cleanup to reduce PHP notice warnings 2013-06-14 13:51:06 +02:00
Sebastian Grewe
d23d577368 always show 2 digit pool efficiency 2013-06-14 12:36:17 +02:00
Sebastian Grewe
c0870b3a48 Added more generic pool stats
* added pool efficiency based on valid and invalid shares
* added estimated shares progress based on est and valid shares
2013-06-14 11:58:41 +02:00
Sebastian Grewe
bee35325dc Only show 20 blocks for block graph
Graph dynamically expands if the blocks don't fit so it's now limited to
20 which should always fit well enough.
2013-06-14 11:38:00 +02:00
Sebastian Grewe
6f858188ad Adding pool and combined hashrate graphs
* Moving from My Graph to its own section: Hashrate Graphs
* Adding pool hashrate graph
* Adding combined hashrate graph and piechart

Fixes #187
2013-06-13 22:59:19 +02:00
Sebastian Grewe
90640d345e removing static-ish stats width, use table width instead 2013-06-13 22:26:12 +02:00