branch develop updated (2a3ec7cb -> b4287f46)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from 2a3ec7cb correction chargement des commentaire (ref #100) new b4287f46 fixes #111 Erreur pseudo trop long dans le commentaire + maxlength sur les inputs qui le requierent The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit b4287f46dde44944dcb5df7a654867b3ef47cd3c Author: Kevin Morin <morin@codelutin.com> Date: Fri Aug 4 12:31:43 2017 +0200 fixes #111 Erreur pseudo trop long dans le commentaire + maxlength sur les inputs qui le requierent Summary of changes: pollen-ui-riot-js/src/main/web/tag/SignUp.tag.html | 12 ++++++++---- pollen-ui-riot-js/src/main/web/tag/UserEditModal.tag.html | 6 ++++-- pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html | 15 ++++++++++----- .../web/tag/favoriteList/FavoriteListEditModal.tag.html | 3 ++- .../main/web/tag/favoriteList/MemberEditModal.tag.html | 6 ++++-- pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html | 1 + pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html | 1 + .../src/main/web/tag/poll/Description.tag.html | 3 +++ pollen-ui-riot-js/src/main/web/tag/poll/Report.tag.html | 1 + pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html | 1 + 10 files changed, 35 insertions(+), 14 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit b4287f46dde44944dcb5df7a654867b3ef47cd3c Author: Kevin Morin <morin@codelutin.com> Date: Fri Aug 4 12:31:43 2017 +0200 fixes #111 Erreur pseudo trop long dans le commentaire + maxlength sur les inputs qui le requierent --- pollen-ui-riot-js/src/main/web/tag/SignUp.tag.html | 12 ++++++++---- pollen-ui-riot-js/src/main/web/tag/UserEditModal.tag.html | 6 ++++-- pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html | 15 ++++++++++----- .../web/tag/favoriteList/FavoriteListEditModal.tag.html | 3 ++- .../main/web/tag/favoriteList/MemberEditModal.tag.html | 6 ++++-- pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html | 1 + pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html | 1 + .../src/main/web/tag/poll/Description.tag.html | 3 +++ pollen-ui-riot-js/src/main/web/tag/poll/Report.tag.html | 1 + pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html | 1 + 10 files changed, 35 insertions(+), 14 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/SignUp.tag.html b/pollen-ui-riot-js/src/main/web/tag/SignUp.tag.html index 9c99febc..eee9115a 100644 --- a/pollen-ui-riot-js/src/main/web/tag/SignUp.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/SignUp.tag.html @@ -34,7 +34,8 @@ require("./components/HumanInput.tag.html"); name="name" ref="name" placeholder="{__.name_placeholder}" - required> + required + maxlength="255"> <div if="{errors.name}" class="c-hint--static c-hint--error"> {errors.name} @@ -48,7 +49,8 @@ require("./components/HumanInput.tag.html"); name="email" ref="email" placeholder="{__.email_placeholder}" - required> + required + maxlength="255"> <div if="{errors.email}" class="c-hint--static c-hint--error"> {errors.email} @@ -63,7 +65,8 @@ require("./components/HumanInput.tag.html"); ref="password" placeholder="{__.password_placeholder}" onblur="{checkPassword}" - required> + required + maxlength="255"> <div if="{errors.password}" class="c-hint--static c-hint--error"> {errors.password} @@ -79,7 +82,8 @@ require("./components/HumanInput.tag.html"); placeholder="{__.repeat_password_placeholder}" onblur="{checkPassword}" onkeypress="{clearPasswordError}" - required/> + required + maxlength="255"/> <div if="{errors.repeatPassword}" class="c-hint--static c-hint--error"> {errors.repeatPassword} diff --git a/pollen-ui-riot-js/src/main/web/tag/UserEditModal.tag.html b/pollen-ui-riot-js/src/main/web/tag/UserEditModal.tag.html index e69b43da..5a89e692 100644 --- a/pollen-ui-riot-js/src/main/web/tag/UserEditModal.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/UserEditModal.tag.html @@ -12,7 +12,8 @@ require("./popup/Modal.tag.html"); id="name" ref="name" class="c-field" - value={parent.opts.user.name}> + value={parent.opts.user.name} + maxlength="255"> </div> <div class="o-form-element"> <label class="c-label" for="name">{parent.__.email}</label> @@ -21,7 +22,8 @@ require("./popup/Modal.tag.html"); ref="email" required class="c-field {c-field--error: parent.errors.email}" - value={parent.opts.user.email}> + value={parent.opts.user.email} + maxlength="255"> <div class="c-hint c-hint--static c-hint--error" each={error in parent.errors.email}>{error}</div> </div> <div class="o-form-element"> diff --git a/pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html b/pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html index b33a4482..c06bed10 100644 --- a/pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/UserProfile.tag.html @@ -17,7 +17,8 @@ require("./components/HumanInput.tag.html"); ref="name" value={user.name} placeholder="{__.name_placeholder}" - required> + required + maxlength="255"> <div if="{errors.name}" class="c-hint--static c-hint--error"> {errors.name} @@ -33,7 +34,8 @@ require("./components/HumanInput.tag.html"); ref="email" value={user.email} placeholder="{__.email_placeholder}" - required> + required + maxlength="255"> <i class="fa fa-fw fa-{user.emailIsValidate ? 'check' : 'refresh'} c-icon" title={user.emailIsValidate ? __.emailValidate : __.emailValidationWaiting}></i> </div> @@ -69,7 +71,8 @@ require("./components/HumanInput.tag.html"); name="oldPassword" ref="oldPassword" placeholder="{__.oldPassword_placeholder}" - required> + required + maxlength="255"> <div if="{errors.oldPassword}" class="c-hint--static c-hint--error"> {errors.oldPassword} @@ -84,7 +87,8 @@ require("./components/HumanInput.tag.html"); ref="newPassword" placeholder="{__.newPassword_placeholder}" onblur="{checkNewPassword}" - required> + required + maxlength="255"> <div if="{errors.newPassword}" class="c-hint--static c-hint--error"> {errors.newPassword} @@ -100,7 +104,8 @@ require("./components/HumanInput.tag.html"); placeholder="{__.repeatPassword_placeholder}" onblur="{checkPassword}" onkeypress="{clearPasswordError}" - required> + required + maxlength="255"> <div if="{errors.repeatPassword}" class="c-hint--static c-hint--error"> {errors.repeatPassword} diff --git a/pollen-ui-riot-js/src/main/web/tag/favoriteList/FavoriteListEditModal.tag.html b/pollen-ui-riot-js/src/main/web/tag/favoriteList/FavoriteListEditModal.tag.html index a55178f4..cc6492e5 100644 --- a/pollen-ui-riot-js/src/main/web/tag/favoriteList/FavoriteListEditModal.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/favoriteList/FavoriteListEditModal.tag.html @@ -13,7 +13,8 @@ require("../popup/Modal.tag.html"); ref="name" class="c-field" placeholder={parent.__.name_placeholder} - value={parent.opts.favoriteList.name}> + value={parent.opts.favoriteList.name} + maxlength="255"> </div> </Modal> diff --git a/pollen-ui-riot-js/src/main/web/tag/favoriteList/MemberEditModal.tag.html b/pollen-ui-riot-js/src/main/web/tag/favoriteList/MemberEditModal.tag.html index eb3291cf..c8320017 100644 --- a/pollen-ui-riot-js/src/main/web/tag/favoriteList/MemberEditModal.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/favoriteList/MemberEditModal.tag.html @@ -14,7 +14,8 @@ require("../popup/Modal.tag.html"); required class="c-field" placeholder={parent.__.name_placeholder} - value={parent.opts.member.name}> + value={parent.opts.member.name} + maxlength="255"> </div> <div class="o-form-element"> <label class="c-label" for="name">{parent.__.email}</label> @@ -24,7 +25,8 @@ require("../popup/Modal.tag.html"); required class="c-field {c-field--error: parent.errors.email}" placeholder={parent.__.email_placeholder} - value={parent.opts.member.email}> + value={parent.opts.member.email} + maxlength="255"> <div class="c-hint c-hint--static c-hint--error" each={error in parent.errors.email}>{error}</div> </div> <div class="o-form-element"> diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html index a89ae155..33fdb236 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Choice.tag.html @@ -18,6 +18,7 @@ require("../components/time-picker.tag.html"); value={valueText} required={opts.choice.choiceType === 'TEXT'} pattern={opts.choice.choiceType === 'TEXT' ? ".*[^\s]+.*" : ""} + maxlength="255" title={__.text_notBlank} onchange={onTextChange}/> <button type="button" diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html index 41404289..065c123e 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html @@ -32,6 +32,7 @@ require("./Report.tag.html"); type="text" name="author" ref="author" + maxlength="255" required value={poll.authorName} placeholder="{__.authorPlaceholder}"> diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Description.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Description.tag.html index b403d873..f67c8e8b 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Description.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Description.tag.html @@ -30,6 +30,7 @@ class="c-field c-field--label" required pattern=".*[^\s]+.*" + maxlength="255" title={__.titleNotBlank} name="title" value="{form.model.title}" @@ -59,6 +60,7 @@ title={__.nameNotBlank} name="name" value="{form.model.creatorName}" + maxlength="255" disabled={opts.form.model.closed} placeholder="{__.namePlaceHolder}"/> </div> @@ -69,6 +71,7 @@ class="c-field c-field--label" name="email" value="{form.model.creatorEmail}" + maxlength="255" disabled={opts.form.model.closed} placeholder="{__.emailPlaceHolder}"/> </div> diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Report.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Report.tag.html index 177ef427..49eb6b82 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Report.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Report.tag.html @@ -49,6 +49,7 @@ require("../popup/Modal.tag.html"); placeholder="{parent.__.email_placeholder}" value={parent.session.getUser() && parent.session.getUser().email} required + maxlength="255" class="c-field"/> </div> </modal> diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html index 9fe80519..caf6fb1b 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html @@ -18,6 +18,7 @@ require("../components/HumanInput.tag.html"); ref="voterName" name="voterName" required + maxlength="255" placeholder={__.authorPlaceHolder} value={poll.voterName}> </div> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm