Commit Graph

142 Commits

Author SHA1 Message Date
Sebastian Grewe
ca1237c11c fixing admin user information table format 2013-06-14 17:52:56 +02:00
Sebastian Grewe
0817befaaa Further cleanup to reduce PHP notice warnings 2013-06-14 13:51:06 +02:00
Sebastian Grewe
d23d577368 always show 2 digit pool efficiency 2013-06-14 12:36:17 +02:00
Sebastian Grewe
c0870b3a48 Added more generic pool stats
* added pool efficiency based on valid and invalid shares
* added estimated shares progress based on est and valid shares
2013-06-14 11:58:41 +02:00
Sebastian Grewe
bee35325dc Only show 20 blocks for block graph
Graph dynamically expands if the blocks don't fit so it's now limited to
20 which should always fit well enough.
2013-06-14 11:38:00 +02:00
Sebastian Grewe
6f3912b6a2 fixed worker name in mail body 2013-06-14 09:58:54 +02:00
Sebastian Grewe
6f858188ad Adding pool and combined hashrate graphs
* Moving from My Graph to its own section: Hashrate Graphs
* Adding pool hashrate graph
* Adding combined hashrate graph and piechart

Fixes #187
2013-06-13 22:59:19 +02:00
Sebastian Grewe
90640d345e removing static-ish stats width, use table width instead 2013-06-13 22:26:12 +02:00
Sebastian Grewe
e7bb725da4 remove decimals for expected shares in graph 2013-06-13 22:03:21 +02:00
Sebastian Grewe
2b56423272 adding line graphs in block stats 2013-06-13 22:01:34 +02:00
Sebastian Grewe
12843fab14 adding new master template for tooltips 2013-06-13 22:01:18 +02:00
Sebastian Grewe
538c5ead88 properly sort blocks in graph 2013-06-13 17:09:59 +02:00
Sebastian Grewe
acc4880dd6 Adding block luck graph
* Added expected vs actual share graph to block stats
* Added new small table template for overall stats in pool stats

Fixes #91
2013-06-13 16:25:52 +02:00
Sebastian Grewe
dda1585353 Adding ReCaptcha support for account registration
* You will need to create a re-captcha account for your site
* Disabled by default to keep backwards compatability

Fixes #179
2013-06-13 14:47:33 +02:00
Sebastian Grewe
a703877122 Adding support do disable account registration
* Adding new configuration variable, see `global.inc.dist.php`
* If you are not able to register anymore check the config var is
* set

Requested in and fixes #150
2013-06-13 13:38:32 +02:00
Sebastian Grewe
01c859d5f5 proper number format for USD/Est 2013-06-13 13:25:33 +02:00
Sebastian Grewe
ba4a272442 reduced row size for time and difficulty 2013-06-13 13:25:08 +02:00
Sebastian Grewe
38f2ae5af7 adding proper avg shares calculation based on target diff and network diff 2013-06-13 13:24:46 +02:00
Sebastian Grewe
44851e35df Add admin/lock changes to admin panel
* Add clickable boxes for Admin and Locked status for all users
* Change status via Ajax call, script embedded to the admin page

Fixes #147
2013-06-13 11:36:28 +02:00
Sebastian Grewe
42b6d4b3b2 Adding support for user locking
* Currently no GUI, use DB access to change the row entry
* Upgraded Database table `accounts` with upgrade SQL
* Updated `admin` field to `is_admin` as boolean
* Modified pages, classes, templates to support is_admin and is_locked

Addresses #147
2013-06-13 11:36:28 +02:00
Sebastian Grewe
8859f0c091 forgot to add the actual files :/ 2013-06-13 09:21:08 +02:00
Sebastian Grewe
13fc01243e Adding configurable currency name to global config
Addresses #138
2013-06-13 09:21:07 +02:00
Sebastian Grewe
8b20d44ab7 Merge pull request #173 from lhpool/next
Added Usd/Day
2013-06-13 00:18:49 -07:00
lhpool
baed854bc9 Added Usd/Day
Added Est Usd/Day to stats
2013-06-12 19:22:40 +02:00
Sebastian Grewe
1b850ae67c Changing default statistics URL to pool
Fixes #170
2013-06-12 12:04:44 +02:00
Sebastian Grewe
4d51331883 trying new layout for stats page 2013-06-12 11:31:37 +02:00
Sebastian Grewe
a006ea782a Adding confirmed and unconfirmed balance
* Added SQL code to support both balances
* Added sidebar entries
* Modified auto_payout to use new index
* Mofified account page to use new index

Addresses #140 but needs to be tested!
2013-06-12 09:13:14 +02:00
Sebastian Grewe
eb42993c2b formatting some numbers 2013-06-11 16:32:53 +02:00
Sebastian Grewe
786926a328 fixing newline on footer 2013-06-10 20:39:41 +02:00
Sebastian Grewe
d2daed3317 Fixing montoring checkboxes
This will fix #163
2013-06-10 20:21:42 +02:00
Sebastian Grewe
b782857c41 Adding new config option payout_system
* Change templates based on the payout system used
* Modified sidebar for new PPS method

