Commit Graph

796 Commits

Author SHA1 Message Date
Sebastian Grewe
47e0b2ac74 [FIX] Network hashrate in dashboard
Also adds some fixes for hashrate updates on the pool statistics page in
case the API is disabled alltogether.

Fixes #934 once merged.
2013-12-09 16:11:31 +01:00
Sebastian Grewe
f884349359 Merge pull request #920 from TheSerapher/issue-670
[IMPROVED] Lockout user on invalid pin/password
2013-12-08 22:27:17 -08:00
Sebastian Grewe
f4beb36708 Merge pull request #919 from TheSerapher/issue-904
[IMPROVED] Added balance checks post payouts
2013-12-08 22:24:08 -08:00
Sebastian Grewe
50634502d2 [ADDED] Transaction summary to getuserstatus API
Fixes #917 once merged.
2013-12-08 09:45:51 +01:00
Sebastian Grewe
bb55001db7 [ADDED] ACL to hide news post author
This will allow admins to hide the actual username/author from their newsposts.
Useful if you don't wish to give your admin account away or in case you
have no admin-only account.
2013-12-07 22:30:27 +01:00
Sebastian Grewe
256b5f59c6 [IMPROVED] Lockout user on invalid pin/password
This will lock a user account if a password or PIN has been entered
wrong for multiple times in a row. When unlocking the account via admin
panel, both counters are reset so the user can log in again.

This should fix issues with brute force attacks to access user accounts.

Please see configuration dist file for new config options.
Please import SQL upgrade 007 to add new column to user accounts table.

Addresses #670 and should be merged once tested.
2013-12-07 22:14:14 +01:00
Sebastian Grewe
fa8406b172 [FIX] No uptime status on empty result
Fixes #910 once merged
2013-12-07 14:15:10 +01:00
Sebastian Grewe
d98bb2f368 [ADDED] getInfo output to wallet information
Adds some additional wallet infos to the wallet info page in the admin
panel. Specifically the errors output might be interesting for users not
checking their RPC regularly for mandatory updates.

Fixes #912 once merged.
2013-12-07 13:59:33 +01:00
Sebastian Grewe
eec52b7e4a [UPDATE] Cache RPC getinfo calls 2013-12-07 13:32:57 +01:00
Sebastian Grewe
217f4a7993 [MERGE] Fixed merge conflict 2013-12-06 15:45:03 +01:00
Sebastian Grewe
4bd371ffc6 [IMPROVED] Check system load, dashboard updates
This will suspend any dashboard updates if the system load exceeds a
configurable threshold. Graphs will not update until the system load is
again below the threshold.

See dist config for new option.

Should help those pools suffering from too many live update users.
2013-12-06 14:58:37 +01:00
Sebastian Grewe
9bd1f8e963 [ADDED] System load to dashboard call 2013-12-06 14:38:59 +01:00
Sebastian Grewe
1074c8c0bf [UPDATE] Removed redundant calls 2013-12-06 14:35:28 +01:00
Sebastian Grewe
0740eca0ab [IMPROVED] Added balance checks post payouts
Fixes #904 once merged.
2013-12-05 18:12:40 +01:00
Sebastian Grewe
e18c7b0508 [SECURITY] Clear cache before sending a mail
Will fix an issue with users receiving wrong mails, e.g. during password
resets ONLY IF smarty cache is enabled.

Please update ASAP if you have smarty caches enabled! This is a very big
issue. By default smarty caches are disabled and not recommended to be
used. See configuration file.

Fixes #899 once merged.
2013-12-04 19:15:51 +01:00
Sebastian Grewe
084bf67dc7 [FIX] Undefined index in Mail Class 2013-12-04 15:58:36 +01:00
Sebastian Grewe
ca427b414b [FEATURE] Disable Dashboard and Dashboard API
Allows pools to disable the dashboard and dashboard API completely.
Useful if you are not running a master/load(/load/load) setup to deal
with frequent live queries.

Fixes #876 once merged.
2013-12-04 09:54:11 +01:00
Sebastian Grewe
288c2dd866 Merge pull request #893 from TheSerapher/issue-872
Issue 872
2013-12-03 01:10:35 -08:00
Sebastian Grewe
8e7004dd7d [ADDED] gettopcontributors API call
* List top 15 share and hashrate contributors

