Commit Graph

1788 Commits

Author SHA1 Message Date
Sebastian Grewe
5c8a4ecb73 [FIX] Added more verbose output on failing crons for log 2013-12-16 16:57:27 +01:00
Sebastian Grewe
35ab40cbb7 [FIX] Inifite loop on archive_cleanup
Fixes an infinite loop in cleaning up the archive table:

* Shares come in faster than defined in cleanup sleep timeout

Will use an upper limit ID which would match the delete query at the
initial state. Skips archiving if no ID is found (e.g. no rows match the
archive purge conditions).

This will fix #997 once merged.
2013-12-16 16:50:39 +01:00
Sebastian Grewe
8275e06fcc Merge pull request #988 from grimd34th/next
Convert some resources to CDNs instead of local hosting
2013-12-16 00:36:08 -08:00
Trevor
0a658df355 Update master.tpl
github is not a cdn
2013-12-15 09:33:42 -05:00
Sebastian Grewe
185125fd7b [FIX] Added renamed cronjob 2013-12-15 10:56:47 +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
58eb7b6794 Merge pull request #968 from TheSerapher/issue-967
[CHANGED] Merge payout crons
2013-12-15 01:40:43 -08:00
Sebastian Grewe
7e79aa0e33 Merge pull request #980 from daygle/patch-1
Update POOLS.md
2013-12-15 01:27:02 -08:00
Trevor
7f8d7db761 Convert some dependencies to CDNs
Improve page load times by using cdns instead of local hosted files
2013-12-14 10:10:40 -05:00
Glen
45d081cc52 Update POOLS.md 2013-12-14 13:54:39 +11:00
Sebastian Grewe
6f1f3225e1 Merge branch 'next' of https://github.com/TheSerapher/php-mpos into next 2013-12-13 10:07:18 +01:00
Sebastian Grewe
b09d27a7cc [UPDATE] Added indexes for share archive 2013-12-13 10:06:29 +01:00
Sebastian Grewe
289bd4215d Merge pull request #974 from Huri/next
Fixed assignment bug in findblock cron
2013-12-13 00:35:21 -08:00
Sebastian Grewe
68958fb7bf [UPDATE] Increase login input cap 2013-12-13 08:52:43 +01: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
666a9ccc4a Merge pull request #890 from TheSerapher/issue-886
[IMPROVED] Use limits for DELETE statements
2013-12-11 04:36:05 -08:00
Sebastian Grewe
0be49bcd6e Merge pull request #952 from TheSerapher/issue-949
[REMOVED] Old unused stats on mobile
2013-12-11 01:57:02 -08:00
Sebastian Grewe
bd2ef0f56f [REMOVED] Old unused stats on mobile 2013-12-11 10:55:18 +01:00
Sebastian Grewe
847c1283b6 [CHANGE] Adjusted purge defaults 2013-12-10 16:59:53 +01:00
Sebastian Grewe
ab2326a557 [IMPROVED] Use limits for DELETE statements
This will address #886. Long rounds can cause a system to become
very unresponsive due to high SQL/IO load when doing cleanups of
shares and archived tables.

* Run DELETE from shares with LIMIT
* Run DELETE from shares_archive with LIMIT
* Configure DELETE behaviour via config file
* Only archive shares that are really required (PROP, PPS)

Should greatly improve round ends on PROP and PPS after large rounds,
also improves PPLNS though archving will still take some time unless
we limit the share amount artificially. Shares could be needed though,
so we don't.
2013-12-10 16:59:52 +01:00
Sebastian Grewe
153f22f9a2 Merge pull request #946 from TheSerapher/issue-945
[FIX] Validate coin_address on account updates
2013-12-10 07:55:19 -08:00
Sebastian Grewe
6315d8fe03 [FIX] Validate coin_address on account updates
Fixes #945 once merged.
2013-12-10 16:53:56 +01:00
Sebastian Grewe
9af9011a14 Merge pull request #944 from TheSerapher/issue-943
[FIX] Payout failure due to remaining balances
2013-12-10 07:45:46 -08: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
312f21378b Merge pull request #942 from TheSerapher/issue-941
[FIX] PHP Notice on missing $aRoundShares
2013-12-10 07:24:23 -08:00
Sebastian Grewe
b2df4c9d9f [FIX] PHP Notice on missing $aRoundShares
Fixes #941 once merged.
2013-12-10 16:23:54 +01:00
Sebastian Grewe
724f2d633e Merge pull request #940 from TheSerapher/issue-939
[FIX] Account Lockouts on Edit Account page
2013-12-10 07:18:51 -08:00
Sebastian Grewe
6a693ea25e [FIX] Account Lockouts on Edit Account page
Fixes #939 once merged.
2013-12-10 16:14:44 +01:00
Sebastian Grewe
e3426ebd05 Update POOLS.md 2013-12-10 13:18:45 +01:00
Sebastian Grewe
216b986be2 Merge pull request #930 from TheSerapher/issue-926
[SECURITY] Fixing potential XSS issues
2013-12-10 03:07:33 -08:00
Sergey Kukunin
f97116b1b2 Show templates tree on Admin Templates page
Show active and activated templates in Tree
Make templates tree persistent
2013-12-09 20:55:59 +02:00
Sergey Kukunin
9e2b6da3f0 Add disable_template_override variable to Smarty
To disable Database Template Overriding and use original files
2013-12-09 20:55:58 +02:00
Sergey Kukunin
1aee65859f Make Smarty search template in database first
If not, fallback to file template
Implement normalizer to convert gettingstarted/../support/default.tpl to support/default.tpl
2013-12-09 20:55:58 +02: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
8a3e38b882 [FIX] PHP Notice warning 2013-12-09 16:22:01 +01:00
Sebastian Grewe
eefb3a213a Merge pull request #936 from TheSerapher/issue-934
[FIX] Network hashrate in dashboard
2013-12-09 07:12:27 -08:00
Sebastian Grewe
47e0b2ac74 [FIX] Network hashrate in dashboard
Also adds some fixes for hashrate updates on the pool statistics page in
case the API is disabled alltogether.

Fixes #934 once merged.
2013-12-09 16:11:31 +01:00
Sebastian Grewe
2595a2a20d [UPDATE] Added failed_pins to base structure 2013-12-09 15:47:28 +01:00
Sebastian Grewe
d46ac75f43 Merge pull request #932 from TheSerapher/issue-928
[UPDATE] Do not send mails on disabled payouts
2013-12-09 00:17:30 -08: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
ceadf30a85 [SECURITY] Fixing potential XSS issues
Will resolve #926 once merged.
2013-12-09 08:02:41 +01:00
Sebastian Grewe
f884349359 Merge pull request #920 from TheSerapher/issue-670
[IMPROVED] Lockout user on invalid pin/password
2013-12-08 22:27:17 -08: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
Sebastian Grewe
be907bc8f0 Merge pull request #918 from TheSerapher/issue-917
[ADDED] Transaction summary to getuserstatus API
2013-12-08 00:46:54 -08:00
Sebastian Grewe
50634502d2 [ADDED] Transaction summary to getuserstatus API
Fixes #917 once merged.
2013-12-08 09:45:51 +01:00
Sebastian Grewe
bb55001db7 [ADDED] ACL to hide news post author
This will allow admins to hide the actual username/author from their newsposts.
Useful if you don't wish to give your admin account away or in case you
have no admin-only account.
2013-12-07 22:30:27 +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
8fbad03457 Merge pull request #915 from TheSerapher/issue-897
[CHANGED] Do not send mail on uptime robot update
2013-12-07 05:18:33 -08:00
Sebastian Grewe
21af8dd83f [CHANGED] Do not send mail on uptime robot update
Do not send a mail notification in case the uptime robot updates are
failing.

Fixes #897 once merged.
2013-12-07 14:17:42 +01:00