Sebastian Grewe
6aefea6b6f
[FIX] Better error handling
2014-01-10 16:41:05 +01:00
Sebastian Grewe
0b43c66e67
[CLEANUP] Removed newline
2014-01-10 16:34:36 +01:00
Sebastian Grewe
90a8404bab
[CLEANUP] Code cleanup, error checking
...
Fixes #1315 once merged.
2014-01-10 16:34:36 +01:00
myrinx
fca7bd7b3d
Update global.inc.dist.php
...
removed wallet address :)
2014-01-10 16:34:36 +01:00
myrinx
be77b05b12
Update global.inc.dist.php
...
added config variabled for the liquid_payout.php cronjob
2014-01-10 16:34:36 +01:00
myrinx
a37ebd2db8
Update version.inc.php
...
changed config to 0.0.2 to support liquid_payout.php cron
2014-01-10 16:34:36 +01:00
Sebastian Grewe
627b7a17ff
[FIX] Catch jsonRPC exceptions
...
Fixes #1339 once merged.
2014-01-10 16:20:24 +01:00
Chris Polderman
5981489925
issue-1336
2014-01-10 14:15:41 +01:00
Sebastian Grewe
10dbcd471d
[IMPROVE] Enable SSL on recaptcha_get_html
...
Fixes #1334 once merged.
2014-01-10 11:00:00 +01:00
Sebastian Grewe
19094e73e3
Merge pull request #1271 from drainx/next
...
JSON-RPC
2014-01-09 22:11:35 -08:00
Sebastian Grewe
c16945d564
Merge pull request #1313 from TheSerapher/issue-1233
...
[IMPROVED] Auto-escape all used smarty variables
2014-01-09 22:11:12 -08:00
Sebastian Grewe
a2a6f36c1f
[IMPROVED] Auto-escape all used smarty variables
...
http://www.smarty.net/docs/en/variable.escape.html.tpl
Addresses #1233
2014-01-09 11:10:47 +01:00
Sebastian Grewe
eafb241bde
[REMOVED] Support page code
2014-01-09 09:11:33 +01:00
Sebastian Grewe
6e99806479
[REMOVE] Uneeded, useless support page
...
* Removed support page templates
* Changed navigation to contact
* Modified contact form behaviour on enable/disable events
This fixes #1300 . It wasn't clear which templates needed to be edited
for the contact form to work.
2014-01-09 09:09:14 +01:00
Andrea Baccega
7fd258fab4
Fixed documentation typos.
2014-01-07 15:56:47 +01:00
Sebastian Grewe
549477a7ad
[ADDED] User overview in admin dashboard
...
* Total users
* Locked users
* Admin users
* No Fees users
Thanks @daygle for the suggestion!
Fixes #1277 once merged
2014-01-07 10:32:34 +01:00
Sebastian Grewe
ef28547940
Merge branch 'next' of https://github.com/TheSerapher/php-mpos into next
2014-01-07 09:40:02 +01:00
Sebastian Grewe
727b082059
[FIX] Registration password lenght, API class default time
2014-01-07 09:39:43 +01:00
drainx
f7b087df98
Small human error fix.
2014-01-06 18:29:23 -06:00
drainx
5a1c693fa6
Move from XML-RPC to JSON-RPC.
2014-01-06 17:34:54 -06:00
Sebastian Grewe
5ce2662ae5
Merge pull request #1246 from TheSerapher/issue-1242
...
[INITIAL] Working version checks
2014-01-06 08:05:32 -08:00
Sebastian Grewe
cfe47ed787
[FIX] Caching issues with hybrid templates
...
* Create subfolders for cache/compiled files for themes
Fixes #1016 once merged.
2014-01-06 10:52:21 +01:00
Sebastian Grewe
3f1e74e381
[UPSTREAM] Upgraded smarty libraries
...
Fixes #1249 once merged.
2014-01-05 13:41:41 +01:00
Sebastian Grewe
2568ced4d4
[INITIAL] Working version checks
...
* Check DB structure version, config file version and MPOS core version
* Added new Admin Dashboard to show this core information
* Cronjobs will be disabled if SQL files are not imported
* SQL files must re-set the db_upgrade_required setting
* Cronjobs will disabled if config files are not updated
* Simple config file update and version string update will fix this
* Added MPOS status overview
* Cronjobs and Wallet information for now, others may be added later
* Added new navigation link for Admin Panel Dashboard
* Added new version file
* Will require updates whenever DB or configs are updated
* Update SQL file that adds the DB_VERSION setting
This will address #1242 and already includes a huge chunk of changes
required to make this work.
2014-01-05 11:19:09 +01:00
Sebastian Grewe
8fcd59eeea
[ADDED] Account unlock mail on failed PIN
2014-01-02 13:28:33 +01:00
Sebastian Grewe
878fa1c1c8
[IMPROVED] Unlock notification mails on auto-locks
...
* Added new token type: account_unlock
* Added update SQL File
* Updated base structure with new token type
* Added empty template
* Updated user class to send mail on failed passwords
* Added unlock account page to use tokens
Addresses #670
2014-01-02 11:51:22 +01:00
Sebastian Grewe
5c5db8dc93
Merge pull request #1191 from TheSerapher/issue-1181
...
Issue 1181
2014-01-02 02:08:19 -08:00
Sebastian Grewe
e8d460cfe6
[UPDATE] Removed debug echo output
2014-01-02 11:05:49 +01:00
Sebastian Grewe
67a6d9aff4
[UPDATE] Coding style
2014-01-02 11:05:07 +01:00
Sebastian Grewe
4c3421cc8a
Merge pull request #1165 from Neozonz/issue-1164
...
Initial commit for pin reset functionality
2014-01-02 02:02:37 -08:00
Sebastian Grewe
dc81ad3123
Merge pull request #1166 from TheSerapher/issue-1159
...
Issue 1159
2014-01-01 02:11:02 -08:00
Sebastian Grewe
e762bb0391
[IMPROVED] Use data interval on getuserworkers
2014-01-01 09:08:09 +01:00
Sebastian Grewe
6656e47fdc
[FIX] Spelling error
...
Fixes #1192 once merged
2014-01-01 08:39:49 +01:00
Sebastian Grewe
731985b30f
[IMPROVED] Token expiration timers
...
* Added new SQL file to update tokentypes table
* Added new function to base class
* Renamed function in base class used in shares class
* Added new error code
* Added new cronjob to delete expired tokens
* Added new cronjob to run-cron scripts and monitoring page
* Added new function to tokentype class
* Added new function to token class
Will address #1181 once merged.
2013-12-31 22:31:47 +01:00
Sebastian Grewe
82efbb4609
Merge branch 'issue-1185' into next
...
Conflicts:
public/templates/mpos/global/navigation.tpl
2013-12-31 17:11:03 +01:00
Sebastian Grewe
ee02445b7d
Merge branch 'issue-965' into next
...
Conflicts:
public/templates/mpos/master.tpl
2013-12-31 16:27:16 +01:00
Sebastian Grewe
4026eec570
Merge pull request #1187 from TheSerapher/issue-1159-dashboardsplit
...
[IMPROVED]
2013-12-31 07:19:11 -08:00
Sebastian Grewe
4a98724fc5
[FIX] Disallow to post messages for guests
...
* Disallow to post messages if guest forms are disabled
2013-12-31 16:17:02 +01:00
Sebastian Grewe
a8a7d2c52f
[IMPROVED] Allow contactform for guests
...
* Added admin option to disable access to contactform for guests
* Propagated new option to templates
Fixes #1185
2013-12-31 16:14:56 +01:00
Frederick Behrends
f333bdcc0e
moved blockchainsettings to extra page in admin settings
2013-12-31 04:39:27 +01:00
Frederick Behrends
3b980cbf5d
[IMPROVMENT] Added option to link transaction-ids to transaction on blockchainwebsite
2013-12-31 04:25:47 +01:00
Sebastian Grewe
8e4c56d597
[IMPROVED]
...
Splitting dashboard calls up instead of using one single API call:
* Use getuserbalance for Balance updates
* Use getuserworkers for Worker updates
For those and potential other SQL intensive Ajax calls I have added a
long ajax refresh interval setting. It can be set via admin panel and
will change the refresh time on the JS file on the dashboard for those
two calls.
Should help a bit with high worker and transaction volume pools.
Address #1159
2013-12-30 19:23:27 +01:00
Neozonz
5e401bd6dd
fixed indent
2013-12-30 09:17:22 -08:00
Sebastian Grewe
2c18abf8be
[SECURITY] Better token generator
2013-12-30 12:15:36 +01:00
Sebastian Grewe
abb3688e56
[FIX] Hardcoded confirms removed
2013-12-30 12:05:33 +01:00
Sebastian Grewe
48a4edad5b
[FIX] Proper account summary
2013-12-30 12:02:38 +01:00
Sebastian Grewe
de302a03dc
[IMPROVED] data gathering for Auto Payout
...
* Using improved SQL query created by @feeleep75
* Adjusted the query to further cut down the data returned
Fixes #1159 once merged.
2013-12-30 11:57:29 +01:00
Neozonz
e3db7e0a02
Initial commit for pin reset functionality
2013-12-30 03:29:20 -05:00
Sebastian Grewe
96d096f669
[MERGE] Fix merge conflict
2013-12-30 08:19:13 +01:00
Sebastian Grewe
f4a1110c48
Merge pull request #1089 from TheSerapher/issue-1043
...
Issue 1043
2013-12-28 12:23:23 -08:00
Sebastian Grewe
bac119dcc8
Merge pull request #1132 from poolpm/patch-1
...
[FIX] Wrong behavior on Edit Account with no addy
2013-12-28 12:18:05 -08:00
neonbunny
f94e48eb89
Fix for reflected XSS security issue.
2013-12-28 17:34:09 +00:00
poolpm
c9215475b0
[FIX] Wrong behavior on Edit Account with no addy
...
When an account is edited and no payment address has been set, the following non-sense message appears:
Unable to connect to RPC server for coin address validation
This patch fixes the issue and allows profile to be edited with no payment address
2013-12-27 16:21:25 +01:00
Sebastian Grewe
91e7413539
Merge pull request #1125 from TheSerapher/issue-1118
...
[SECURITY] Fixed exploit in token types
2013-12-26 15:40:00 -08:00
Sebastian Grewe
b16d9afcad
[SECURITY] Fixed exploit in token types
...
Fixes an exploit due to missing check of token type used.
Fixes #1118 once merged.
2013-12-27 00:21:22 +01:00
Andre Jochems
76655f87b9
gettransaction query not working
...
The method gettransaction is not spelled correctly
2013-12-26 14:06:52 -05:00
Sebastian Grewe
9572de451b
[FIX] Fixes #1110
2013-12-26 16:10:04 +01:00
Sebastian Grewe
c935e7fc6c
[ADDED] Warning for coin coinformation setting
2013-12-23 23:11:01 +01:00
Sebastian Grewe
2a24f90ed0
[ADDED] Pagination support on pool workers page
...
Adds pagination support for the admin panel pool workers page. Will
greatly increase loading times of this page if working as intended.
Fixes another part of #1043 .
2013-12-23 23:04:13 +01:00
Sebastian Grewe
065d10d2e0
[IMPROVED] User info pagination and filters
...
This will add pagination and user filters to the Admin Panel User
Information page.
* Added various filter methods (combined with AND in SQL)
* Added pagination and limits to fetch only matching users
This will greatly increase efficiency on larger pools
Fixes #1043 once merged.
2013-12-23 22:37:57 +01:00
Sebastian Grewe
9485b3f9d6
[ADDED] Possibility to disable navbar live updates
...
* Added new admin options: disable_navbar and disable_navbar_api
* Removes LIVE STATS from navigation list
* Removes live updates on Pool General Statistics page
* Added system load checks to getnavbardata API call
This will help to decrease load on high-volume servers at the cost of
losing live status.
Fixes #1014 once merged.
2013-12-23 21:38:21 +01:00
Sebastian Grewe
5cf9ed0b3a
[ADDED] getusertransactions API call
...
* Fetch last `n` transactions, default `5` max `30`
* Fetch transaction summary if enabled in admin panel
Fixes #1079 once merged.
2013-12-23 21:20:39 +01:00
Sebastian Grewe
e2681fe5bf
[UPDATE] Moved transactions into special API call
2013-12-23 21:20:33 +01:00
Sebastian Grewe
51a996573d
[IMPROVED] Transaction data handling
...
This will improve loading times on large transaction tables. Thanks
@feeleep75 for helping with this one.
* Do not use SQL_CALC_NUM_ROWS since it will do a full table scan
* Allow admins to disable account transaction summaries to speed up page
loads on large tables
* added new admin setting under system to Disable TX Summaries
Fixes #1065 once merged
2013-12-23 10:48:12 +01:00
Frederick Behrends
a785d251e0
[FIX] fixed division by Zero for Coins without valid Network Hashrate
2013-12-23 09:58:47 +01:00
Sebastian Grewe
126dbae525
Merge pull request #1029 from TheSerapher/issue-1021
...
Issue 1021
2013-12-22 00:01:01 -08:00
headz
549fb9b6cb
[FiX] Division by zero warning on $dNetworkHashrate
...
When not connected to a wallet, the value of $dnetworkHashrate is set to 0, which causes a division by zero error.
2013-12-20 19:56:27 -05:00
Sebastian Grewe
cda57db81f
Merge pull request #1053 from Fredyy90/patch-6
...
[FIX] fixed 3 Notices
2013-12-20 07:27:06 -08:00
Frederick Behrends
a6d5b6e248
[FIX] fixed 3 Notices
2013-12-20 16:14:40 +01:00
Frederick Behrends
7e594324f3
Added one more Option to "Ajax Data Interval", for better performance management
2013-12-20 15:47:06 +01:00
Sean Hickey
5ddf30983e
Undefined property: Notification::$mail
...
I'm not 100% sure this is a bug, but I'm getting the following error from my crons.
> PHP Notice: Undefined property: Notification::$mail in /var/www/MPOS/public/include/classes/notification.class.php on line 158
> PHP Fatal error: Call to a member function getError() on a non-object in /var/www/MPOS/public/include/classes/notification.class.php on line 158
It appears the `Notification` class extends the `Mail` class instead of `Base`, in which case `$this->mail` does not exist.
2013-12-20 05:10:09 -05:00
Sebastian Grewe
464c6fc5c2
Merge pull request #1044 from Fredyy90/patch-1
...
[FIX] use configured port for mysql connection
2013-12-19 22:51:13 -08:00
Sebastian Grewe
6d7004e5ec
Merge pull request #1047 from Fredyy90/patch-3
...
added blocks until next difficulty change to EstNextDifficulty
2013-12-19 22:48:28 -08:00
Frederick Behrends
8495fa3fc3
[FIX] calculation
2013-12-20 06:51:41 +01:00
Frederick Behrends
ccb14c37cd
added blocks until next difficulty change to EstNextDifficulty
2013-12-20 03:59:47 +01:00
Frederick Behrends
4ec364f036
[FIX] enable Caching for ExpectedNextDifficulty and NetworkExpectedTimePerBlock
2013-12-20 03:38:53 +01:00
Frederick Behrends
fd66500a28
[FIX] use configured port for mysql connection
2013-12-20 02:02:38 +01:00
xisi
fd98a9bfaa
Actually fixing the code this time?
2013-12-19 09:25:20 -05:00
xisi
a51d195141
Cleanup code for update/add
2013-12-19 09:20:15 -05:00
Sebastian Grewe
0d6ee6d821
[IMPROVED] Auto/Manual Payout Disabled
...
This will re-add the ability to disable auto or manual payouts. Option
to disable the entire cronjob is left intact.
Fixes #1034 when merged.
2013-12-19 15:17:29 +01:00
Joey
47a13f937b
Update worker.class.php
...
Cleaned up code
2013-12-19 09:11:59 -05:00
nrpatten
61151a50ac
Update tacpop.inc.php
2013-12-20 00:15:28 +11:00
Joey
d85ae9bd7c
Update worker.class.php
...
[UPDATE] Fix for issue #957
2013-12-19 06:51:28 -05:00
Joey
fcebc8eb2b
Update worker.class.php
...
Fix for issue #957
2013-12-19 06:48:00 -05:00
nrpatten
fc2ffd4868
TAC PopUp window for registrations
2013-12-19 06:42:34 -05:00
Joey
722432fecc
Update error_codes.inc.php
...
Fix to issue #957
2013-12-19 06:00:55 -05:00
Joey
019e3c8082
Update worker.class.php
...
Fix for issue #957
2013-12-19 05:59:23 -05:00
nrpatten
e0c066d656
Create tacpop.inc.php
2013-12-19 20:59:26 +11:00
Sebastian Grewe
ac1a561f7b
[IMPROVED] Better handling of archived shares
...
Please check the appropriate ticket #1021 for details of the changes
made. Tested locally with shares created via INSERT.
Fixes #1021 after merge.
2013-12-19 09:34:45 +01:00
Sebastian Grewe
cba4e5f1a4
Merge pull request #1003 from TheSerapher/issue-986
...
[FIX] Admin User Panel for PPS Payouts
2013-12-18 22:40:22 -08:00
Joey
e0c2a19542
[FIX] Uninitialized var in roundstats class
2013-12-18 09:34:38 -05:00
Sebastian Grewe
dd80fdcc1a
Merge pull request #1020 from TheSerapher/issue-997
...
Issue 997
2013-12-18 00:27:42 -08:00
Sebastian Grewe
6cc367ad50
[FIX] Admin User Panel for PPS Payouts
...
This will fix #986 once merged.
2013-12-17 10:56:37 +01:00
Sebastian Grewe
cef176c754
[FIX] Wrong parameter count
2013-12-17 09:48:07 +01:00
Sebastian Grewe
9d9401d673
Merge pull request #999 from headzoo/memcache_fix
...
Windows Memcache Compatibility
2013-12-17 00:35:23 -08:00
Sebastian Grewe
405fd3d9e0
Merge pull request #981 from Fredyy90/next
...
3 small improvments
2013-12-17 00:10:09 -08:00
headz
cb4d69f092
[FIX] Calling $this from static context
...
The static function pubKeyToAddress() was calling $this->hash160(). Changed to self::hash160().
2013-12-16 23:51:50 -05:00
Frederick Behrends
ed769f9659
Moved Calculation of "Expected Time Per Block (Network)" and "Next Difficulty" to Statistics Class and fixed Dashboard-API for Ajax Refresh
2013-12-16 21:51:31 +01:00
Frederick Behrends
f09459433b
added "Est. Next Difficulty" and "Avg. Time per Round" to dashboard and dashboard api
2013-12-16 20:01:22 +01:00
Frederick Behrends
9fd291b9c0
Added "Est. Next Difficulty" and "Est Round Time (Network)" to the global statistics.
2013-12-16 20:01:18 +01:00