Sebastian Grewe
6a8979d20b
Fixing critical issue with manual- and autopayouts
...
This is a proposed fix for #128 :
* Mark auto_payout running via DB setting, unlock when done
* Just before actually sending money, check for running cron
Please refer to the ticket for details
2013-06-06 23:23:54 +02:00
Sebastian Grewe
cad0cb8569
Merge pull request #127 from TheSerapher/issue-126
...
Add API call for getuserstatus
2013-06-06 13:42:11 -07:00
Sebastian Grewe
7c1d51cc7a
Add API call for getuserstatus
...
Fixes #126 , see Github Wiki for documentation
2013-06-06 22:40:51 +02:00
Sebastian Grewe
8db9449e27
Merge pull request #125 from TheSerapher/issue-124
...
Ensure no old blocks shares are counter for new ones
2013-06-06 13:29:33 -07:00
Sebastian Grewe
4691e077e2
Ensure no old blocks shares are counter for new ones
...
When finding more than a single block between runs it added shares to a
new block from a previous one. Properly fetch the last highest share ID
from the database prior to scanning for shares assigned to a block.
Fixes #124
2013-06-06 22:27:34 +02:00
Sebastian Grewe
85d81f821f
Merge pull request #123 from TheSerapher/findblock-shares
...
Moving shares per block into findblock cron
2013-06-06 12:32:50 -07:00
Sebastian Grewe
596b0eac93
Moving shares per block into findblock cron
...
To better support more payout systems I have moved the share calculation
for a block into the findblock cron. This way these statistics are
always available and not depending on the actual payout method.
2013-06-06 21:31:05 +02:00
Sebastian Grewe
68ec939302
Merge pull request #122 from TheSerapher/structure-update
...
new database structure for future features
2013-06-06 12:05:22 -07:00
Sebastian Grewe
9286508342
new database structure for future features
2013-06-06 21:04:43 +02:00
Sebastian Grewe
2a442eff56
Merge pull request #121 from TheSerapher/proper-credits
...
adding proper credits since only the UI code is still the original
2013-06-06 08:28:59 -07:00
Sebastian Grewe
c7e9aaac09
adding proper credits since only the UI code is still the original
2013-06-06 17:28:41 +02:00
Sebastian Grewe
17559b7eb5
Merge pull request #120 from TheSerapher/admin-api-getuserworkers
...
Adding admin only API call: getuserworkers <id>
2013-06-06 08:20:11 -07:00
Sebastian Grewe
d5866207c1
Adding admin only API call: getuserworkers <id>
...
* Require valid token and admin access
* Grab full worker information for a user
* Matches the Worker List on the Account page
* See Wiki for full documentation
2013-06-06 17:18:55 +02:00
Sebastian Grewe
3094c9bb9d
re-adjusting template again
2013-06-06 16:54:21 +02:00
Sebastian Grewe
2c56066763
changed time-range for graphs
2013-06-06 15:15:27 +02:00
Sebastian Grewe
15f9d39c7c
Merge pull request #119 from TheSerapher/worker-table
...
better looking worker table
2013-06-06 04:37:21 -07:00
Sebastian Grewe
e3702a5804
better looking worker table
2013-06-06 13:37:05 +02:00
Sebastian Grewe
635ceee1b9
Merge pull request #118 from TheSerapher/issue-90
...
Issue 90
2013-06-06 03:03:54 -07:00
Sebastian Grewe
7e76bb4a63
properly display username in graph
2013-06-06 12:02:58 +02:00
Sebastian Grewe
aebb97a1d8
use default cashing times
2013-06-06 12:01:06 +02:00
Sebastian Grewe
8fccc8fe3a
proper time range
2013-06-06 11:57:46 +02:00
Sebastian Grewe
1bf2e7cf18
Pre-sort SQL data in array for easy time access
...
This allows us to access the array key as the time. This way the
template can properly render the time axis according to current time.
2013-06-06 11:47:20 +02:00
Sebastian Grewe
232e79f7ad
do not pass two arguments to SQL
2013-06-06 11:01:04 +02:00
Sebastian Grewe
52d079eaed
do not include archive table for hashrates, better formatting
2013-06-06 10:45:37 +02:00
Sebastian Grewe
7dc0736b77
First version for new user graphs
...
* Properly calculate hashrate
* Remove number formatting, it breaks the graph
* Not properly in order based on time but displays correct values
Addresses #90
2013-06-05 17:22:47 +02:00
Sebastian Grewe
0ad2069275
Merge pull request #114 from TheSerapher/issue-113
...
Adding reference to API on public stats page
2013-06-05 06:32:59 -07:00
Sebastian Grewe
8ee987a98d
Adding reference to API on public stats page
...
Addresses #113
2013-06-05 15:31:53 +02:00
Sebastian Grewe
21f8278f90
Merge pull request #112 from TheSerapher/issue-111
...
Adding support for public API polling
2013-06-05 03:25:58 -07:00
Sebastian Grewe
aff116849c
Adding support for public API polling
...
* Does not require a token
* Returns basic status as taken from default mmcfe
Addresses #111
2013-06-05 11:49:08 +02:00
Sebastian Grewe
f59f7e9fb0
Merge pull request #110 from TheSerapher/issue-108
...
Issue 108
2013-06-05 01:15:58 -07:00
Sebastian Grewe
11338cedf3
Add new threshold display to template
...
Forgot to add the template files that adds configurable thresholds
2013-06-05 09:17:10 +02:00
Sebastian Grewe
6c4fb84ee9
Adding min/max threshold configuration
...
* Check for min/max values set for auto payouts
* Display error messages to the user
* Sanitize values just in case we fall through the validation
* Updated template and class
* New configuration option added! Update your local configs!
Fixes #108
2013-06-05 09:11:25 +02:00
Sebastian Grewe
8bc7f6bf44
Merge pull request #107 from TheSerapher/issue-106
...
Do not deduct fees from balance when transmitting
2013-06-04 11:52:41 -07:00
Sebastian Grewe
e37fb70a46
Do not deduct fees from balance when transmitting
...
Fixes #106 , we want to transfer the entire balance and let the RPC
server deduct any fees that might apply.
2013-06-04 20:51:24 +02:00
Sebastian Grewe
3c1eb0cba0
Merge pull request #105 from TheSerapher/issue-104
...
Ignore rejected shares in top list calculations
2013-06-04 06:59:29 -07:00
Sebastian Grewe
c1682e2203
Ignore rejected shares in top list calculations
...
Fixes #104
2013-06-04 15:58:51 +02:00
Sebastian Grewe
930bb50800
Update README.md
2013-06-04 15:49:52 +02:00
Sebastian Grewe
cff3c2d32b
Merge pull request #103 from TheSerapher/issue-102
...
Removed PHP Notice warning when running cron
2013-06-04 06:10:58 -07:00
Sebastian Grewe
4277fb26cc
Removed PHP Notice warning when running cron
...
This fixes #102 , we don't need to see this warning since it doesn't
affect the job at all.
2013-06-04 15:10:07 +02:00
Sebastian Grewe
152db4b831
Merge pull request #101 from TheSerapher/issue-63
...
Issue 63
2013-06-04 05:35:20 -07:00
Sebastian Grewe
af3252abb2
Find ALL transactions, even unconfirmed
...
* This ensures that credits are not unlocked and available to the pool
2013-06-04 14:28:34 +02:00
Sebastian Grewe
91d225e340
Adding wallet information in Admin panel
...
Fixes #63 and adds proper wallet information:
* Wallet balance
* Locked balance for users
* Liquid assets available to pool owner
2013-06-04 14:03:46 +02:00
Sebastian Grewe
f1e0e5cb97
Merge pull request #100 from TheSerapher/issue-99
...
Re-adding admin flags to user list for admin panel
2013-06-04 04:47:26 -07:00
Sebastian Grewe
020ea2269b
Re-adding admin flags to user list for admin panel
...
Fixes #99
2013-06-04 13:46:56 +02:00
Sebastian Grewe
ad4b1e9a74
Merge pull request #98 from TheSerapher/admin-panel
...
Admin panel
2013-06-04 04:25:27 -07:00
Sebastian Grewe
b19473ff42
sorting does not work with number_format
2013-06-04 13:23:00 +02:00
Sebastian Grewe
d85ded7c5c
Moving from user to statistics class
...
* This fetches all users and joins with shares table
Should speed up things a fair bit.
2013-06-04 13:14:25 +02:00
Sebastian Grewe
4fa3089655
fixing JS crash when table has no content
2013-06-04 12:13:38 +02:00
Sebastian Grewe
43772f439b
fixing sort arrows showing behind text
2013-06-04 12:10:43 +02:00
Sebastian Grewe
38a66b917f
adding number format to admin user query table
2013-06-04 12:01:16 +02:00