Skip to content

Commit 02c9be5

Browse files
committed
[MAJOR] Changing project name to MPOS
* Adjusted mmcfe-ng occurences in code * Adjusted Database strucutre to only supply the full structure * Adjusted default template to MPOS Addresses #643
1 parent e6b803b commit 02c9be5

File tree

199 files changed

+99
-173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+99
-173
lines changed

Diff for: CONTRIBUTING.md

+1-1

Diff for: POOLS.md

+6-6

Diff for: README.md

+11-19

Diff for: public/include/autoloader.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
$setting->getValue('website_mobile_theme') ? $theme = $setting->getValue('website_mobile_theme') : $theme = 'mobile';
2020
} else {
2121
// Use configured theme, fallback to default theme
22-
$setting->getValue('website_theme') ? $theme = $setting->getValue('website_theme') : $theme = 'mmcFE';
22+
$setting->getValue('website_theme') ? $theme = $setting->getValue('website_theme') : $theme = 'mpos';
2323
}
2424
define('THEME', $theme);
2525

Diff for: public/include/config/admin_settings.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
$aSettings['website'][] = array(
5757
'display' => 'Website theme', 'type' => 'select',
5858
'options' => $aThemes,
59-
'default' => 'mmcFE',
59+
'default' => 'mpos',
6060
'name' => 'website_theme', 'value' => $setting->getValue('website_theme'),
6161
'tooltip' => 'The default theme used on your pool.'
6262
);

Diff for: public/include/config/global.inc.dist.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* Database configuration
2525
*
26-
* A MySQL database backend is required for mmcfe-ng.
26+
* A MySQL database backend is required for MPOS.
2727
* Also ensure the database structure is imported!
2828
* The SQL file should be included in this project under the `sql` directory
2929
*
@@ -32,18 +32,18 @@
3232
* port = 3306
3333
* user = 'someuser'
3434
* pass = 'somepass'
35-
* name = 'mmcfe_ng'
35+
* name = 'mpos'
3636
**/
3737
$config['db']['host'] = 'localhost';
3838
$config['db']['user'] = 'someuser';
3939
$config['db']['pass'] = 'somepass';
4040
$config['db']['port'] = 3306;
41-
$config['db']['name'] = 'mmcfe_ng';
41+
$config['db']['name'] = 'mpos';
4242

4343
/**
4444
* Local wallet RPC configuration
4545
*
46-
* mmcfe-ng uses the RPC backend to fetch transactions, blocks
46+
* MPOS uses the RPC backend to fetch transactions, blocks
4747
* and various other things. They need to match your coind RPC
4848
* configuration.
4949
*
@@ -62,9 +62,9 @@
6262
* API configuration to fetch prices for set currency
6363
*
6464
* Explanation:
65-
* mmcfe-ng will try to fetch the current exchange rates
65+
* MPOS will try to fetch the current exchange rates
6666
* from this API URL/target. Currently btc-e and coinchoose
67-
* are supported in mmcfe-ng. If you want to remove the trade
67+
* are supported in MPOS. If you want to remove the trade
6868
* header just set currency to an empty string.
6969
*
7070
* Default (btc-e.com):
@@ -236,7 +236,7 @@
236236
$config['pplns']['blockavg']['blockcount'] = 10;
237237

238238
// Pool target difficulty as set in pushpoold configuration file
239-
// Please also read this for stratum: https://github.com/TheSerapher/php-mmcfe-ng/wiki/FAQ
239+
// Please also read this for stratum: https://github.com/TheSerapher/php-mpos/wiki/FAQ
240240
$config['difficulty'] = 20;
241241

242242

@@ -315,7 +315,7 @@
315315
* enabled : Disable (false) memcache for debugging or enable (true) it
316316
* host : Host IP or hostname
317317
* port : memcache port
318-
* keyprefix : Must be changed for multiple mmcfe-ng instances on one host
318+
* keyprefix : Must be changed for multiple MPOS instances on one host
319319
* expiration : Default expiration time in seconds of all cached keys.
320320
* Increase if caches expire too fast.
321321
* splay : Default randomizer for expiration times.
@@ -325,14 +325,14 @@
325325
* enabled = `true`
326326
* host = `localhost`
327327
* port = 11211
328-
* keyprefix = `mmcfe_ng_`
328+
* keyprefix = `mpos_`
329329
* expiration = 90
330330
* splay = 15
331331
**/
332332
$config['memcache']['enabled'] = true;
333333
$config['memcache']['host'] = 'localhost';
334334
$config['memcache']['port'] = 11211;
335-
$config['memcache']['keyprefix'] = 'mmcfe_ng_';
335+
$config['memcache']['keyprefix'] = 'mpos_';
336336
$config['memcache']['expiration'] = 90;
337337
$config['memcache']['splay'] = 15;
338338

