Commit Graph

90 Commits

Author SHA1 Message Date
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
Sebastian Grewe
32b867d9f3 [IMPROVED] Allow for longer monitoring value strings 2013-11-05 07:28:06 +01:00
Sebastian Grewe
861172e6f8 [UPDATE] Update SQL file and updated base structure 2013-10-29 15:42:50 +01:00
Sebastian Grewe
f4f72a9c1f [UPDATE] Adding new base structure for PPLNS rounds 2013-10-25 09:56:10 +02:00
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