Commit Graph

236 Commits

Author SHA1 Message Date
Bart S
a598e6ecd6
Don't divide by zero
Small change I overlooked
2018-02-21 10:08:21 +01:00
Bart S
963a8f7d27
Fix: Calculate the efficiency correctly in API 2018-02-20 22:57:16 +01:00
Sebastian Grewe
9e6f02b648
Merge pull request #2669 from mecab/ignore-old-cronjob-option
Add -t option to ignore too old cronjob active flag
2018-02-05 11:26:40 +01:00
mecab
495f48d4e5 Add -t option for cronjobs to ignore too old active jobs. 2018-02-04 10:20:05 -06:00
Sebastian Grewe
3cb167a70e
Merge pull request #2666 from mecab/fix-contact-form
Fix errors while sending mail is not displayed in contact form.
2018-02-01 09:51:38 +01:00
Sebastian Grewe
1d32e1e6af
Merge pull request #2667 from mecab/remove-validation
Remove unnessesary validation in sending contact form
2018-02-01 09:51:14 +01:00
mecab
1b871e16ce Remove unnessesary validation in sending contact form
Non-alphanumeric character causes some problems if used in the mail header (i.e., sender name or subject), but the filled info is just used in the mail body so removing the validation is safe at this time.
2018-01-31 11:36:45 -06:00
mecab
2fec35cf70 Fix errors while sending mail is not displayed in contact form. 2018-01-31 11:33:59 -06:00
mecab
be1b57a838 Fix SQL in cleaning up old notifications
Subtracting numbers from datetime causes wrong value, or raises error depending on MySQL version/configurations
2018-01-31 11:32:58 -06:00
Tiago Peralta
0e3cbe2876 Fix INSERTS with Selects inside 2017-12-29 03:45:42 +00:00
Tiago Peralta
d259610ac5 Properly fixed possible MySQL Errors, will test in prod for 1 day
Had to rewrite all the mysqli->error/errno to mysqli->lastused because of the read/write splitting, shoud be working now
Reverted notifications code back to previous version
Added  the lastused property to mysqlms, so that when calling the error/errno we know what was the lsat connection used, same for insert_id
2017-12-11 03:30:56 +00:00
Tiago Peralta
12cee6e25a There was a bug here, whereas the query is perfectly fine, but instead of returning false it was returning the this->sqlError.... which by then was returning the return false, the problem was the log in the cron that was misleading, took 2 days figuring this one out 2017-12-11 02:05:26 +00:00
Tiago Peralta
c27db96f05 removed trash 2017-12-10 20:48:14 +00:00
Tiago Peralta
c5ca7a83b2 Modified slave validation
.gitignore composer.lock, and remove composer.lock from repo
2017-12-10 20:46:30 +00:00
Tiago Peralta
142261d4e0 Same as previous... damn hangover 2017-12-10 20:34:53 +00:00
Tiago Peralta
7929ac79ab Same as previous 2017-12-10 20:34:15 +00:00
Tiago Peralta
f290aeee63 Small bugfix to not validate the Slave when it's not enabled 2017-12-10 20:22:58 +00:00
Tiago Peralta
4233563573 Removed var_dump from debugging.... 2017-12-08 23:11:19 +00:00
Tiago Peralta
52c3e2ff93 Implemented Read/Write Mysql Split (Master for writes, Slave for reads) 2017-12-08 22:53:15 +00:00
Sebastian Grewe
eedbaba316
[VERSION] 1.0.8 release 2017-11-02 10:38:51 +01:00
Sebastian Grewe
8d8ba4fcbf
Merge pull request #2630 from blondak/development
Development
2017-10-30 07:09:52 +00:00
Sebastian Grewe
79c09bd62a Merge pull request #2603 from shtse8/master
Correct SERVER_NAME to HTTP_HOST to get a valid host url
2017-09-28 21:16:59 +02:00
shtse8
6c1aa15879 Correct SERVER_NAME to HTTP_HOST to get a valid host url 2017-09-28 11:44:33 +00:00
Blonďák
7dd8c690bc Merge https://github.com/MPOS/php-mpos into development 2017-09-13 21:25:24 +02:00
Blonďák
6875749f15 TYPO - remove unused variable 2017-09-13 18:28:48 +02:00
Blonďák
4670e553b2 FIX - check for data in SQL result 2017-09-13 18:27:48 +02:00
Blonďák
b144d21cb3 FIX - Only variables should be passed by reference in usersettings.class.php on line 34 2017-09-06 21:03:37 +02:00
Blonďák
d687cab6c1 FIXED - notifications without email notifications 2017-09-05 20:08:35 +02:00
Blonďák
f6bfc10b90 update - notifymyandroid.com - title from configuration 2017-09-04 20:19:03 +02:00
Blonďák
70ea8f1609 fixed - Undefined index: count_all 2017-09-04 20:05:13 +02:00
Blonďák
0307e1e62d fixed - Only variables should be passed by reference 2017-09-04 15:26:27 +02:00
RaJiska
615d6c433d Pin attempts not reset upon success fix 2017-08-29 17:14:16 +02:00
Sebastian Grewe
86ad3027fb [VERSION] 1.0.7 2017-07-18 15:22:19 +02:00
Sebastian Grewe
6e65a48914 [FIX] Default to bootstrap theme if none added to DB 2017-07-18 15:19:29 +02:00
Sebastian Grewe
0387451e28 Merge pull request #2574 from MPOS/issue-2565-uptimerobot
Issue #2565 uptimerobot
2017-07-18 09:31:08 +02:00
Sebastian Grewe
586ca79601 [FIX #2565] New Uptime Robot HTTPS URL 2017-07-18 09:15:22 +02:00
Blonďák
bcfd7cfb30 Updated push notifications format 2017-02-06 09:53:17 +01:00
Blonďák
dad43012e9 #2539 - FIXED user login push notification 2017-01-17 07:00:37 +01:00
Blonďák
96fb92d237 FIX - change log to public,... 2017-01-17 06:39:54 +01:00
Blonďák
41bd5e4e50 #2539 - fixed doubled push notifications 2017-01-12 22:11:50 +01:00
Blonďák
9f32f0119d #2539 - Fixed upgrading DB version 2017-01-12 21:30:29 +01:00
Blonďák
893d920327 #2539 - More generic class UserSettings 2017-01-12 21:22:27 +01:00
Zdeněk Jurka
556db98835 #2539 - Feature request: Pushover.net notifications 2017-01-12 16:32:30 +01:00
Sebastian Grewe
073ff59b1a [UPDATE] Catch missing theme folder from website_theme setting 2016-07-07 11:30:02 +02:00
Sebastian Grewe
4a67b5ca02 [VERSION] MPOS 1.0.6 2016-07-07 11:13:09 +02:00
Sebastian Grewe
c35b232152 [ADDED] Temporarily disable all crons on pool maintenance 2016-07-07 10:50:30 +02:00
iAmShorty
62e01bd9b1 settings to hide help page and pool stats from users that are not logged in 2016-07-04 13:26:46 +02:00
iAmShorty
00bdcdf0b1 corrected class file 2016-07-01 11:37:42 +02:00
iAmShorty
970bec62dd added neoscrypt dummy class for reporting correct algo 2016-06-30 16:05:19 +02:00
iAmShorty
2420160bc5 Revert "added neoscrypt class"
This reverts commit e6583ff311.
2016-06-30 15:58:48 +02:00
iAmShorty
e6583ff311 added neoscrypt class 2016-06-30 15:51:20 +02:00
iAmShorty
cf00271802 Disable Sound in Dashboard
- Admin Settings to disable Button and Notification on Dashboard
- Save Buttonstate even if you open another page and come back to Dashboard
2016-06-30 11:19:01 +02:00
Sebastian Grewe
f72d3f4a76 [ADDED] x15 coin class for testing 2016-06-15 08:49:04 +02:00
Sebastian Grewe
d8c6d88521 [ADDED] x13 coin class for testing 2016-06-15 08:48:38 +02:00
Sebastian Grewe
21dbe36850 Update to Version 1.0.5 for MPOS core 2016-03-11 18:52:23 +01:00
Sebastian Grewe
71b525812f Merge branch 'master' into development 2016-02-25 10:49:53 +01:00
Jonny Bravo
7f7a1894c6 added PH and EH 2016-02-22 13:41:34 -05:00
Jonny Bravo
bc88b04ae9 added PH and EH 2016-02-22 13:41:16 -05:00
reappergrimd
e15695e1ff Added cryptopia Api Call
Change Allows Site admin to pull last price from this exchange.
Configuration example

$config['price']['enabled'] = true;
$config['price']['url'] = 'https://www.cryptopia.co.nz/';;
$config['price']['target'] = 'api/GetMarket/2274'; // API call to get market via market id of coin (api/GetMarket/{coin market id}
$config['price']['currency'] = 'BTC'; //
2016-01-27 22:13:52 +02:00
Kasvain
61e6ed21c1 Add C-CEX API support
Allows fetching price information from C-CEX
2015-12-14 15:02:43 +02:00
Sebastian Grewe
2395500836 Revert "Update tools.class.php - add bleutrade api support" 2015-12-04 19:52:40 +01:00
Joey
c24f7bb397 Update tools.class.php 2015-12-04 12:12:38 -05:00
Joey
5d6215a0e3 Update tools.class.php - add bleutrade api support
Adds support for bleutrade api for the ticker
2015-12-04 12:09:19 -05:00
Sebastian Grewe
d795055232 Fix #2462 - Spelling error
Spelling error. Thanks @turnkit for mentioning it.
2015-09-29 09:18:51 +02:00
Sebastian Grewe
04a9286e31 [ADDED] Check peer state for admin wallet info; [CLEANUP] Removed unused vars 2015-07-19 14:44:25 +02:00
Sebastian Grewe
a7401d30a0 [ADDED] Check download status in admin setup check 2015-07-19 12:37:06 +02:00
Sebastian Grewe
b4ae900137 [UDPDATE] Put chain download into wrapper class 2015-07-19 12:26:45 +02:00
Sebastian Grewe
2c3052be24 [ADDED] Show Blockchain download status 2015-07-19 11:48:49 +02:00
Sebastian Grewe
deb3b115d0 [FIX] Avoid empty Auto-Payout threshold value for accounts page 2015-07-15 14:44:26 +02:00
Joey
8dba76c722 add bit about daemon not being fully synced 2015-06-19 10:36:12 -04:00
xisi
cdc3bbb68d Use glob, updated changelog 2015-06-19 09:59:06 -04:00
xisi
0b91d743ca Updated issue #2427 2015-06-19 09:52:43 -04:00
xisi
02067ace54 See issue #2427 2015-06-19 09:52:43 -04:00
owlhooter
b528cc2998 Add anonymous check for users on block finder email notification 2015-06-19 09:52:43 -04:00
xisi
9d42991b14 added admin check to throw a notice in admin_checks for issue #2424 2015-06-19 09:52:43 -04:00
Sebastian Grewe
b62b6b7611 [VERSION] MPOS 1.0.4
Version increment for future release.
2015-06-08 11:41:23 +02:00
Sebastian Grewe
ff908be3a7 [VERSION] MPOS 1.0.3 2015-04-29 22:30:21 +02:00
Sebastian Grewe
993972a3ec Merge pull request #2408 from MPOS/shared-db-update
[UPDATE] Shared DB Behavior
2015-04-28 17:47:57 +02:00
e3betht
010a89449e removing more closing PHP tags 2015-04-26 20:19:50 -05:00
e3betht
6179d79c3b Removing closing PHP tags 2015-04-26 20:06:29 -05:00
Sebastian Grewe
b7b3103c49 [UPDATE] Shared DB Behavior
* Default to standard DB if nothing is set
* Separate Accounts and Pool Workers shared DB
* Added shared News DB
* New config options added
 * `$config['db']['shared']['accounts']`
 * `$config['db']['shared']['workers']`
 * `$config['db']['shared']['news']`
2015-04-24 09:25:14 +02:00
Sebastian Grewe
091aa6475c [FIX] Manual Payout warning when account balance too low 2015-04-19 00:59:07 +02:00
Sebastian Grewe
bb3fa99530 [UPDATE] Config Version 1.0.1 2015-04-19 00:33:22 +02:00
Sebastian Grewe
a7fc7146f1 [ADDED] SSO across MPOS pools with single database host 2015-04-19 00:31:56 +02:00
Sebastian Grewe
36abe1e8c8 [FIX] Missed a ap_threshold in transaction class 2015-04-16 12:22:48 +02:00
Sebastian Grewe
8154daa26b [FIX] Missed a ap_threshold in transaction class 2015-04-16 12:22:07 +02:00
Sebastian Grewe
1613355c04 [UPDATE] Store coin auto payout in coin_addresses table per coin 2015-04-16 12:16:45 +02:00
Sebastian Grewe
5b8e7a4dc2 [ADDED] Admin Wallet Info, last N transactions 2015-04-16 10:21:31 +02:00
Sebastian Grewe
f428ca1d2e [FIX] Potential empty variable warning 2015-04-15 17:18:28 +02:00
Sebastian Grewe
b13e7681ea [VERSION] Changelog for 1.0.2 2015-04-15 14:14:10 +02:00
Sebastian Grewe
aff3f9e57f [ADDED] Peer information in Admin -> Wallet 2015-04-15 13:41:34 +02:00
Sebastian Grewe
5e5f41f160 [FIX] MPOS version check for admin dashboard 2015-04-15 12:01:45 +02:00
Sebastian Grewe
482fe18a4d [UPDATE] jQuery, SoundJS, MPOS 1.0.1 2015-04-15 11:58:19 +02:00
Sebastian Grewe
af69042304 [VERSION] 1.0.0 Global Config 2015-01-18 16:13:18 +01:00
Sebastian Grewe
da08b6a217 [FIX] Properly run the upgrade 2015-01-18 16:04:32 +01:00
Sebastian Grewe
011916c439 Merge pull request #2364 from xisi/dev-memcache-sasl-support
Memcache SASL fixes
2014-11-18 12:01:51 +01:00
xisi
7a6089b79a More stringent check for enabling, removed superfluous die 2014-11-18 05:15:57 -05:00
Sebastian Grewe
e5a5d791ab Merge pull request #2363 from xisi/dev-memcache-sasl-support
Preliminary support for Memcache SASL authentication
2014-11-17 09:08:09 +01:00
xisi
2a520427bf Preliminary support for Memcache SASL authentication 2014-11-16 17:33:58 -05:00
Sebastian Grewe
99639bbcf6 Merge pull request #2357 from xisi/dev-active-news-option
Adds 'active' field to news submission to simplify workflow
2014-10-18 07:26:48 +02:00