Sebastian Grewe
504855b55d
Merge pull request #656 from TheSerapher/issue-646
...
Issue 646
2013-09-14 00:39:01 -07:00
Sebastian Grewe
c20c9619a4
Update wallet.inc.php
2013-09-14 09:37:08 +02:00
nrpatten
35f042dd7b
Update default.tpl
...
Add center span
2013-09-14 09:44:38 +10:00
nrpatten
af94ba00fd
Update default.tpl
...
add center span
2013-09-14 09:41:28 +10:00
nrpatten
805fca23a1
Update default.tpl
...
Add center span
2013-09-14 09:38:27 +10:00
nrpatten
18c4ff60aa
Update custom.css
...
Add span to center switches
2013-09-14 09:36:57 +10:00
Sebastian Grewe
f67d293382
Merge branch 'issue-652' into next
2013-09-13 16:24:47 +02:00
Sebastian Grewe
2e9332b7a0
fixed cryptsy API example
2013-09-13 15:49:07 +02:00
nrpatten
e691c5cd8b
Update default.tpl
2013-09-13 22:16:46 +10:00
nrpatten
25027c09b5
Update default.tpl
...
Update Toggle Switch Test
2013-09-13 22:13:30 +10:00
nrpatten
48e89d78cb
Update default.tpl
...
Toggle Switch Test
2013-09-13 22:05:26 +10:00
nrpatten
aeb3827b4d
Update default.tpl
...
Toggle Switch Test
2013-09-13 22:01:05 +10:00
nrpatten
ca780ba164
Update default.tpl
...
Toggle Switch Test
2013-09-13 21:58:12 +10:00
nrpatten
5e873c3d8a
Update default.tpl
...
Toggle Switch test
2013-09-13 21:56:38 +10:00
nrpatten
29a99edf57
Update custom.css
2013-09-13 21:48:56 +10:00
Sebastian Grewe
aa10b6efc1
[FEATURE] Adding hashrate modifiers
...
* Allow admins to set hashrate speed displays via admin panel
* Personal
* Pool
* Network
* Allows for easier integration of SHA coins
Fixes #652
2013-09-13 13:36:36 +02:00
Sebastian Grewe
6d0854149b
adding pool and net hashrate gauges
2013-09-13 10:28:23 +02:00
Sebastian Grewe
f35c7cedc8
adding network hashrate to poolstatus
2013-09-13 10:28:12 +02:00
Sebastian Grewe
522e37717b
adding Ajax refresh for Gauges
2013-09-13 09:35:30 +02:00
Sebastian Grewe
5e09208f54
adding share-rate to getuserstatus API
2013-09-13 09:35:14 +02:00
Sebastian Grewe
e0b1db19db
adding missing master template
2013-09-13 08:40:35 +02:00
Sebastian Grewe
5176da94a4
adding missing JS files
2013-09-13 08:40:06 +02:00
Sebastian Grewe
c8f7163fa8
adding sample gauges with static data for now
2013-09-13 08:39:17 +02:00
Sebastian Grewe
03fca51af0
minor update to contactform layout
2013-09-12 18:37:06 +02:00
Sebastian Grewe
23bc5295f9
adding fieldset to transaction filters
2013-09-12 18:31:48 +02:00
Sebastian Grewe
6de81c8b78
admin settings via fieldset
2013-09-12 18:25:40 +02:00
Sebastian Grewe
493db31dcc
adding better colors for confirms/orphans/...
2013-09-12 17:56:41 +02:00
Sebastian Grewe
5e1c3ae372
fixing issue mentioned in #145 with payouts
2013-09-12 13:22:39 +02:00
Sebastian Grewe
c99c98866f
fixing PHP notice on navbar
2013-09-12 12:49:20 +02:00
Sebastian Grewe
cca0610cd3
minor donors update
2013-09-12 12:45:19 +02:00
nrpatten
32e789b8e6
Update navigation.tpl
2013-09-12 20:19:49 +10:00
nrpatten
962079b97c
Update navigation.tpl
2013-09-12 20:12:40 +10:00
nrpatten
3176363b24
Create body.tpl
2013-09-12 20:06:16 +10:00
nrpatten
61f6f5b94b
Create contactform.inc.php
2013-09-12 20:03:58 +10:00
nrpatten
ff6bd18749
Create contactform.inc.php
2013-09-12 20:01:28 +10:00
nrpatten
c9c507c93e
Update admin_settings.inc.php
2013-09-12 19:59:38 +10:00
nrpatten
34bc88533f
Update mail.class.php
2013-09-12 19:57:30 +10:00
nrpatten
493dfcd85c
Update mail.class.php
2013-09-12 19:55:59 +10:00
nrpatten
233cc96ea2
Create default.tpl
2013-09-12 19:52:10 +10:00
nrpatten
ae7e19c5f6
Create default.tpl
2013-09-12 19:51:36 +10:00
nrpatten
84173e225c
Create disabled.tpl
2013-09-12 19:46:37 +10:00
nrpatten
2c1a560e82
Update navigation.tpl
2013-09-12 19:43:59 +10:00
nrpatten
4e36a25c81
Create default.tpl
2013-09-12 19:30:17 +10:00
nrpatten
72e3a75a1e
Create default.tpl
2013-09-12 19:29:06 +10:00
nrpatten
2e7187faba
Create default.tpl
2013-09-12 19:26:38 +10:00
nrpatten
25ec8f3ec6
Create default.tpl
2013-09-12 19:23:54 +10:00
nrpatten
acecc5ea1d
Create default.tpl
2013-09-12 19:22:56 +10:00
nrpatten
18e977e12d
Create default.tpl
2013-09-12 19:21:57 +10:00
nrpatten
b2ae8efbd0
Create default.tpl
2013-09-12 19:20:54 +10:00
Sebastian Grewe
e57e82466b
adding missing icons to news admin
2013-09-12 10:14:24 +02:00
Sebastian Grewe
0bd21a0873
fixing pagination/pagesort conflicts
2013-09-12 10:02:48 +02:00
Sebastian Grewe
f3ce2cb812
[FEATURE] Added new icons, added pagination
...
This commit uses the class icons instead of actual images. Also changed
the layout a slight bit to give room for data in the header just as used
in the tab involved version.
2013-09-12 09:48:56 +02:00
Sebastian Grewe
39eddd979d
Merge branch 'issue-444-theserapher' of https://github.com/TheSerapher/php-mmcfe-ng into issue-444-theserapher
2013-09-12 08:50:08 +02:00
Sebastian Grewe
e203f31ba9
adding login icon
2013-09-12 08:49:57 +02:00
Sebastian Grewe
00c6955680
removing unpaid shares, not used
2013-09-12 08:45:26 +02:00
Sebastian Grewe
85fa71136f
adding placeholder dashboards and missing image
2013-09-12 08:43:01 +02:00
Sebastian Grewe
e2011a68b0
[FIX] Unconfirmed Wallet Balance
...
Fixes #646
2013-09-12 08:30:34 +02:00
Sebastian Grewe
f738b426f2
cleaned up dashboard page file
2013-09-09 16:07:42 +02:00
Sebastian Grewe
b05aac4678
@nrpatten: Updated dashboard for prop
2013-09-09 16:03:54 +02:00
Sebastian Grewe
62c0641131
Merge branch 'next' into issue-145
2013-09-09 14:53:42 +02:00
Sebastian Grewe
a128ca3ba0
minor fix to contrib hashrates
2013-09-09 14:44:17 +02:00
Sebastian Grewe
823ba4d844
minor changes to account-edit
2013-09-09 14:41:44 +02:00
Sebastian Grewe
eb20c0304e
adding hide button to admin panel
2013-09-09 09:53:54 +02:00
Sebastian Grewe
4b9105b84b
small update to account-workers
2013-09-09 09:52:44 +02:00
Sebastian Grewe
2235f8e15a
adding missing JS lib
2013-09-09 09:52:27 +02:00
Sebastian Grewe
31fe769091
adding API qrcode in account
2013-09-09 09:52:05 +02:00
Sebastian Grewe
6fa46137f5
adding account invitations
2013-09-09 09:47:28 +02:00
Sebastian Grewe
8e05ab71a6
adding notification account view
2013-09-09 09:37:59 +02:00
Sebastian Grewe
fb9fb9cdb2
adding account transaction view
2013-09-09 09:27:42 +02:00
Sebastian Grewe
ab7360d187
adding account edit page
2013-09-09 09:24:26 +02:00
Sebastian Grewe
f7ced8f80d
added registration templates
2013-09-09 07:46:52 +02:00
Sebastian Grewe
0dd1cc7d50
template updates for new empty content
2013-09-09 07:46:36 +02:00
Sebastian Grewe
5c11c74974
allow simple authentication checks wihtout logout
2013-09-09 07:45:55 +02:00
Sebastian Grewe
3c7bb41f81
stats template changes
2013-09-09 07:45:35 +02:00
Sebastian Grewe
b4ed4ed06a
fixing PHP warning
2013-09-08 00:23:00 +02:00
Sebastian Grewe
a19b3f5e31
Adding round statistics
2013-09-08 00:22:02 +02:00
Sebastian Grewe
82e8941c02
Merge branch 'next' into issue-444-theserapher
2013-09-07 23:55:49 +02:00
Sebastian Grewe
98688d5839
Updated testing template
...
* Removed unneeded template icons
* Added new icon font
* Added icons to navbard
* Added full admin features
Updates #444
2013-09-07 23:49:45 +02:00
Sebastian Grewe
bf5408568b
Merge branch 'next' of https://github.com/TheSerapher/php-mmcfe-ng into next
2013-09-07 20:53:39 +02:00
Sebastian Grewe
8ae36844f1
fixing some PHP warnings
2013-09-07 20:53:28 +02:00
Sebastian Grewe
bc7e511177
removing debug echos
2013-09-06 15:00:47 +02:00
Sebastian Grewe
5257001153
fixing blockhash in round block details
2013-09-06 14:55:44 +02:00
Sebastian Grewe
f87a7fc380
Merge branch 'next' into issue-145
2013-09-06 10:55:31 +02:00
Sebastian Grewe
b656be751d
indentations
2013-09-06 10:51:55 +02:00
Sebastian Grewe
d4ce764d77
proper allow back/forth on blocks
2013-09-06 10:49:19 +02:00
Sebastian Grewe
ab6a4f57d3
further implemetation into mmcfe-ng
2013-09-06 10:29:42 +02:00
Sebastian Grewe
b3ba080345
obigals work, cherrypicked
2013-09-06 09:48:08 +02:00
Sebastian Grewe
5b353ab759
Merge branch 'next' into issue-543
2013-09-06 09:40:28 +02:00
Sebastian Grewe
ecfbeec01c
adding new icon set
2013-09-02 12:55:33 +02:00
Sebastian Grewe
cecbcb7d4b
Adding testing theme for #444
...
This is just a WiP to test a new website template. Taken online from
source referenced in the sidebar footer.
Very nice and clean look, have not had the time to add all features yet
and is only used to demonstrate it.
2013-08-26 20:07:54 +02:00
Sebastian Grewe
0e27cda093
Fix: Blocks not being confirmed
...
Fixes an issue introduce with #610 .
2013-08-26 11:11:52 +02:00
Sebastian Grewe
0a4047420b
Merge pull request #631 from TheSerapher/issue-630
...
Fix: Properly send notifications again
2013-08-23 02:45:11 -07:00
Sebastian Grewe
e6cf43efa0
Fix: Properly send notifications again
...
Fixes #630
2013-08-23 11:28:07 +02:00
Sebastian Grewe
a98080ec13
adding missing THEME_DIR to dist config
2013-08-22 16:32:06 +02:00
Sebastian Grewe
6eec747be6
fixing PPLNS payouts one last time
2013-08-22 16:16:04 +02:00
Sebastian Grewe
db754c146e
Revert "Revert "adjusting pplns target to baseline shares""
...
Reverting the revert .... :-/
This reverts commit 2d27132725 .
2013-08-22 15:20:46 +02:00
Sebastian Grewe
927fc12cb3
fixing admin panel user info
2013-08-22 15:01:00 +02:00
Sebastian Grewe
2d27132725
Revert "adjusting pplns target to baseline shares"
...
* Shares are already baselined when calculating rounds
This reverts commit c9a8f8dc65 .
2013-08-22 14:51:30 +02:00
Sebastian Grewe
c9a8f8dc65
adjusting pplns target to baseline shares
2013-08-22 14:39:46 +02:00
Sebastian Grewe
75d0dfe5f7
adding share rate to all sidebars
2013-08-22 14:18:04 +02:00
Sebastian Grewe
eb435b4072
fixing difficulty per worker value
2013-08-22 12:33:29 +02:00
Sebastian Grewe
6522fb2747
fixing merge conflicts
2013-08-22 11:54:17 +02:00
Sebastian Grewe
1f6ccfd6be
Merge pull request #628 from TheSerapher/issue-610
...
Issue 610
2013-08-22 02:47:46 -07:00
Sebastian Grewe
1c24820735
Adding network_confirmations to configuration
...
* Added new configuration option `$config['network_confirmations']` to
dist config
* Default to 120 if not set
This will allow us to define a different confirmation level for user
transactions but still display blocks at their approriate unconfirmed
value when displaying them in the wallet information for admins. Risky
for pool owners but still a viable option.
Fixes #610
2013-08-22 11:45:40 +02:00
Sebastian Grewe
10a794cd4f
Merge pull request #626 from TheSerapher/issue-622
...
Issue 622
2013-08-22 02:36:12 -07:00
Sebastian Grewe
6ec5b4b845
Fixing hashrate graphs
...
* Proper initilize array in order
* Fill data after initilizing
* Removed 0 fills
Thanks @iriiria for this fix!
Fixes #624
2013-08-22 11:33:26 +02:00
Sebastian Grewe
eacb8dff03
updated templates
2013-08-22 11:30:27 +02:00
Sebastian Grewe
ae1a5c8ed3
Use baseline shares for share class
2013-08-22 11:30:13 +02:00
Sebastian Grewe
b23dd56bc8
Adding baseline shares to statistics class
...
* Calculate shares towards our base diff
* Calculate share rate based on actual shares not diff
2013-08-22 11:29:26 +02:00
Sebastian Grewe
d28e728d6c
minor cleanup
2013-08-22 11:28:18 +02:00
Sebastian Grewe
36d64b27fd
adding share rate to prop sidebar
2013-08-22 11:28:01 +02:00
Sebastian Grewe
56cfa24eb4
Include worker diff in API
...
Addresses #145
2013-08-20 17:03:41 +02:00
Sebastian Grewe
96066993ac
adding per-worker difficulty display
2013-08-20 16:50:40 +02:00
Sebastian Grewe
7769550f89
fixing missing network hashrate in this branch
2013-08-20 15:58:17 +02:00
Sebastian Grewe
526701d2e1
Merging with origin/next to get branch updated
2013-08-20 15:55:05 +02:00
Sebastian Grewe
ba95d678a0
moved motd to website tab
2013-08-20 12:08:59 +02:00
Sebastian Grewe
7ec8fa9b95
Moving a lot of settings from config to adminpanel
...
* Migrated configuration options to admin panel
* Removed configuration options from config file
* Added help text for each configuration option into panel
Addresses #622 and needs extensive testing by pools. A lot has changed
so pool owners might have to adjust their own templates to match this
new system.
2013-08-20 12:02:47 +02:00
Sebastian Grewe
4abe462e01
Merge pull request #618 from TheSerapher/issue-617
...
Fix: Display proper PPS value
2013-08-19 01:41:44 -07:00
Sebastian Grewe
2db6dba482
Fix: Display proper PPS value
...
* Fixes: Wrong PPS value before the first block is found
Fixes #617
2013-08-19 10:40:25 +02:00
Sebastian Grewe
c057efce3e
Merge pull request #616 from TheSerapher/issue-605
...
Issue 605
2013-08-19 01:00:12 -07:00
Sebastian Grewe
59bd71c75d
Fixing admin requests
...
Fixes #605
2013-08-19 09:59:41 +02:00
Sebastian Grewe
2e4a94ff8c
Merge pull request #615 from TheSerapher/issue-612
...
Removing IRC reference
2013-08-19 00:40:10 -07:00
Sebastian Grewe
f8f50fdc05
Removing IRC reference
...
Fixes #612
2013-08-19 09:39:45 +02:00
Sebastian Grewe
d6422ea5a8
Merge pull request #602 from TheSerapher/issue-582
...
Adding QRCodes under Accounts
2013-08-19 00:38:37 -07:00
Sebastian Grewe
7e4c5dab4e
Adding unconfirmed blocks to wallet
...
First attempt addressing #610 , still missing a detection for the actual
confirmation limit required for each block in case one lowers it in the
config.
2013-08-19 09:31:53 +02:00
Sebastian Grewe
a56907ba00
Adding gethourlyhashrates API call
...
Fixes #608
2013-08-15 10:08:48 +02:00
Sebastian Grewe
1708e5d2b5
Do not add 24th hour, use 0 hour
2013-08-15 10:03:22 +02:00
Sebastian Grewe
14c0535b10
Fill empty hours with proper data
...
* Properly sort the array prior to sending it back
* Sort from current to one hour earlier for proper data display
* Adjusted templates to use new sorted arrays
Fixes #606
2013-08-15 09:58:33 +02:00
Sebastian Grewe
50f380c25e
first test to fill with data
2013-08-15 09:14:02 +02:00
Sebastian Grewe
16557465e4
Added: getuserbalance API call
...
* Adds getbalance to API
* Admins: Can fetch any users balance
* Users: Can fetch only their own balance
Fixes #605
2013-08-15 08:58:50 +02:00
Sebastian Grewe
ad6ceed77e
fixing worker activity on mobile template
2013-08-14 11:47:46 +02:00
Sebastian Grewe
fcf5a21ce3
Adding QRCodes under Accounts
...
* Added: API String QR Code for #582 and #591
This will allow more QRCodes being added that are specific to an
account. The require library is added and the API string can be used as
an example how codes are generated.
Fixes #582
2013-08-14 11:44:29 +02:00
Sebastian Grewe
e5cb4d0886
Fixing combined hashrate graph
...
This shouuld fix #598 with graphs being completely off
2013-08-14 11:23:14 +02:00
Sebastian Grewe
184ad5d58b
fixing color of total percentage again
2013-08-14 11:15:49 +02:00
Sebastian Grewe
567b8e1655
Fix rounding issues on total row
...
* Use actual percentages to calculate the total to ensure
the rows average matches the totals average
Fixes #596
2013-08-14 11:10:58 +02:00
Sebastian Grewe
0679601fbd
Initilize totals with 0 values
...
Addresses #596
2013-08-14 11:03:56 +02:00
Sebastian Grewe
0833bc3a3e
Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next
2013-08-14 11:00:06 +02:00
Sebastian Grewe
c0e8459519
fix coloring of total percentage
2013-08-14 10:59:50 +02:00
Sebastian Grewe
0b701d7d06
Merge pull request #593 from TheSerapher/issue-585
...
Fixing round estimates on public stats page
2013-08-13 00:21:12 -07:00
Sebastian Grewe
22e7904da7
Fixing round estimates on public stats page
...
* Fix: Display round restimates when making pool stats public via ACL
* Fix: Display proper pool efficiency when pool stats are public
Fixes #585
2013-08-13 09:20:06 +02:00
Sebastian Grewe
85e22bc02f
Adding totals to block statistics
...
* Total expected shares
* Total actual shares
* Average Percentage
2013-08-12 10:07:19 +02:00
Sebastian Grewe
7214d27d9e
make blocks list sortable
2013-08-09 14:58:46 +02:00
Sebastian Grewe
71abaf29f3
Merge pull request #583 from TheSerapher/issue-581
...
Issue 581
2013-08-09 05:58:12 -07:00
Sebastian Grewe
d42b66d94e
removing useless strings
2013-08-08 12:09:50 +02:00
Sebastian Grewe
031b4940cd
admin should see all transactions in summary
2013-08-08 12:05:06 +02:00
Sebastian Grewe
1a459a7913
Adding transaction summary by types
...
Addresses #581
2013-08-08 12:02:39 +02:00
Sebastian Grewe
92623902b2
adding round shares back to PPS sidebar
2013-08-08 10:03:33 +02:00
Sebastian Grewe
c568683152
Adding empty example for round stat integration
...
Addresses #543
2013-08-08 10:01:33 +02:00
Sebastian Grewe
aad8271a13
Fix blockexplorer links to use blockhash not height
...
Fixes #571
2013-08-08 09:42:10 +02:00
Sebastian Grewe
03da52117a
Fix user seeing other users transactions
...
Fixes #577
2013-08-08 09:36:05 +02:00
Sebastian Grewe
6767b5a235
Merge pull request #576 from TheSerapher/issue-561
...
Issue 561
2013-08-07 21:46:44 -07:00
Sebastian Grewe
2dbf2a231e
Merge pull request #575 from TheSerapher/issue-535
...
Honor anonymous flag on mobile template
2013-08-07 21:46:12 -07:00
Sebastian Grewe
c9139034a4
Merge pull request #573 from TheSerapher/issue-549
...
Make block count on stats page configurable
2013-08-07 21:44:30 -07:00
Sebastian Grewe
0dbe1ebe11
fixing hashrate graphs
2013-08-07 09:45:40 +02:00
obigal
1819a47bf4
Vardiff/pushpool and pps payout support
2013-08-07 09:44:11 +02:00
obigal
360bd22dc6
Updates
2013-08-07 09:42:06 +02:00
obigal
fcb9ebd529
Update statistics.class.php
2013-08-07 09:41:19 +02:00
obigal
6f3a7c5b50
Update share.class.php
2013-08-07 09:40:25 +02:00
obigal
99bb4470f3
Update smarty_globals.inc.php
2013-08-07 09:40:25 +02:00
obigal
1f2bc294f2
Update for pushpool compatibility
2013-08-07 09:39:04 +02:00
obigal
84e22ae4a9
Update share.class.php
2013-08-07 09:36:26 +02:00
obigal
a7278401b0
Update smarty_globals.inc.php
2013-08-07 09:34:55 +02:00
obigal
45d5db65c8
Update default.tpl
2013-08-07 09:34:55 +02:00
obigal
86d4ec18cd
Update authenticated.tpl
2013-08-07 09:34:01 +02:00
obigal
f4451aee1c
Update share.class.php
2013-08-07 09:33:41 +02:00
obigal
f452f79f07
Update statistics.class.php
2013-08-07 09:32:51 +02:00
obigal
691611eb13
Update share.class.php
2013-08-07 09:30:39 +02:00
obigal
ef234fe80b
Vardiff/pushpool and pps payout support
2013-08-07 09:29:48 +02:00
obigal
c3a63d58ce
Updates
2013-08-07 09:29:48 +02:00
obigal
b6f3fd5972
Update statistics.class.php
2013-08-07 09:29:48 +02:00
obigal
5607103d81
Update share.class.php
2013-08-07 09:29:48 +02:00
obigal
f7a95d9f26
Update smarty_globals.inc.php
2013-08-07 09:29:48 +02:00
obigal
d89c1f43c8
Update for pushpool compatibility
2013-08-07 09:29:48 +02:00
obigal
41183b2e65
Update for pushpool compatibility
2013-08-07 09:29:48 +02:00
obigal
657839014a
Update for pushpool compatibility
2013-08-07 09:29:48 +02:00
obigal
b2a898e292
Update share.class.php
2013-08-07 09:29:48 +02:00
obigal
31e10bfa2f
Update smarty_globals.inc.php
2013-08-07 09:29:48 +02:00
obigal
2d2f480888
Update default.tpl
2013-08-07 09:29:48 +02:00
obigal
2b1c628238
Update authenticated.tpl
2013-08-07 09:29:47 +02:00
obigal
fd427f77de
Update share.class.php
2013-08-07 09:29:47 +02:00
obigal
a45bc6dbef
Update worker.class.php
2013-08-07 09:29:47 +02:00
obigal
a42adb11b2
Update statistics.class.php
2013-08-07 09:29:47 +02:00
obigal
7378e593bd
Update share.class.php
2013-08-07 09:29:47 +02:00
Sebastian Grewe
cbf39f7905
Fix IDLE worker detection
...
* Also mark as IDLE if no valid shares were received
Fixes #561
2013-08-07 09:27:50 +02:00
Sebastian Grewe
073a42cfc8
Fixing worker hashrates and activity status
...
* Fix hashrate calculations and include archived shares
* Fix worker activity to only check for our_result = Y shares
* Mark as active if worker has a hashrate > 0, removes a query
Addresses #561 , crons need to be updated to remove the active flag from
as the worker activity and check the hashrate instead.
2013-08-07 09:20:08 +02:00
Sebastian Grewe
fafd75d994
Honor anonymous flag on mobile template
...
Fixes #535
2013-08-07 08:59:22 +02:00
Sebastian Grewe
d4a9af86c4
removed debug output
2013-08-06 09:26:43 +02:00
Sebastian Grewe
0b8243ab69
Fixing archiving of PPS, TXFees and Debits
...
Emergency fix. Includes balance PPS calculation fix.
Addresses #563
2013-08-06 09:24:01 +02:00
Sebastian Grewe
c55bf8354f
Fixing bug with archived transactions
...
This will fix #563 , only mark transactions as archived that have been
confirmed.
2013-08-05 23:00:24 +02:00
Sebastian Grewe
df28e77319
fixing payout cron display
2013-08-05 17:51:31 +02:00
Sebastian Grewe
367f057e6d
Refactored monitoring page
...
* Allow easier addition of new crons to the monitor list
* Make the data generation dynamic instead of hard to adjust lists
Fixes #559 upon merge.
2013-08-05 17:45:56 +02:00
Sebastian Grewe
2cddc27130
fixing PPS locked balance
2013-08-05 10:54:32 +02:00
Sebastian Grewe
f675fc7055
Removed page generation PHP from settings
...
Committed those by accident, so removed.
2013-08-05 10:08:24 +02:00
Sebastian Grewe
4d77a7d299
Refactored admin panel settings
...
This will allow easier integration of new settings managed by the admin
panel. Includes setting types, tooltips, tabs etc.
No open ticket, just figured I'd add this.
2013-08-05 10:02:39 +02:00
Sebastian Grewe
2ced75b752
Merge pull request #556 from TheSerapher/issue-536
...
Issue 536
2013-08-05 00:20:53 -07:00
Sebastian Grewe
680fa46013
Merge pull request #555 from TheSerapher/issue-545
...
Adding Admin MOTD
2013-08-05 00:20:26 -07:00
Sebastian Grewe
d59b8ef563
Make block count on stats page configurable
...
Fixes #549
2013-08-05 09:18:52 +02:00
Sebastian Grewe
0c35a046e0
Merge pull request #554 from TheSerapher/issue-553
...
Adding jQuery Mobile 1.3.2
2013-08-04 12:57:15 -07:00
Sebastian Grewe
fa0e7379a6
Adding jQuery Mobile 1.3.2
...
* Adding new CSS and JS files
* Adding missing images
* Removing old version
* Updated master template
Fixes #553
2013-08-04 21:53:36 +02:00
Sebastian Grewe
c25e54f79c
Adding Admin MOTD
...
* Adding MOTD to admin settings
* Adding MOTD to smarty_globals as regular INFO popup
Fixes #545
2013-08-01 16:25:43 +02:00
Sebastian Grewe
7bde00c452
properly display auto-confirmed tx
2013-08-01 12:48:55 +02:00
Sebastian Grewe
95825224a1
Adding archiving flag for transactions
...
* Added new column to transactions table (`007_transactions.sql`)
* Added setArchived method to mark old transactions as archived
* Honor archived flag in getBalance and getLockedBalance
This will further address and fix #536 once merged.
2013-08-01 12:16:59 +02:00
Sebastian Grewe
3c57d5bd0a
fixing missing template warnings
2013-08-01 11:29:16 +02:00
Sebastian Grewe
4eb6c59cb3
Refactored getTransactions, unified admin/user view
...
* Removed getAllTransactions method
* Unified getTransactions for users and admins
* Added filter abilities to user transaction view
This should speed up things a fair bit for transaction heavy pools.
Addresses #536
2013-08-01 11:00:54 +02:00
Sebastian Grewe
52f58807b0
Refactored admin transactions
...
* Properly generate the bind_params statement
* Extended from Base Class
* Added methods to Base Class
Addresses #536
2013-08-01 10:40:49 +02:00
Sebastian Grewe
4b3534ce61
Fixing WHERE clause for getBalance call
...
Addresses #536
2013-08-01 10:38:20 +02:00
Sebastian Grewe
9e1f424742
Great performance increase on transaction queries
...
This will address an issue with database including a lot of
transactions. No more nested queries that put unwanted strain on a DB.
Address #536
2013-08-01 10:38:20 +02:00
Sebastian Grewe
60bf687d1c
increased limit back to 30
2013-07-31 17:11:26 +02:00
Sebastian Grewe
68c8d29a01
removed line by accident
2013-07-31 17:10:26 +02:00
Sebastian Grewe
4c37ab4950
Find actual row count without LIMITs applied
...
Addresses #542
2013-07-31 17:09:30 +02:00
Sebastian Grewe
fd8b07f02a
Removing orphaned credits from Sidebars
...
This will remove some confusion for users.
Addresses #524
2013-07-31 08:59:02 +02:00
Nicolas Schteinschraber
5a377d6106
Issue #537
2013-07-31 03:44:49 -03:00
Sebastian Grewe
86633e1603
Adding JS/CSS code to project
...
Instead of calling remote sites, deploy the JS and CSS locally. Will
allow HTTPs sites to work properly.
Fixes #521
2013-07-24 16:37:22 +02:00
Sebastian Grewe
c0b0d438b8
Catch errors on missing templates
...
Pages that are missing a template will cause a error 500. We now catch
this and display a default string.
Fixes #513
2013-07-24 14:56:34 +02:00
Sebastian Grewe
dcc0596c8f
Merge pull request #519 from TheSerapher/issue-511
...
Display network hashrate in public API
2013-07-24 04:28:35 -07:00
Sebastian Grewe
b5eca59e58
Fixing alignment in mobile template
...
Addresses #514
2013-07-24 11:41:12 +02:00
Sebastian Grewe
e760cbdc03
Fixing mobile templates
...
Addresses #514
2013-07-24 11:39:59 +02:00
Sebastian Grewe
3f62612af9
Fixing mobile templates too
2013-07-24 11:30:16 +02:00
Sebastian Grewe
eca77d551c
Changed percentages for invalids, pool efficiency
...
This should address #514 with negative efficiencies. Formulas were
wrong.
Will fix #514 when merged.
2013-07-24 10:00:27 +02:00
Sebastian Grewe
c7f952a27a
Display network hashrate in public API
...
Instead of 0 show the actual hashrate, still shows 0 if unable to
connect to RPC server.
Fixes #511
2013-07-24 09:12:29 +02:00
Sebastian Grewe
777e160cf3
cleaning PHP Notice from log
2013-07-23 16:55:05 +02:00
Sebastian Grewe
c6a4df2975
Check coin address when updating account
...
This will fix #506 and ensures valid addresses are added when updating
the account.
2013-07-23 14:37:58 +02:00
Sebastian Grewe
35d1f5fa92
Merge pull request #498 from TheSerapher/manual-payout-cron
...
Adding manual payout cron
2013-07-23 05:36:49 -07:00
Sebastian Grewe
7209f570f4
properly fetch account balance
2013-07-23 14:16:20 +02:00
Sebastian Grewe
4f46e9f781
remove worker monitoring if notifications are disabled
2013-07-23 13:11:39 +02:00
Sebastian Grewe
760f1a679e
Allow admin to disable notification system
...
This addresses #497 and allows the admins to disable notifications
through the admin panel. Might be used by those relying on clients using
the API instead.
Once merged it will fix #497 .
2013-07-23 13:06:38 +02:00
Sebastian Grewe
a6c8d507dc
Merge pull request #501 from TheSerapher/issue-260
...
Issue 260
2013-07-23 03:55:20 -07:00
Sebastian Grewe
9cb80c6fd9
Properly filter Debit transactions
2013-07-23 12:36:16 +02:00
Sebastian Grewe
9c2cefd2c3
adding blockexplorer link if URL configured
2013-07-23 12:10:32 +02:00
Sebastian Grewe
24a277312c
fixing TXFee display and filter
2013-07-23 12:01:45 +02:00
Sebastian Grewe
fb24ad81ae
fixing php warning
2013-07-23 11:52:01 +02:00
Sebastian Grewe
9899507839
Fix some reported issues in #260
2013-07-23 11:05:45 +02:00
Sebastian Grewe
63b942a7e1
Adding No Fee option to admin panel
...
Admins can disable a users fee via admin panel now.
Fixes #260
2013-07-23 10:56:45 +02:00
Sebastian Grewe
3cfef93580
WiP to disable fees for specific accounts
...
* added new account table column: `no_fee`
* honor `no_fee` flag during payout process
* added upgrade SQL file for this feature
Address #260
2013-07-23 10:56:45 +02:00
Sebastian Grewe
330169ae58
more fixes and log cleanup
2013-07-23 10:53:47 +02:00
Sebastian Grewe
ed259a5b44
properly deal with Fee_PPS and Donation_PPS
2013-07-23 09:21:11 +02:00
Sebastian Grewe
61cea524d1
properly use limit for pagination
2013-07-23 09:18:50 +02:00
Sebastian Grewe
728bfe8c9d
properly filter Credit_PPS as confirmed
2013-07-23 09:18:04 +02:00
Sebastian Grewe
1a5d216b7a
Allow adjusting the tx row limit
2013-07-23 09:08:57 +02:00
Sebastian Grewe
1d6cbd44a6
Adding new admin transaction view
...
* Added transaction filters
* Added proper paging support
* Removed the tabs that caused confusion
* Added transaction status column
Fixes #404
2013-07-23 09:03:36 +02:00
Sebastian Grewe
2c3eac1f67
proper coloring for start/end times
2013-07-22 16:47:50 +02:00
Sebastian Grewe
4b6582ac35
More colorful monitoring output
...
* Added colorized start/end times
* Added Success/Error image for Active status
* Added color to runtime status
2013-07-22 16:42:23 +02:00
Sebastian Grewe
ee5e2c46c6
Adding manual payout cron
...
This will avoid double payouts via the website. Payouts will be
requested by users and processed by a cron. If, for whatever reason,
users do add two requests (it is checked if a payout exists) they would
only have one successful payout until their account balance is back up
to a save value to trigger the payout.
This should fix any issues with manual payouts being exploited through
the website. Will require some testing by others to ensure things work
as expected.
2013-07-22 16:14:22 +02:00
Sebastian Grewe
44c31fe630
Merge pull request #500 from TheSerapher/issue-488
...
Admin Panel Setting to disable/enable AP/MP
2013-07-22 05:55:12 -07:00
Sebastian Grewe
00f7f3fadf
Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next
2013-07-22 10:41:56 +02:00
obigal
93e36a8259
Cryptsy api support
2013-07-21 14:15:34 -04:00
obigal
ee2c90525c
Cryptsy api support
2013-07-21 14:14:12 -04:00
Sebastian Grewe
1086d81f09
Merge pull request #495 from TheSerapher/issue-490
...
Issue 490
2013-07-21 10:26:05 -07:00
Sebastian Grewe
36a74b0bbf
Fix transaction table, adjust transaction class
...
* Ensure we also check newly added blocks for unconfirmed tx
* Only list orphaned transactions in the orphaned tab
Fixes #490
2013-07-21 17:25:09 +02:00
Sebastian Grewe
c94c1be7be
Using proper SQL query by @CaptainAK
...
Proposed fix did not work, using proper Query now.
Thank @CaptainAK for the fix!
Fixes #492
2013-07-21 08:35:57 +02:00
Sebastian Grewe
7d801a561c
Fixing Orphan showing as unconfirmed
...
* Fixes orphaned transactions showing as unconfirmed too
* Fixes transaction tables to show orphaned credits in green, not red
Fixes #490
2013-07-21 08:20:53 +02:00
Sebastian Grewe
440ca027a2
Fixing PPLNS target calculation on blockavg
...
This will fix #492 with PPLNS targets not taking the blocks in proper
order.
2013-07-21 08:12:40 +02:00
Sebastian Grewe
7fce187ab0
Admin Panel Setting to disable/enable AP/MP
...
This will allow admins to temporarily or permanantly enable and disable
auto and manual payout processing.
Fixes #488
2013-07-19 11:12:28 +02:00
Sebastian Grewe
43923fe4e9
only fetch blockhash for valid blocks
2013-07-19 09:49:48 +02:00
Sebastian Grewe
5f161cdbb0
Merge pull request #487 from TheSerapher/issue-486
...
Adding notifications and start/end times
2013-07-18 06:42:15 -07:00
Sebastian Grewe
6641cf7f5c
Adding notifications and start/end times
...
Fixes #486
2013-07-18 15:41:52 +02:00
Sebastian Grewe
7cf3ff3d88
Fix anonymous detection in share contributors list
...
Fixes #484
2013-07-18 13:55:05 +02:00
Sebastian Grewe
1cd39099ee
Merge pull request #483 from TheSerapher/issue-446
...
Issue 446
2013-07-18 02:05:45 -07:00
Sebastian Grewe
a655abddbf
fixing mobile template
2013-07-18 11:05:09 +02:00
Sebastian Grewe
33a058dc4b
Merge pull request #482 from TheSerapher/issue-467
...
Issue 467
2013-07-18 01:49:47 -07:00
Sebastian Grewe
b57f6b59a1
Disable API on mobile theme if disabled
2013-07-18 10:49:16 +02:00
Sebastian Grewe
6d379e8e58
Removing debug output
2013-07-18 09:45:20 +02:00
Sebastian Grewe
73ec707381
Adds blockhash to blockexplorer URL
...
* Changed blockexplorer URL to use Blockhash instead of height
* Added calls to find current networks blocks blockhash
* Propagated changes onto temmplate
* Added new dist configuration for new blockexplorer URL
Fixes #446
2013-07-18 09:43:16 +02:00
Sebastian Grewe
72ed08c92c
Adding tooltip help for anonymous account flag
...
Fixes #459
2013-07-18 09:30:44 +02:00
Sebastian Grewe
8393053641
Disabel API references if API disabled
...
This will turn off displaying any API references and links when API was
turned off in the configuration.
Fixes #467
2013-07-18 09:04:59 +02:00
Sebastian Grewe
d492b532b7
Adding ability to disable the sites API functions
...
Addresses #467 and will fix upon merge.
2013-07-17 09:43:02 +02:00
Sebastian Grewe
a12499ecd9
Fixing negative time since last block
...
This will fix #466 if approved by reporter.
2013-07-16 21:55:52 +02:00
Sebastian Grewe
b7ffbd0bfd
fixing issue for first created admin user
2013-07-16 16:02:52 +02:00
Sebastian Grewe
41ec58ea16
Adding inline docuemtation to invitation class
...
Adding proper inline documentation to invitation class.
2013-07-15 16:28:22 +02:00
Sebastian Grewe
7b929ed3e4
Fixing PHP Warning on resetting failed login count
...
Addresses #330 and further cleans PHP Log
2013-07-15 16:16:40 +02:00
Sebastian Grewe
501f369b4e
Further fixes to PHP warnings
...
Addresses #330 and further cleans up the PHP log.
2013-07-15 15:31:18 +02:00
Sebastian Grewe
525c0ab009
Fixing PHP Warning on unsert token on register
...
Addresses #330 and cleans up PHP Log
2013-07-15 14:28:54 +02:00
Sebastian Grewe
0f00f7d322
Another fix for registration issues
...
Addresses #330
2013-07-15 13:46:20 +02:00
Sebastian Grewe
8f72062558
Fixing issue with registration disabled and invitations
...
This will fix an issue with certain combinations of registration and/or
invitations being enabled or disabled.
Addresses #330
2013-07-15 13:44:22 +02:00
Sebastian Grewe
bf3cd25326
removing unused token methods
2013-07-15 12:52:55 +02:00
Sebastian Grewe
7f4f5cd343
Make invitations configurable via admin panel
...
Invitations can now be configured through admin panel settings. By
default, invitations are enabled. Invitation system is also available if
registrations are disabled. To completely remove the ability of new
users to sign up, disable both registration and invitations.
Fixes #330
2013-07-15 12:43:29 +02:00
Sebastian Grewe
bd32dfa9f8
Adding invitation system to mmcfe-ng core
...
This will allow users to send invitations to other people via email.
Each account will still need to confirm the email address if the option
is enabled.
Addresses #330 , will need to allow pool operators to enable this feature
even with registrations turned off.
2013-07-15 12:26:31 +02:00
Sebastian Grewe
7cc1e2543c
fixing syntax error
2013-07-15 12:26:31 +02:00
Sebastian Grewe
be9a8d3fda
Go through activiation even for admin accounts
...
Fixes an issue with accounts being locked after trying to activate it.
Addresses #330
2013-07-15 12:26:31 +02:00
Sebastian Grewe
0ede05a6fd
Adding email verification
...
* Adding mail verification during account registration
* Added new dist file option for mail verification
* Added account confirmation page using tokens
* Added mail class into user class for password resets
* Moved password reset template
* Adjusted account registration page
* Adjusted user class for email confirmation
Also fixed a bug with smarty_cache_key not being used properly if smarty
is disabled. Key still needs to be available even if caching is disabled
Addresses #330 and prepare the ticket for invitation only system.
2013-07-15 12:26:31 +02:00
Sebastian Grewe
29d5d36a7e
WiP for one time tokens
...
* Added token type class
* Storing Token Type as ID not varchar
* Added new system to user class and fixed issues with it
* Started on mail verification process in user class
* Updated autoloader
* Updated change password template
Addresses #330
2013-07-15 12:26:31 +02:00
Sebastian Grewe
253d6e8a47
Fixing username regexp during registration
...
Fixes wrong regext of #453
2013-07-14 21:08:03 +02:00
Sebastian Grewe
15753f5eca
Merge pull request #455 from typal/issue-452
...
fucked up...
2013-07-14 01:15:21 -07:00
typ
ed5e320ff6
fucked up...
2013-07-14 02:43:44 +02:00
Sebastian Grewe
d190866315
Merge pull request #454 from TheSerapher/issue-419
...
Adding anonymous account support
2013-07-13 10:43:21 -07:00
typ
0775eaf8c1
add check for non alpa/-/_ chars
2013-07-13 16:41:51 +02:00
Sebastian Grewe
8ec1d2cab3
Adding anonymous account support
...
* Added anonymous flag to accounts table
* Added checkbox for anonymous flag in edit account page
* Updated user class to support new flag
* Updated statistics class to support anonymous and donations
* Updated all templates showing usernames to show anonymous instead
* Added new SQL `ALTER TABLE` file for upgrading the table
Fixes #419 once merged.
2013-07-12 10:33:42 +02:00
Sebastian Grewe
ab620f1fe0
Merge pull request #443 from TheSerapher/issue-432
...
Get rid of Orphan transaction types
2013-07-12 00:46:45 -07:00
Sebastian Grewe
dca14886de
Merge pull request #448 from IainKay/Issue-447
...
Issue 447
2013-07-11 21:42:10 -07:00
Iain Kay
4a693e1bd9
Fix bug in sessions where the duration did not increase as user actively browsed site.
2013-07-11 20:40:14 +00:00
Iain Kay
3e2608fcef
Removed unnecessary cookie name variable that was not used.
2013-07-11 20:30:39 +00:00
Sebastian Grewe
a9ae72cd50
Merge pull request #445 from IainKay/issue-434
...
Issue 434
2013-07-11 13:06:41 -07:00
Iain Kay
a635d2163c
Added note about php.ini session.gc_maxlifetime value - Important to stop garbage collection removing cookies that should be valid.
2013-07-11 19:56:10 +00:00
Iain Kay
dfbaf621de
When destroying a users session on the server we now also remove all session data immediately, rather than relying on garbage collection, and we destroy the cookie on the users browser.
2013-07-11 19:41:50 +00:00
Iain Kay
aac202da2b
Pull cookie session params from include/config/global.inc.php before session_start()
2013-07-11 19:34:58 +00:00
Iain Kay
9f4789c707
In order to read the cookie configuration from include/config/globa.inc.php the session must begin after this has been included.
2013-07-11 19:29:24 +00:00
Iain Kay
d2bbc366d1
Changed the Cookie Explanation in global.inc.php to be more in line with the rest of the structure.
2013-07-11 19:26:09 +00:00
Iain Kay
638b8387c3
Updated global.inc.php to reflect the new values required for cookie configuration and documented each of the options.
2013-07-11 19:17:49 +00:00
Sebastian Grewe
aa05a9e0b0
Merge pull request #441 from ilya-stromberg/issue-409-switch-off-memcached-via-comfig
...
(#409 ) Do not use Memcached if it switched off via config
2013-07-11 09:55:30 -07:00
Ilya Stromberg
521bcc8022
Fix built-in documentation
2013-07-11 20:19:35 +04:00
Sebastian Grewe
5bf2cd0202
Merge pull request #442 from TheSerapher/issue-430
...
Issue 430
2013-07-11 08:56:50 -07:00
Ilya Stromberg
8f4b4ed970
Fix code style
2013-07-11 19:35:23 +04:00
Ilya Stromberg
15e89ad4d3
( #409 ) Do not use Memcached if it switched off via config
2013-07-11 19:11:03 +04:00
Sebastian Grewe
09c0087775
Add tickerupdate to cron monitoring
...
Fixes #439
2013-07-11 16:50:24 +02:00
Sebastian Grewe
e0d43141b5
Merge pull request #438 from TheSerapher/issue-431
...
Adding last runtime to monitoring page
2013-07-11 07:45:38 -07:00
Sebastian Grewe
5c0d992134
fixing smarty cache key generation
2013-07-11 15:58:30 +02:00
Sebastian Grewe
7466689b50
further escapes on templates
2013-07-11 15:55:32 +02:00
Sebastian Grewe
08359c0d19
Further escaping of user inputs
2013-07-11 15:53:38 +02:00
Sebastian Grewe
5b50422675
Fixing XSS for user registration
2013-07-11 15:49:08 +02:00
Sebastian Grewe
dfde017267
Get rid of Orphan transaction types
...
This fixes #432 and puts orphans on the same system as unconfirmed
transactions.
2013-07-11 14:26:53 +02:00
Sebastian Grewe
739bd9c7b6
Properly cache on a per-user basis
...
This will fix an issue with templates of other users being applied to
different users logged in. Basically the first cached page would be
displayed for all users.
Created a new cache key for smarty to allow the user ID to be reference
in the cache key. Hence each user has their own cached file which will
be used.
Improved caching by creating subdirectories for cached files. This way
we won't run into a file limit per directory with a lot of cached files.
This fixes #430 and the mentioned issue in that report.
2013-07-11 13:45:54 +02:00
Sebastian Grewe
875572813b
Adding last runtime to monitoring page
...
Displays the date/time of the last successful run.
Fixes #431
2013-07-11 13:25:22 +02:00
Sebastian Grewe
ed573e6e46
Merge pull request #428 from TheSerapher/issue-418
...
Issue 418
2013-07-11 03:35:50 -07:00
Sebastian Grewe
1344f39f96
Ensure we set workers to 0
...
If no workers are found false is returned. Smarty is not able to set a
default on `false` values so we have to set it to 0 if the query failed.
Fixes #418
2013-07-11 11:43:48 +02:00
Sebastian Grewe
83c979b260
Merge pull request #427 from TheSerapher/issue-309
...
Issue 309
2013-07-11 02:35:24 -07:00
Sebastian Grewe
25b12d204a
Better description what type uses what for PPLNS
...
Fixes #422
2013-07-11 09:19:30 +02:00
Sebastian Grewe
72d91ff6c3
adding proper account balance warning back in
2013-07-11 09:16:31 +02:00
Sebastian Grewe
39cfdc78e0
onliner security check
2013-07-11 09:15:36 +02:00
Sebastian Grewe
17829cfd4a
always assign default content
2013-07-11 09:13:50 +02:00
Sebastian Grewe
09efdfc172
fixing merge commit with origin
2013-07-11 09:05:41 +02:00
Sebastian Grewe
65c6318b02
fixing empty variable when using cache
2013-07-11 09:03:47 +02:00
Sebastian Grewe
e0275566ae
disable smarty cache by default in dist
2013-07-11 09:02:34 +02:00
Sebastian Grewe
bffeea07c9
Adding cache detection to many pages
...
This will allow pages to skip loading data from backends like the
database or the wallet RPC server. If a cached page is detected and
valid, all dynamic content generation will be skipped completely.
Other pages that have not been adjusted in this commit will still fetch
backend data all the time. This will ensure clients always see the most
recent data, like worker information or account changes.
This should fix #309 completely but needs some testing.
2013-07-11 09:02:34 +02:00
Sebastian Grewe
3c426e913b
Adding {nocache} flags for dynamic content
...
This will update content instantly once the user changes it and not load
a cached version from the smarty cache.
Addresses #309
2013-07-11 08:58:19 +02:00
Sebastian Grewe
0e6edc562c
Add detailed smarty cache documentation to config
...
Instead of just making it availble document the smarty cache feature.
It might work for users, but it's advised to rely on the memcache
instead.
Fixes #309
2013-07-11 08:58:19 +02:00
Sebastian Grewe
426268f71d
adjust smarty configurations
2013-07-11 08:58:19 +02:00
Sebastian Grewe
e9311f08a5
Adding cache lifetime option to smarty config
...
* Renamed configuration array to `smarty` => `cache`
* Added `smarty` => `cache_lifetime` to expire cache files properly
This should be safe to use, be aware that each page request is cached!
That includes any POST/GET calls to the site.
It does help in speeding up the site, up to 100% on some requests. For a
high traffic site it probably makes sense to enable this option with a
low cache lifetime to ensure most recent data.
Addresses #309
2013-07-11 08:58:19 +02:00
Sebastian Grewe
6632920fa1
Add detailed smarty cache documentation to config
...
Instead of just making it availble document the smarty cache feature.
It might work for users, but it's advised to rely on the memcache
instead.
Fixes #309
2013-07-11 08:58:19 +02:00
Sebastian Grewe
aace0dd014
More descriptive PPLNS options
...
Fixes #421 and #422
2013-07-11 08:57:11 +02:00
Sebastian Grewe
39d1193e6a
Add default value for active pool workers
...
Fixes #418
2013-07-11 08:51:40 +02:00
Sebastian Grewe
fdf97c8832
fixing config access in share class for archive purge
2013-07-10 14:24:15 +02:00
Sebastian Grewe
993ddaf3bc
fixing 24h shares retention in dist config
2013-07-10 14:17:20 +02:00
Sebastian Grewe
271f7f8381
Better monitoring layout
2013-07-10 11:39:16 +02:00
Sebastian Grewe
ceeed45bb3
Adding statistics cron to monitoring
...
Useful to trace cron runtimes in order to adjust caching times for long
rounds.
Addresses #145 and adds a new cron to monitoring page
2013-07-10 11:26:06 +02:00
Sebastian Grewe
a6d752a096
adding some defaults on template
2013-07-10 10:45:10 +02:00
Sebastian Grewe
0c014da726
unknown index PHP warning fix
2013-07-10 10:44:10 +02:00
Sebastian Grewe
94d9c1eb4c
Added cronjob monitoring to admin panel
...
* Added monitoring class to deal with monitoring events
* Added event calls to all important cronjobs
* Added cron_end include file for monitoring cleanups on successful runs
* Added Monitoring to autoloader
* Modified account page to check for running auto_payout in monitoring
* Added monitoring to Navigation bar
* Added monitoring controller page
Fixes #415
2013-07-10 10:40:11 +02:00
Sebastian Grewe
223195c08a
Merge pull request #414 from TheSerapher/issue-409
...
Ensure people know what the memcache setting does
2013-07-09 14:23:10 -07:00
Sebastian Grewe
70644b4299
Merge pull request #413 from TheSerapher/issue-408
...
Issue 408
2013-07-09 14:22:33 -07:00
Sebastian Grewe
b4b6b118bf
Ensure to return 0 if no valid/invalid shares are found
2013-07-09 23:19:36 +02:00
Sebastian Grewe
ecf3db3a5b
Removed BETWEEN call for round shares
...
Now shares are calculated proper with
`id > ? AND id <= ?`
as boundaries. This will ensure the upstream result is also calculated
for the round.
Addresses #143
2013-07-09 22:41:21 +02:00
Sebastian Grewe
8808913ca5
Fixing Sidebar estimations on PPLNS
...
This will address a new issue in #143 , estimates where not displayed
properly when pplns was active.
Fixes #143
2013-07-09 22:02:12 +02:00
Sebastian Grewe
ba240000ab
Latest version for PPLNS payouts
...
* Rebased with next to add logging functions
* Added block method to fetch specific block
* Modified getArchive shares method to be more constistent
* Added new global configuration
* Adjusted smarty globals with new configuration
* More verbose pplns cron with logging
* Re-target the round in case of PPLNS not being matched by archive
Fixes #143
2013-07-09 21:59:44 +02:00
Sebastian Grewe
2f2acdad6d
First working version of PPLNS payouts
...
* Based PPLNS on Prop Payout script
* Using defaults from prop payout, no class adjustments
* Added more methods required for PPLNS
* Added block methods for dynamic payout calculations
* Added PPLNS Sidebar that also displays the PPLNS Target
* Shares beyond this target will not be included in payouts
* Shares missing to this target will be added from archives
* Enabled archiving by default for PPLNS
* Added configuration options for PPLNS
* Documented the usage for PPLNS, defaults are sane
* Added pplns_payout to run-crons
Addresses #143 and if accepted will fix it
2013-07-09 21:59:44 +02:00
Sebastian Grewe
dc51d874a7
Adding block height to blockupdate output
...
This should make tracing block updates easier.
2013-07-09 21:26:06 +02:00
Sebastian Grewe
da1649f319
Merge pull request #411 from TheSerapher/issue-405
...
Issue 405
2013-07-09 12:18:21 -07:00
Sebastian Grewe
9e878b06d5
Ensure people know what the memcache setting does
...
Even though memcache can be disabled, the memcache library is a
requirement as listed in the README.md. I clarified that in the
configuration file itself to ensure people install it even though they
might be disabling it for debugging purpose.
Fixes #409
2013-07-09 16:29:00 +02:00
Sebastian Grewe
5acebc37d3
Allow guest access to pages with config options
...
This will allow pool owners to make certain pages public accessible
without user registration or login. Please check the config dist file
for details.
Fixes #408
2013-07-09 16:13:43 +02:00
Sebastian Grewe
b33f572774
adding missing PHP closing tag
2013-07-09 16:13:30 +02:00
Sebastian Grewe
52e02a545b
fixing issue with upstream shares not being found
2013-07-09 15:43:42 +02:00