[RC2] Password Generator JS

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
Pthelovod
Registered User
Posts: 106
Joined: Mon Feb 22, 2010 1:32 am
Location: Россия
Name: Alexs Pthelovod
Contact:

Re: [RC1] Password Generator JS

Post by Pthelovod »

When news waiting for? :oops:

User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: [RC1] Password Generator JS

Post by Geolim4 »

I'm so so sorry I've fallen behind on personal project.
Don't worry i'm not dead, i've not missed you, i've promise, i will do it, thanks for ur patience.

Georges.
phpBB-fr Former MOD Team Leader / Website Team Member

User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: [RC1] Password Generator JS

Post by Geolim4 »

Happy new: new release coming soon:


Image-Image

Changelog:

Code: Select all

-Added ghost resizing using Jquery UI

-Added nice grey border without CSS3/image: no lag when drag and drop :)

-Improved Jquery and Jquery UI automatic detection

-Better phpBB integration

-Generated password field removed when popup closed (safety reasons)

-Added random password field ID (would prevent the web browser from finding context for your field and also might help prevent XSRF attacks because an attacker wouldn't be able to guess the field names for a form submission)

-Added confirmation box (Do you have saved password in a safe place?) before closing

-Increased random char generating algorithm's performances
Maybe more, stay tuned 8-)
phpBB-fr Former MOD Team Leader / Website Team Member

User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: [RC1] Password Generator JS

Post by Geolim4 »

The Jquery addon will be natively included now...

A very big Easter Egg is included in the Mod... Not small.. Big :mrgreen:
phpBB-fr Former MOD Team Leader / Website Team Member

User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: [RC1] Password Generator JS

Post by Geolim4 »

Secure mouse generation process:

Image

:mrgreen:
phpBB-fr Former MOD Team Leader / Website Team Member

User avatar
Pthelovod
Registered User
Posts: 106
Joined: Mon Feb 22, 2010 1:32 am
Location: Россия
Name: Alexs Pthelovod
Contact:

Re: [RC1] Password Generator JS

Post by Pthelovod »

Looking forward to an Easter egg.

User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: [RC1] Password Generator JS

Post by Geolim4 »

I will not reveal it now :)
But I have a clue:

How youtube do the Harlem Shake? :mrgreen:
phpBB-fr Former MOD Team Leader / Website Team Member

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC1] Password Generator JS

Post by Jessica »

geolim4 wrote:Secure mouse generation process:

Image

:mrgreen:
Looks neat! :mrgreen:
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: [RC2] Password Generator JS

Post by Geolim4 »

Version 1.1.0 is now available to download :mrgreen:

Changelog:

Code: Select all

-Added Advanced Generation using mouse movement
-Jquery(ui) is now included by default
-Added many security control points
-Improved nice Jquery alertbox embossed
-Added a very BIG Easter Egg (Find him !!!)
-Secured Input (Agaisnt XSRF browser attacks)
-Disabled Input History
-Many code change...
phpBB-fr Former MOD Team Leader / Website Team Member

User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [RC2] Password Generator JS

Post by martin123456 »

geolim4 wrote:Version 1.1.0 is now available to download :mrgreen:

Changelog:

Code: Select all

-Added Advanced Generation using mouse movement
-Jquery(ui) is now included by default
-Added many security control points
-Improved nice Jquery alertbox embossed
-Added a very BIG Easter Egg (Find him !!!)
-Secured Input (Agaisnt XSRF browser attacks)
-Disabled Input History
-Many code change...
Top job you did there :D

just one question what does nombre aleatoire say as i dont read french ?

found a few bits that need changing and adding
/language/en/mods/info_ucp_pwd_js.php

find

Code: Select all

'UCP_GENERATE_PWD_RANDOM'		=> 'nombre aleatoire',
replace with

Code: Select all

'UCP_GENERATE_PWD_RANDOM'		=> 'Random number',
you missed this part out
find

Code: Select all

'UCP_GENERATE_PWD_WEAK_PWD'		=> 'Your password is weak, are you sure to use it anyway?',
add after

Code: Select all

'UCP_GENERATE_PWD_WEAK_PWD1’    => ’Your password is Mediocre, we highly recommend for your security that you choose a stronger password!',

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->

