Sebastian Grewe
4eb6c59cb3
Refactored getTransactions, unified admin/user view
...
* Removed getAllTransactions method
* Unified getTransactions for users and admins
* Added filter abilities to user transaction view
This should speed up things a fair bit for transaction heavy pools.
Addresses #536
2013-08-01 11:00:54 +02:00
Sebastian Grewe
fd8b07f02a
Removing orphaned credits from Sidebars
...
This will remove some confusion for users.
Addresses #524
2013-07-31 08:59:02 +02:00
Nicolas Schteinschraber
5a377d6106
Issue #537
2013-07-31 03:44:49 -03:00
Sebastian Grewe
86633e1603
Adding JS/CSS code to project
...
Instead of calling remote sites, deploy the JS and CSS locally. Will
allow HTTPs sites to work properly.
Fixes #521
2013-07-24 16:37:22 +02:00
Sebastian Grewe
c0b0d438b8
Catch errors on missing templates
...
Pages that are missing a template will cause a error 500. We now catch
this and display a default string.
Fixes #513
2013-07-24 14:56:34 +02:00
Sebastian Grewe
b5eca59e58
Fixing alignment in mobile template
...
Addresses #514
2013-07-24 11:41:12 +02:00
Sebastian Grewe
e760cbdc03
Fixing mobile templates
...
Addresses #514
2013-07-24 11:39:59 +02:00
Sebastian Grewe
3f62612af9
Fixing mobile templates too
2013-07-24 11:30:16 +02:00
Sebastian Grewe
eca77d551c
Changed percentages for invalids, pool efficiency
...
This should address #514 with negative efficiencies. Formulas were
wrong.
Will fix #514 when merged.
2013-07-24 10:00:27 +02:00
Sebastian Grewe
777e160cf3
cleaning PHP Notice from log
2013-07-23 16:55:05 +02:00
Sebastian Grewe
35d1f5fa92
Merge pull request #498 from TheSerapher/manual-payout-cron
...
Adding manual payout cron
2013-07-23 05:36:49 -07:00
Sebastian Grewe
4f46e9f781
remove worker monitoring if notifications are disabled
2013-07-23 13:11:39 +02:00
Sebastian Grewe
760f1a679e
Allow admin to disable notification system
...
This addresses #497 and allows the admins to disable notifications
through the admin panel. Might be used by those relying on clients using
the API instead.
Once merged it will fix #497 .
2013-07-23 13:06:38 +02:00
Sebastian Grewe
a6c8d507dc
Merge pull request #501 from TheSerapher/issue-260
...
Issue 260
2013-07-23 03:55:20 -07:00
Sebastian Grewe
9c2cefd2c3
adding blockexplorer link if URL configured
2013-07-23 12:10:32 +02:00
Sebastian Grewe
24a277312c
fixing TXFee display and filter
2013-07-23 12:01:45 +02:00
Sebastian Grewe
fb24ad81ae
fixing php warning
2013-07-23 11:52:01 +02:00
Sebastian Grewe
9899507839
Fix some reported issues in #260
2013-07-23 11:05:45 +02:00
Sebastian Grewe
63b942a7e1
Adding No Fee option to admin panel
...
Admins can disable a users fee via admin panel now.
Fixes #260
2013-07-23 10:56:45 +02:00
Sebastian Grewe
330169ae58
more fixes and log cleanup
2013-07-23 10:53:47 +02:00
Sebastian Grewe
ed259a5b44
properly deal with Fee_PPS and Donation_PPS
2013-07-23 09:21:11 +02:00
Sebastian Grewe
61cea524d1
properly use limit for pagination
2013-07-23 09:18:50 +02:00
Sebastian Grewe
1a5d216b7a
Allow adjusting the tx row limit
2013-07-23 09:08:57 +02:00
Sebastian Grewe
1d6cbd44a6
Adding new admin transaction view
...
* Added transaction filters
* Added proper paging support
* Removed the tabs that caused confusion
* Added transaction status column
Fixes #404
2013-07-23 09:03:36 +02:00
Sebastian Grewe
2c3eac1f67
proper coloring for start/end times
2013-07-22 16:47:50 +02:00
Sebastian Grewe
4b6582ac35
More colorful monitoring output
...
* Added colorized start/end times
* Added Success/Error image for Active status
* Added color to runtime status
2013-07-22 16:42:23 +02:00
Sebastian Grewe
44c31fe630
Merge pull request #500 from TheSerapher/issue-488
...
Admin Panel Setting to disable/enable AP/MP
2013-07-22 05:55:12 -07:00
Sebastian Grewe
36a74b0bbf
Fix transaction table, adjust transaction class
...
* Ensure we also check newly added blocks for unconfirmed tx
* Only list orphaned transactions in the orphaned tab
Fixes #490
2013-07-21 17:25:09 +02:00
Sebastian Grewe
7d801a561c
Fixing Orphan showing as unconfirmed
...
* Fixes orphaned transactions showing as unconfirmed too
* Fixes transaction tables to show orphaned credits in green, not red
Fixes #490
2013-07-21 08:20:53 +02:00
Sebastian Grewe
7fce187ab0
Admin Panel Setting to disable/enable AP/MP
...
This will allow admins to temporarily or permanantly enable and disable
auto and manual payout processing.
Fixes #488
2013-07-19 11:12:28 +02:00
Sebastian Grewe
5f161cdbb0
Merge pull request #487 from TheSerapher/issue-486
...
Adding notifications and start/end times
2013-07-18 06:42:15 -07:00
Sebastian Grewe
6641cf7f5c
Adding notifications and start/end times
...
Fixes #486
2013-07-18 15:41:52 +02:00
Sebastian Grewe
7cf3ff3d88
Fix anonymous detection in share contributors list
...
Fixes #484
2013-07-18 13:55:05 +02:00
Sebastian Grewe
1cd39099ee
Merge pull request #483 from TheSerapher/issue-446
...
Issue 446
2013-07-18 02:05:45 -07:00
Sebastian Grewe
a655abddbf
fixing mobile template
2013-07-18 11:05:09 +02:00
Sebastian Grewe
33a058dc4b
Merge pull request #482 from TheSerapher/issue-467
...
Issue 467
2013-07-18 01:49:47 -07:00
Sebastian Grewe
b57f6b59a1
Disable API on mobile theme if disabled
2013-07-18 10:49:16 +02:00
Sebastian Grewe
73ec707381
Adds blockhash to blockexplorer URL
...
* Changed blockexplorer URL to use Blockhash instead of height
* Added calls to find current networks blocks blockhash
* Propagated changes onto temmplate
* Added new dist configuration for new blockexplorer URL
Fixes #446
2013-07-18 09:43:16 +02:00
Sebastian Grewe
72ed08c92c
Adding tooltip help for anonymous account flag
...
Fixes #459
2013-07-18 09:30:44 +02:00
Sebastian Grewe
8393053641
Disabel API references if API disabled
...
This will turn off displaying any API references and links when API was
turned off in the configuration.
Fixes #467
2013-07-18 09:04:59 +02:00
Sebastian Grewe
7b929ed3e4
Fixing PHP Warning on resetting failed login count
...
Addresses #330 and further cleans PHP Log
2013-07-15 16:16:40 +02:00
Sebastian Grewe
7f4f5cd343
Make invitations configurable via admin panel
...
Invitations can now be configured through admin panel settings. By
default, invitations are enabled. Invitation system is also available if
registrations are disabled. To completely remove the ability of new
users to sign up, disable both registration and invitations.
Fixes #330
2013-07-15 12:43:29 +02:00
Sebastian Grewe
bd32dfa9f8
Adding invitation system to mmcfe-ng core
...
This will allow users to send invitations to other people via email.
Each account will still need to confirm the email address if the option
is enabled.
Addresses #330 , will need to allow pool operators to enable this feature
even with registrations turned off.
2013-07-15 12:26:31 +02:00
Sebastian Grewe
0ede05a6fd
Adding email verification
...
* Adding mail verification during account registration
* Added new dist file option for mail verification
* Added account confirmation page using tokens
* Added mail class into user class for password resets
* Moved password reset template
* Adjusted account registration page
* Adjusted user class for email confirmation
Also fixed a bug with smarty_cache_key not being used properly if smarty
is disabled. Key still needs to be available even if caching is disabled
Addresses #330 and prepare the ticket for invitation only system.
2013-07-15 12:26:31 +02:00
Sebastian Grewe
29d5d36a7e
WiP for one time tokens
...
* Added token type class
* Storing Token Type as ID not varchar
* Added new system to user class and fixed issues with it
* Started on mail verification process in user class
* Updated autoloader
* Updated change password template
Addresses #330
2013-07-15 12:26:31 +02:00
Sebastian Grewe
8ec1d2cab3
Adding anonymous account support
...
* Added anonymous flag to accounts table
* Added checkbox for anonymous flag in edit account page
* Updated user class to support new flag
* Updated statistics class to support anonymous and donations
* Updated all templates showing usernames to show anonymous instead
* Added new SQL `ALTER TABLE` file for upgrading the table
Fixes #419 once merged.
2013-07-12 10:33:42 +02:00
Sebastian Grewe
ab620f1fe0
Merge pull request #443 from TheSerapher/issue-432
...
Get rid of Orphan transaction types
2013-07-12 00:46:45 -07:00
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
dfde017267
Get rid of Orphan transaction types
...
This fixes #432 and puts orphans on the same system as unconfirmed
transactions.
2013-07-11 14:26:53 +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
Sebastian Grewe
b89561df78
Proper fix for top estimates being 0
...
Properly fixes #314
2013-07-01 17:53:57 +02:00
Sebastian Grewe
31d898cbc1
Adding configurable website title
...
Fixes #310
2013-07-01 17:21:12 +02:00