Commit graph

873 commits

Author SHA1 Message Date
jelhan
a7e141828d Fixes #89 2016-06-20 19:28:10 +02:00
jelhan
4212471520 Merge pull request #102 from xshadow/english_translations_second
[translation] - Added new english version
2016-06-19 19:55:25 +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
f32e6bf4c6 Fixes: select options (create/index, create/settings) are not updated on locale change. 2016-06-14 11:40:58 +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
94b32a5fbd v0.4.0-alpha5 2016-06-08 14:16:13 +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
jelhan
6e671f0f3b remove CONTRIBUTING.md without helpfull content 2016-06-06 01:18:39 +02:00
jelhan
8113b23e81 Merge pull request #96 from rugk/patch-1
Add note to remind user to protect the data dir
2016-06-04 20:13:15 +02:00
jelhan
f9c003403b Merge pull request #97 from rugk/patch-2
German translation: Missing capital letter
2016-06-04 20:12:55 +02:00
rugk
2c60e2d3cf German translation: Missing capital letter 2016-06-04 18:19:17 +02:00
rugk
5aaa3a8af7 Add note to remind user to protect the data dir 2016-06-04 18:14:43 +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
b7d7953c30 Update README.md: add cron.php to installation instructions 2016-05-23 12:02:18 +02:00
jelhan
777dbeeb51 Fix spelling 2016-05-23 11:55:34 +02:00
jelhan
d146281090 Merge pull request #91 from rugk/patch-1
Add header to allow script execution
2016-05-23 11:54:54 +02:00
rugk
eacb089347 cron.php: Better wording 2016-05-21 21:26:51 +02:00
rugk
fdc912588b Add header to allow script execution
If you say it should be executed as a script you might also want this...
2016-05-21 21:26:24 +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
ce47b2342f Not supported by PHP 5.6 2016-05-18 16:15:28 -07:00
jelhan
9603444daa php 5.6 does not support class member access on clone
it's a pitty
2016-05-18 15:52:30 -07:00
jelhan
08b5fe26e3 cleanup test data dir before each test 2016-05-18 15:47:08 -07:00
jelhan
a7bc09c9e9 adds test for cron.php 2016-05-18 15:16:41 -07:00
jelhan
08e9f68197 remove polls isDateTime attribute 2016-05-18 13:18:36 -07:00
jelhan
c634dd8298 v0.4.0-alpha4 2016-04-18 12:38:59 +02: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