Commit Graph

83 Commits

Author SHA1 Message Date
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
8ee987a98d Adding reference to API on public stats page
Addresses #113
2013-06-05 15:31:53 +02: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
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
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
Sebastian Grewe
60789b9332 adding user ID to table 2013-06-04 11:55:36 +02:00
Sebastian Grewe
065f5e6d16 Adding working user admin panel to query user DB
* Users are all fetched from the DB
* Each user is assigned special stats
 * Hashrate
 * Shares
 * Balance
 * Est. Payout
 * Est. Donation
* Display in sortable and paginated table

This is not well optimized. Each user stats are grabbed individually
via the stats and transaction classes. It would probably make sense to
expand the statistics class to list a full user list with all statistics
available instead to cover this in a single SQL query.
2013-06-04 11:34:22 +02:00
Sebastian Grewe
ed0853202b Initial file import for admin panel
* Added isAdmin to user class
 * Run isAdmin on EACH page to ensure admin status hasn't changed
* Added main page with no content
* Added user query page with basic form, no content
2013-06-04 09:15:55 +02:00
Sebastian Grewe
bdcc3f747c Addressing #96, missing difficulty on stats page
* Properly assign template variable
* Removed unneeded additional template
2013-06-04 09:08:30 +02:00
Sebastian Grewe
da1d7daaa2 Removed warning from worker list
* Workers can safely be removed even during a round
2013-06-03 20:54:58 +02:00
Sebastian Grewe
8a50e14f0b Fixing minor template issues
* Fixed donation link in userinfo bar
* Fixed sidebar table format with proper width
2013-06-03 12:30:37 +02:00
Sebastian Grewe
3eb652402f adding est. shares for a block based on est time and share rate 2013-06-03 08:59:12 +02:00
Sebastian Grewe
b2725fbce5 Getting rid of various PHP notice warnings
* Assigned empty defaults on templates
* Added some variable checking
2013-05-31 11:56:56 +02:00
Sebastian Grewe
10266959a5 removed More button for blocks 2013-05-29 20:59:08 +02:00
Sebastian Grewe
2376c82c79 default to n/a on template if no value is stored yet 2013-05-29 10:59:10 +02:00
Sebastian Grewe
cdfb074076 Re-adding LTC/usd to website ministats header
* Use tickerupdate.php cron to update setting value
* Added new configuration variables for ticket updates
* Added some missing configuration vars for some URLs
2013-05-29 10:56:08 +02:00
Sebastian Grewe
ddc1446a2b removing API reference since it is split into many methods now 2013-05-28 16:01:53 +02:00
Sebastian Grewe
2548d4b03d add API key back to account details
Fixes #73.
2013-05-28 15:35:28 +02:00
Sebastian Grewe
c258a4860a updated support information 2013-05-28 15:24:16 +02:00
Sebastian Grewe
d44c236f2b Adding support for orphan blocks
* Adjusted blockupdate cronjob
 * Fetch block information via `gettransaction`
* Adjusted block class
 * Only getAllUnconfirmed where confirmations > -1
* Adjusted transaction class
 * added setOrphan method to mark orphaned transactions
* If block is orphaned
 * Mark all related transactions as Orphan_*type*
 * Set confirmations of block to -1 so it is ignored and marked as orphan
* Change transaction template, added listing for orphan transactions
* Add orphan status to block listings template
2013-05-27 14:44:40 +02:00
Sebastian Grewe
436aed65f1 fixing margin between sidebar and content 2013-05-27 12:45:22 +02:00
Sebastian Grewe
3d5eddecb8 added more number formatting in sidear 2013-05-26 20:44:34 +02:00
Sebastian Grewe
510d366a9e removing PPLNS references since pool runs propotional system for now 2013-05-26 20:30:29 +02:00
Sebastian Grewe
3849454a2e Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next 2013-05-26 20:29:58 +02:00
Sebastian Grewe
34de1ae36e removing PPLNS about page since pool is running propotional system for now 2013-05-26 20:29:05 +02:00
Sebastian Grewe
587e5ba9a7 better alignment of numbers in some tables 2013-05-26 20:23:38 +02:00
Sebastian Grewe
93d0ec06a6 adding proper headers for HTML mail 2013-05-25 12:25:41 +02:00
Sebastian Grewe
787942b6f9 working version of password reset with one time token 2013-05-25 12:08:51 +02:00
Sebastian Grewe
841d986726 initial work on password reset, not working fully yet 2013-05-25 10:58:53 +02:00
Sebastian Grewe
30a46979b9 adding configurable block explorer and chain info URLs 2013-05-24 16:16:53 +02:00
Sebastian Grewe
7b8aec1699 Merge pull request #57 from TheSerapher/block-stats
adding block status page for past 30 blocks, no graphs yet
2013-05-24 06:57:43 -07:00
Sebastian Grewe
b771920210 adding block status page for past 30 blocks, no graphs yet 2013-05-24 15:57:14 +02:00
Sebastian Grewe
1c5bd14646 removed hard link to index.php 2013-05-24 08:51:25 +02:00
Sebastian Grewe
3c99fef939 Merge pull request #56 from WKNiGHT-/patch-2
Fix broken link for workers
2013-05-23 14:10:18 -07:00
WKNiGHT-
5e8df562fc Fix broken link for workers 2013-05-23 15:48:29 -05:00
WKNiGHT-
89f9673ec0 fix common link backs for register and worker 2013-05-23 15:43:14 -05:00
Sebastian Grewe
e078c5447a properly highlight user in top tables even if row is of class even 2013-05-22 17:09:49 +02:00
Sebastian Grewe
c30bd0ee60 fixing LTC/day display from earlier commit 2013-05-22 16:03:16 +02:00
Sebastian Grewe
eae1f564dd adding proper difficulty when not authenticated 2013-05-22 16:00:27 +02:00
Sebastian Grewe
f42b4d81ca adding user to top stats to always display even if not part of results 2013-05-22 15:45:32 +02:00
Sebastian Grewe
7b2c8e1725 fixing pool fee display, thanks @lhpool 2013-05-21 22:21:49 +02:00
Sebastian Grewe
2c890d2bd5 fix display of fee amount, based on est. block payout 2013-05-21 22:17:36 +02:00
Sebastian Grewe
6429b2b442 adding support for pool fees 2013-05-21 13:57:49 +02:00
Sebastian Grewe
09671131e6 properly display payment address in transactions log 2013-05-20 21:01:55 +02:00
Sebastian Grewe
e4732f55ca adding support for user donations, added all required changes into this commit 2013-05-20 19:38:21 +02:00
Sebastian Grewe
6ffaece837 allow caching to be more transparent and configurable 2013-05-17 16:25:45 +02:00