Commit graph

332 commits

Author SHA1 Message Date
jelhan
0c0dc44195 reactored to use array computed macros for cleaner code 2016-07-03 19:49:36 +02:00
jelhan
aafe5966e3 Fix: Confusing unique validation error messages for options 2016-07-03 16:50:42 +02:00
jelhan
3c187886c1 remove unnecessary complexity 2016-06-27 13:04:20 +02:00
jelhan
2e128e3c3c Fix: confusing validation present error for answer selection in poll participation 2016-06-27 12:53:05 +02:00
jelhan
0460fe56b1 Merge branch 'master' of github.com:jelhan/croodle 2016-06-27 12:52:30 +02:00
jelhan
9a21eb126a Fix: submit if no day is selected 2016-06-27 12:49:40 +02:00
rugk
92d1534dd8 Improve German translation 2016-06-21 19:49:52 +02:00
jelhan
01bd5a6466 remove formatted-date helper (not in use anymore) 2016-06-21 01:44:50 +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
7b2a9672f4 Fixes: Date in poll evaluation summary does not observe locale changes. 2016-06-20 20:48:48 +02:00
jelhan
0d658e1f61 Merge branch 'master' of github.com:jelhan/croodle 2016-06-20 19:28:35 +02:00
jelhan
a7e141828d Fixes #89 2016-06-20 19:28:10 +02:00
shadow
38dfd3c125 [translation] - Added new english version 2016-06-17 13:11:49 +02:00
jelhan
9d9121c04e all outstanding PRs for ember-bootstrap got merged 2016-06-14 13:53:22 +02:00
jelhan
308b8fb367 preserve existing times if day selection is changed 2016-06-13 11:14:42 +02:00
jelhan
86a233fb02 Fix: do not delete a date if it's the last one for this day
Details: https://github.com/jelhan/croodle/issues/99#issuecomment-225140574
2016-06-10 20:59:02 +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
341fafaaec placeholder for time input type as a shim if browser does not support it
otherwise placeholder is ignored due to spec

http://caniuse.com/#feat=input-datetime
2016-06-10 11:12:49 +02:00
jelhan
7774e76551 Fixes: Tab navigation buttons on poill page are not translated. 2016-06-10 10:53:05 +02:00
jelhan
a76d5cc9a1 Fixes #100 2016-06-10 10:44:29 +02:00
jelhan
bcccffacec Fix: adopt times of first day if there aren't any times on first day 2016-06-09 12:27:51 +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
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