Commit Graph

352 Commits

Author SHA1 Message Date
Sebastian Grewe
31d898cbc1 Adding configurable website title
Fixes #310
2013-07-01 17:21:12 +02:00
Sebastian Grewe
2dd333b5d8 Changing wallet error message from litecoind
Since plenty scrypt based currencies are supported, changed error
message to say `wallet` instead of `litecoind` when failing to connect
to RPC service.
2013-07-01 12:47:33 +02:00
Sebastian Grewe
014813603e Cleaning up more PHP warnings
* Cleaned up registration page
* Made all fields required via HTML5 tag
* Adjusted login template with required HTML5 tags too
2013-07-01 12:43:13 +02:00
Sebastian Grewe
e3c1d7e0d0 Modfied templates to support empty trade currency
This will remove any template content related to the trade currency if
that one is left empty in the configuration.

While going through the templates I also cleaned up the PHP Warnings
left. The code and templates should now process without throwing any PHP
warnings.

Fixes #305 and further addresses #301
2013-07-01 12:32:59 +02:00
Sebastian Grewe
54371ffe11 Updated inline config documentation
Added reference to trade header removal. This allows users to disable
the trade header at the top of the page by setting currency to an empty
string.

Addresses #305
2013-07-01 12:12:04 +02:00
Sebastian Grewe
f333982698 Merge pull request #304 from TheSerapher/issue-275-pos-support
Issue 275 pos support
2013-07-01 01:38:34 -07:00
Sebastian Grewe
fe5c42e6f6 Disable trade currency if no price currency defined
This will disable the trace exchange display in the header if no
currency is defined in the configuration.

Fixes #298
2013-07-01 02:00:05 +02:00
Sebastian Grewe
01afd2f02f Properly display estimates on 0 valid shares
If pool has no valid shares, display 0 as the estimated payout. This
will avoid a PHP Warning devision by zero.

Fixes #296, do not run into Divide by zero error when missing round
shares
2013-07-01 01:55:29 +02:00
Sebastian Grewe
4be963d7be Detect if we use POS difficulties or not
Fixes #275
2013-06-30 19:35:49 +02:00
Sebastian Grewe
af70a194c9 Adding support for POS coin
This will fix #275 and add proper support for a different implementation
of network difficulty.
2013-06-30 19:35:49 +02:00
Sebastian Grewe
4c04142f45 Merge pull request #294 from TheSerapher/issue-291
Re-add favicon to master template
2013-06-30 10:24:58 -07:00
Sebastian Grewe
94b75d7a44 Re-add favicon to master template
Fixes #291
2013-06-30 19:24:05 +02:00
Sebastian Grewe
cf921e72c3 Fix own list entry if not in top-15
Fixes #292
2013-06-30 19:22:57 +02:00
Sebastian Grewe
cfb209a425 removed debug output 2013-06-30 13:43:05 +02:00
Sebastian Grewe
5436be049d Improved dist configuration file
* Added more inline documentation
* Removed array notation for config
* Added defaults to documentation

This should help newcomers get setup. All options are now documented and
explained throughout the configuration file.
2013-06-30 13:35:04 +02:00
Sebastian Grewe
3e07263ae9 Removed registration configuration option
* Removed old registration configuration option from config file
* Changed database registration option to allow registrations by default
* Changed admin settings template for new DB option
* Changed registration controllers for new DB option

Fixes an issue with registrations not working if settings table is
empty.
2013-06-30 12:29:52 +02:00
Sebastian Grewe
7390ca38e5 Enable or Disable maintenance and registrations
This will allow any admin to enable or disable a pool maintenance mode.
Regular users that are still logged in will not be kicked out (yet). New
users that are trying to login and are not admins will be denied access.

Also added registration option to Admin Settings via WebUI. You can now
disable new accounts via web option or configuration setting.

Fixes #259 but also adds an additional feature.
2013-06-30 12:03:46 +02:00
Sebastian Grewe
483e554259 Adding SQL based pagination to admin transactions
This will prevent PHP OOM errors due to a large amount of transactions.
You can find navigation arrows at the top and fetch 30 transactions at a
time.

Fixes #267
2013-06-30 11:04:12 +02:00
Sebastian Grewe
cc6b4b3120 Add number formatting in account transactions
This should fix #282 where numbers are displayed in scientific notation.
2013-06-30 10:32:09 +02:00
Sebastian Grewe
4371238bd5 Adding worker overview via navbar
Fixes #285
2013-06-30 10:19:20 +02:00
Sebastian Grewe
8ff4dceca3 force opening in new tab on footer link 2013-06-29 21:53:29 +02:00
Sebastian Grewe
c812fe1527 adding URL to my project in footer 2013-06-29 21:51:55 +02:00
Sebastian Grewe
f6242f2c74 Adding swipable sidebar
* Login to mobile version to enable sidebar
* Swipe right to display your old dashboard
* Modified `home.inc.php` to default to news at all times again
* Modified sidebar implementation to change via config setting
* Modified mobile navigation bar and header
* Added `sidebar_prop.tpl` file for both themes

