Commit Graph

224 Commits

Author SHA1 Message Date
Sebastian Grewe
69b2c2f517 Properly abort API calls if api_key is invalid
* Fixes an issue where any api_key would be validated
* Now returns user ID upon success, aborts script processing with error
  on fail
2013-05-29 12:41:53 +02:00
Sebastian Grewe
ee01bd0df0 Merge pull request #78 from TheSerapher/issue-74
change tx detection to check for orphaned blocks
2013-05-29 03:15:23 -07:00
Sebastian Grewe
36bfcf6b6b change tx detection to check for orphaned blocks 2013-05-29 12:14:30 +02:00
Sebastian Grewe
43320a77d8 Merge pull request #77 from TheSerapher/ticket-cron
Ticket cron
2013-05-29 02:04:19 -07:00
Sebastian Grewe
6b5245b489 new DB strucutre to change setting table to column name 2013-05-29 11:00:48 +02:00
Sebastian Grewe
2376c82c79 default to n/a on template if no value is stored yet 2013-05-29 10:59:10 +02:00
Sebastian Grewe
cdfb074076 Re-adding LTC/usd to website ministats header
* Use tickerupdate.php cron to update setting value
* Added new configuration variables for ticket updates
* Added some missing configuration vars for some URLs
2013-05-29 10:56:08 +02:00
Sebastian Grewe
44851cf82b Update README.md
Added existing and planned future payout systems as features
2013-05-29 07:01:39 +02:00
Sebastian Grewe
ddc1446a2b removing API reference since it is split into many methods now 2013-05-28 16:01:53 +02:00
Sebastian Grewe
2548d4b03d add API key back to account details
Fixes #73.
2013-05-28 15:35:28 +02:00
Sebastian Grewe
006faba666 Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next 2013-05-28 15:25:04 +02:00
Sebastian Grewe
c258a4860a updated support information 2013-05-28 15:24:16 +02:00
Sebastian Grewe
422e22dc3f Update README.md
Added Freenode IRC Chat contact information
2013-05-28 16:20:28 +03:00
Sebastian Grewe
a2eb5cc7b3 Register first user as admin
This commit fixes #50 and is needed for the admin panel
2013-05-28 14:33:03 +02:00
Sebastian Grewe
510ce89338 Use new BitcoinWrapper class, remove memcache calls 2013-05-28 11:50:37 +02:00
Sebastian Grewe
72207cf246 Merge pull request #72 from TheSerapher/api-page
Api page
2013-05-28 02:03:14 -07:00
Sebastian Grewe
f4a4235562 remove generic api page 2013-05-28 10:55:29 +02:00
Sebastian Grewe
d4331ed8dc Adding more actions for API page
* getblockcount
* getblocksfound (with limit support)
* getcurrentworkers
* getdifficulty
* getestimatedtime
* getpoolhashrate
* getpoolsharerate
* gettimesincelastblock
2013-05-28 10:50:16 +02:00
Sebastian Grewe
1e54a1a2d6 initial commit of a working API page 2013-05-28 10:13:26 +02:00
Sebastian Grewe
1fa412c89f Merge pull request #71 from TheSerapher/cache-update
Moved setCache method into StatsCacheClass
2013-05-28 01:11:07 -07:00
Sebastian Grewe
376bae1e2d Moved setCache method into StatsCacheClass
* Allow calling method via memcache wrapping call
* Make it available to all classes using StatsCache
2013-05-28 10:09:57 +02:00
Sebastian Grewe
75bee6ed60 fetch account balance across all users
* Used later for admin panel to show total amount of credits locked for
  users
