Commit Graph

838 Commits

Author SHA1 Message Date
Sebastian Grewe
b7ffbd0bfd fixing issue for first created admin user 2013-07-16 16:02:52 +02:00
Sebastian Grewe
8ca265d4cb Merge pull request #463 from TheSerapher/issue-330
Issue 330
2013-07-16 00:56:21 -07:00
Sebastian Grewe
41ec58ea16 Adding inline docuemtation to invitation class
Adding proper inline documentation to invitation class.
2013-07-15 16:28:22 +02:00
Sebastian Grewe
7b929ed3e4 Fixing PHP Warning on resetting failed login count
Addresses #330 and further cleans PHP Log
2013-07-15 16:16:40 +02:00
Sebastian Grewe
501f369b4e Further fixes to PHP warnings
Addresses #330 and further cleans up the PHP log.
2013-07-15 15:31:18 +02:00
Sebastian Grewe
525c0ab009 Fixing PHP Warning on unsert token on register
Addresses #330 and cleans up PHP Log
2013-07-15 14:28:54 +02:00
Sebastian Grewe
0f00f7d322 Another fix for registration issues
Addresses #330
2013-07-15 13:46:20 +02:00
Sebastian Grewe
8f72062558 Fixing issue with registration disabled and invitations
This will fix an issue with certain combinations of registration and/or
invitations being enabled or disabled.

Addresses #330
2013-07-15 13:44:22 +02:00
Sebastian Grewe
bf3cd25326 removing unused token methods 2013-07-15 12:52:55 +02:00
Sebastian Grewe
7f4f5cd343 Make invitations configurable via admin panel
Invitations can now be configured through admin panel settings. By
default, invitations are enabled. Invitation system is also available if
registrations are disabled. To completely remove the ability of new
users to sign up, disable both registration and invitations.

Fixes #330
2013-07-15 12:43:29 +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
7cc1e2543c fixing syntax error 2013-07-15 12:26:31 +02:00
Sebastian Grewe
be9a8d3fda Go through activiation even for admin accounts
Fixes an issue with accounts being locked after trying to activate it.

Addresses #330
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
29d5d36a7e WiP for one time tokens
* Added token type class
* Storing Token Type as ID not varchar
* Added new system to user class and fixed issues with it
* Started on mail verification process in user class
* Updated autoloader
* Updated change password template

Addresses #330
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
253d6e8a47 Fixing username regexp during registration
Fixes wrong regext of #453
2013-07-14 21:08:03 +02:00
Sebastian Grewe
15753f5eca Merge pull request #455 from typal/issue-452
fucked up...
2013-07-14 01:15:21 -07:00
typ
ed5e320ff6 fucked up... 2013-07-14 02:43:44 +02:00
Sebastian Grewe
d190866315 Merge pull request #454 from TheSerapher/issue-419
Adding anonymous account support
2013-07-13 10:43:21 -07:00
Sebastian Grewe
92c94e8de5 Merge pull request #453 from typal/issue-452
add check for non alpa/-/_ chars
2013-07-13 10:17:03 -07:00
typ
0775eaf8c1 add check for non alpa/-/_ chars 2013-07-13 16:41:51 +02:00
Sebastian Grewe
b64ef5a489 Use INFO as default logging level for crons 2013-07-12 19:42:43 +02:00
Sebastian Grewe
015da23d8e disable SQL intensive admin query cache 2013-07-12 19:42:26 +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
3df40b5bb7 removing newlines 2013-07-12 09:48:31 +02:00
Sebastian Grewe
ab620f1fe0 Merge pull request #443 from TheSerapher/issue-432
Get rid of Orphan transaction types
2013-07-12 00:46:45 -07:00
Sebastian Grewe
dca14886de Merge pull request #448 from IainKay/Issue-447
Issue 447
2013-07-11 21:42:10 -07:00
Iain Kay
4a693e1bd9 Fix bug in sessions where the duration did not increase as user actively browsed site. 2013-07-11 20:40:14 +00:00
Iain Kay
3e2608fcef Removed unnecessary cookie name variable that was not used. 2013-07-11 20:30:39 +00:00
Sebastian Grewe
a9ae72cd50 Merge pull request #445 from IainKay/issue-434
Issue 434
2013-07-11 13:06:41 -07:00
Iain Kay
a635d2163c Added note about php.ini session.gc_maxlifetime value - Important to stop garbage collection removing cookies that should be valid. 2013-07-11 19:56:10 +00:00
Iain Kay
dfbaf621de When destroying a users session on the server we now also remove all session data immediately, rather than relying on garbage collection, and we destroy the cookie on the users browser. 2013-07-11 19:41:50 +00:00
Iain Kay
aac202da2b Pull cookie session params from include/config/global.inc.php before session_start() 2013-07-11 19:34:58 +00:00
Iain Kay
9f4789c707 In order to read the cookie configuration from include/config/globa.inc.php the session must begin after this has been included. 2013-07-11 19:29:24 +00:00
Iain Kay
d2bbc366d1 Changed the Cookie Explanation in global.inc.php to be more in line with the rest of the structure. 2013-07-11 19:26:09 +00:00
Iain Kay
638b8387c3 Updated global.inc.php to reflect the new values required for cookie configuration and documented each of the options. 2013-07-11 19:17:49 +00:00
Sebastian Grewe
aa05a9e0b0 Merge pull request #441 from ilya-stromberg/issue-409-switch-off-memcached-via-comfig
(#409) Do not use Memcached if it switched off via config
2013-07-11 09:55:30 -07:00
Ilya Stromberg
521bcc8022 Fix built-in documentation 2013-07-11 20:19:35 +04:00
Sebastian Grewe
5bf2cd0202 Merge pull request #442 from TheSerapher/issue-430
Issue 430
2013-07-11 08:56:50 -07:00
Ilya Stromberg
8f4b4ed970 Fix code style 2013-07-11 19:35:23 +04:00
Ilya Stromberg
15e89ad4d3 (#409) Do not use Memcached if it switched off via config 2013-07-11 19:11:03 +04:00
Sebastian Grewe
96050b48df Merge pull request #440 from TheSerapher/issue-439
Add tickerupdate to cron monitoring
2013-07-11 07:50:54 -07:00
Sebastian Grewe
09c0087775 Add tickerupdate to cron monitoring
Fixes #439
2013-07-11 16:50:24 +02:00
Sebastian Grewe
e0d43141b5 Merge pull request #438 from TheSerapher/issue-431
Adding last runtime to monitoring page
2013-07-11 07:45:38 -07:00
Sebastian Grewe
7861e9e658 Merge pull request #436 from TheSerapher/issue-429
Issue 429
2013-07-11 07:09:45 -07:00
Sebastian Grewe
65047d3f09 wrong argument option 2013-07-11 16:09:21 +02:00
Sebastian Grewe
450cc4d24d Command-line switch for PHP Binary and Verbosity
This will fix #429
2013-07-11 16:07:51 +02:00
Sebastian Grewe
5c0d992134 fixing smarty cache key generation 2013-07-11 15:58:30 +02:00
Sebastian Grewe
bbcb210f27 Merge pull request #435 from TheSerapher/security-fix
Security fix
2013-07-11 06:56:19 -07:00