Commit Graph

185 Commits

Author SHA1 Message Date
Sebastian Grewe
31d898cbc1 Adding configurable website title
Fixes #310
2013-07-01 17:21:12 +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
Sebastian Grewe
e4e88e5226 Adding custom news posts via admin panel
* Adding dynamic news posts from DB
* Support Adding, Editing, Activating, Deactivating through admin panel
* Display all active posts on news page
* Implemented Markdown Library by Michelf

Fixes #61
2013-06-21 11:16:02 +02:00
Sebastian Grewe
82f6961645 Adding PPS specific sidebar
* Adding PPS sidebar to seperate the HTML code
* Added PPS specific globals section if need be some day
* Added payout detection to master template for sidebar
* Added 7 days and 14 days estimates

Fixes #160
2013-06-18 10:22:43 +02:00
Sebastian Grewe
3f0c3884aa Adding some more information for PPS to sidebar
* Added user share rate to sidebar for PPS
* Added estimated 24h LTC payout based on PPS value and share rate

Addresses #160
2013-06-18 09:35:01 +02:00
Sebastian Grewe
647b522b00 Adding percentage colulmn to block template
This shows the % of shares found for a block compared to the expected
value.
2013-06-17 15:00:56 +02:00
Sebastian Grewe
fa7f61c436 Adding transaction fees to transaction class
This will add back the transaction fees. Prior to this commit the pool
had to cover the transaction fees. Now for each transaction the full
balance is transferred (RPC Daemon will remove the TX Fee) but two
transactions are added. One for the Debig and one TXFee.

Fixes #203.

**Requires database upgrade with supplied SQL file**
2013-06-17 11:17:15 +02:00
Sebastian Grewe
4f3e1e9ccb Adding support for API currencies
Since some altcoins are not listed with USD yet @vias79 suggested adding
different API target currencies. This commit will add the feature and
closes #201.
2013-06-17 10:40:36 +02:00
Sebastian Grewe
ca1237c11c fixing admin user information table format 2013-06-14 17:52:56 +02:00
Sebastian Grewe
0817befaaa Further cleanup to reduce PHP notice warnings 2013-06-14 13:51:06 +02:00
Sebastian Grewe
d23d577368 always show 2 digit pool efficiency 2013-06-14 12:36:17 +02:00
Sebastian Grewe
c0870b3a48 Added more generic pool stats
* added pool efficiency based on valid and invalid shares
* added estimated shares progress based on est and valid shares
2013-06-14 11:58:41 +02:00
Sebastian Grewe
bee35325dc Only show 20 blocks for block graph
Graph dynamically expands if the blocks don't fit so it's now limited to
20 which should always fit well enough.
2013-06-14 11:38:00 +02:00
Sebastian Grewe
6f3912b6a2 fixed worker name in mail body 2013-06-14 09:58:54 +02:00
Sebastian Grewe
6f858188ad Adding pool and combined hashrate graphs
* Moving from My Graph to its own section: Hashrate Graphs
* Adding pool hashrate graph
* Adding combined hashrate graph and piechart

Fixes #187
2013-06-13 22:59:19 +02:00