Commit Graph

629 Commits

Author SHA1 Message Date
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
71abaf29f3 Merge pull request #583 from TheSerapher/issue-581
Issue 581
2013-08-09 05:58:12 -07:00
Sebastian Grewe
d42b66d94e removing useless strings 2013-08-08 12:09:50 +02:00
Sebastian Grewe
031b4940cd admin should see all transactions in summary 2013-08-08 12:05:06 +02:00
Sebastian Grewe
1a459a7913 Adding transaction summary by types
Addresses #581
2013-08-08 12:02:39 +02:00
Sebastian Grewe
92623902b2 adding round shares back to PPS sidebar 2013-08-08 10:03: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
03da52117a Fix user seeing other users transactions
Fixes #577
2013-08-08 09:36:05 +02:00
Sebastian Grewe
6767b5a235 Merge pull request #576 from TheSerapher/issue-561
Issue 561
2013-08-07 21:46:44 -07:00
Sebastian Grewe
2dbf2a231e Merge pull request #575 from TheSerapher/issue-535
Honor anonymous flag on mobile template
2013-08-07 21:46:12 -07:00
Sebastian Grewe
c9139034a4 Merge pull request #573 from TheSerapher/issue-549
Make block count on stats page configurable
2013-08-07 21:44:30 -07:00
Sebastian Grewe
cbf39f7905 Fix IDLE worker detection
* Also mark as IDLE if no valid shares were received

Fixes #561
2013-08-07 09:27:50 +02:00
Sebastian Grewe
073a42cfc8 Fixing worker hashrates and activity status
* Fix hashrate calculations and include archived shares
* Fix worker activity to only check for our_result = Y shares
* Mark as active if worker has a hashrate > 0, removes a query

Addresses #561, crons need to be updated to remove the active flag from
as the worker activity and check the hashrate instead.
2013-08-07 09:20:08 +02:00
Sebastian Grewe
fafd75d994 Honor anonymous flag on mobile template
Fixes #535
2013-08-07 08:59:22 +02:00
Sebastian Grewe
d4a9af86c4 removed debug output 2013-08-06 09:26:43 +02:00
Sebastian Grewe
0b8243ab69 Fixing archiving of PPS, TXFees and Debits
Emergency fix. Includes balance PPS calculation fix.

Addresses #563
2013-08-06 09:24:01 +02:00
Sebastian Grewe
c55bf8354f Fixing bug with archived transactions
This will fix #563, only mark transactions as archived that have been
confirmed.
2013-08-05 23:00:24 +02:00
Sebastian Grewe
df28e77319 fixing payout cron display 2013-08-05 17:51:31 +02:00
Sebastian Grewe
367f057e6d Refactored monitoring page
* Allow easier addition of new crons to the monitor list
* Make the data generation dynamic instead of hard to adjust lists

Fixes #559 upon merge.
2013-08-05 17:45:56 +02:00
Sebastian Grewe
2cddc27130 fixing PPS locked balance 2013-08-05 10:54:32 +02:00
Sebastian Grewe
f675fc7055 Removed page generation PHP from settings
Committed those by accident, so removed.
2013-08-05 10:08:24 +02:00
Sebastian Grewe
4d77a7d299 Refactored admin panel settings
This will allow easier integration of new settings managed by the admin
panel. Includes setting types, tooltips, tabs etc.

No open ticket, just figured I'd add this.
2013-08-05 10:02:39 +02:00
Sebastian Grewe
2ced75b752 Merge pull request #556 from TheSerapher/issue-536
Issue 536
2013-08-05 00:20:53 -07:00
Sebastian Grewe
680fa46013 Merge pull request #555 from TheSerapher/issue-545
Adding Admin MOTD
2013-08-05 00:20:26 -07:00
Sebastian Grewe
d59b8ef563 Make block count on stats page configurable
Fixes #549
2013-08-05 09:18:52 +02:00
Sebastian Grewe
0c35a046e0 Merge pull request #554 from TheSerapher/issue-553
Adding jQuery Mobile 1.3.2
2013-08-04 12:57:15 -07:00
Sebastian Grewe
fa0e7379a6 Adding jQuery Mobile 1.3.2
* Adding new CSS and JS files
* Adding missing images
* Removing old version
* Updated master template