Further addresses #70
2013-06-10 18:56:28 +02:00
Sebastian Grewe
666fde91b6 adding PPS value to sidebard 2013-06-10 18:54:54 +02:00
Sebastian Grewe
4745a2f6f8 Adding support for PPS payout method
This commit changed a few things in the backend and classes code:

* Any <type>_PPS transaction does NOT need to be confirmed
* Queries updated for added <type>_PPS transactions
* Template updated to properly display these transactions

Cronjob

* Added pps_payput cron to run payouts based on worker submitted shares
* **IMPORTANT**: Can NOT be run with proportional_payout!

Addresses #70
2013-06-10 18:49:57 +02:00
Sebastian Grewe
56f3d57c35 further improved checkboxes 2013-06-10 18:37:14 +02:00
Sebastian Grewe
b1d698e686 Allow users to change their email address
* Added email to account page
* No confirmation required as of yet

Fixes #142
2013-06-10 10:54:57 +02:00
Sebastian Grewe
9e74175ca3 Make email mandatory during registration
Partially addresses #142
2013-06-10 10:45:46 +02:00
Sebastian Grewe
4e284895a8 Adding support for block finder bonus
* Added new configuration option `block_bonus`, see `global.inc.dist.php`, default 0
* Added new transaction types: `Bonus` and `Orphan_Bonus`
* Changes transaction table structure, added upgrade SQL
* Changed findblock cron to credit bonus to finder
* Modified transactions class to reflect changes

Fixes #148
2013-06-10 10:11:56 +02:00
Sebastian Grewe
bc485ec213 Merge pull request #151 from TheSerapher/issue-144
Issue 144 : Add notification handler and settings
2013-06-09 23:57:53 -07:00
Sebastian Grewe
bbffdeb689 Allow pagination on Transaction page
* Added pager to all three transaction tables
* Added two additional pagination definitions to JS
* Added pagination ID to pagination template
2013-06-09 16:38:12 +02:00
Sebastian Grewe
b2b853d3e0 Added manual payout notification
* Added mail template for manual payouts
* Added code to account page to notify via mail on payout
* Added new option to notification setting template

Adds another feature to #144
2013-06-09 15:24:58 +02:00
Sebastian Grewe
d723f4e8ef Adding notification on automatic payout
* Added new mail template
* Added notification code to auto_payout cron
2013-06-09 15:17:14 +02:00
Sebastian Grewe
4ea8b6c695 Adding new notification system for new blocks
* Modified findblocks cron
* Modified notifications cron for new structure
* Improved notification class
* Added new template for new_block type
* Moved idle_worker type template
* Added new_block type to notification settings
2013-06-09 14:26:18 +02:00
Sebastian Grewe
88ade9cfa3 Adding support for various notifications
* Adding new SQL upgrade for notifications
* Added support for per user notification settings
* Added account_id to notifications table
* Added new notification_settings table
* Added new account page: notifications

Addresses #144
2013-06-09 13:10:58 +02:00
Sebastian Grewe
4da9fd2369 Working notification system
* Added things to mail templates
* Modified user password reset call for new mail template
* Added BASEPATH to smarty code to ensure templates are compiled in the
  proper directory
* Updated mail and notification class
* Updated notification cron
* Added notification cron to run-cron list
2013-06-07 15:36:35 +02:00
Sebastian Grewe
9ac2dadd97 Progress on notifications
* Added main mail class
* notification class extends mail class
* Added mail template for IDLE workers
* Added notification table to SQL structure

This works already but once notified the status is not reset as soon as
a worker is active again. Need to think of a system to do that
automatically.

Addresses #116
2013-06-07 15:36:35 +02:00
Sebastian Grewe
c69fbe4fc4 Add worker montioring to template and worker class
* Add configurable monitoring for workers into template
* Store monitoring status in DB

First commit for #116
2013-06-07 15:36:35 +02:00
Sebastian Grewe
6802bac4b9 Merge pull request #132 from TheSerapher/issue-130
Re-Adding shares for admin user panel
2013-06-06 23:43:07 -07:00
Sebastian Grewe
4b05846a78 Re-Adding shares for admin user panel
* Re-enables estimations
* Still fixes #130 which had issues with hashrates, those are still
  fixed
2013-06-07 08:42:07 +02:00
Sebastian Grewe
c80fae30d2 Merge pull request #131 from TheSerapher/issue-130
Fixing admin panel user display
2013-06-06 23:34:40 -07:00
Sebastian Grewe
f63485a539 Fixing admin panel user display
* Fixes #130. Removed total shares in favor of the hashrate.
* Fixes hashrate display.
* Added pagination template file to include pagination on other pages in
the future.
2013-06-07 08:33:14 +02:00