Commit Graph

66 Commits

Author SHA1 Message Date
obigal
7e49e7c254 pplns-stats, block-stats paging, dynamic and reverse payout 2013-10-22 09:07:31 -04:00
Sebastian Grewe
bd97201689 [FIX] Added missing token types to structure 2013-10-10 09:19:25 +02:00
Sebastian Grewe
02c9be54ed [MAJOR] Changing project name to MPOS
* Adjusted mmcfe-ng occurences in code
* Adjusted Database strucutre to only supply the full structure
* Adjusted default template to MPOS

Addresses #643
2013-10-07 10:10:49 +02:00
Sebastian Grewe
34b95d6312 renaming SQL file 2013-09-13 13:57:45 +02:00
Sebastian Grewe
4c3bf8f85f adding missing column 2013-08-07 09:44:11 +02:00
obigal
1819a47bf4 Vardiff/pushpool and pps payout support 2013-08-07 09:44:11 +02:00
obigal
efc35bd2fc Update mmcfe_ng_structure.sql 2013-08-07 09:41:19 +02:00
obigal
2a94f49bf6 Update mmcfe_ng_structure.sql 2013-08-07 09:33:41 +02:00
obigal
528c7ee708 Update mmcfe_ng_structure.sql 2013-08-07 09:33:41 +02:00
obigal
ef234fe80b Vardiff/pushpool and pps payout support 2013-08-07 09:29:48 +02:00
Sebastian Grewe
1fd896dc44 Adding SQL file for quick update to VARDIFF
This branch now includes all recent changes from `next`! It might have
broken some things so @obigal needs to test it again, but at least we
can now continue on this with all recent additions added to this branch.

Addresses #145
2013-08-07 09:29:48 +02:00
obigal
4472250d36 Update mmcfe_ng_structure.sql 2013-08-07 09:29:48 +02:00
obigal
eb17508862 Update mmcfe_ng_structure.sql 2013-08-07 09:29:47 +02:00
obigal
5aae168d19 Update mmcfe_ng_structure.sql 2013-08-07 09:29:47 +02:00
Sebastian Grewe
5545f8a896 adding index to archived column 2013-08-01 14:10:22 +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
35d1f5fa92 Merge pull request #498 from TheSerapher/manual-payout-cron
Adding manual payout cron
2013-07-23 05:36:49 -07:00
Sebastian Grewe
19fa104b3b adding SQL file 2013-07-23 13:53:49 +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
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
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
d5c14b9b44 Update 002_monitoring.sql 2013-07-15 10:40:23 +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
0e98d81af0 adding new monitoring table to SQL imports 2013-07-10 11:22:57 +02:00
Sebastian Grewe
307c7ee23f Enforce unique account emails
* display an error if user tries to re-use an email address
* moved SQL files to indicate the order of SQL import
* added unique email index SQL file

This will address #389, still needs email validation.
2013-07-06 17:47:50 +02:00
Sebastian Grewe
9601f075ce Removing old upgrade SQL for old issues
To avoid confusion when setting up mmcfe-ng up for the first time I
decided to remove these files. If new ones should be required I will
base them on the then recent main structure and order them by number.
2013-07-05 13:38:10 +02:00
Sebastian Grewe
1ae93a8db8 adding most recent full structure for DB 2013-06-30 12:20:10 +02:00
Sebastian Grewe
c915902b72 Update mmcfe_ng_structure.sql
Removed hard-set DB name in import file.
2013-06-24 16:46:23 +03: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
246789b0ed Adding new full and upgrade structures 2013-06-21 11:19:47 +02:00
Sebastian Grewe
5eaf4cb350 Adding Bonus to issue-203 upgrade SQL 2013-06-20 16:45:14 +02:00
Sebastian Grewe
27babf93c1 missed Bonus transaction type, re-added 2013-06-20 16:44:01 +02:00
Sebastian Grewe
ac8f1420dc Adding back a primary key to notification settings
Fixes #212
2013-06-18 14:27:14 +02:00
Sebastian Grewe
3438024ff0 adding latest SQL structure 2013-06-18 10:44:47 +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
5d356b5c4f Adding counter for failed login attempts
* Track failed login attempts of a user
* Reset failed attempts as soon as the login succeeded

Fixes #182
2013-06-13 15:26:23 +02:00
Sebastian Grewe
e681e8abf0 new full database structure 2013-06-13 13:49:53 +02:00
Sebastian Grewe
42b6d4b3b2 Adding support for user locking
* Currently no GUI, use DB access to change the row entry
* Upgraded Database table `accounts` with upgrade SQL
* Updated `admin` field to `is_admin` as boolean
* Modified pages, classes, templates to support is_admin and is_locked

Addresses #147
2013-06-13 11:36:28 +02:00
Sebastian Grewe
8ef44f79db Fixing column name in settings table
* This will change the name in the settings table for old installations

Fixes #167
2013-06-12 11:19:07 +02:00
Sebastian Grewe
e8f8b2f5f4 Changed getLockedBalance and added SQL
* New SQL file for upgrade includes next changes
* Properly calculate getLockedBalance based on shares

Further addresses #70
2013-06-10 18:56:06 +02:00
Sebastian Grewe
4e284895a8 Adding support for block finder bonus
* Added new configuration option `block_bonus`, see `global.inc.dist.php`, default 0
* Added new transaction types: `Bonus` and `Orphan_Bonus`
* Changes transaction table structure, added upgrade SQL
* Changed findblock cron to credit bonus to finder
* Modified transactions class to reflect changes

Fixes #148
2013-06-10 10:11:56 +02:00
Sebastian Grewe
37fc9fa147 adding full notification SQL for regular installations 2013-06-10 08:51:24 +02:00
Sebastian Grewe
3bc5c68403 Updated SQL Files
* Updated upgrade SQL
* Added full new structure
2013-06-09 16:09:32 +02:00
Sebastian Grewe
af9d2aed95 wrong syntax in upgrade SQL 2013-06-09 15:31:38 +02:00
Sebastian Grewe
88ade9cfa3 Adding support for various notifications
* Adding new SQL upgrade for notifications
* Added support for per user notification settings
* Added account_id to notifications table
* Added new notification_settings table
* Added new account page: notifications

Addresses #144
2013-06-09 13:10:58 +02:00
Sebastian Grewe
d5d0b54705 adding new structure for notifications 2013-06-07 15:39:43 +02:00
Sebastian Grewe
9ac2dadd97 Progress on notifications
* Added main mail class
* notification class extends mail class
* Added mail template for IDLE workers
* Added notification table to SQL structure

This works already but once notified the status is not reset as soon as
a worker is active again. Need to think of a system to do that
automatically.

Addresses #116
2013-06-07 15:36:35 +02:00
Sebastian Grewe
9286508342 new database structure for future features 2013-06-06 21:04:43 +02:00
Sebastian Grewe
96c9a4ae08 Renamed workers table to pool_worker
* This will fix issues with mining pools using the default name
* Back in line with default configurations for most mining pool software
* Fixes #93
2013-06-03 10:59:12 +02:00
Sebastian Grewe
ffc1c5439d New database structure
* Adds `share_id` to blocks table, see #83
2013-05-31 14:33:14 +02:00