Fixes #553
2013-08-04 21:53:36 +02:00
Sebastian Grewe
c25e54f79c Adding Admin MOTD
* Adding MOTD to admin settings
* Adding MOTD to smarty_globals as regular INFO popup

Fixes #545
2013-08-01 16:25:43 +02:00
Sebastian Grewe
7bde00c452 properly display auto-confirmed tx 2013-08-01 12:48:55 +02:00
Sebastian Grewe
95825224a1 Adding archiving flag for transactions
* Added new column to transactions table (`007_transactions.sql`)
* Added setArchived method to mark old transactions as archived
* Honor archived flag in getBalance and getLockedBalance

This will further address and fix #536 once merged.
2013-08-01 12:16:59 +02:00
Sebastian Grewe
3c57d5bd0a fixing missing template warnings 2013-08-01 11:29:16 +02:00
Sebastian Grewe
4eb6c59cb3 Refactored getTransactions, unified admin/user view
* Removed getAllTransactions method
* Unified getTransactions for users and admins
* Added filter abilities to user transaction view

This should speed up things a fair bit for transaction heavy pools.

Addresses #536
2013-08-01 11:00:54 +02:00
Sebastian Grewe
52f58807b0 Refactored admin transactions
* Properly generate the bind_params statement
* Extended from Base Class
* Added methods to Base Class

Addresses #536
2013-08-01 10:40:49 +02:00
Sebastian Grewe
4b3534ce61 Fixing WHERE clause for getBalance call
Addresses #536
2013-08-01 10:38:20 +02:00
Sebastian Grewe
9e1f424742 Great performance increase on transaction queries
This will address an issue with database including a lot of
transactions. No more nested queries that put unwanted strain on a DB.

Address #536
2013-08-01 10:38:20 +02:00
Sebastian Grewe
60bf687d1c increased limit back to 30 2013-07-31 17:11:26 +02:00
Sebastian Grewe
68c8d29a01 removed line by accident 2013-07-31 17:10:26 +02:00
Sebastian Grewe
4c37ab4950 Find actual row count without LIMITs applied
Addresses #542
2013-07-31 17:09:30 +02:00
Sebastian Grewe
fd8b07f02a Removing orphaned credits from Sidebars
This will remove some confusion for users.

Addresses #524
2013-07-31 08:59:02 +02:00
Nicolas Schteinschraber
5a377d6106 Issue #537 2013-07-31 03:44:49 -03:00
Sebastian Grewe
86633e1603 Adding JS/CSS code to project
Instead of calling remote sites, deploy the JS and CSS locally. Will
allow HTTPs sites to work properly.

Fixes #521
2013-07-24 16:37:22 +02:00
Sebastian Grewe
c0b0d438b8 Catch errors on missing templates
Pages that are missing a template will cause a error 500. We now catch
this and display a default string.

Fixes #513
2013-07-24 14:56:34 +02:00
Sebastian Grewe
dcc0596c8f Merge pull request #519 from TheSerapher/issue-511
Display network hashrate in public API
2013-07-24 04:28:35 -07:00
Sebastian Grewe
b5eca59e58 Fixing alignment in mobile template
Addresses #514
2013-07-24 11:41:12 +02:00
Sebastian Grewe
e760cbdc03 Fixing mobile templates
Addresses #514
2013-07-24 11:39:59 +02:00
Sebastian Grewe
3f62612af9 Fixing mobile templates too 2013-07-24 11:30:16 +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
c7f952a27a Display network hashrate in public API
Instead of 0 show the actual hashrate, still shows 0 if unable to
connect to RPC server.

Fixes #511
2013-07-24 09:12:29 +02:00
Sebastian Grewe
777e160cf3 cleaning PHP Notice from log 2013-07-23 16:55:05 +02:00