Commit graph

550 commits

Author SHA1 Message Date
jelhan
865cf7fda4 remove unnecessary global 2016-01-09 00:49:36 +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
db038b1e57 fix locale storage in cookie 2015-12-07 22:23:08 +01:00
jelhan
b33a2f84f2 fix jshint 2015-12-07 21:55:17 +01:00
jelhan
2ec58668b8 readd webshim polyfill for input[type=time]
needed by http://caniuse.com/#feat=input-datetime
was removed by 3563e41913
2015-12-07 21:51:07 +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
0531c94643 missing translation 2015-11-26 12:26:22 +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
d02837db6b Fix tests failing caused by exceeded server expiration date ... 2015-11-24 01:15:34 +01:00
jelhan
8e2c188cf6 update properties on locale change 2015-11-24 00:53:03 +01:00
jelhan
b08172e4b7 Fix JShint
forgot to remove global moment statement when replacing moment from view...
2015-11-23 13:34:47 +01:00
jelhan
20d3a29887 update dates on locale change
* upgraded ember-moment and use it application-wide service to set locale
* label on poll/participation now observes locale changes, but it's still hacky
* replace computed property on views poll by moment-format helper of ember-moment
2015-11-23 13:32:40 +01:00
jelhan
4d5d5489b4 readd i18n for validations 2015-11-22 19:31:16 +01:00
jelhan
05ae26cc80 add tests for validation create/options-datetime 2015-11-22 19:16:27 +01:00
jelhan
798527a4ae refactor to be in line with https://github.com/Emerson/ember-form-master-2000/pull/38 2015-11-22 19:15:15 +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
8fd91171f9 Controller#needs is deprecated, please use Ember.inject.controller() instead
http://emberjs.com/deprecations/v1.x/#toc_controller-needs
2015-11-22 16:09:52 +01:00
jelhan
1e89776d9e DEPRECATION: You're using legacy binding syntax 2015-11-22 14:33:32 +01:00
jelhan
2f9ad47edf Fix bind-attr deprecation
http://emberjs.com/deprecations/v1.x/#toc_bind-attr
2015-11-22 14:28:32 +01:00
jelhan
fbd47f415b unused since ember-easy-form-extensions was dropped 2015-11-22 14:28:07 +01:00
jelhan
2f4c6f7d07 Fix: DEPRECATION: Using the '{{#each item in model}}' form of the {{#each}} helper
is deprecated. Please use the block param form instead ('{{#each model as |item|}}').
See http://emberjs.com/guides/deprecations/#toc_code-in-code-syntax-for-code-each-code
for more details.
2015-11-22 14:17:37 +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
jelhan
8e45975c33 explicit define a default poll type 2015-11-20 11:19:28 +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
2e70110597 Fix: DS.ModelFragment was renamed to MF.Fragement in ember-data-model-fragments update
https://github.com/lytics/ember-data-model-fragments/blob/master/CHANGELOG.md#v1130-october-25-2015
2015-11-20 01:09:37 +01:00
jelhan
c0450a9af4 update ember-data-model-fragments 2015-11-20 00:18:09 +01:00
jelhan
149cf7fe8b update ember-cli to 1.13.8 2015-11-20 00:17:15 +01:00
jelhan
b5ae0c47da run npm prune in test to prevent failing test because of extraneous packages 2015-11-19 22:06:28 +01:00
jelhan
f67381c6b9 remove ember-easy-form-extensions, finally 2015-11-19 21:51:49 +01:00
jelhan
3563e41913 time input as normal form instead of table
part of #76

replaces ember-easy-form-extensions and ember-validations by
ember-cp-validations and ember-form-master-2000

dropped webshim for input type time; should be readded to improve
user experience in browser which does not support this input field
yes (e.g. Internet Explorer, Edge, Firefox)
2015-11-19 21:16:32 +01:00
jelhan
f5f3f525f7 make validator reusable 2015-11-18 17:49:01 +01:00
jelhan
335dfd8ff2 validate each input field on it's own 2015-11-17 00:30:24 +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
ca387848ed create/options input fields for make a poll with add / delete buttons
also rewritten using ember-cp-validations and ember-form-master-2000
2015-11-16 13:09:13 +01:00
jelhan
3706e88620 normal defaults and override them if necessary 2015-11-15 19:49:59 +01:00
jelhan
bd58f2865b was removed by c3ee937936 2015-11-15 19:24:47 +01:00
jelhan
8cb8b9bf6a fix jshint 2015-11-15 19:22:34 +01:00
jelhan
c3ee937936 showing errors after first input can get confusing since form field may
show errors while typing a correct value (e.g. for minimun length)
2015-11-15 19:19:33 +01:00
jelhan
de359576f5 fix: bootstrap layout 2015-11-15 17:03:55 +01:00
jelhan
8ecb082ce3 move 'horizontal' class to config in initializer 2015-11-15 16:50:19 +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
8b74eb7d86 fix side effect in unit tests for languages by only parsing a copy of imported languages object to ember-i18n 2015-11-04 12:49:28 +01:00
jelhan
82c22824a6 should use redirect hook instead of afterModel
details:
* http://guides.emberjs.com/v2.1.0/routing/redirection/#toc_child-routes
* http://emberjs.com/api/classes/Ember.Route.html#method_redirect
2015-11-04 12:09:42 +01:00
jelhan
b37a831d93 remove failing test which should ensure that all translations have same keys
ember-i18n pluralization seems to add another key to languages object (without pluralization)
not sure why this modified languages object is retrieved by test
810aa7f04b (pluralization)
2015-11-03 13:04:30 +01:00