Commit graph

21 commits

Author SHA1 Message Date
Jeldrik Hanschke
8a62662e6e
migrate from ember-i18n to ember-intl (#358)
* mark string as html safe before passing to translation instead of bypassing HTML escape using {{{unsafe}}} syntax
* replace ember-i18n with ember-intl
2020-01-30 00:23:12 +01:00
Jeldrik Hanschke
c9482786c1
refactor to native ECMAScript classes (#344)
Replaces Ember's old object model by native ECMAScript classes. Mostly automated with ember-native-class-codemod.
2020-01-18 10:13:50 +01:00
Jeldrik Hanschke
6571a07ca5
show validation error if time input is partially filled (#279) 2019-11-02 16:51:47 +01:00
jelhan
65063c71ce
validation error is flashing up for name input while saving participation (#219) 2019-06-14 23:58:53 +02:00
Jeldrik Hanschke
b8d4087aaf fix: validation errors should be translated
https://github.com/jasonmit/ember-i18n-cp-validations/tree/v3.1.0#breaking-changes-between-2x-and-3x-for-ember-i18n-cp-validations
2018-12-29 21:23:29 +01:00
Jeldrik Hanschke
11265cb82d deps: upgrade ember to 2.18 2018-12-29 20:23:19 +01:00
jelhan
aafe5966e3 Fix: Confusing unique validation error messages for options 2016-07-03 16:50:42 +02:00
jelhan
1ab337d015 Fixes: Force names of participants to be unique if anonymous participation is not allowed. 2016-06-21 01:13:52 +02:00
jelhan
2c11fe41bf perserve validation state in create/options-datetime by avoiding rerender 2016-06-08 13:56:06 +02:00
jelhan
5b8d59c00b rewrite create/options-datetime with ember-bootstrap
ToDo left:
refactor `datetimes` property of `create-options-datetime` component to
not cause whole list to be updated. This is not only a performance issue
but also UX: e.g. validation state is lost when another item is added.
2016-06-06 01:19:24 +02:00
jelhan
70f7879ee7 Fixes #55 2016-05-20 21:49:29 +02:00
jelhan
4b33ddf48e Support polls findADate with mixed dates and datetimes 2016-02-13 18:37:33 +01:00
jelhan
c53593d2cf options must be unique 2016-02-08 23:46:30 +01:00
jelhan
40a7fdf606 fix validators and there tests
tests had wrong results before
2016-01-31 14:54:23 +01:00
jelhan
8f08e57d1d fix some more code style issues 2016-01-28 23:48:14 +01:00
jelhan
ce2a8c8e1f done most things except date with times
also validation messages are missing
2016-01-19 04:56:51 +01:00
jelhan
865cf7fda4 remove unnecessary global 2016-01-09 00:49:36 +01:00
jelhan
ae52eb8be1 refactor validator time and allow i18n of error messages for valid-collection 2015-11-22 19:11:32 +01:00
jelhan
f67381c6b9 remove ember-easy-form-extensions, finally 2015-11-19 21:51:49 +01:00
jelhan
3563e41913 time input as normal form instead of table
part of #76

replaces ember-easy-form-extensions and ember-validations by
ember-cp-validations and ember-form-master-2000

dropped webshim for input type time; should be readded to improve
user experience in browser which does not support this input field
yes (e.g. Internet Explorer, Edge, Firefox)
2015-11-19 21:16:32 +01:00
jelhan
f5f3f525f7 make validator reusable 2015-11-18 17:49:01 +01:00