Commit Graph

30 Commits

Author SHA1 Message Date
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
Sebastian Grewe
6b5245b489 new DB strucutre to change setting table to column name 2013-05-29 11:00:48 +02: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
edef3a5b11 adding new SQL structure, removed a column from transactions 2013-05-21 14:00:54 +02:00
Sebastian Grewe
e4732f55ca adding support for user donations, added all required changes into this commit 2013-05-20 19:38:21 +02:00
Sebastian Grewe
51e01657ce added another index to shares for faster searches, added time to shares archive 2013-05-16 21:27:08 +02:00
Sebastian Grewe
b489d77969 adding index to datetime field in archives for later time interval searches 2013-05-14 16:12:36 +02:00
Sebastian Grewe
12f60a4567 adding DATETIME column for archive 2013-05-14 16:10:52 +02:00
Sebastian Grewe
94c59d043d added new block table structure 2013-05-13 16:04:35 +02:00
Sebastian Grewe
ae32ab429f moved workers table, pushpool needs to be configured to use this instead 2013-05-12 16:53:24 +02:00
Sebastian Grewe
2e8d475e6f fixing PIN storage and added missing unique on username to DB structure 2013-05-12 00:21:03 +02:00
Sebastian Grewe
dae7fe3397 fixing user registration, adding new DB layout for accounts 2013-05-12 00:05:49 +02:00
Sebastian Grewe
45638d8784 cleaned up database structure, more indexes added 2013-05-11 23:53:37 +02:00
Sebastian Grewe
81810c1ac3 updated DB charset to UTF8 for all entries 2013-05-11 20:20:59 +02:00
Sebastian Grewe
8dabe02afe new updated database structure 2013-05-11 20:19:14 +02:00
Sebastian Grewe
7fe381f44c adding new table strcuture, removed unused tables 2013-05-10 22:43:30 +02:00
Sebastian Grewe
1b50f76f72 initial import of file base of my WIP 2013-05-06 14:11:38 +02:00