Sergey Kukunin
75c7e0fc6d
Implement Templates admin page
...
Create `templates` table in database
Add navigation links to Template page
Let admin to manage his templates from adminpanel
2013-12-09 20:55:58 +02:00
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
ceadf30a85
[SECURITY] Fixing potential XSS issues
...
Will resolve #926 once merged.
2013-12-09 08:02:41 +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
root
a1493032d2
[FIX] undefined index: USERDATA
2013-11-18 13:20:23 +01:00
root
65c7edf503
[REBASE] fixes
2013-11-18 12:43:17 +01:00
root
2211dc0863
[REBASE] fixes
2013-11-18 12:43:17 +01:00
root
3133a9c1e7
[REBASE] fixes
2013-11-18 12:43:17 +01:00
root
40d223d584
[UPDATE] template changes
2013-11-18 12:43:17 +01:00
root
3c580ad8d0
[UPDATE] latest
2013-11-18 12:43:17 +01:00
root
510c076452
[FEATURE] blockfinder statistics
2013-11-18 12:43:17 +01:00
Sebastian Grewe
b28061142d
[ADDED] New error code, forgot to commit
2013-11-17 17:12:56 +01:00
Sebastian Grewe
21acec83d0
[FIX] Proper error on missing shares
2013-11-17 16:36:30 +01:00
Sebastian Grewe
d95961b470
[FIX] Coins without nethashrate in getmininginfo
...
Fixes issues with coins that did not implement a proper array index into
their `getmininginfo` output. Currently supported keys are
* networkhashps
* hashespersec
* netmhashps
If none of there are found or `getmininginfo` fails itself, we now
default to `0` to ensure the webfrontend still works.
Fixes #847 and also fixes #834 which has not reported back the
required information.
2013-11-16 20:39:41 +01:00
Sebastian Grewe
fcd00be62c
[FIX] Do not cache admin panel query for setting updates
2013-11-14 15:37:28 +01:00
Sebastian Grewe
089d63931d
[IMPROVE] Use round shares cache for user admin
...
Fixes #843 once merged.
2013-11-14 15:29:16 +01:00
Sebastian Grewe
d2af97507b
[UPDATED] Removed unused Smarty / PHP variables
2013-11-13 12:51:41 +01:00
Sebastian Grewe
629cc22e8d
[UPDATE] Do not use DateTime class, use time()
2013-11-13 12:49:30 +01:00
Sebastian Grewe
010a9f6f00
[UPDATE] Removed some newlines/whitespaces
2013-11-12 10:10:03 +01:00
Sebastian Grewe
08a59f0d96
Merge pull request #833 from iAmShorty/settings-update
...
[SETTINGS] show/hide donors and about page
2013-11-12 01:07:08 -08:00
Sebastian Grewe
e3d7fd6e81
[UPDATE] getdashboarddata pool info added
2013-11-12 08:50:01 +01:00
Sebastian Grewe
33958919c6
Merge branch 'next' of https://github.com/TheSerapher/php-mpos into next
2013-11-11 14:42:11 +01:00
Sebastian Grewe
c7b783f6d5
[ADDED] Pool name to dashboard API
2013-11-11 14:41:57 +01:00
Sebastian Grewe
d155804a06
[FIX] Skip payouts until block has a share_id
2013-11-11 12:51:06 +01:00
Sebastian Grewe
9ccc3403f8
[UPDATED] Query improved for first blocks time
2013-11-11 12:42:35 +01:00
Sebastian Grewe
629dfb58ed
[FIX] Name of Uptime Robot Setting
2013-11-11 12:30:36 +01:00
Sebastian Grewe
dc4d1b3b8e
[FIX] Class Warning on new pools
2013-11-11 12:24:54 +01:00
Sebastian Grewe
708de1c1b8
Merge pull request #838 from TheSerapher/issue-837
...
[FIX] Defaults via Smarty for empty settings
2013-11-11 01:03:12 -08:00
Sebastian Grewe
ef120d9504
[FIX] Skip uptime robot with defaults set
...
This will skip any updates if we detect the default string in our
settings table. Otherwise the script will return an error and disable
itself.
Fixes #839 once merged
2013-11-11 10:01:52 +01:00
Sebastian Grewe
253aa26f97
[FIX] Defaults via Smarty for empty settings
2013-11-11 09:43:48 +01:00
root
07e7bf59c0
[UPDATE] disabled pages and showing popup
2013-11-11 09:09:06 +01:00
root
be3421fa3b
[FIX] removed from acl, placed under system
2013-11-10 14:07:36 +01:00
root
4fea5de341
[SETTINGS] show/hide donors and about page
2013-11-10 11:06:20 +01:00
Sebastian Grewe
0164a7b918
[FIX] Wrong column name in worker tables
2013-11-09 16:29:27 +01:00
Sebastian Grewe
5f91cc45bf
[FIX] PHP error due to worker change
2013-11-08 16:31:04 +01:00
Sebastian Grewe
1cb23e7ecd
Merge branch 'next' of https://github.com/TheSerapher/php-mpos into next
2013-11-08 16:16:58 +01:00
Sebastian Grewe
1f491497bc
[IMPROVED] Cache active workers
2013-11-08 16:16:16 +01:00
Sebastian Grewe
8edfb88ee3
[FIX] Use default cointarget if unset
2013-11-08 10:41:40 +01:00
Sebastian Grewe
ae46d2496d
[IMPROVE] Merged block statistics
...
* Removed 24 Hour Shares totals
* Expanded Block Overview with shares stats
2013-11-07 17:00:30 +01:00
root
a7cda8fedc
[TEMPLATE] block stats in mmcfe
2013-11-07 15:27:39 +01:00
root
baa3c8ff3e
[UPDATE] removed unused stuff
2013-11-07 12:19:59 +01:00
root
9fa40eaf45
[FEATURE] added block finding rate - HINT new config setting cointarget
2013-11-07 12:14:37 +01:00
root
f8f8b0a997
[FEATURE] calculating-luck
2013-11-07 10:50:32 +01:00
Sebastian Grewe
3a120c4709
Merge pull request #828 from TheSerapher/optimize-blockstats
...
[IMPROVED] Block statistics
2013-11-07 00:16:13 -08:00
Sebastian Grewe
a0015103a2
Merge pull request #817 from TheSerapher/issue-773
...
Issue 773
2013-11-07 00:15:45 -08:00
Sebastian Grewe
c359b83d8d
[FIX] Surpress PHP notices on empty registration vars
2013-11-06 16:17:58 +01:00
Sebastian Grewe
a4ca4530a3
[IMPROVED] Block statistics
...
* [ADDED] Block over times stats to blocks stats page
* [CHANGED] Split default block stats page template up into subtemplates
* [IMPROVED] Single SQL Query for all Block Stats over Time
* [UPDATED] Templates for new SQL Data
2013-11-06 16:04:36 +01:00
Sebastian Grewe
c264555405
[FIX] Wrong settings variable
2013-11-06 14:48:00 +01:00
Sebastian Grewe
7785fbf8b7
[FIX] Settings return value on empty result
2013-11-06 14:47:25 +01:00
Sebastian Grewe
dd1ef86b81
[ADDED] Pool name to getpoolstatus API
2013-11-05 15:15:48 +01:00
Sebastian Grewe
5f2a7c01c4
[FIX] Removed empty error string
2013-11-05 14:41:25 +01:00
Sebastian Grewe
f67e63b6fc
[REFACTOR] Refactored classes for error handling
...
* [ADDED] More error codes
* [MODIFIED] Class updates to use Base Class all the time
* [MODIFIED] Cronjobs have been slightly adjusted
* [ADDED] More base class features
2013-11-05 14:34:31 +01:00