Sebastian Grewe
fc4b718067
[FIX] Honor custom HTTP ports
...
Fixes #803
2013-10-31 07:55:12 +01:00
Sebastian Grewe
7ec1fcfafb
[FIX] Exclude invalid shares from statistics
...
* Hashrates
* Sharetes
* Time Graphs
Fixes #797
2013-10-30 19:26:02 +01:00
obigal
c0756d39df
24 hour pool statistics
2013-10-29 22:25:45 -04:00
obigal
4f3503bbb1
Admin poolworkers average difficulty fixes
2013-10-29 20:13:24 -04:00
Sebastian Grewe
8752b718e3
[FIX] Sort by donation amount not username
2013-10-29 18:13:00 +01:00
Sebastian Grewe
3ee2874110
[FIX] Removed debug output
2013-10-29 18:02:37 +01:00
Sebastian Grewe
272448dc6c
[IMPROVED] Allow multi-monitor setup via API Keys
2013-10-29 18:00:21 +01:00
Sebastian Grewe
ef5ac9cbfd
[ADDED] Last check footer
2013-10-29 14:54:35 +01:00
root
c4d1ca39c5
[UPDATE] reworked functions
2013-10-29 09:46:32 +01:00
Sebastian Grewe
88a2a29b3b
[UPDATE] Adding missing files
2013-10-29 09:23:52 +01:00
root
b0f4edbc13
[IMPROVED] Added Found/Valid/Orphaned to Stats
2013-10-28 21:29:48 +01:00
root
03aef00367
[IMPROVED] Added some block stats to Pool Statistics
2013-10-28 20:42:39 +01:00
Sebastian Grewe
c6dd4086ff
Merge pull request #764 from TheSerapher/payout-fixes
...
Payout fixes
2013-10-28 05:20:19 -07:00
Sebastian Grewe
c61c5f096e
[MERGE] Fix merge conflicts
2013-10-28 07:14:25 +01:00
Sebastian Grewe
7a95e4c086
Merge pull request #775 from obigal/admin-reports
...
Admin panel earnings report
2013-10-27 22:47:47 -07:00
obigal
1b277c69cf
admin panel reports
2013-10-27 10:24:49 -04:00
Sebastian Grewe
a841880fe7
Merge pull request #760 from TheSerapher/issue-759
...
Issue 759
2013-10-27 07:02:02 -07:00
obigal
aeaeb32d4a
admin panel pool-workers
2013-10-27 09:45:52 -04:00
Sebastian Grewe
e238323395
Merge pull request #772 from TheSerapher/issue-770
...
[FIX] TX Summary for Accounts
2013-10-27 03:41:36 -07:00
Sebastian Grewe
b8159f06d7
[IMPROVED] Roundstatistics code and templates
...
* [IMPROVED] Removed uneeded data array from round page
* [IMRPOVED] Sorted round shares via User ID as key for easier access
* [IMPROVED] Added share count to transaction list in prop
2013-10-27 09:12:34 +01:00
Sebastian Grewe
bae4f1712c
[FIX] TX Summary for Accounts
...
Fixes #770
2013-10-27 08:41:25 +01:00
Sebastian Grewe
a2472284a8
[FIX] Proper fetch Archive Shares
...
Is now in-line with getMininumShareId.
2013-10-27 03:28:41 +01:00
Sebastian Grewe
20a9fc3e28
Revert "[FIX] Fixed potential PPLNS issue"
...
This reverts commit ee46e65fca .
2013-10-27 02:51:03 +01:00
Sebastian Grewe
1d180c3e3d
[FIX] Do not include orphans in transaction summary
2013-10-27 02:18:49 +01:00
Sebastian Grewe
a6f9c25b5b
[UPDATE] Proper implementation of target bits
...
* [ADDED] New Config Option: Algorithm
* scrypt and sha256d supported right now
* might add SHA coin support across MPOS
* Compatible with previous implementation
* [REMOVED] config option: pps_target
* Replaced by config option: algorithm
* Please update your config, defaults to srypt now!
* [ADDED] Unpaid Shares in Dashboard
* [MODIFIED] User estshares from DB query instead template math
2013-10-26 14:10:34 +02:00
Sebastian Grewe
3326ce0927
[FIX] 14 and 30 days estimates
2013-10-26 09:48:07 +02:00
Sebastian Grewe
0838bc7783
[FIX] Fixing PPS calculations
...
* [FIX] PPS estimations
* [FIX] PPS Value, PPS Payouts being off (too low)
Tested on testnet, estimates worked perfectly and payouts worked well.
2013-10-26 02:38:24 +02:00
Sebastian Grewe
ee46e65fca
[FIX] Fixed potential PPLNS issue
...
* getMinimumShareId did not use Share Counts but Weights
2013-10-26 02:35:51 +02:00
Sebastian Grewe
a545362ba5
[FIX] getUserShareDifficulty must return 0 on NULL
2013-10-25 14:48:36 +02:00
Sebastian Grewe
ccb8faf5e3
Merge pull request #763 from TheSerapher/issue-743
...
[IMPROVED] User payout estimations
2013-10-25 02:43:18 -07:00
Sebastian Grewe
1c2b84bb50
Merge pull request #744 from obigal/pplns-stats
...
Pplns stats
2013-10-25 00:50:16 -07:00
Sebastian Grewe
0addd6ec80
[IMPROVED] User payout estimations
...
* [ADDED] Proper PPS caclulations to statistics getUserEstimates
* [IMPROVED] Updated themes to use new estimates format in global smarty
* [IMPROVED] Updated PPS Dashboard to update estimates via Ajax
* [IMPROVED] Added PPS estimates to getdashboarddata API
This will require theme updates for those sites relying on the
est_<value> format for user payout estimates!
Fixes #743 once merged.
2013-10-25 09:31:25 +02:00
Sebastian Grewe
c09f8700a0
[FIX] My Workers hashrate/difficulty
2013-10-24 14:03:16 +02:00
Sebastian Grewe
412fbe3f5b
[FIX] Proper getTableName in Base Class
2013-10-24 12:32:58 +02:00
Sebastian Grewe
ac5c0fce95
[IMPROVED] Out of Order Share detection
...
* [ADDED] Allow findblocks to detect and fix out of order shares
* [IMPROVED] Share class extends Base class for common functions
* [IMPROVED] Added more debugging and logging output to cronjob
* [ADDED] Added various new methods to blocks, share, base classes
For an overview of errors thrown in crons, please check:
https://github.com/TheSerapher/php-mpos/wiki/Error-Codes
Fixes #759 once merged.
2013-10-24 12:04:00 +02:00
Sebastian Grewe
1c5b53452a
[FIX] Do not parse non-existing cache data, use SQL
2013-10-23 07:55:17 +02:00
Sebastian Grewe
a97fd7341f
[IMPROVED] User real account name for contributor lists
2013-10-23 07:36:29 +02:00
obigal
c2169576ee
round stats fixes
2013-10-23 00:28:24 -04:00
Sebastian Grewe
bbb2290dcc
[IMPROVED] Look & Feel of basic Dashboard info
...
* [ADDED] Pool Workers live Update!
* [IMPROVED] PPLNS and PPS dashboard data
* [IMPROVED] Adjusted all dashboard to look alike
2013-10-22 21:01:34 +02:00
Sebastian Grewe
813ad615d4
[FIX] Messed up getIdleWorkers name
2013-10-22 20:29:27 +02:00
Sebastian Grewe
35e7c04386
Merge pull request #747 from TheSerapher/issue-739
...
[FIX] Honor top share contributors limits
2013-10-22 06:55:31 -07:00
obigal
7e49e7c254
pplns-stats, block-stats paging, dynamic and reverse payout
2013-10-22 09:07:31 -04:00
Sebastian Grewe
3f99e48360
[FIX] Active worker count method
...
* Mmodified Query to properly return total active workers
Fixes #740 once merged.
2013-10-21 16:44:13 +02:00
Sebastian Grewe
59a46dd48c
[FIX] Honor top share contributors limits
2013-10-21 16:33:06 +02:00
Sebastian Grewe
c89831943b
[FIX] Fixed issues with uncached user shares data
2013-10-19 09:02:15 +02:00
Sebastian Grewe
8786a99382
[FIX] Fix sending mails even though diabled
...
Fixes #732
2013-10-18 07:21:51 +02:00
Sebastian Grewe
50fb5218b1
[FIX] Use existing getDonatePercent
2013-10-16 11:54:59 +02:00
Sebastian Grewe
aedb37aa3d
[IMPROVED] Added getUserEstimates method
2013-10-16 11:34:59 +02:00
Sebastian Grewe
f636e4fc99
[FIX] Return 0 data not NULL if cache-key missing
2013-10-16 09:35:12 +02:00
Sebastian Grewe
a06d64e1fb
[IMPROVED] Added case-insensitive login
...
* [IMPROVED] Added Username/Email password reset
Fixes #709
2013-10-10 17:06:01 +02:00
Sebastian Grewe
0dca798f5c
[FIX] Do not notify on missing cache entry
2013-10-07 13:48:48 +02:00
Sebastian Grewe
1dfb7e9702
Merge pull request #673 from TheSerapher/issue-444-theserapher
...
Issue 444 theserapher
2013-10-04 02:27:28 -07:00
obigal
66296a8f36
pplns_payout block average fix when multiple blocks found during a payout run
2013-10-02 16:42:03 -04:00
Sebastian Grewe
617ff46689
Merge branch 'next' into issue-444-theserapher
2013-09-30 13:50:43 +02:00
Sebastian Grewe
d74770aaeb
[FIX] Proper formatting for network hashrates
2013-09-30 13:50:13 +02:00
Sebastian Grewe
fe982c112c
Merge branch 'next' into issue-444-theserapher
2013-09-30 13:43:44 +02:00
Sebastian Grewe
594b2c0e10
[FIX] Network Hashrate on Novacoin
2013-09-30 13:43:27 +02:00
Sebastian Grewe
1d4f60b4d9
[FIX] Logout on HTTPS
2013-09-30 13:25:27 +02:00
Sebastian Grewe
64205dd099
[MERGE] Fix merge conflict with NEXT
2013-09-30 09:56:49 +02:00
Sebastian Grewe
db89768cd5
Merge pull request #648 from TheSerapher/issue-145
...
Issue 145
2013-09-30 00:53:45 -07:00
Sebastian Grewe
84071cbd5d
Merge branch 'next' into issue-444-theserapher
2013-09-25 11:35:24 +02:00
Sebastian Grewe
abcd62d8e8
Fix #657 , added getmininginfo to wrapper
2013-09-25 11:31:42 +02:00
Sebastian Grewe
1f6ec91dfa
Honor donations and anon state in caches
2013-09-25 11:08:12 +02:00
Sebastian Grewe
6c3d2d1e96
Allow Public ACL for all round transactions
2013-09-25 10:34:36 +02:00
Sebastian Grewe
716e118041
Update statistics.class.php
...
Fixes #664
2013-09-23 07:11:43 +02:00
Sebastian Grewe
baeae10027
Merge branch 'next' into issue-444-theserapher
2013-09-20 16:11:41 +02:00
Sebastian Grewe
432f2b1fba
Merge branch 'next' into issue-145
2013-09-20 16:11:25 +02:00
Sebastian Grewe
ab90b045c0
[ FIX #662 ] IDLE Worker False Positives
2013-09-20 16:07:57 +02:00
Sebastian Grewe
5ce61d9f18
Merge branch 'next' into issue-145
2013-09-19 09:25:15 +02:00
Sebastian Grewe
c4d11885e3
[FIX] Properly show user sharerate
2013-09-19 09:24:48 +02:00
Sebastian Grewe
1387bbdf44
[MERGE] Merge conflict NEXT
2013-09-18 16:34:52 +02:00
Sebastian Grewe
c578c504ed
[MERGE] Conflict with NEXT
2013-09-18 16:32:29 +02:00
Sebastian Grewe
d863e66ef4
[BUG] Fixing contrib shares issue without cache
2013-09-18 16:31:36 +02:00
Sebastian Grewe
50cc2da3a3
[BUG] Fixed contrib shares with empty cache
2013-09-18 16:23:34 +02:00
Sebastian Grewe
c8f19d2841
Revert "[FEATURE] Added Ajax JSON Memcache"
...
This reverts commit bd8796b824 .
It turns out it's pretty much useless as long as the data passed to
get_json is not also being cached.
2013-09-18 13:16:25 +02:00
Sebastian Grewe
bd8796b824
[FEATURE] Added Ajax JSON Memcache
2013-09-18 13:11:24 +02:00
Sebastian Grewe
1a9ada84d4
fixing merge conflict from next to branch
2013-09-18 11:46:22 +02:00
Sebastian Grewe
a349e1e060
use archive table for sharerate calcs
2013-09-18 11:38:51 +02:00
Sebastian Grewe
4954f14923
Merge branch 'next' into issue-444-theserapher
2013-09-18 11:03:07 +02:00
Sebastian Grewe
07f0361050
[IMPROVEMENT] Support incremental contrib shares
2013-09-18 10:48:02 +02:00
Sebastian Grewe
a0fa71b264
[IMPROVEMENT] Adding incremental round/user shares
...
This will address #510 . It needs thorough testing and is a WiP but
is a start to improve cron runtime and DB loads.
2013-09-18 09:45:52 +02:00
Sebastian Grewe
5e64d43732
[IMPROVEMENT] Allow user login via E-Mail
2013-09-18 07:33:57 +02:00
Sebastian Grewe
fbf2a86162
[FIX] Properly redirect after login
2013-09-18 07:24:34 +02:00
Sebastian Grewe
cdf71cbfba
adding account balance to new dashboard via Ajax
2013-09-17 14:27:46 +02:00
Sebastian Grewe
4ffca7d5ac
API overhaul for easier handling of API calls
...
* [FEATURE] Allow in-class checking for user permissions
* [FEATURE] Allow in-class creation of the JSON data for coherence
* [FEATURE} Added API version in JSON data for client side checks
* [IMPROVEMENT] Adjusted all API calls to use the new JSON layout
**NOTE**: This is breaking backwads compatibility with the old API!
Please adjust your client application to support this new version.
The data array should not change much more other than added features.
2013-09-17 11:55:54 +02:00
Sebastian Grewe
e88d80cd02
Merge branch 'next' into issue-444-theserapher
2013-09-17 09:42:56 +02:00
Sebastian Grewe
bbe39228e1
Bitcoin Wrapper improvements
...
* [FEATURE] Allow for PoS/PoW Detecion in getdifficulty
* [FEATURE] Allow for SHA detecion in getnetworkhashps
* [IMRPOVEMENT] Added caching for bitcoin values (30s only)
* Will reduce the amount of RPC calls for high load pages
2013-09-17 09:36:08 +02:00
Sebastian Grewe
faadf7cbaf
[FEATURE] Proper login/logout/auth redirects
...
* Allow to redirect to referrer page when access is denied
* Logout user and point towards login, add redirect
* Logout user as usual but added save redirects
* Adjusted templates and page codes
2013-09-14 21:20:12 +02:00
Sebastian Grewe
e6ab8006d1
[FEATURE] Adding more to gauges, adding graph to dashboard
...
* Adding live-updates for gauges
* Adding new API calls
* Updated statistics to allow custom intervals
* Disabled caching for API calls for now
* Added new hashrate graph with auto-update
Addresses #444
2013-09-14 14:43:14 +02:00
Sebastian Grewe
5e1c3ae372
fixing issue mentioned in #145 with payouts
2013-09-12 13:22:39 +02: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
Sebastian Grewe
62c0641131
Merge branch 'next' into issue-145
2013-09-09 14:53:42 +02:00
Sebastian Grewe
5c11c74974
allow simple authentication checks wihtout logout
2013-09-09 07:45:55 +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
b3ba080345
obigals work, cherrypicked
2013-09-06 09:48:08 +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
e6cf43efa0
Fix: Properly send notifications again
...
Fixes #630
2013-08-23 11:28:07 +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
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
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
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
526701d2e1
Merging with origin/next to get branch updated
2013-08-20 15:55:05 +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
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
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
1a459a7913
Adding transaction summary by types
...
Addresses #581
2013-08-08 12:02:39 +02:00
Sebastian Grewe
03da52117a
Fix user seeing other users transactions
...
Fixes #577
2013-08-08 09:36:05 +02: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
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
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
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
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
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
2cddc27130
fixing PPS locked balance
2013-08-05 10:54:32 +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
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
4c37ab4950
Find actual row count without LIMITs applied
...
Addresses #542
2013-07-31 17:09:30 +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
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
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
728bfe8c9d
properly filter Credit_PPS as confirmed
2013-07-23 09:18:04 +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
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
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
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
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
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
bf3cd25326
removing unused token methods
2013-07-15 12:52:55 +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
a9ae72cd50
Merge pull request #445 from IainKay/issue-434
...
Issue 434
2013-07-11 13:06:41 -07: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