* Used later for liquid asset calculations
2013-05-27 15:51:20 +02:00
Sebastian Grewe
658039fecf Merge pull request #69 from TheSerapher/issue-66
addressing #66 with higher timerange for upstream shares
2013-05-27 05:56:19 -07:00
Sebastian Grewe
e1f92218a3 addressing #66 with higher timerange for upstream shares 2013-05-27 14:55:13 +02:00
Sebastian Grewe
5ba2613d1d Merge pull request #68 from TheSerapher/sql-structure
added latest DB layout
2013-05-27 05:53:13 -07:00
Sebastian Grewe
7f1d36cc97 Merge pull request #67 from TheSerapher/orphan-blocks
Adding support for orphan blocks
2013-05-27 05:52:44 -07:00
Sebastian Grewe
798e5b21f7 added latest DB layout
* Added support for account tokens to reset password
* Added support for orphan transactions
* Added support for negative block confirmations
2013-05-27 14:48:57 +02:00
Sebastian Grewe
d44c236f2b Adding support for orphan blocks
* Adjusted blockupdate cronjob
 * Fetch block information via `gettransaction`
* Adjusted block class
 * Only getAllUnconfirmed where confirmations > -1
* Adjusted transaction class
 * added setOrphan method to mark orphaned transactions
* If block is orphaned
 * Mark all related transactions as Orphan_*type*
 * Set confirmations of block to -1 so it is ignored and marked as orphan
* Change transaction template, added listing for orphan transactions
* Add orphan status to block listings template
2013-05-27 14:44:40 +02:00
Sebastian Grewe
436aed65f1 fixing margin between sidebar and content 2013-05-27 12:45:22 +02:00
Sebastian Grewe
3d5eddecb8 added more number formatting in sidear 2013-05-26 20:44:34 +02:00
Sebastian Grewe
510d366a9e removing PPLNS references since pool runs propotional system for now 2013-05-26 20:30:29 +02:00
Sebastian Grewe
3849454a2e Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next 2013-05-26 20:29:58 +02:00
Sebastian Grewe
34de1ae36e removing PPLNS about page since pool is running propotional system for now 2013-05-26 20:29:05 +02:00
Sebastian Grewe
1c5b6c05fe Merge pull request #60 from TheSerapher/table-row-align
better alignment of numbers in some tables
2013-05-26 11:24:18 -07:00
Sebastian Grewe
587e5ba9a7 better alignment of numbers in some tables 2013-05-26 20:23:38 +02:00
Sebastian Grewe
d5bff0b1dc Merge pull request #59 from WKNiGHT-/patch-3
Fix to over lapping stats on sidebar
2013-05-25 12:16:55 -07:00
Fred
b8bd2b904e Fix to over lapping stats on sidebar 2013-05-25 12:58:37 -04:00
Sebastian Grewe
dadb6102c6 Merge pull request #58 from TheSerapher/password-reset
Password reset
2013-05-25 03:26:06 -07:00
Sebastian Grewe
93d0ec06a6 adding proper headers for HTML mail 2013-05-25 12:25:41 +02:00
Sebastian Grewe
787942b6f9 working version of password reset with one time token 2013-05-25 12:08:51 +02:00
Sebastian Grewe
2a0a781052 Merge branch 'password-reset' of github.com:TheSerapher/php-mmcfe-ng into password-reset 2013-05-25 10:59:01 +02:00
Sebastian Grewe
841d986726 initial work on password reset, not working fully yet 2013-05-25 10:58:53 +02:00
Sebastian Grewe
30a46979b9 adding configurable block explorer and chain info URLs 2013-05-24 16:16:53 +02:00
Sebastian Grewe
7b8aec1699 Merge pull request #57 from TheSerapher/block-stats
adding block status page for past 30 blocks, no graphs yet
2013-05-24 06:57:43 -07:00
Sebastian Grewe
b771920210 adding block status page for past 30 blocks, no graphs yet 2013-05-24 15:57:14 +02:00
Sebastian Grewe
a5cca8b54a Update README.md 2013-05-24 16:32:55 +03:00
Sebastian Grewe
93fa758ab6 increase timerange for upstream share to cope with slower db writes 2013-05-24 15:31:29 +02:00
Sebastian Grewe
31b4c3829f Update CONTRIBUTING.md
Fixed wrong issue link
2013-05-24 09:32:43 +02:00
Sebastian Grewe
8220e7ebb9 Create CONTRIBUTING.md
Adding a contribution guide
2013-05-24 09:21:02 +02:00
Sebastian Grewe
9cf193c539 Update README.md 2013-05-24 08:57:08 +02:00