jelhan
c8847d4814
Fix: duplicates in options arrays
...
Occurs if another day is added to an option array already having times
2016-05-21 18:37:23 +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
f3426b2a7d
support creating polls with only one option
...
There might be use cases and it simplifies validation a lot.
Also fixes this missing translation message mentioned in #84 :
> /create/options-datetime: There isn't any validation error shown when validation fails due to not enough times.
2016-04-15 11:21:26 +02:00
jelhan
8a32f1f5c8
Closes #87 .
2016-04-11 00:37:46 +02:00
jelhan
e5c5198601
Fixes #85
2016-04-09 01:52:54 +02: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
0ab6ff374c
Fix: String could be less than 10 characters which causes test to fail
...
Math.random() could return 0, 0.5, 0.51 which isn't enough input for a 10 characters string.
2016-03-21 13:05:23 +01:00
jelhan
aa6483c4d1
Fixes #81
2016-03-20 15:31:24 +01:00
jelhan
6f6395e430
Fixes #82
2016-03-18 20:26:41 +01:00
jelhan
9a658ab76d
allow alpha / beta / rc releases
2016-03-18 13:15:32 +01:00
jelhan
277d51e650
poll evaluation as stacked bar chart
2016-03-17 13:32:53 +01:00
jelhan
014c717d34
sort options after times where set
2016-02-18 12:06:54 +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
4b33ddf48e
Support polls findADate with mixed dates and datetimes
2016-02-13 18:37:33 +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
40a7fdf606
fix validators and there tests
...
tests had wrong results before
2016-01-31 14:54:23 +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
c5e66436b7
Merge branch 'master' into rewrite-create-options
2016-01-28 11:27:58 +01:00
jelhan
95c5142ad1
some more JSCS fixes
2016-01-28 11:27:00 +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
33d641623a
Merge branch 'master' into rewrite-create-options
2016-01-20 04:23:41 +01:00
jelhan
123655ad37
some more code style errors
2016-01-20 03:52:06 +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
9cfcb6d27a
Merge branch 'master' into rewrite-create-options
2016-01-19 05:55:37 +01:00
jelhan
6ba930661e
add JSCS code style test and fix errors
2016-01-19 05:46:52 +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
70a3a6a4ab
fix: test that version is included as HTML meta tag
2015-12-08 11:39:30 +01:00
jelhan
c13d55ec01
test that version is included as HTML meta tag
2015-12-08 11:27:41 +01:00
jelhan
52a20050f2
upgrade ember-cli to 1.13.13
2015-12-07 20:24:22 +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
05ae26cc80
add tests for validation create/options-datetime
2015-11-22 19:16:27 +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
8afe43f270
Fix unit tests controller:create
...
needs a run loop and dates must not be created before visit cause
moment locale isn't that before application route is reached
2015-11-20 23:33:20 +01:00
jelhan
f8fa5aa47b
Fix tests: controller:create; needs run loop
2015-11-20 23:15:38 +01:00
jelhan
4c597352ad
update ember-from-master-2000
2015-11-20 23:02:35 +01:00
jelhan
e1bb2da6d1
fix jshint
2015-11-20 11:31:40 +01:00