Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge MPOS changes #1

Open
wants to merge 572 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
572 commits
Select commit Hold shift + click to select a range
8826d03
[UPDATE] Remove / in Peer Identity
MPOS123 Apr 16, 2015
1613355
[UPDATE] Store coin auto payout in coin_addresses table per coin
MPOS123 Apr 16, 2015
8154daa
[FIX] Missed a ap_threshold in transaction class
MPOS123 Apr 16, 2015
36abe1e
[FIX] Missed a ap_threshold in transaction class
MPOS123 Apr 16, 2015
8219193
[FIX] Copy and paste error
MPOS123 Apr 16, 2015
ffea9cd
[FIX] Missed new DB version in base structure
MPOS123 Apr 16, 2015
76a2853
Merge pull request #2404 from MPOS/coin-ap-threshold
TheSerapher Apr 16, 2015
81105c7
[UPDATE] CHANGELOG with latest merge
TheSerapher Apr 16, 2015
3e6b417
[FIX] Play Block Nofitifcation audio as MP3 for Safari/Mobile
MPOS123 Apr 18, 2015
ccea37e
Merge branch 'development' of github.com:MPOS/php-mpos into development
MPOS123 Apr 18, 2015
4adc113
[UPDATE] CHANGELOG with latest fix
MPOS123 Apr 18, 2015
a7fc714
[ADDED] SSO across MPOS pools with single database host
MPOS123 Apr 18, 2015
bb3fa99
[UPDATE] Config Version 1.0.1
MPOS123 Apr 18, 2015
091aa64
[FIX] Manual Payout warning when account balance too low
MPOS123 Apr 18, 2015
4c01584
[UPDATE] Changelog
MPOS123 Apr 18, 2015
b7b3103
[UPDATE] Shared DB Behavior
MPOS123 Apr 24, 2015
9437746
[UPDATE] CHANGELOG.md with modifications
MPOS123 Apr 24, 2015
6179d79
Removing closing PHP tags
e3betht Apr 27, 2015
3a4ca87
Adding the Code Climate badge
e3betht Apr 27, 2015
010a894
removing more closing PHP tags
e3betht Apr 27, 2015
da8b3cc
Merge pull request #2411 from e3betht/closing_tags_dev
TheSerapher Apr 27, 2015
993972a
Merge pull request #2408 from MPOS/shared-db-update
TheSerapher Apr 28, 2015
dfa34bc
[UPDATE] Changelog for release
TheSerapher Apr 28, 2015
50af836
Merge pull request #2402 from MPOS/development
TheSerapher Apr 28, 2015
38e9654
[HOTFIX] Broken DB upgrade for latest release
MPOS123 Apr 29, 2015
d1e6783
[UPDATE] Changelog updated
MPOS123 Apr 29, 2015
e511ba2
Merge pull request #2414 from MPOS/development
TheSerapher Apr 29, 2015
ff908be
[VERSION] MPOS 1.0.3
MPOS123 Apr 29, 2015
18a6f58
Merge pull request #2415 from MPOS/development
TheSerapher Apr 29, 2015
80be081
added admin check to throw a notice in admin_checks for issue #2424
xisi May 25, 2015
9336608
Merge pull request #2426 from xisi/master
TheSerapher May 25, 2015
b033a98
Add anonymous check for users on block finder email notification
owlhooter May 27, 2015
d1d392a
Add anonymous check for users on block finder email notification
owlhooter May 27, 2015
ecf2c1c
Merge pull request #2431 from owlhooter/master
TheSerapher May 29, 2015
b62b6b7
[VERSION] MPOS 1.0.4
TheSerapher Jun 8, 2015
d4a161a
[UPDATE] CHANGELOG for 1.0.4
TheSerapher Jun 8, 2015
40d0ecd
Add anonymous check for users on block finder email notification
owlhooter May 27, 2015
9d42991
added admin check to throw a notice in admin_checks for issue #2424
xisi May 25, 2015
c50ff56
Merge pull request #2415 from MPOS/development
TheSerapher Apr 29, 2015
b528cc2
Add anonymous check for users on block finder email notification
owlhooter May 27, 2015
f76ee0c
Merge pull request #2426 from xisi/master
TheSerapher May 25, 2015
433c8f7
Merge pull request #2431 from owlhooter/master
TheSerapher May 29, 2015
02067ac
See issue #2427
xisi Jun 19, 2015
0b91d74
Updated issue #2427
xisi Jun 19, 2015
cdc3bbb
Use glob, updated changelog
xisi Jun 19, 2015
8dba76c
add bit about daemon not being fully synced
xisi Jun 19, 2015
4e7eb89
Merge pull request #2441 from xisi/dev-adminchecks-move
TheSerapher Jun 20, 2015
486869a
[UPDATE] Development to Master
MPOS123 Jun 22, 2015
2985bab
repair 'User Information' table in 'Admin Panel > Users > user Info' …
bchnews-ym Jul 11, 2015
deb3b11
[FIX] Avoid empty Auto-Payout threshold value for accounts page
MPOS123 Jul 15, 2015
f5234ea
[FIX][#2454][#2377] MPOS stylesheet improvements
MPOS123 Jul 15, 2015
b9ab718
Revert "[FIX][#2454][#2377] MPOS stylesheet improvements"
MPOS123 Jul 15, 2015
5ed89f9
[UPDATE] Remove config disable check popup from admins
MPOS123 Jul 15, 2015
2c3052b
[ADDED] Show Blockchain download status
MPOS123 Jul 19, 2015
b4ae900
[UDPDATE] Put chain download into wrapper class
MPOS123 Jul 19, 2015
f26f43a
[UPDATE] Minor change to admin checks template
MPOS123 Jul 19, 2015
a7401d3
[ADDED] Check download status in admin setup check
MPOS123 Jul 19, 2015
04a9286
[ADDED] Check peer state for admin wallet info; [CLEANUP] Removed unu…
MPOS123 Jul 19, 2015
6650e3f
Merge pull request #2452 from pokari1986/development
TheSerapher Jul 21, 2015
4ab0b8f
[#2454] Fixed worker name box not scaling
MPOS123 Aug 4, 2015
4376df2
[CHANGELOG] Updated for future release
MPOS123 Aug 4, 2015
d795055
Fix #2462 - Spelling error
TheSerapher Sep 29, 2015
4031422
Merge branch 'development' of github.com:MPOS/php-mpos into development
MPOS123 Oct 14, 2015
a5b51df
[FIX] Keep sidebar open when selecting Admin -> System -> Setup
MPOS123 Oct 14, 2015
5d6215a
Update tools.class.php - add bleutrade api support
xisi Dec 4, 2015
c24f7bb
Update tools.class.php
xisi Dec 4, 2015
2b6bc7e
Merge pull request #2473 from MPOS/xisi-bleutrade-ticker
TheSerapher Dec 4, 2015
2395500
Revert "Update tools.class.php - add bleutrade api support"
TheSerapher Dec 4, 2015
3ab9f6a
Merge pull request #2474 from MPOS/revert-2473-xisi-bleutrade-ticker
TheSerapher Dec 4, 2015
61e6ed2
Add C-CEX API support
Kasvain Dec 14, 2015
e15695e
Added cryptopia Api Call
reappergrimd Jan 27, 2016
1cd2f63
Merge pull request #2481 from reappergrimd/patch-1
TheSerapher Jan 27, 2016
d6d68cb
Changed shares to BIGINT data type to account for BTC having far more…
jonnybravo0311 Feb 21, 2016
56acee5
Merge pull request #2486 from jonnybravo0311/master
TheSerapher Feb 22, 2016
400a05b
Merge pull request #2478 from Kasvain/development
TheSerapher Feb 22, 2016
bc88b04
added PH and EH
jonnybravo0311 Feb 22, 2016
7f7a189
added PH and EH
jonnybravo0311 Feb 22, 2016
53533e4
Merge pull request #2487 from jonnybravo0311/master
TheSerapher Feb 23, 2016
71b5258
Merge branch 'master' into development
Feb 25, 2016
8cb5548
Fix #2490
TheSerapher Mar 11, 2016
21dbe36
Update to Version 1.0.5 for MPOS core
TheSerapher Mar 11, 2016
b7b45eb
Merge pull request #2458 from MPOS/development
TheSerapher Mar 11, 2016
b284dfa
Merge pull request #1 from MPOS/master
Codegenieur May 3, 2016
26f01f1
Cryptsy seems to be history
Codegenieur May 3, 2016
f6bd81f
Merge pull request #2499 from machinecoin-project/master
TheSerapher May 3, 2016
89d762f
minerd manual says it must be -a scrypt not -a --scrypt
Codegenieur May 10, 2016
37768dc
Merge pull request #2501 from Gitju/master
TheSerapher May 10, 2016
d8c6d88
[ADDED] x13 coin class for testing
TheSerapher Jun 15, 2016
f72d3f4
[ADDED] x15 coin class for testing
TheSerapher Jun 15, 2016
cf00271
Disable Sound in Dashboard
iAmShorty Jun 30, 2016
5fee244
fixed button states
iAmShorty Jun 30, 2016
6013afd
Update .travis.yml
iAmShorty Jun 30, 2016
9e8caa5
Merge pull request #2510 from iAmShorty/block-notification
TheSerapher Jun 30, 2016
46d6c11
updated bootstrap to version 3.3.6
iAmShorty Jun 30, 2016
623435a
updated datatables to version 1.10.12
iAmShorty Jun 30, 2016
7b41f13
updated jquery to version 2.2.4
iAmShorty Jun 30, 2016
3114030
plugin updates
iAmShorty Jun 30, 2016
8075fa9
font awesome update to version 4.6.3
iAmShorty Jun 30, 2016
1df2ad9
metisMenu update to version 2.5.2
iAmShorty Jun 30, 2016
e6583ff
added neoscrypt class
iAmShorty Jun 30, 2016
2420160
Revert "added neoscrypt class"
iAmShorty Jun 30, 2016
970bec6
added neoscrypt dummy class for reporting correct algo
iAmShorty Jun 30, 2016
00bdcdf
corrected class file
iAmShorty Jul 1, 2016
edafc57
Merge pull request #2511 from MPOS/library-update
iAmShorty Jul 4, 2016
9e970f1
setting defaults to prevent error messages in apache logfiles
iAmShorty Jul 4, 2016
62e01bd
settings to hide help page and pool stats from users that are not log…
iAmShorty Jul 4, 2016
c35b232
[ADDED] Temporarily disable all crons on pool maintenance
MPOS123 Jul 7, 2016
90866ad
Merge pull request #2516 from MPOS/cron-maintenance
TheSerapher Jul 7, 2016
4a67b5c
[VERSION] MPOS 1.0.6
MPOS123 Jul 7, 2016
073ff59
[UPDATE] Catch missing theme folder from website_theme setting
MPOS123 Jul 7, 2016
a1cb113
Merge pull request #2518 from MPOS/catch-missing-theme
TheSerapher Jul 7, 2016
556db98
#2539 - Feature request: Pushover.net notifications
Jan 12, 2017
893d920
#2539 - More generic class UserSettings
blondak Jan 12, 2017
9f32f01
#2539 - Fixed upgrading DB version
blondak Jan 12, 2017
5e564a4
#2539 - fixed typo
blondak Jan 12, 2017
c9930d3
#2539 - PushNotification templates
blondak Jan 12, 2017
41bd5e4
#2539 - fixed doubled push notifications
blondak Jan 12, 2017
96fb92d
FIX - change log to public,...
blondak Jan 17, 2017
dad4301
#2539 - FIXED user login push notification
blondak Jan 17, 2017
bcfd7cf
Updated push notifications format
blondak Feb 6, 2017
6640f1f
Merge pull request #2540 from blondak/development
TheSerapher Feb 28, 2017
6af7275
[UPDATE] Removed old donation addresses
TheSerapher Jul 12, 2017
312dd4b
[UPDATE] Out of release commit, removed donation addresses
TheSerapher Jul 12, 2017
1fcf97d
[UPDATE] Re-confirmed BTC address
TheSerapher Jul 17, 2017
2549e40
[UPDATE] Re-confirmed BTC address
TheSerapher Jul 17, 2017
586ca79
[FIX #2565] New Uptime Robot HTTPS URL
TheSerapher Jul 18, 2017
0387451
Merge pull request #2574 from MPOS/issue-2565-uptimerobot
TheSerapher Jul 18, 2017
f7f0437
Merge pull request #2517 from MPOS/development
TheSerapher Jul 18, 2017
6e65a48
[FIX] Default to bootstrap theme if none added to DB
TheSerapher Jul 18, 2017
86ad302
[VERSION] 1.0.7
TheSerapher Jul 18, 2017
e2a3536
Merge pull request #2575 from MPOS/development
TheSerapher Jul 18, 2017
615d6c4
Pin attempts not reset upon success fix
RaJiska Aug 29, 2017
7b6aa48
Merge pull request #2590 from RaJiska/master
TheSerapher Aug 29, 2017
0307e1e
fixed - Only variables should be passed by reference
blondak Sep 4, 2017
70ea8f1
fixed - Undefined index: count_all
blondak Sep 4, 2017
f6bfc10
update - notifymyandroid.com - title from configuration
blondak Sep 4, 2017
d687cab
FIXED - notifications without email notifications
blondak Sep 5, 2017
b144d21
FIX - Only variables should be passed by reference in usersettings.cl…
blondak Sep 6, 2017
4670e55
FIX - check for data in SQL result
blondak Sep 13, 2017
6875749
TYPO - remove unused variable
blondak Sep 13, 2017
7dd8c69
Merge https://github.com/MPOS/php-mpos into development
blondak Sep 13, 2017
6c1aa15
Correct SERVER_NAME to HTTP_HOST to get a valid host url
shtse8 Sep 28, 2017
79c09bd
Merge pull request #2603 from shtse8/master
TheSerapher Sep 28, 2017
15c7c02
Update findblock.php
shtse8 Sep 28, 2017
94d67b3
Update findblock.php
shtse8 Sep 28, 2017
cca0179
Merge pull request #2605 from shtse8/master
TheSerapher Sep 29, 2017
e42fc18
Address change
Caberhagen Oct 7, 2017
043bde2
Merge pull request #2624 from Caberhagen/master
TheSerapher Oct 17, 2017
3f52e01
Update default.tpl
Oct 27, 2017
8d8ba4f
Merge pull request #2630 from blondak/development
TheSerapher Oct 30, 2017
810bd4d
Merge pull request #2629 from sunk818/patch-2
TheSerapher Nov 2, 2017
eedbaba
[VERSION] 1.0.8 release
Nov 2, 2017
02581f1
Merge pull request #2632 from MPOS/development
TheSerapher Nov 2, 2017
b5cfd0e
Fixed statistics graphs
tperalta82 Dec 3, 2017
064ab5a
No need for composer.lock to be versioned
tperalta82 Dec 8, 2017
52c3e2f
Implemented Read/Write Mysql Split (Master for writes, Slave for reads)
tperalta82 Dec 8, 2017
4233563
Removed var_dump from debugging....
tperalta82 Dec 8, 2017
777f167
Merge pull request #2642 from tperalta82/master
TheSerapher Dec 10, 2017
f290aee
Small bugfix to not validate the Slave when it's not enabled
tperalta82 Dec 10, 2017
7929ac7
Same as previous
tperalta82 Dec 10, 2017
142261d
Same as previous... damn hangover
tperalta82 Dec 10, 2017
c5ca7a8
Modified slave validation
tperalta82 Dec 10, 2017
c27db96
removed trash
tperalta82 Dec 10, 2017
12cee6e
There was a bug here, whereas the query is perfectly fine, but instea…
tperalta82 Dec 11, 2017
d259610
Properly fixed possible MySQL Errors, will test in prod for 1 day
tperalta82 Dec 11, 2017
9628c34
Merge pull request #2646 from tperalta82/master
TheSerapher Dec 13, 2017
0e3cbe2
Fix INSERTS with Selects inside
tperalta82 Dec 29, 2017
2dfe175
Merge pull request #2649 from tperalta82/master
TheSerapher Dec 29, 2017
be1b57a
Fix SQL in cleaning up old notifications
mecab Jan 31, 2018
2fec35c
Fix errors while sending mail is not displayed in contact form.
mecab Jan 31, 2018
1b871e1
Remove unnessesary validation in sending contact form
mecab Jan 31, 2018
6dab6be
Merge pull request #2665 from mecab/fix-sql
TheSerapher Feb 1, 2018
1d32e1e
Merge pull request #2667 from mecab/remove-validation
TheSerapher Feb 1, 2018
3cb167a
Merge pull request #2666 from mecab/fix-contact-form
TheSerapher Feb 1, 2018
495f48d
Add -t option for cronjobs to ignore too old active jobs.
mecab Feb 4, 2018
9e6f02b
Merge pull request #2669 from mecab/ignore-old-cronjob-option
TheSerapher Feb 5, 2018
963a8f7
Fix: Calculate the efficiency correctly in API
smiba Feb 20, 2018
a598e6e
Don't divide by zero
smiba Feb 21, 2018
ae337b4
Merge pull request #2673 from smiba/patch-1
TheSerapher Feb 21, 2018
83efd60
Minor changes to the block overview template
smiba Feb 21, 2018
ef8f664
Add orange colour to blocks found
smiba Feb 21, 2018
1c53b2e
For coins with constant difficulty change
Feb 21, 2018
85ef9d5
Expend CSRF token expiry time
Feb 21, 2018
f0f4e00
Minor spelling correction
Feb 21, 2018
6c0d9a1
Merge pull request #2676 from smiba/development-patch-1
TheSerapher Feb 21, 2018
653729e
add 'start' parameter to getusertransactions api page
desaerun Feb 28, 2018
64c5c99
Merge pull request #2681 from desaerun/patch-3
TheSerapher Mar 3, 2018
1b21771
Revert "add 'start' parameter to getusertransactions api page"
TheSerapher Mar 3, 2018
c336ef7
Merge pull request #2682 from MPOS/revert-2681-patch-3
TheSerapher Mar 3, 2018
cfcd1d1
Merge pull request #2674 from smiba/patch-1
TheSerapher Mar 3, 2018
fbdcd9c
add "start" to getusertransactions api
desaerun Mar 5, 2018
40ba374
Merge pull request #2687 from desaerun/patch-4
TheSerapher Mar 5, 2018
2566b67
Update status.tpl
TopoX84 Mar 5, 2018
daf7091
Merge pull request #2688 from TopoX84/patch-4
TheSerapher Mar 5, 2018
1448b93
Update peers.tpl
TopoX84 Mar 5, 2018
3ff7ee9
Merge pull request #2689 from TopoX84/patch-5
TheSerapher Mar 5, 2018
e9c9c08
[UPDATE] Trying to fix Travis failures
TheSerapher Mar 6, 2018
145304b
[UPDATE] Wrong param
TheSerapher Mar 6, 2018
31965de
Implemented recaptcha v2
AmazingDreams Mar 7, 2018
64924ec
Added composer.phar
AmazingDreams Mar 7, 2018
467f8e5
Merge branch 'development' of https://github.com/MPOS/php-mpos into d…
AmazingDreams Mar 7, 2018
4180bf1
Deleted composer.lock
AmazingDreams Mar 7, 2018
97b3cc3
Merge pull request #2692 from AmazingDreams/development
TheSerapher Mar 7, 2018
de6fbf8
Refactor getPrice() in tools.class.php
bziemek Mar 18, 2018
c2f3171
Update BTC-e API domain
bziemek Mar 18, 2018
53c3115
Update BTC-e ticker URL
bziemek Mar 18, 2018
0288895
Remove Cryptsy ticker support
bziemek Mar 18, 2018
8f33ceb
Correct "coinchoose" spelling in ticker code
bziemek Mar 18, 2018
0dbb4d8
Add Crypto-Bridge ticker API
bziemek Mar 18, 2018
8c683b7
Add Yobit ticker API
bziemek Mar 18, 2018
79d9d08
Add Binance ticker API
bziemek Mar 18, 2018
6cc9cba
Add SouthXChange ticker API
bziemek Mar 18, 2018
77687d9
Add Mercatox ticker API
bziemek Mar 18, 2018
6ff468a
Add TradeOgre ticker API
bziemek Mar 18, 2018
f2a5716
Hotfix: missing > in About page link
bziemek Mar 18, 2018
8a87239
Handle redundant slashes in ticker config
bziemek Mar 18, 2018
e0dc0cb
Fix Mercatox ticker API
bziemek Mar 18, 2018
27388be
Merge pull request #2702 from bziemek/development
TheSerapher Mar 18, 2018
a0f06e7
Merge pull request #2700 from bziemek/ticker-apis
TheSerapher Mar 18, 2018
97050ef
[VERSION] 1.0.9, release prep
TheSerapher Mar 18, 2018
79c131d
[UPDATE] Long needed README updates
TheSerapher Mar 18, 2018
92ef32a
[UPDATE][#2695] Remove unset class variable
TheSerapher Mar 18, 2018
8fa8d6c
Merge pull request #2683 from MPOS/development
TheSerapher Apr 5, 2018
26d2915
First attempt to add support to BTC >= 0.16
lubuzzo Apr 17, 2018
3b23295
Merge pull request #2714 from lubuzzo/master
TheSerapher Apr 18, 2018
181a66b
don't hardcode wallet name
r4sas Apr 20, 2018
cdba6ce
fix "field doesn't have a default values" error
r4sas Apr 25, 2018
b007bfa
add database upgrade script, update version in initial database
r4sas Apr 25, 2018
832d67f
bump DB version, update db upgrade script
r4sas Apr 25, 2018
8f3dafd
Merge pull request #2720 from r4sas/sql-sharestats
TheSerapher Apr 25, 2018
3ddf6cb
Merge pull request #2717 from r4sas/statistics-patch
TheSerapher Apr 25, 2018
8cfc43e
implement low-diff shares counting (#2718 #2726)
May 11, 2018
363e2be
Merge pull request #2727 from r4sas/lowdiff-shares
TheSerapher May 11, 2018
b183ff1
lowdiff updates
r4sas May 11, 2018
ce78e8b
revert changes for mysql ifnull functions
r4sas May 12, 2018
1f8a332
Updated author/project in composer file
TheSerapher May 12, 2018
15de9e1
change to unsigned float
r4sas May 12, 2018
61670a1
[UPDATE] Print error if vendor libs are missing
TheSerapher May 12, 2018
e09db5c
update block statistics
r4sas May 12, 2018
01c75f4
[UPDATE][#2713] Adding transaction filter
TheSerapher May 12, 2018
d1d4a07
Merge pull request #2728 from r4sas/lowdiff-shares
TheSerapher May 12, 2018
e79b558
[UPDATE] Also detect testnet on RPC > 0.16
TheSerapher May 12, 2018
30668ed
fix sharerate precision and reduce graphics page size
r4sas May 12, 2018
b9dc229
Merge pull request #2729 from r4sas/lowdiff-shares
TheSerapher May 12, 2018
96ab98a
[UPDATE] Better getinfo detection
TheSerapher May 18, 2018
3f4efc9
[ADDED] DEBUG log if RPC > 0.16 getinfo wrapper fails
TheSerapher May 23, 2018
085dfa0
[VERSION] 1.1.0
TheSerapher May 23, 2018
20a9c59
fix documentation links
r4sas May 23, 2018
e5b1ec5
Merge pull request #2739 from r4sas/development
TheSerapher May 24, 2018
236cccd
Merge pull request #2738 from MPOS/development
TheSerapher May 24, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 23 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
# Local Config
/public/include/config/global.inc.php
/public/include/config/security.inc.php
/include/config/global.inc.php
/include/config/security.inc.php

# Templates
/public/templates/compile/*.php
/public/templates/compile/**
/public/templates/cache/*.php
/public/templates/cache/**
/templates/compile/*.php
/templates/compile/**
/templates/cache/*.php
/templates/cache/**

# Logs
/cronjobs/logs
/cronjobs/logs/**.txt.*.gz
/logs/*

# Test configs
public/include/config/global.inc.scrypt.php
public/include/config/global.inc.sha.php
/include/config/global.inc.test.php
/include/config/global.inc.scrypt.php
/include/config/global.inc.sha.php

# Test files
/scripts/test.php
/cronjobs/test.php

# IDE Settings
/.idea/*
Expand All @@ -29,3 +34,13 @@ public/include/config/global.inc.sha.php
/public/sitemap.gz
/public/sitemap.tar.gz
/public/.htaccess

/vendor/

tests/_output/*

# NetBeans Project Directory
/nbproject/*

# No need for composer.lock
/composer.lock
9 changes: 8 additions & 1 deletion .htaccess
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
ErrorDocument 404 /public/index.php?page=error&action=404
RedirectMatch 404 /logs(/|$)
Options -Indexes
RedirectMatch 404 /templates(/|$)
RedirectMatch 404 /include(/|$)
RedirectMatch 404 /scripts(/|$)
RedirectMatch 404 /sql(/|$)
RedirectMatch 404 /upgrade(/|$)
RedirectMatch 404 /cronjobs(/|$)
RedirectMatch 404 /tests(/|$)
Options -Indexes
9 changes: 9 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tools:
external_code_coverage: true
checks:
php:
code_rating: true
duplication: true
filter:
paths:
- include/classes/*
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- hhvm

matrix:
allow_failures:
- php: hhvm

branches:
except:
- gh-pages



install:
- wget http://selenium-release.storage.googleapis.com/2.42/selenium-server-standalone-2.42.2.jar
- composer global require "fxp/composer-asset-plugin:~1.1.1"
- composer install


before_script:
- sudo chmod 777 /etc/hosts
- echo 127.0.0.1 mining > /etc/hosts
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 5
- java -jar selenium-server-standalone-2.42.2.jar -port 4444 &
- "mysql -e 'create database mpos;'"
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('mining') WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root
- nohup php -S bone:8000 public/index.php &

script:
- php vendor/bin/codecept build
- php vendor/bin/codecept run unit --coverage --coverage-html --coverage-xml --env travis

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover tests/_output/coverage.xml
71 changes: 66 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,67 @@
0.0.1 (Mar 7th 2013)
--------------------
1.0.5 (XXX XXth XXXX)
---------------------

* WiP Upload of all files currently available
* Added upstream script collections
* Added SQL structure
* Fixed worker name scaling issues on mobile devices (Thanks @nrpatten)
* Fixed user information table formatting (Thanks @pokari1986)
* Fixed empty auto-payout threshold value for accounts page
* Removed config disable check popup for admins on all pages
* Added blockchain download status for admin feedback (admin setup check)
* Added peer state to wallet info state if no peers are connected

1.0.4 (Jun 19th 2015)
---------------------

* Honor anonymous attribute when sending block finder mails
* Display admin warning if no transfer fees are set
* Moved admin_checks.php into the admin panel/system/setup
* Checks are now loaded individually from pages/admin/checks

1.0.3 (Apr 29th 2015)
---------------------

* HOTFIX: Database upgrade from `1.0.0` to `1.0.1` did not work as
intended

1.0.2 (Apr 28th 2015)
---------------------

* Allow SSO accross MPOS pools
* Added a new config options
* `$config['db']['shared']['acounts']`, defaults to `$config['db']['name']`
* `$config['db']['shared']['workers']`, defaults to `$config['db']['name']`
* `$config['db']['shared']['news']`, defaults to `$config['db']['name']`
* Will access `accounts`, `pool_workers` and `news` on shared table
* Does not allow splitting `accounts` and `pool_woker` across database hosts
* Required `$config['cookie']['domain']` to be set
* You need to use the top domain shared between hosts as the setting
* e.g. `ltc.thepool.com` and `btc.thepool.com` it has to be `.thepool.com` (NOTE the leading .)
* Increased information on `Admin -> Wallet Info`
* Added block count to Wallet Status
* Added number of accounts to Wallet Status
* Added Peer information
* Added last 25 transactions
* Can be changed via Admin System Settings -> Wallet
* Always show all accounts
* Updated Auto Payout Threshold to be stored in `coin_address` table
* Existing thresholds will be migrated when upgrading
* Update to `1.0.1` for the database using the upgrade script supplied in MPOS
* Updated Bootstrap to 3.3.4
* Updated MorrisJS to 0.5.1
* Updated RaphaelJS to 2.1.2
* Updated Bootstrap Switch to 3.3.2
* Updated CLEditor to 1.4.5
* Removed unneeded JS files
* Removed unneeded CSS files
* Fixed ding for block notifications not playing on Safari
* Fixed manual payout warning to show when account balance is too low

1.0.1 (Apr 15th 2015)
---------------------

* Updated jQuery and SoundJS
* Removed unneeded JS files

1.0.0 (Jan 18th 2015)
---------------------

* First (non-beta) public release of MPOS
76 changes: 21 additions & 55 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,23 @@
Description [ ![Codeship Status for TheSerapher/php-mpos](https://www.codeship.io/projects/40fa7600-61a6-0131-3fd3-367b94dc0d60/status?branch=next)](https://www.codeship.io/projects/12276)
===========

MPOS is a web based Mining Portal for various crypto currencies. It was created by [TheSerapher](https://github.com/TheSerapher) and has hence grown quite large. Recently it was migrated into a Github Organization to make development easier. It's a community driven open source project. Support can be requested on IRC at https://webchat.freenode.net/?channels=#mpos
[![Build Status](https://travis-ci.org/MPOS/php-mpos.png?branch=master)](https://travis-ci.org/MPOS/php-mpos) [![Code Climate](https://codeclimate.com/github/MPOS/php-mpos/badges/gpa.svg)](https://codeclimate.com/github/MPOS/php-mpos) [![Code Coverage](https://scrutinizer-ci.com/g/MPOS/php-mpos/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/MPOS/php-mpos/?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/MPOS/php-mpos/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/MPOS/php-mpos/?branch=master) master<br />
[![Build Status](https://travis-ci.org/MPOS/php-mpos.png?branch=development)](https://travis-ci.org/MPOS/php-mpos) [![Code Coverage](https://scrutinizer-ci.com/g/MPOS/php-mpos/badges/coverage.png?b=development)](https://scrutinizer-ci.com/g/MPOS/php-mpos/?branch=development) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/MPOS/php-mpos/badges/quality-score.png?b=development)](https://scrutinizer-ci.com/g/MPOS/php-mpos/?branch=development) development

Description
===========

**NOTE**: This project is still under development and commits are happening on a daily basis.
I do not recommend using this for a live setup as of yet. Wait for the later Release Candidate
if you wish to run your pool with it. Testing pools are much appreciated though!
MPOS is a web based Mining Portal for various crypto currencies. It was originally created by [TheSerapher](https://github.com/TheSerapher) and has hence grown quite large. It's now used by many pools out there and is a good starting point to learn more about mining and running pools in general. There is no active development done on the project by the orignal developers but we still merge PRs!

Donations
=========

Donations to this project are going directly to [TheSerapher](https://github.com/TheSerapher), the original author of this project:

* LTC address: `Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8`
* BTC address: `1HuYK6WPU8o3yWCrAaADDZPRpL5QiXitfv`
* DOGE Address: `D6YtvxFGBmaD8Yq3i8LZsBQVPvCbZwCDzF`
* Cryptsy Trade Key: `6ff7292142463b7b80cbbbdfc52334ba89727b11`
* LTC address: `Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8`

Website Footer
==============

When you decide to use `MPOS` please be so kind and leave the footer intact. You are not the author of the software and should honor those that have worked on it. I don't mind changing the LTC donation address at the bottom, but keep in mind who really wrote this software and would deserve those ;-).

Donors
======

These people have supported this project with a donation:

* [obigal](https://github.com/obigal)
* [vias](https://github.com/vias79)
* [WKNiGHT](https://github.com/WKNiGHT-)
* [ZC](https://github.com/zccopwrx)
* Nutnut
* Caberhagen (http://litecoin-pool.ch)
* Mining4All (https://www.mining4all.eu/)
* [xisi](https://github.com/xisi)
* [PCFiL](https://github.com/PCFiL)
* [rog1121](https://github.com/rog1121)(https://rapidhash.net)
* [Wow, Much Pool](http://www.wowmuchpool.com/)
* webxassDE (https://www.suchcoins.com/)
When you decide to use `MPOS` please be so kind and leave the footer intact. You are not the author of the software and should honor those that have worked on it. Keeping the footer intact helps spreading the word. Leaving the donation address untouched allows miners to donate to the author.

Pools running MPOS
==================
Expand Down Expand Up @@ -79,23 +57,22 @@ The following feature have been implemented so far:

* Fully re-written GUI with [Smarty][2] templates
* Full file based template support
* **NEW** SQL based templates
* Mobile WebUI
* Scrypt, SHA256, VARDIFF Support
* VARDIFF Support
* Reward Systems
* Propotional, PPS and PPLNS
* New Theme
* Live Dashboard
* AJAX Support
* Overhauled API
* Bootstrap
* Web User accounts
* Re-Captcha protected registration form
* Worker accounts
* Worker activity
* Worker hashrates
* Pool statistics
* Block statistics
* Pool donations, fees and block bonuses
* Pool donations, bonuses, fees and block bonuses
* Manual and auto payout
* Transaction list
* Admin Panel
Expand All @@ -105,24 +82,24 @@ The following feature have been implemented so far:
* User Transactions
* News Posts
* Pool Settings
* Templates
* Pool Workers
* User Reports
* Template Overwrite
* Notification system
* IDLE Workers
* New blocks found in pool
* Auto Payout
* Manual Payout
* User-to-user Invitation System
* Support for various coins via config
* Support for various coins via coin class and config
* All scrypt coins
* All sha256d coins
* All x11 coins
* Others may be supported by creating a custom coin class

Installation
============

Please take a look at the [Quick Start Guide](https://github.com/TheSerapher/php-mpos/wiki/Quick-Start-Guide). This will give you an idea how to setup `MPOS`.
Please take a look at the [Quick Start Guide](https://github.com/TheSerapher/php-mpos/wiki/Quick-Start-Guide). This will give you an idea how to setup `MPOS`. Please be aware that the `master` branch is our currently considered stable system while `development` is used as a test bed for all upcoming changes for `master`. If you wish to run a stable, well tested system ensure you run `git checkout master`. If you decide to stick to the `development` branch with bleeding edge code and potential bugs, just `git clone` the project.

Customization
=============
Expand All @@ -131,7 +108,7 @@ This project was meant to allow users to easily customize the system and templat
If you are just using the system, there will be no need to adjust anything. Things will work out of the box! But if you plan on creating
your own theme, things are pretty easy:

* Create a new theme folder in `public/templates/`
* Create a new theme folder in `templates/`
* Create a new site_assets folder in `public/site_assets`
* Create your own complete custom template or copy from an existing one
* Change your theme in the `Admin Panel` and point it to the newly created folder
Expand All @@ -144,38 +121,27 @@ on non-existing features in `MPOS`. For the vast majority, adjusting themes shou

In all that, I humbly ask to keep the `MPOS` author reference and Github URL intact.

Related Software
================

There are a few other projects out there that take advantage of MPOS and it's included API. Here a quick list that you can check out for yourself:

* [MPOS IRC Bot](https://github.com/WKNiGHT-/mpos-bot) written in Python, standalone bot, using the MPOS API
* [MPOS Eggdrop Module](https://github.com/iAmShorty/mpos-eggdrop-tcl) written in TCL, adding MPOS commands to this bot, using the MPOS API
* [Windows Phone Pool App](http://www.windowsphone.com/en-us/store/app/meeneminermonitor/7ec6eac7-a642-409b-96c8-57b5cfdf45cf)
* [iPhone iMPOS App](https://itunes.apple.com/us/app/impos/id742179239?mt=8)

Contributing
============

You can contribute to this project in different ways:

* Report outstanding issues and bugs by creating an [Issue][1]
* Suggest feature enhancements also via [Issues][1]
* Fork the project, create a branch and file a pull request to improve the code itself

If you wish to participate contact the team on IRC: https://webchat.freenode.net/?channels=#mpos - we will point you to the proper channels!
* Fork the project, create a branch and file a pull request **against development** to improve the code itself

Contact
=======

You can find the team on Freenode.net, #MPOS.
This product is not actively developed anymore. For setup and installation support, please find help in other channels.
This projects issue tracker is used for bugs and issues with the core code, not for general help in setting up and running
pool.

Team Members
============

Author and Github Owner: [TheSerapher](https://github.com/TheSerapher) aka Sebastian Grewe
Author and Project Owner: [TheSerapher](https://github.com/TheSerapher) aka Sebastian Grewe

Developers:
Past developers that helped on MPOS in the early days:

* [nrpatten](https://github.com/nrpatten)
* [Aim](https://github.com/fspijkerman)
Expand Down
21 changes: 21 additions & 0 deletions codeception.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
helpers: tests/_support
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 1024M
modules:
config:
Db:
dsn: ''
user: ''
password: ''
dump: tests/_data/dump.sql
coverage:
whitelist:
include:
- include/classes/*
16 changes: 16 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "MPOS/php-mpos",
"description": "MPOS stands for Mining Portal Open Source. A unified mining interface for various Scrypt and SHA256d Crypto-currencies!",
"require-dev": {
"codeception/codeception": "~2.0"
},
"authors": [
{
"name": "Sebastian Grewe",
"email": "[email protected]"
}
],
"require": {
"google/recaptcha": "~1.1"
}
}
Binary file added composer.phar
Binary file not shown.
1 change: 0 additions & 1 deletion cronjobs/blockupdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@
}

require_once('cron_end.inc.php');
?>
Loading