User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: [RC1] Password Generator JS

Post by Geolim4 »

THx for feedback ;)
phpBB-fr Former MOD Team Leader / Website Team Member

User avatar
Pthelovod
Registered User
Posts: 106
Joined: Mon Feb 22, 2010 1:32 am
Location: Россия
Name: Alexs Pthelovod
Contact:

Re: [RC1] Password Generator JS

Post by Pthelovod »

Russian translation. All variables from the old versions left. There will be no confusion.

Code: Select all

<?php
/**
*
* info_ucp_pwd_js [Russian] Pthelovod
* @package ucp Password Generator JS
* @version $Id: info_ucp_pwd_js.php v1.0.0 13:00 22/01/2012 Geolim4 Exp $ 
* @copyright (c) 2012 Geolim4.com  http://Geolim4.com
* @package language
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
// Some characters you may want to copy&paste:
// ’ » “ ” …
// Use: <strong style="color:green">Texte</strong>',
//For add Color
//
$lang = array_merge($lang, array(
	//Password generator BOX
	'UCP_GENERATE_GENRATOR'			=> 'Генератор паролей (создание новых паролей автоматически)',	
	'UCP_GENERATE_PWD'				=> 'Сгенерировать пароль автоматически?',
	'UCP_GENERATE_PWD_BAD'			=> ' не содержит необходимых символов!',
	'UCP_GENERATE_PWD_BIGPWD'		=> 'Пароль превышает установленный предел по знакам!',
	'UCP_GENERATE_PWD_CAN'			=> 'Он может быть составлен из',
	'UCP_GENERATE_PWD_CHARSNUMB'	=> 'Количество символов в пароле',
	'UCP_GENERATE_PWD_CHECKBOX'		=> 'Любые символы выбранного типа!',
	'UCP_GENERATE_PWD_CPOPUP'		=> 'Закрыть окно',
	'UCP_GENERATE_PWD_DBLCLICK'		=> 'Для выбора пароля щелкните на нужном дважды.',
	'UCP_GENERATE_PWD_DRAGME'		=> 'Переместить в любое удобное место',
	'UCP_GENERATE_PWD_EG'			=> 'Демонстрация',
	'UCP_GENERATE_PWD_EMPTYPWD'		=> 'Пароля нет!',
	'UCP_GENERATE_PWD_ESC'			=> 'нажмите на <strong>Esc</strong> для выхода из окна-шутки или доведите процесс до 100%',
	'UCP_GENERATE_PWD_GENERATE'		=> 'Генератор пароля',
	'UCP_GENERATE_PWD_GENERATED'	=> 'Ваш пароль сгенерирован.',
	'UCP_GENERATE_PWD_GEOLIM4'		=> '&copy; <a href="http://geolim4.com" title="Geolim4.com">Geolim4.com</a>',
	//Please be honest you can remove it, but don't replace it by your own site, this is my only one reward for my work :)
	//Also please note, the copyright of all my mods is required if you want a given support from myself
	'UCP_GENERATE_PWD_INT'			=> 'Количество символов должно быть целым числом!',
	'UCP_GENERATE_PWD_WEAK_PWD'		=> 'Ваш пароль слишком простой. Вы уверены в использовании именно такого?',
	'UCP_GENERATE_PWD_WEAK_PWD2'	=> 'Ваш пароль слишком простой. Вы уверены что необходимо продолжить его использовать?',
	'UCP_GENERATE_PWD_MAXC'			=> 'Верхнего регистра',	
	'UCP_GENERATE_PWD_MINC'			=> 'Нижнего регистра',
	'UCP_GENERATE_PWD_MOUSE'		=> 'Демонстрация создания пароля',
	'UCP_GENERATE_PWD_MOUSE_EXP'	=> 'Расширенный вариант с использованием курсора мыши',
	'UCP_GENERATE_PWD_MOVE'			=> 'Подвигайте курсор на экране для активации процесса создания пароля! Какой-то пароль понравился? Попробуйте выделить и скопировать понравившийся...',	
	'UCP_GENERATE_PWD_NUMBERS'		=> 'Чисел (цифр)',
	'UCP_GENERATE_PWD_OK'			=> 'Вернуться',
	'UCP_GENERATE_PWD_PASSWORD'		=> 'Надежность пароля',
	'UCP_GENERATE_PWD_PASSWORD1'	=> 'Пароль плохой. Не используйте.',
	'UCP_GENERATE_PWD_PASSWORD2'	=> 'Пароль слабый. Пойдет с трудом.',
	'UCP_GENERATE_PWD_PASSWORD3'	=> 'Пароль отличный. Можно брать.',
	'UCP_GENERATE_PWD_PASSWORD4'	=> 'Пароль сильный. Не подбираем!',
	'UCP_GENERATE_PWD_PASSWORD5'	=> 'Такой пароль запрещен настройками!',
	'UCP_GENERATE_PWD_RANDOM'		=> 'Автоматическое создание пароля',	
	'UCP_GENERATE_PWD_SPEC'			=> 'Спецсимволов',
	'UCP_GENERATE_PWD_CAN'			=> 'Укажите из каких символов должен состоять Ваш будущий пароль',
	'UCP_GENERATE_PWD_CHARSNUMB'	=> 'Необходимое количество знаков в пароле (в разрешенном диапазоне)',
	'UCP_GENERATE_PWD_GENERATE'		=> 'Нажмите здесь для перебора вариантов',
	'UCP_GENERATE_PWD_GENERATED'	=> 'В этой строке появится созданный пароль.',
	'UCP_GENERATE_PWD_SENDINFORM'	=> 'Добавить созданный пароль в обе формы заполнения?',
	'UCP_GENERATE_PWD_REQUIRED'		=> 'Настройки только для единственного прочтения.',
	'UCP_GENERATE_PWD_EMPTYPWD'		=> 'Пароль не введен!',
	'UCP_GENERATE_PWD_SHORTPWD'		=> 'Пароль слишком короткий!',
	'UCP_GENERATE_PWD_BIGPWD'		=> 'Пароль слишком большой!',
	'UCP_GENERATE_PWD_CHECKBOX'		=> 'Любой разрешенный символ!',
	'UCP_GENERATE_PWD_DBLCLICK'		=> 'Для выделения и копирования в целях сохранения созданного пароля - щелкните на нем дважды.',
	'UCP_GENERATE_PWD_SAVED'		=> 'Внимание!!! Сейчас Ваш пароль исчезнет и больше вы его не увидите! Но!!! Если вы не сохранили пароль, нажмите "Нет", скопируйте получившийся пароль в надежное место и затем опять нажмите на кнопку "Отправить в обе формы?".',
	'UCP_GENERATE_PWD_SENDINFORM'	=> 'Отправить в обе формы?',
	'UCP_GENERATE_PWD_SHORTPWD'		=> 'Пароль слишком короткий!',
	'UCP_GENERATE_PWD_SAFE_MODE'	=> 'Безопасный режим',
	'UCP_GENERATE_PWD_SPEC'			=> 'Спецсиммволов',
	'UCP_GENERATE_PWD_TITLE'		=> 'Генератор паролей',
	'UCP_GENERATE_PWD_VERSION'		=> 'v1.1.0',
	'UCP_GENERATE_PWD_XCLOSE'		=> 'X',	
));	
?>
Sincerely, Alexander, who has found the joy of Easter eggs .... :lol:

User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: [RC1] Password Generator JS

Post by Geolim4 »

you find it?
Thx for translation 8-)
phpBB-fr Former MOD Team Leader / Website Team Member

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC1] Password Generator JS

Post by Jessica »

Tried it out and loving it!

I'm trying to install it on my main board, though, and I can't open the generator. I know it's somehow because there are loads of jquery conflicts. I tried to remove them from overall_header, but that didn't seem to work.

Tried removing

Code: Select all

<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/jquery.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/jqueryui.js"></script>
and <link href="{T_THEME_PATH}/jqueryui.css" rel="stylesheet" type="text/css" />

EDIT: I'm going to try to use a customized overall_header. Will get back my results soon
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: [RC2] Password Generator JS

Post by Geolim4 »

Jessica wrote:Tried it out and loving it!
:mrgreen: :mrgreen:

For test rest i cant a compatibility trick for all phpBB's mod using Jquery, sorry :cry:
phpBB-fr Former MOD Team Leader / Website Team Member

Locked

Return to “[3.0.x] MODs in Development”