Commit Graph

237 Commits

Author SHA1 Message Date
Sebastian Grewe
e0d43141b5 Merge pull request #438 from TheSerapher/issue-431
Adding last runtime to monitoring page
2013-07-11 07:45:38 -07:00
Sebastian Grewe
7466689b50 further escapes on templates 2013-07-11 15:55:32 +02:00
Sebastian Grewe
08359c0d19 Further escaping of user inputs 2013-07-11 15:53:38 +02:00
Sebastian Grewe
5b50422675 Fixing XSS for user registration 2013-07-11 15:49:08 +02:00
Sebastian Grewe
875572813b Adding last runtime to monitoring page
Displays the date/time of the last successful run.

Fixes #431
2013-07-11 13:25:22 +02:00
Sebastian Grewe
ed573e6e46 Merge pull request #428 from TheSerapher/issue-418
Issue 418
2013-07-11 03:35:50 -07:00
Sebastian Grewe
bffeea07c9 Adding cache detection to many pages
This will allow pages to skip loading data from backends like the
database or the wallet RPC server. If a cached page is detected and
valid, all dynamic content generation will be skipped completely.

Other pages that have not been adjusted in this commit will still fetch
backend data all the time. This will ensure clients always see the most
recent data, like worker information or account changes.

This should fix #309 completely but needs some testing.
2013-07-11 09:02:34 +02:00
Sebastian Grewe
3c426e913b Adding {nocache} flags for dynamic content
This will update content instantly once the user changes it and not load
a cached version from the smarty cache.

Addresses #309
2013-07-11 08:58:19 +02:00
Sebastian Grewe
39d1193e6a Add default value for active pool workers
Fixes #418
2013-07-11 08:51:40 +02:00
Sebastian Grewe
271f7f8381 Better monitoring layout 2013-07-10 11:39:16 +02:00
Sebastian Grewe
a6d752a096 adding some defaults on template 2013-07-10 10:45:10 +02:00
Sebastian Grewe
94d9c1eb4c Added cronjob monitoring to admin panel
* Added monitoring class to deal with monitoring events
* Added event calls to all important cronjobs
* Added cron_end include file for monitoring cleanups on successful runs
* Added Monitoring to autoloader
* Modified account page to check for running auto_payout in monitoring
* Added monitoring to Navigation bar
* Added monitoring controller page

Fixes #415
2013-07-10 10:40:11 +02:00
Sebastian Grewe
70644b4299 Merge pull request #413 from TheSerapher/issue-408
Issue 408
2013-07-09 14:22:33 -07:00
Sebastian Grewe
2f2acdad6d First working version of PPLNS payouts
* Based PPLNS on Prop Payout script
* Using defaults from prop payout, no class adjustments
* Added more methods required for PPLNS
* Added block methods for dynamic payout calculations
* Added PPLNS Sidebar that also displays the PPLNS Target
 * Shares beyond this target will not be included in payouts
 * Shares missing to this target will be added from archives
* Enabled archiving by default for PPLNS
* Added configuration options for PPLNS
 * Documented the usage for PPLNS, defaults are sane
* Added pplns_payout to run-crons

Addresses #143 and if accepted will fix it
2013-07-09 21:59:44 +02:00
Sebastian Grewe
5acebc37d3 Allow guest access to pages with config options
This will allow pool owners to make certain pages public accessible
without user registration or login. Please check the config dist file
for details.

Fixes #408
2013-07-09 16:13:43 +02:00
Sebastian Grewe
3da5a226e1 Better number format for est. shares 2013-07-08 15:42:23 +02:00
Sebastian Grewe
308b01c700 Better number format for block percentages 2013-07-08 15:40:21 +02:00
Sebastian Grewe
1c2891cc78 Removed piechart, removed no shares notification
* Removed broken piechart for now
* Do not display message if no shares are found for calculations to
  avoid cross-tabe error messages

