Commit graph

45 commits

Author SHA1 Message Date
jelhan
a7e141828d Fixes #89 2016-06-20 19:28:10 +02:00
jelhan
acc05d68c5 remove webshim polyfills
UX in browser which does not support time input type should be okay know by
validation messages and placeholder. Wasn't even used anymore in latest release.

Affects #90 but does not resolve 'unsafe-inline' requirement cause to
ember-bootstrap (https://github.com/kaliber5/ember-bootstrap/pull/98#discussion_r66586065).
2016-06-10 11:35:55 +02:00
jelhan
327d6cd737 object-at helper as addon 2016-06-08 18:42:26 +02:00
jelhan
2c11fe41bf perserve validation state in create/options-datetime by avoiding rerender 2016-06-08 13:56:06 +02:00
jelhan
72513bf893 remove ember-form-master-2000 2016-06-06 01:19:24 +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
4a31aaa616 use ember-bootstrap in create/options
ToDo:
Label validation state should not be bound to validation state of first element (option)
but to validation state of all elements. If any element has an error label validation state
should be error. Only if all elements are fine, label validation state should also be fine.
2016-06-06 01:19:24 +02:00
jelhan
c9ef942c79 Fixes #84 2016-05-21 17:17:08 +02:00
jelhan
70f7879ee7 Fixes #55 2016-05-20 21:49:29 +02:00
jelhan
08e9f68197 remove polls isDateTime attribute 2016-05-18 13:18:36 -07:00
jelhan
194f00b7d6 Rewritten (some) acceptance tests with ember-cli-page-objects 2016-04-08 21:48:22 +02:00
jelhan
c240b712b6 Fixes #88
Also fixes test which was false positive and added some other tests.
2016-03-21 22:06:08 +01:00
jelhan
aa6483c4d1 Fixes #81 2016-03-20 15:31:24 +01:00
jelhan
277d51e650 poll evaluation as stacked bar chart 2016-03-17 13:32:53 +01:00
jelhan
b921632465 reimplement adopt times of first day (was: copy first line) 2016-02-16 04:02:59 +01:00
jelhan
e906fbd09d fix failing test due to input polyfill 2016-02-16 04:01:17 +01:00
jelhan
0fd12adf65 move time selection to separate page again 2016-02-16 02:26:27 +01:00
jelhan
0e4fd114cb some improvement on validations 2016-02-09 01:16:18 +01:00
jelhan
c53593d2cf options must be unique 2016-02-08 23:46:30 +01:00
jelhan
4bcb45d0bb revert change in dynamic segment (under_score to camelCase) since
poll id was not set as part of url afterwards;
add tests to not let this happen again
2016-01-31 15:30:31 +01:00
jelhan
a60c84e8d2 Fix failing tests in browser (including PhatomJS) which doesn't support input[type="time"]
due to webshim polyfill
2016-01-29 12:54:54 +01:00
jelhan
fefa4edfe4 wrong description 2016-01-29 11:47:19 +01:00
jelhan
8f08e57d1d fix some more code style issues 2016-01-28 23:48:14 +01:00
jelhan
13ddf1194b Merge branch 'master' into rewrite-create-options 2016-01-28 12:36:21 +01:00
jelhan
682e6a658e fix coding style errors
> helpers/poll-has-users.js should pass jscs.
> requireSemicolons: Missing semicolon after statement at helpers/poll-has-users.js
is incostitent with JSHint which complains about this semicolon

other ones should be fixed by rewrite of create/options
2016-01-28 12:34:56 +01:00
jelhan
4937d9b27b create-options-datetime is reimplemented; add / delete of options also works
main work seems to be done
2016-01-22 00:19:46 +01:00
jelhan
32106b7e79 Merge branch 'master' into rewrite-create-options 2016-01-20 03:19:28 +01:00
jelhan
e9a6f9ff41 fix some more JSCS code style errors 2016-01-20 03:19:10 +01:00
jelhan
ec3999bbc9 input datetimes
ToDo:
* integration test for options-create-datetime
* acceptance tests for poll find a date with times
* some translations
* ...
2016-01-20 02:52:21 +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
c5a42ce9d8 readd test for missing translations 2015-11-26 13:33:40 +01:00
jelhan
b209fe1d82 Fix failing tests caused by different moment locale in test vs application 2015-11-24 01:37:37 +01:00
jelhan
e1bb2da6d1 fix jshint 2015-11-20 11:31:40 +01:00
jelhan
c1dfa16eed update ember-i18n 2015-11-20 02:18:19 +01:00
jelhan
9bf19de533 this shouldn't be in repo 2015-11-20 02:03:14 +01:00
jelhan
f67381c6b9 remove ember-easy-form-extensions, finally 2015-11-19 21:51:49 +01:00
jelhan
6f6cc8b61d rewritten create/index and create/meta with ember-cp-validations and ember-form-master-2000 2015-11-16 14:28:00 +01:00
jelhan
01f9b6e61f extract participation form from participants table and make it a bootstrap form
started replacing ember-easy-form-extensions by ember-form-master-2000
and ember-validations by ember-cp-validations

using ember-form-master-2000 in old 0.2 release cause newer releases does not work with ember 0.12
should move to ember 2.x as soon as possible
therefore ember-easy-form-extensions has to be dropped and ember-i18n been updated

part of #76
2015-11-12 15:52:14 +01:00
jelhan
858b75e543 routable tabs in poll view for participation and evaluation 2015-11-02 23:02:59 +01:00
jelhan
3c26bd7001 data of integration tests isn't cleared, so we can't be sure that there aren't more users by runs before 2015-10-25 15:26:27 +01:00
jelhan
128cb35162 another legacy test 2015-10-19 11:19:01 +02:00
jelhan
d09aa843bb introduce test helper for poll participation and extend some tests with it 2015-10-18 14:04:04 +02:00
jelhan
dec12d81a7 move legacy support to api 2015-10-17 15:44:27 +02:00
jelhan
187155811c make more use of test helpers in acceptance tests 2015-10-14 20:36:47 +02:00
jelhan
c9ed3e8a06 readd integration test 2015-08-19 11:29:30 +02:00