Commit Graph

1630 Commits

Author SHA1 Message Date
Sebastian Grewe
3676dbe9bf [UPDATE] Ignore test configuration files 2013-11-12 08:55:21 +01:00
Sebastian Grewe
e3d7fd6e81 [UPDATE] getdashboarddata pool info added 2013-11-12 08:50:01 +01:00
Sebastian Grewe
6a81aae8c8 Merge branch 'next' of github.com:TheSerapher/php-mpos into next 2013-11-11 17:36:09 +01:00
Sebastian Grewe
5f0e8638dd [UPDATE] E0003 SQL logging 2013-11-11 17:36: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
4378fc1a87 Merge pull request #840 from TheSerapher/issue-839
[FIX] Skip uptime robot with defaults set
2013-11-11 01:02:49 -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
Sebastian Grewe
91d43a1b7f Merge pull request #835 from TheSerapher/issue-715-block-id-fix
Issue 715 block id fix
2013-11-10 08:15:39 -08:00
Sebastian Grewe
3edd7671a4 [FIX] Removed debug exit 2013-11-10 17:15:03 +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
b125044123 Merge pull request #831 from TheSerapher/merge-blockstats
Merge blockstats
2013-11-08 01:42:14 -08:00
Sebastian Grewe
41f33bde1b [IMPROVE] Removed whitespace 2013-11-08 10:41:54 +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
Sebastian Grewe
98259e786c [IMPROVED] More SQL logging on failed DB events in crons 2013-11-07 15:58:12 +01:00
Sebastian Grewe
ae0f2cf082 Merge pull request #830 from iAmShorty/block-finding-rate
Block finding rate
2013-11-07 06:52:34 -08:00
root
a7cda8fedc [TEMPLATE] block stats in mmcfe 2013-11-07 15:27:39 +01:00
root
e92e0d7abb [FIX] default coin target in templates 2013-11-07 14:51:21 +01:00
root
dc990a5e64 [FIX] changed text 2013-11-07 13:48:49 +01:00
root
1bd6bfdd45 [FIX] calculation since first block found 2013-11-07 12:23:29 +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
90a000e7ee [FIX] division by zero 2013-11-07 11:18:48 +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
174e25e90a [FIX] Default pool to unknown if unset 2013-11-06 15:39:53 +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
a8b99484cc [FIX] Do not use Block Height to fetch prev block
This should fix issues with orhpan blocks followed by real ones with the
same height.

Fixes #715, attempt four!
2013-11-05 16:37:53 +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
Sebastian Grewe
04e2bf5932 [IMPROVED] More testing of error handling, block class 2013-11-05 08:19:16 +01:00
Sebastian Grewe
84bad3508e [FIX] Double error message in log 2013-11-05 07:28:07 +01:00
Sebastian Grewe
172444d3d8 [IMPROVED] Added logging failed SQL queries to payouts 2013-11-05 07:28:07 +01:00
Sebastian Grewe
e2623eb4cc [FIX] Disable mail notifications on disabled crons 2013-11-05 07:28:07 +01:00
Sebastian Grewe
ae45939fea [IMPROVED] Re-factored monitoring criticals/errors
* [ADDED] new monitoring method : endCronjob
* [IMPROVED] Use newly added error codes
* [ADDED] mail notifications, enabled by default
* [ADDED] cron disable on fatal errors with exit code != 0
* [ADDED] Command line swtich: -f = Force running crons even if disabled
* [ADDED] Disabled status in monitoring site

This will improve error handling in our cronjobs. Fatal errors now
require manual intervention by explicityly running crons with the force
option (`-f`). Until they are forced to run, crons will stay disabled.

Fixes #773 once merged
2013-11-05 07:28:07 +01:00