Commit Graph

73 Commits

Author SHA1 Message Date
R4SAS
8cfc43eaca implement low-diff shares counting (#2718 #2726) 2018-05-11 12:25:04 +00:00
R4SAS
b007bfa9a9 add database upgrade script, update version in initial database 2018-04-25 08:07:55 +00:00
R4SAS
cdba6ce722
fix "field doesn't have a default values" error
Otherwise cron will return error: `Failed to update share statistics for %username%: SQL Query failed: 1364`
2018-04-25 05:55:47 +03:00
Blonďák
893d920327 #2539 - More generic class UserSettings 2017-01-12 21:22:27 +01:00
Zdeněk Jurka
556db98835 #2539 - Feature request: Pushover.net notifications 2017-01-12 16:32:30 +01:00
Jonny Bravo
d6d68cb8b0 Changed shares to BIGINT data type to account for BTC having far more shares than can be handled by standard INT datatype 2016-02-21 13:41:10 -05:00
Sebastian Grewe
ffea9cdb92 [FIX] Missed new DB version in base structure 2015-04-16 12:47:11 +02:00
Sebastian Grewe
1613355c04 [UPDATE] Store coin auto payout in coin_addresses table per coin 2015-04-16 12:16:45 +02:00
Sebastian Grewe
5240e37ccf [SQL] Removed coin_address from accounts table, not used anymore 2015-04-15 15:19:24 +02:00
Sebastian Grewe
4bf899bb84 [FIX] Proper version in base import sql 2015-01-18 15:42:25 +01:00
Sebastian Grewe
e0f10c046e [UPDATE] Shares to bigint for blocks table (#2382), SQL file cleanup 2015-01-18 15:40:57 +01:00
Sebastian Grewe
4147ef583b [FIX] New base SQL version 2014-09-01 20:23:40 +02:00
Sebastian Grewe
22e88777da Merge branch 'development' into coin-rounding-setting 2014-09-01 20:23:09 +02:00
Sebastian Grewe
8cf7c99124 [FIX] Added 0.0.14 to base structure 2014-09-01 20:15:33 +02:00
Sebastian Grewe
105d772a21 [MERGE] Development 2014-07-22 10:37:11 +02:00
Sebastian Grewe
a7a731dcf1 [UPDATE] Working coin precision system
* [ADDED] New option to coin class to change coin value precision
* [UPDATE] SQL Transactions table from double to decimal(50,30)
* [REMOVED] Admin setting for coin value precision
* [UPDATE] JS files to honor coin precision
2014-07-19 09:10:21 +02:00
Sebastian Grewe
eeb048175b [MERGE] Conflicts with development 2014-07-19 08:21:20 +02:00
Sebastian Grewe
8928b33939 [SQL] Moved to 0.0.13 SQL structure 2014-07-19 08:20:22 +02:00
Sebastian Grewe
b758ee9395 [PoC] Cronjob based Hashrate graphs 2014-07-19 08:06:07 +02:00
Sebastian Grewe
0c227cb741 [FIX] Base structure, DB_VERSION 2014-07-10 11:50:28 +02:00
Sebastian Grewe
6ddca7466c [ADDED] Properly insert coin values 2014-07-07 14:31:17 +02:00
Sebastian Grewe
0a09c78e27 Revert "[UPDATE] Base Structure with new DOUBLE"
This reverts commit b987358355.
2014-06-30 09:02:51 +02:00
Sebastian Grewe
b987358355 [UPDATE] Base Structure with new DOUBLE 2014-06-30 08:54:12 +02:00
Sebastian Grewe
370d66c147 [FIX] Base Strucutre Import 2014-06-30 07:05:16 +02:00
Sebastian Grewe
3248a487df [ADDED] coin_addresses table and support
* [ADDED] New coin_addresses table to upgrade script and base file
* [MIGRATE] Move coin_address from accounts to coin_addresses table
* [UPDATE] Updated all classes/pages/scripts to use new coin address class
* [UPDATE] DB_VERSION 0.0.12
2014-06-30 07:05:15 +02:00
Sebastian Grewe
9057ed0c9b [FIX] Missing DB Version in Base Structure 2014-06-26 11:40:40 +02:00
iAmShorty
18621d492a [FIX] shares_archive table 2014-06-05 18:52:17 +02:00
iAmShorty
7f0f2fffac Update 000_base_structure.sql 2014-05-26 09:31:43 +02:00
Sebastian Grewe
43bf7be200 [FIX] Merge conflict with development 2014-04-24 11:43:38 +02:00
Sebastian Grewe
90181483b9 [FIX] Merge with development 2014-04-24 11:43:00 +02:00
Sebastian Grewe
1c02b09636 [UPDATE] UTC as default timezone (ID 415) 2014-04-23 10:35:18 +02:00
Sebastian Grewe
68d59d6eae [SQL] Base structure updated 2014-04-23 10:35:18 +02:00
Sebastian Grewe
78c3419254 [ADDED] New base structure for 0.0.9 2014-04-20 15:34:55 +02:00
Sebastian Grewe
46f7adb0ec [SQL] Base Structure 0.0.8 2014-03-25 10:04:30 +01:00
Sebastian Grewe
3223e40cc6 [FIXED] Charset on payouts table, non-critical 2014-03-21 16:05:59 +01:00
Sebastian Grewe
75c20a4baa [SQL] Updated blocks table share_id to bigint
Will avoid issues with BIGINT from shares table getting too big for the
INT on the blocks share_id column.

Thanks IRC@webxassDE for the heads up!
2014-03-04 10:21:46 +01:00
Sebastian Grewe
c8f639796a [UPDATE] Added INDEX to transactions table
Should speed up queries using both account_id and archived for a
specific account.
2014-02-13 14:45:32 +01:00
Sebastian Grewe
9bc1a5f0ea [FIX] Base Structure Index 2014-02-05 10:45:35 +01:00
Sebastian Grewe
4b204a5ca3 [FIX] Base structure 2014-02-05 10:41:40 +01:00
xisi
4e1190952a updated expiration on email confirm tokens to 1 hour rather than 10 min 2014-01-20 04:42:08 -05:00
xisi
13e6c43ba5 add notify_email to accounts table and getUserNotifyEmail() method in user class 2014-01-20 04:30:17 -05:00
xisi
9ecd8d4d3e added signup_timestamp to accounts table
added getSignupTime() method to user class
added 014_accounts_update.sql and updated 000_base_structure.sql
incremented db version
2014-01-20 04:30:17 -05:00
xisi
050a068d05 fix versioning 2014-01-16 06:05:29 -05:00
xisi
d9d678be61 retooled most of the email confirmation setup 2014-01-16 05:53:36 -05:00
xisi
69eec05cb7 simplified notifications with index, updated the settings method, and fixed up template, sql fixes 2014-01-16 05:42:43 -05:00
xisi
ef904858ae [Addition] E-mail confirmations for user actions
* If enabled, sends e-mail to confirm user withdraws, edits and pw changes
 * Adds 4 config options, enabled + individual settings
 * Adds 3 new token_types
2014-01-16 05:42:43 -05:00
Sebastian Grewe
d9a9e9e0e9 Update 000_base_structure.sql
Fixes #1377
2014-01-12 11:17:57 +01:00
Sebastian Grewe
4fe46cbd2a [ADDED] last_login timestamp
* [RENAMED] sessionTimeoutStamp to last_login
* [UPDATE] user class to store login time after successful login
* [ADDED] SQL Upgrade file for new column
* [UPDATE] Updated base SQL file

Fixes #1162 once merged.
2014-01-11 20:32:45 +01:00
drainx
bc1f7023c6 Update 000_base_structure.sql
Small hiccup with a new installation, importing the SQL.
2014-01-06 18:17:13 -06:00
Sebastian Grewe
2568ced4d4 [INITIAL] Working version checks
* Check DB structure version, config file version and MPOS core version
* Added new Admin Dashboard to show this core information
* Cronjobs will be disabled if SQL files are not imported
 * SQL files must re-set the db_upgrade_required setting
* Cronjobs will disabled if config files are not updated
 * Simple config file update and version string update will fix this
* Added MPOS status overview
 * Cronjobs and Wallet information for now, others may be added later
* Added new navigation link for Admin Panel Dashboard
* Added new version file
 * Will require updates whenever DB or configs are updated
* Update SQL file that adds the DB_VERSION setting

This will address #1242 and already includes a huge chunk of changes
required to make this work.
2014-01-05 11:19:09 +01:00