Commit Graph

270 Commits

Author SHA1 Message Date
Sebastian Grewe
6aefea6b6f [FIX] Better error handling 2014-01-10 16:41:05 +01:00
Sebastian Grewe
187721f48c [FIX] Catch new jsonRPC exception 2014-01-10 16:34:37 +01:00
Sebastian Grewe
ead36cfd07 [FIX] End cronjob too 2014-01-10 16:34:37 +01:00
Sebastian Grewe
c29bda4e5d [FIX] Config option detection 2014-01-10 16:34:37 +01:00
Sebastian Grewe
07b90dbc58 [FIX] Config option detection 2014-01-10 16:34:36 +01:00
Sebastian Grewe
90a8404bab [CLEANUP] Code cleanup, error checking
Fixes #1315 once merged.
2014-01-10 16:34:36 +01:00
myrinx
75f35d80b1 Update liquid_payout.php
formatting
2014-01-10 16:34:36 +01:00
myrinx
9f69a0b9f7 Update run-payout.sh
added liquid_payout.php
2014-01-10 16:34:36 +01:00
myrinx
26d138a637 Update run-crons.sh
added liquid_payout.php
2014-01-10 16:34:35 +01:00
myrinx
640c6a4426 Create liquid_payout.php
Add support for a cronjob to send liquid assets.

Maintains a set reserve and sends only when a wallet address is set; and the threshold is set in the config.
2014-01-10 16:34:35 +01:00
Sebastian Grewe
627b7a17ff [FIX] Catch jsonRPC exceptions
Fixes #1339 once merged.
2014-01-10 16:20:24 +01:00
Sebastian Grewe
19094e73e3 Merge pull request #1271 from drainx/next
JSON-RPC
2014-01-09 22:11:35 -08:00
Sebastian Grewe
3645a23333 Merge pull request #1312 from TheSerapher/issue-1061-deleteuser
[UPDATE] Allow deletion of accounts
2014-01-09 01:33:12 -08:00
Sebastian Grewe
3a0d0f016b [ADDED] Payout fail hint: Wallet covers balance? 2014-01-07 09:43:10 +01:00
drainx
5a1c693fa6 Move from XML-RPC to JSON-RPC. 2014-01-06 17:34:54 -06:00
Sebastian Grewe
418728071b [UPDATE] Allow deletion of accounts
Updated backend and theme to be able to deal with deleted accounts

    * Backends will skip any users that have no account_id associated with
      their shares
    * Updated round stats theme to show users as unknown if none can be found

    This will not fully address the issue of account deletion but at least
    wont break the system anymore.
2014-01-06 12:26:57 +01:00
Sebastian Grewe
9006bf1350 [UPDATE] Check for upgrade later 2014-01-06 09:58:29 +01: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
5c5db8dc93 Merge pull request #1191 from TheSerapher/issue-1181
Issue 1181
2014-01-02 02:08:19 -08:00
Sebastian Grewe
dc81ad3123 Merge pull request #1166 from TheSerapher/issue-1159
Issue 1159
2014-01-01 02:11:02 -08:00
Sebastian Grewe
bf86cc6c25 [FIX] Do not mark cron disabled, just notify 2014-01-01 08:56:46 +01:00
Sebastian Grewe
0b5e6ae250 [FIX] Removed debug test 2013-12-31 22:38:52 +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
Sebastian Grewe
de302a03dc [IMPROVED] data gathering for Auto Payout
* Using improved SQL query created by @feeleep75
* Adjusted the query to further cut down the data returned

Fixes #1159 once merged.
2013-12-30 11:57:29 +01:00
Sebastian Grewe
96d096f669 [MERGE] Fix merge conflict 2013-12-30 08:19:13 +01:00
Sebastian Grewe
86f8dab65b [FIX] Don't send notification on disabled notifications
Fixes #1108
2013-12-26 16:12:28 +01:00
Sebastian Grewe
506449fb6d Merge pull request #1107 from vassilevsky/conenct
Fix a typo
2013-12-25 06:36:46 -08:00
Ilya Vassilevsky
1faf82fac7 Fix a typo 2013-12-25 16:44:52 +04:00
Ryan Loomba
6fb82ae999 fix typo in error message 2013-12-23 13:27:29 -08:00
Sebastian Grewe
88021eb9a4 [FIX] Fix cleanup with 0 matching shares 2013-12-22 09:08:25 +01:00
Sebastian Grewe
0d6ee6d821 [IMPROVED] Auto/Manual Payout Disabled
This will re-add the ability to disable auto or manual payouts. Option
to disable the entire cronjob is left intact.

Fixes #1034 when merged.
2013-12-19 15:17:29 +01:00
Sebastian Grewe
0ecb921035 [IMPROVED] Debug logging for purgeArchive calls 2013-12-19 09:36:16 +01:00
Sebastian Grewe
cba4e5f1a4 Merge pull request #1003 from TheSerapher/issue-986
[FIX] Admin User Panel for PPS Payouts
2013-12-18 22:40:22 -08:00
Sebastian Grewe
dd80fdcc1a Merge pull request #1020 from TheSerapher/issue-997
Issue 997
2013-12-18 00:27:42 -08:00
Sebastian Grewe
3715f30f7b [FIX] Disable verbose mode, use cmdline switch instead 2013-12-17 11:38:43 +01:00
Sebastian Grewe
6cc367ad50 [FIX] Admin User Panel for PPS Payouts
This will fix #986 once merged.
2013-12-17 10:56:37 +01:00
Sebastian Grewe
17345f953e [FIX] Missing x bit 2013-12-17 09:16:56 +01:00
Sebastian Grewe
bb04f890ae [CHANGE] Split statistics from Maintenance cron 2013-12-17 09:14:39 +01:00
Frederick Behrends
2517f22b2f [FIX] changed to new payout-cronjob name 2013-12-16 20:01:49 +01:00
Frederick Behrends
788929ae79 fixed payout cronjob 2013-12-16 20:01:21 +01:00
Frederick Behrends
2c4cb4b743 added 2 new scripts to split the cronjob 2013-12-16 20:01:18 +01:00
Sebastian Grewe
5c8a4ecb73 [FIX] Added more verbose output on failing crons for log 2013-12-16 16:57:27 +01:00
Sebastian Grewe
185125fd7b [FIX] Added renamed cronjob 2013-12-15 10:56:47 +01:00
Sebastian Grewe
58eb7b6794 Merge pull request #968 from TheSerapher/issue-967
[CHANGED] Merge payout crons
2013-12-15 01:40:43 -08:00
huri
96b700ab36 Fixed assignment bug in findblock cron 2013-12-12 23:55:49 +01:00
Sebastian Grewe
afb5fc6c0d [CHANGED] Merge payout crons
* Merge manual and auto-payout into single cronjob
* Update template/code to reflect single payout cron
* Update monitoring page
* Update disable payouts option in admin panel settings
* Update account payout page to use new option

This will fix #967 once merged.
2013-12-12 11:45:33 +01:00
Sebastian Grewe
f0b01554eb [FIX] Payout failure due to remaining balances
Fixes #943 once merged.
2013-12-10 16:44:37 +01:00
Sebastian Grewe
8a3e38b882 [FIX] PHP Notice warning 2013-12-09 16:22:01 +01:00
Sebastian Grewe
23f72fb576 [UPDATE] Do not send mails on disabled payouts
Fixes #928 once merged.
2013-12-09 09:15:33 +01:00
Sebastian Grewe
f4beb36708 Merge pull request #919 from TheSerapher/issue-904
[IMPROVED] Added balance checks post payouts
2013-12-08 22:24:08 -08:00