Commit Graph

119 Commits

Author SHA1 Message Date
Sebastian Grewe
0c227cb741 [FIX] Base structure, DB_VERSION 2014-07-10 11:50:28 +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
61f52f46ae Delete 012_shares_archive_update.sql 2014-06-03 13:00:48 +02:00
iAmShorty
7f0f2fffac Update 000_base_structure.sql 2014-05-26 09:31:43 +02:00
iAmShorty
62ed5699dc Create 012_shares_archive_update.sql 2014-05-26 09:30:20 +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
8b28b25e18 [CHANGE] Moved SQL files into upgrade script 2014-03-21 15:49:30 +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
5e73e7a48c [FIX] UPdate empty coin_addresses 2014-02-05 15:15:17 +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
Sebastian Grewe
c00b6d6757 [IMPROVED] Payout logics
* [ADDED] More methods to our transaction class
 * `createDebitAPRecord` and `createDebitMPRecord`, will handle the
 * entire debit process
  * Adds Debit transaction
  * Adds TXFee transaction
  * mark transactions as archived
  * validate user is fully paid out
  * send notification to user
 * `getMPQueue` was added to unify the process of getting payout queues
* [MOVED] Only one mail template for both payout methods
* [ADDED] Some minor calls to user class
* [ADDED] Full address validation to bitcoin class
* [SQL] New SQL upgrade and Version Increment
 * Adding UNIQUE index to coin_address in accounts table
 * preperation for `sendmany` implementation
2014-02-03 08:16:58 +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
befc5b9276 cleanup 2014-01-20 04:42:08 -05:00
xisi
ccc7fa6fe9 accidentally a word 2014-01-20 04:42:08 -05:00
xisi
2e7c461885 fix token_types table because I didn't specify id when inserting 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
bfd803ec28 Incremented version, moved config options, return vals fixed in 2f checks 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
779d8cd427 Rename 012_db_version.sql to 011_db_version.sql
Because it could bother someone as to why they are missing update 11.
2014-01-08 16:44:40 -06: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
Sebastian Grewe
878fa1c1c8 [IMPROVED] Unlock notification mails on auto-locks
* Added new token type: account_unlock
* Added update SQL File
* Updated base structure with new token type
* Added empty template
* Updated user class to send mail on failed passwords
* Added unlock account page to use tokens

Addresses #670
2014-01-02 11:51:22 +01:00
Sebastian Grewe
1e612c5a94 [ADDED] Updated base structure 2014-01-01 10:32:11 +01:00
Sebastian Grewe
731985b30f [IMPROVED] Token expiration timers
* Added new SQL file to update tokentypes table
* Added new function to base class
* Renamed function in base class used in shares class
* Added new error code
* Added new cronjob to delete expired tokens
* Added new cronjob to run-cron scripts and monitoring page
* Added new function to tokentype class
* Added new function to token class

Will address #1181 once merged.
2013-12-31 22:31:47 +01:00
Frederick Behrends
c83fe6a09d [FIX] added "IF NOT EXISTS" to SQL-Query to avoid errors while import 2013-12-16 20:07:05 +01:00
Sebastian Grewe
8f89b7fceb Merge pull request #867 from Kukunin/next
Admin Template Editor page
2013-12-15 01:45:05 -08:00
Sebastian Grewe
b09d27a7cc [UPDATE] Added indexes for share archive 2013-12-13 10:06:29 +01:00
Sergey Kukunin
75c7e0fc6d Implement Templates admin page
Create `templates` table in database
Add navigation links to Template page
Let admin to manage his templates from adminpanel
2013-12-09 20:55:58 +02:00
Sebastian Grewe
2595a2a20d [UPDATE] Added failed_pins to base structure 2013-12-09 15:47:28 +01:00
Sebastian Grewe
256b5f59c6 [IMPROVED] Lockout user on invalid pin/password
This will lock a user account if a password or PIN has been entered
wrong for multiple times in a row. When unlocking the account via admin
panel, both counters are reset so the user can log in again.

This should fix issues with brute force attacks to access user accounts.

Please see configuration dist file for new config options.
Please import SQL upgrade 007 to add new column to user accounts table.

Addresses #670 and should be merged once tested.
2013-12-07 22:14:14 +01:00
Sebastian Grewe
048ad3a71a [UPDATE] Adding txid to base structure 2013-12-04 08:53:37 +01:00
Sebastian Grewe
551b42aacf [UPDATE] SQL Upgrade File 2013-11-28 10:57:10 +01:00
root
510c076452 [FEATURE] blockfinder statistics 2013-11-18 12:43:17 +01:00