Fixes #866
2013-12-03 09:15:51 +01:00
Sebastian Grewe
9c101e5ca0 [FIX] Division by 0 2013-12-02 17:14:16 +01:00
Sebastian Grewe
61d52657f1 [FIX] Division by 0 2013-12-02 17:13:55 +01:00
Sebastian Grewe
5edf88b2ee [FIX] Division by 0 2013-12-02 17:13:09 +01:00
Sebastian Grewe
7b41a75f92 [FIX] Added where clause for archived 2013-12-02 16:50:16 +01:00
Sebastian Grewe
7a2e6061ab [REVERT] Do not use TX ID boundaries for archiving 2013-12-02 16:46:42 +01:00
Sebastian Grewe
44f4b466a4 Merge branch 'next' of https://github.com/TheSerapher/php-mpos into next 2013-11-29 16:25:55 +01:00
Sebastian Grewe
f07064a0a3 [FIX] Hourly Hashrate Graphs 2013-11-29 16:25:37 +01:00
ahmedbodi
810b9e3987 Fixed Config Array 2013-11-29 10:02:47 +00:00
ahmedbodi
297fbd1d6b Added Algorithm to Globals
Added Algorithm to Globals for Getting Started Guide
2013-11-29 09:56:11 +00:00
Sebastian Grewe
1ffcba8b51 [ADDED] RPC txid to Transaction lists 2013-11-28 11:52:15 +01:00
Sebastian Grewe
232dd76af5 [ADDED] TXID on debit transactions 2013-11-28 10:53:24 +01:00
Sebastian Grewe
3094681018 Merge pull request #863 from TheSerapher/issue-642
[FIX] Hashrate increase on round ends
2013-11-27 04:51:44 -08:00
Sebastian Grewe
98c62b6aa0 Merge pull request #871 from TheSerapher/issue-869
[FIX] Proper estimates on changed personal modifier
2013-11-27 04:50:28 -08:00
Sebastian Grewe
6063a3498b [FIX] Proper estimates on changed personal modifier 2013-11-27 13:43:59 +01:00
Sebastian Grewe
dbdd80575c Merge pull request #857 from nicoschtein/patch-9
Added "Reply-To" header to email
2013-11-25 00:18:22 -08:00
Sebastian Grewe
1e34018e7f Merge pull request #861 from iAmShorty/blockfinder-update
[FIX Blockfinder Stats] Working with public and private settings
2013-11-24 23:55:44 -08:00
Sebastian Grewe
1e7e92b5fe [FIX] Hashrate increase on round ends
This should address issues with pools finishing very long rounds where
hashrate statistics suddenly dramatically increased. This was caused due
to both shares and archived shares being added before they they were
deleted from shares.

* adds the proper way to calculate user based hash- and sharerates.
* replaces `UNION ALL` with `UNION`

Fixes #642 once merged.
2013-11-23 22:17:10 +01:00
Sebastian Grewe
c418e98aca [FIX] Idle Worker Notifiaction reset 2013-11-23 20:37:19 +01:00
root
2b33b21350 [FIX Blockfinder Stats] Working with public and private settings 2013-11-22 14:11:18 +01:00
Sebastian Grewe
ae89c7f198 [FIX] Backport from #855 2013-11-21 09:36:44 +01:00
nicoschtein
3433bd658f Added "Reply-To" header to email
Added simple verification for cases where no sender name or email are set.
2013-11-20 13:12:29 -02:00
Sebastian Grewe
55190b7d08 [FIX] Also exclude TXFee records for last ID 2013-11-20 11:13:11 +01:00
Sebastian Grewe
038d398344 [FIX] Wrong TX ID boundaries
* We must ignore the last debit transaction to find the proper TX ID
  that has been archived

This should now complete the fix for #853 - needs live testing but I am
confident it will work as intended. Deploying to my live FST pool for
testing.
2013-11-20 09:53:40 +01:00
Sebastian Grewe
4819b6819f [FIX] Remove debug output 2013-11-20 09:31:54 +01:00
Sebastian Grewe
09cf821730 [FIX] Honor confirmation status 2013-11-20 09:30:21 +01:00
Sebastian Grewe
f80826ff71 [UPDATE] Cache transaction summaries 2013-11-20 08:21:11 +01:00
Sebastian Grewe
78ae3174d8 [UPDATE] Use proper transaction ID boundaries 2013-11-20 08:11:16 +01:00
Sebastian Grewe
b0cdbd54bc [FIX] Removed blocks JOIN on archive query 2013-11-20 07:43:09 +01:00
Sebastian Grewe
ffc39f855d Addressing #853 with a fix and proposed change 2013-11-20 07:33:24 +01:00
Sebastian Grewe
eb9f63b821 Merge branch 'next' of https://github.com/TheSerapher/php-mpos into next 2013-11-19 12:06:03 +01:00
Sebastian Grewe
86e22fcfc7 [FIX] Admin Panel worker hashrates on SHA coins 2013-11-19 12:05:50 +01:00