Fixes #312
2013-07-08 08:54:17 +02:00
Sebastian Grewe
952c8732b1 Properly display piechart, first attempt
Should further address #312
2013-07-07 22:15:40 +02:00
Sebastian Grewe
fdb562b078 Fixing PHP warning message for empty price var
Fixes #375
2013-07-06 17:57:37 +02:00
Sebastian Grewe
0719958353 Merge pull request #386 from TheSerapher/issue-380
Change message on empty donor list
2013-07-05 23:39:20 -07:00
Sebastian Grewe
c4592d2b6f Merge pull request #384 from TheSerapher/issue-315
Further attempt to clean up transactions list
2013-07-05 14:49:01 -07:00
Sebastian Grewe
0d5653dda0 Change message on empty donor list
This fixes #380.
2013-07-05 23:28:51 +02:00
Ilya Stromberg
7a0f08d3d0 (#376) Fix HTML/CSS markup at Statistics page 2013-07-05 21:16:51 +04:00
Sebastian Grewe
7a194a6293 Further attempt to clean up transactions list
This hopefully cleans out remaining PHP warnings and table issues with
no/partial transactions available. Please test this out and report back
in #315.
2013-07-05 15:30:51 +02:00
Sebastian Grewe
5654f38154 remove link to block when blockexplorer empty 2013-07-05 11:04:56 +02:00
Sebastian Grewe
a0243ee31e allow empty blockexplorer URL 2013-07-05 09:47:44 +02:00
Sebastian Grewe
3d942e8434 Adding getpoolstatus API Method
Fixes #369
2013-07-04 13:26:58 +02:00
Sebastian Grewe
b8771091fb Adding link to JSON API to server stats page 2013-07-04 13:26:03 +02:00
Sebastian Grewe
425b821618 Link API key to User API Call
Fixes #367
2013-07-04 13:01:48 +02:00
Sebastian Grewe
f3dd9caa2c Added 8 digit estimates precision and balance
This expands the prevision for LTC estimates to 8 digits. Since the
sidebar was widened, they should fit for most resolutions.
2013-07-04 12:17:09 +02:00
Sebastian Grewe
4a8cc8f884 Merge pull request #362 from TheSerapher/issue-336
Remove link on mobile if chaininfo empty
2013-07-04 01:40:39 -07:00
Sebastian Grewe
bc1ca7feb3 Fixing mobile template warning on reset pw 2013-07-03 19:12:32 +02:00
Sebastian Grewe
ce5a8f7240 Fix PHP Warnings on Password Reset page
* Added HTML5 required to username field
* Added empty string check to resetPassword method

Fixes #348
2013-07-03 14:25:14 +02:00
Sebastian Grewe
382fddb528 Remove PHP Warnings from worker page
* Added HTML5 required flags for username/passwords
* Added empty string check in addWorker method

Fixes #347
2013-07-03 14:21:05 +02:00
Sebastian Grewe
24473ee98f Remove link on mobile if chaininfo empty
* Remove URL from Difficulty on stats page if chaininfo is empty
* Added note to global dist configuration file

Fixes #336
2013-07-03 07:52:38 +02:00
Sebastian Grewe
bba15719db Do not use link difficulty if chaininfo unset
Fixes #336
2013-07-02 21:15:44 +02:00
Sebastian Grewe
03e8ee0c46 Re-adding default My Account link
Fixes #338
2013-07-02 21:11:48 +02:00
Sebastian Grewe
c8f662f91d Show nethash rate in MHash/s not GHash/s
* Easier to compare directly with pool hashrate
* Better display format for low nethash rate coins

Fixes #331
2013-07-02 13:28:51 +02:00
Sebastian Grewe
f3caa80d80 Merge pull request #334 from TheSerapher/issue-327
Potential fix for PHP Warning
2013-07-02 02:00:15 -07:00
Sebastian Grewe
535f13c184 Fixing PHP Warnings in Registration page
* Fix API Key generation not using SALT when creating hash
 * This should not affect existing API keys since hashes are compared
* Fix PHP Warning for RECAPTCHA if disabled

Fixes #328
2013-07-02 10:38:23 +02:00
Sebastian Grewe
9e306bf06e Potential fix for PHP Warning
This should fix #327
2013-07-02 09:00:01 +02:00
Sebastian Grewe
5a40e38635 Properly display network hashrate in ghash 2013-07-01 18:44:34 +02:00
Sebastian Grewe
c157a76551 Adding network hashrate to ministats header
Fixes #325
2013-07-01 18:41:18 +02:00
Sebastian Grewe
e0c1c3edf1 Adding reference for API documentation
This is a simple version since API documentation is already documented
on the GitHub Wiki.

Fixes #323
2013-07-01 18:34:08 +02:00
Sebastian Grewe
19a0eeb8a1 Adding colorized percentage
As requested by @obigal this will add colorized percentage:

* Above 100% it's red
* Below or even 100% it's green

Fixes #321
2013-07-01 18:27:41 +02:00
Sebastian Grewe
ce69fb6375 Merge pull request #320 from TheSerapher/issue-310
Proper fix for #310
2013-07-01 09:04:07 -07:00
Sebastian Grewe
fde7ea1507 Proper fix for #310
Too many tasks at the same time, but this time fixed, for real.
2013-07-01 18:03:11 +02:00
Sebastian Grewe
46f39723de Display block amount/value on block list
Fixes #318
2013-07-01 18:01:03 +02:00
Sebastian Grewe
ae9f8402af Merge pull request #317 from TheSerapher/issue-314
Issue 314
2013-07-01 08:55:23 -07:00