Commit Graph

198 Commits

Author SHA1 Message Date
Sebastian Grewe
f3caa80d80 Merge pull request #334 from TheSerapher/issue-327
Potential fix for PHP Warning
2013-07-02 02:00:15 -07:00
Sebastian Grewe
535f13c184 Fixing PHP Warnings in Registration page
* Fix API Key generation not using SALT when creating hash
 * This should not affect existing API keys since hashes are compared
* Fix PHP Warning for RECAPTCHA if disabled

Fixes #328
2013-07-02 10:38:23 +02:00
Sebastian Grewe
9e306bf06e Potential fix for PHP Warning
This should fix #327
2013-07-02 09:00:01 +02:00
Sebastian Grewe
5a40e38635 Properly display network hashrate in ghash 2013-07-01 18:44:34 +02:00
Sebastian Grewe
c157a76551 Adding network hashrate to ministats header
Fixes #325
2013-07-01 18:41:18 +02:00
Sebastian Grewe
e0c1c3edf1 Adding reference for API documentation
This is a simple version since API documentation is already documented
on the GitHub Wiki.

Fixes #323
2013-07-01 18:34:08 +02:00
Sebastian Grewe
19a0eeb8a1 Adding colorized percentage
As requested by @obigal this will add colorized percentage:

* Above 100% it's red
* Below or even 100% it's green

Fixes #321
2013-07-01 18:27:41 +02:00
Sebastian Grewe
ce69fb6375 Merge pull request #320 from TheSerapher/issue-310
Proper fix for #310
2013-07-01 09:04:07 -07:00
Sebastian Grewe
fde7ea1507 Proper fix for #310
Too many tasks at the same time, but this time fixed, for real.
2013-07-01 18:03:11 +02:00
Sebastian Grewe
46f39723de Display block amount/value on block list
Fixes #318
2013-07-01 18:01:03 +02:00
Sebastian Grewe
ae9f8402af Merge pull request #317 from TheSerapher/issue-314
Issue 314
2013-07-01 08:55:23 -07:00
Sebastian Grewe
b89561df78 Proper fix for top estimates being 0
Properly fixes #314
2013-07-01 17:53:57 +02:00
Sebastian Grewe
31d898cbc1 Adding configurable website title
Fixes #310
2013-07-01 17:21:12 +02:00
Sebastian Grewe
fac2814618 Re-assign own estimate variable
This might fix #314 that a user was since #306.
2013-07-01 17:05:41 +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
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
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
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
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
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
9f7cc5c0e1 fixing mobile hashrate table 2013-06-28 15:34:40 +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
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
Sebastian Grewe
d5d2d3d36f Fixing unauthenticated navigation for stats
Use different link to properly display pool statistics if not
authenticated.

Fixes #245
2013-06-25 08:49:13 +02:00
Sebastian Grewe
2e7a4a8092 Adding donors page to About dropdown
Lists all donors, their donation setting and total donated amount.
This will allow people to see who is contributing to the pool.

Fixes #223
2013-06-23 20:12:34 +02:00
Sebastian Grewe
b4c1c5b667 removed wrong link, re-added admin, removed news 2013-06-21 20:28:29 +02:00
Sebastian Grewe
f39d9cca2d Removed News from navigation
Fixes #232
2013-06-21 20:25:49 +02:00
Sebastian Grewe
706a3422eb Making news page the default homepage
Addresses #232
2013-06-21 20:25:12 +02:00
Sebastian Grewe
84ababe9f7 Adding support for post time and author
* Added new SQL upgrade and structure
* Added post time and author to admin panel
* Added post time and author to news list

Fixes #226
2013-06-21 12:11:13 +02:00