@@ -342,7 +342,7 @@
342342
*
343343
* You can configure the cookie behaviour to secure your cookies more than the PHP defaults
344344
*
345-
* For multiple installations of mmcfe-ng on the same domain you must change the cookie path.
345+
* For multiple installations of MPOS on the same domain you must change the cookie path.
346346
*
347347
* Explanation:
348348
* duration:
@@ -393,7 +393,7 @@
393393
* all data so rendering the page should not take too long anyway.
394394
*
395395
* You can test this out and enable (1) this setting but it's not guaranteed to
396-
* work with mmcfe-ng.
396+
* work with MPOS.
397397
*
398398
* Ensure that the folder `templates/cache` is writable by the webserver!
399399
*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: public/templates/mmcFE/about/api/default.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{include file="global/block_header.tpl" BLOCK_HEADER="API Reference"}
2-
<p>Please head over to the <a href="https://github.com/TheSerapher/php-mmcfe-ng/wiki/API-Reference">official documentation</a> to learn about the API featured in <b>mmcfe-ng</b>.</p>
2+
<p>Please head over to the <a href="https://github.com/TheSerapher/php-mpos/wiki/API-Reference">official documentation</a> to learn about the API featured in <b>MPOS</b>.</p>
33
{include file="global/block_footer.tpl"}

Diff for: public/templates/mmcFE/global/footer.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<center>
22
Litecoin Pool using <a href="https://github.com/litecoin-project/litecoin">litecoind</a>, <a href="https://github.com/ArtForz/pushpool/tree/tenebrix">pushpoold</a>, <a href="https://github.com/viperaus/stratum-mining">stratum-mining</a></br>
3-
<a href="https://github.com/TheSerapher/php-mmcfe-ng">mmcfe-ng</a> Website based on mmcfe by <a href="https://bitcointalk.org/index.php?action=profile;u=19135">AnnihilaT</a> overhauled by TheSerapher, available on <a href="https://github.com/TheSerapher/php-mmcfe-ng">GitHub</a><br/>
3+
<a href="https://github.com/TheSerapher/php-mpos">MPOS</a> Website based on mmcfe by <a href="https://bitcointalk.org/index.php?action=profile;u=19135">AnnihilaT</a> overhauled by TheSerapher, available on <a href="https://github.com/TheSerapher/php-mpos">GitHub</a><br/>
44
<i style="color: grey">LTC: Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8<br/></i><br/><br/>
55
</center>

Diff for: public/templates/mobile/global/footer.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<h1>Powered by <a target="_blank" href="https://github.com/TheSerapher/php-mmcfe-ng" data-ajax="false">mmcfe-ng</a></h1>
1+
<h1>Powered by <a target="_blank" href="https://github.com/TheSerapher/php-mpos" data-ajax="false">MPOS</a></h1>

