Commit graph

311 commits

Author SHA1 Message Date
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
3f84279b6a create/options (findADate) label validation state reflect all options 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
529c96420b Fixes: undefined is not a function (swap) caused by webshim
https://github.com/aFarkas/webshim/issues/560
2016-06-06 01:19:24 +02:00
jelhan
0592eff1f0 ember-bootstrap for poll/participation 2016-06-06 01:19:23 +02:00
jelhan
3adecc772d fix modal to choose timezone
user must explicit choose a timzone:
* do not show default footer
* do not show close button (x)
* do not close if user clicks outside modal
* do not close on escape button
2016-06-06 01:19:23 +02:00
jelhan
32f9c3e633 use ember-bootstrap in create/index, create/meta, create/settings 2016-06-06 01:19:23 +02:00
jelhan
79f6e3411b rewrite modal to chose timezone with ember-bootstrap 2016-06-06 01:19:23 +02:00
jelhan
e558cccb60 add ember-bootstrap 2016-06-06 01:19:23 +02:00
rugk
2c60e2d3cf German translation: Missing capital letter 2016-06-04 18:19:17 +02:00
jelhan
568e23e0bc update validation error on locale change 2016-05-23 13:40:45 +02:00
jelhan
49a11a0326 observe locale changes on validation error messages
https://github.com/jasonmit/ember-i18n-cp-validations/issues/12
2016-05-23 12:42:47 +02:00
jelhan
7c56c5c5e0 Fix: missing translations 2016-05-21 20:05:13 +02:00
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
fba32d3590 Fix deprecation: using @each as a leaf node in a dependent key
http://emberjs.com/deprecations/v1.x/#toc_using-code-each-code-as-a-leaf-node-in-a-dependent-key

Also fixes coding style:
* use Ember.computed instead of {}.property()
* use Ember.observer instead of {}.observes()
2016-05-20 23:43:05 +02:00
jelhan
5542ecd52f not used anymore ... 2016-05-20 23:24:04 +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
e5c5198601 Fixes #85 2016-04-09 01:52:54 +02:00
jelhan
3e92fa8c87 Switch to bootstrap fixed-width grid layout.
Part of #76
2016-03-21 22:08:51 +01: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
cb66fb18bc Fix: Sort must return a signed number not a boolean
Chrome and Firefox are find with boolean but nodejs and edge are more strict.
2016-03-20 16:05:20 +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
255c6a97e8 Fixes #80 2016-03-18 13:27:34 +01:00
jelhan
e8b6776f9a Fixes #79 2016-03-18 13:15:47 +01:00
jelhan
277d51e650 poll evaluation as stacked bar chart 2016-03-17 13:32:53 +01:00
jelhan
03de059fd1 Fix: Do not ask which timezone should be chosen if there is no timezone defined in poll 2016-02-23 00:02:16 +01:00
jelhan
b7b57ef051 store timezone only if there is atleast one option including time
isDateTime could be true even if there isn't any option with time
2016-02-22 23:55:59 +01:00
jelhan
8ede03b604 Fix: Date was not shown if there were multiple best options 2016-02-22 23:42:01 +01:00
jelhan
9b6d0822b2 not used anymore 2016-02-18 21:18:48 +01:00
jelhan
f62963b26f define times as default 2016-02-18 21:10:38 +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
0f9cdac67c not needed anymore 2016-02-16 02:28:18 +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
e60374aa60 ingore last JSCS error 2016-02-13 16:37:52 +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
906ab6f053 We don't need this check; should be present also if it's a date 2016-02-08 21:01:15 +01:00
jelhan
f58e4dce25 Merge branch 'master' into rewrite-create-options 2016-02-02 13:08:05 +01:00
jelhan
9ef4975134 some more code style 2016-02-02 12:55:11 +01:00
jelhan
4ea58bf3be some more JSCS 2016-02-02 12:54:11 +01:00
jelhan
a5634cc4af DEPRECATION: Action handlers contained in an events object are deprecated in favor of putting them in an actions object 2016-02-02 12:50:13 +01:00