Some breaking changes might be introduced here if you are running your
own template implementation. Please ensure that `home/default.tpl` will
display the news posts. `sidebar.tpl` is now `sidebar_prop.tpl`.

If the files are missing you will get a PHP error. Check your logs what
file is missing and create them from my original samples.

Fixes #283
2013-06-29 21:26:58 +02:00
Sebastian Grewe
f9f776a015 Display newspage on Mobile if not authed
* Do not show dashboard if user is not logged in
* Show news on Mobile and Desktop by default
* Show Dasboard on mobile once logged in
* Make News Navbar item default for unauthed users on mobile
* Add Dash Navbar item for authed users on mobile
2013-06-29 15:26:16 +02:00
Sebastian Grewe
c66c448836 Adding mobile dashboard and news page
* Adding mobile detection to home page
* Allow home page to default to news for desktops
* Use payout specific sidebar for mobile homescreen
* Added News navigation option to mobile

Fixes #278
Fixes #279
2013-06-29 15:11:57 +02:00
Sebastian Grewe
eb41138f36 Wider sidebar, smaller font
Fixes #274
2013-06-29 14:51:21 +02:00
Sebastian Grewe
207c779cd6 Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next 2013-06-28 22:01:12 +02:00
Sebastian Grewe
f80648e1fd proper number format for invalid % 2013-06-28 22:00:46 +02:00
Sebastian Grewe
b90662e544 Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next 2013-06-28 21:54:52 +02:00
Sebastian Grewe
ee9a6eed6a Added % of invalids for pool and user
Fixes #272
2013-06-28 21:52:28 +02:00
Sebastian Grewe
3421cf63b6 Allow regular users to check their own workers
Fixes #270
2013-06-28 21:38:03 +02:00
Sebastian Grewe
8f20009475 Distinguish between admin and user API call
Fixes #268
2013-06-28 21:32:59 +02:00
Sebastian Grewe
d11950f9cf re-introduce graph width detection 2013-06-28 20:39:26 +02:00
Sebastian Grewe
99a58e7119 fixed missing /if 2013-06-28 20:39:01 +02:00
Sebastian Grewe
9e59f99230 remove block confirm notice for pps 2013-06-28 20:32:18 +02:00
Sebastian Grewe
7b0ae8d86e reduced blocks count to fixed 20 2013-06-28 20:29:51 +02:00
Sebastian Grewe
4f8cfd95db Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next 2013-06-28 16:07:06 +02:00
Sebastian Grewe
5c6e872867 Fixing false shares result in API call
Fixes #262
2013-06-28 15:54:30 +02:00
Sebastian Grewe
f3fce2fec6 Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next 2013-06-28 15:49:22 +02:00
Sebastian Grewe
92f2243cfb Fixing getuserstatus API call
Fixes #257
2013-06-28 15:47:21 +02:00
Sebastian Grewe
9f7cc5c0e1 fixing mobile hashrate table 2013-06-28 15:34:40 +02:00
Sebastian Grewe
36acc858ed Fixing global dist config
Defined THEME must be removed for mobile device themes to work.
2013-06-28 13:50:22 +02:00
Sebastian Grewe
d4f4b9073f Working jQuery Mobile frontend for mobile devices
* Added mobile device detection PHP library
* Call PHP library to decide which theme to use
* Added theme as a configuration option into global config
 * Selectable Desktop theme (default: mmcFE)
 * Selectable Mobile theme (default: mobile)
 * Disable mobile theme support entirely

**NOTE**: This requires updates to the `global.inc.php` so please check
the dist file and update your config before filing a new issue!

Addresses #25
2013-06-28 13:45:14 +02:00
Sebastian Grewe
1126118cb9 Fetch all user shares in one query
This will fetch all user shares in a single run, not user by user as
done previously. Saves one query and can possibly increase SQL execution
time.

Addresses #246
2013-06-26 10:54:10 +02:00
Sebastian Grewe
416d52078d Adding an optimized valid/invalid shares query
* This should speed up the process of finding shares for round and users

Addresses #246
2013-06-26 10:00:06 +02:00
Sebastian Grewe
61a2a30916 Missing </b> 2013-06-25 14:11:25 +02:00
Sebastian Grewe
62e7563c6d Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next 2013-06-25 14:09:49 +02:00
Sebastian Grewe
65d8b08e82 Better looking news post header 2013-06-25 14:09:01 +02:00
Sebastian Grewe
a09bd1470e Adding account name to all transactions
Fixes #251
2013-06-25 11:39:44 +02:00
Sebastian Grewe
370b3475b9 Adding transactions admin panel
* Lists all transactions for all users

Addresses #251
2013-06-25 10:57:56 +02:00