Diff for: public/templates/mobile/master.tpl

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
{if $smarty.session.AUTHENTICATED|default:"0" == 1}
1010
<script>
1111
{literal}
12-
$( document ).on( "pageinit", "#mmcfe-ng-page", function() {
13-
$( document ).on( "swipeleft swiperight", "#mmcfe-ng-page", function( e ) {
12+
$( document ).on( "pageinit", "#mpos-page", function() {
13+
$( document ).on( "swipeleft swiperight", "#mpos-page", function( e ) {
1414
// We check if there is no open panel on the page because otherwise
1515
// a swipe to close the left panel would also open the right panel (and v.v.).
1616
// We do this by checking the data that the framework stores on the page element (panel: open).
@@ -28,7 +28,7 @@
2828
{/if}
2929
</head>
3030
<body>
31-
<div data-role="page" id="mmcfe-ng-page" data-url="mmcfe-ng-page">
31+
<div data-role="page" id="mpos-page" data-url="mpos-page">
3232
{if $smarty.session.AUTHENTICATED|default:"0" == 1}
3333
{assign var=payout_system value=$GLOBAL.config.payout_system}
3434
<div data-role="panel" id="left-sidebar" data-theme="a">

Diff for: public/templates/test/about/api/default.tpl renamed to public/templates/mpos/about/api/default.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="module_content">
44
<center>
55
<table width="100%">
6-
<p>Please head over to the <a href="https://github.com/TheSerapher/php-mmcfe-ng/wiki/API-Reference">official documentation</a> to learn about the API featured in <b>mmcfe-ng</b>.</p>
6+
<p>Please head over to the <a href="https://github.com/TheSerapher/php-mpos/wiki/API-Reference">official documentation</a> to learn about the API featured in <b>MPOS</b>.</p>
77
</table>
88
</center>
99
</div>
File renamed without changes.

Diff for: public/templates/test/about/pool/default.tpl renamed to public/templates/mpos/about/pool/default.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<ul>
1010
<li><a href="https://github.com/litecoin-project/litecoin">Litecoin</a></li>
1111
<li>1. Provides litecoind, used to synchronize blocks and offer the API the pool connects to</li>
12-
<li><a href="https://github.com/ArtForz/pushpool/tree/tenebrix">Pushpool 0.5.1-tenebrix</a>, a modified version of Pushpool supporting changed target difficulties (2^22 in this pool)</li>
12+
<li><a href="https://github.com/ArtForz/pushpool/tree/tenebrix">Pushpool 0.5.1-tenebrix</a>, a modified version of Pushpool supporting changed target difficulties (2^20 in this pool)</li>
1313
<li>2. Provides the API each worker (client miner) authenticates and connects to</li>
14-
<li><a href="https://github.com/Greedi/mmcFE">mmcFE</a> modified by Greedi & g2x3k with adjustments for this pool (proper hashrate for 2^22 difficulty)</li>
14+
<li><a href="https://github.com/TheSerapher/php-mpos">MPOS</a> (proper hashrate for 2^20 target difficulty)</li>
1515
<li>3. The Webinterface merging SQL and API information into a cohesive interface for user and worker management</li>
1616
</ul>
1717

File renamed without changes.
File renamed without changes.

Diff for: public/templates/test/global/footer.tpl renamed to public/templates/mpos/global/footer.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p><strong>mmcFE-ng</strong> by TheSerapher, available on <a href="https://github.com/TheSerapher/php-mmcfe-ng">GitHub</a></p>
1+
<p><strong>MPOS</strong> by TheSerapher, available on <a href="https://github.com/TheSerapher/php-mpos">GitHub</a></p>
22
<p>Please <strong>Donate</strong> to TheSerapher LTC: Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8 | FTC: 6jDgGaUzMVyac5uqBhJCMiFMKCtH1LagTA</p>
33
<p><strong>Copyright &copy; 2013 Sebastian Grewe</strong>, Theme by <a href="http://www.medialoot.com">MediaLoot</a></p>
44
{if $DEBUG > 0}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)