Commit graph

198 commits

Author SHA1 Message Date
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
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
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
4c597352ad update ember-from-master-2000 2015-11-20 23:02:35 +01:00
jelhan
c1dfa16eed update ember-i18n 2015-11-20 02:18:19 +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
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
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
475245d04f evaluation summary as component 2015-11-03 12:57:41 +01:00
jelhan
858b75e543 routable tabs in poll view for participation and evaluation 2015-11-02 23:02:59 +01:00
jelhan
3a197f20f3 Fix: show users sorted by creation date and correct date of last participation in evaluation 2015-10-25 17:15:57 +01:00
jelhan
243ed3b12a model fragments for user selections (currently same as answers) 2015-10-25 15:32:42 +01:00
jelhan
dd1a8436e0 model fragments for answers 2015-10-25 15:29:47 +01:00
jelhan
72d50350c4 Fixes #50 and tests for 1b02c26 2015-10-16 16:49:18 +02:00
jelhan
5a240e79e1 added some (ugly) tests for evaluation 2015-08-21 12:10:02 +02:00
jelhan
398453c1e4 do encryption / decryption in serializer
before it was done as computed properties of model

accessing encryption key in serializer is done via global application var.
this should be removed in long-term
2015-08-19 22:00:01 +02:00
jelhan
3e000f146d even more user-friendly evaluation 2015-08-19 13:27:14 +02:00
jelhan
22d9e5045c Merge branch 'master' into evaluation 2015-08-01 23:54:53 +02:00
jelhan
7cef56c2d1 some more tests about showing correct dates and times and handeling
different time zones
2015-08-01 23:54:07 +02:00
jelhan
bf1f038a43 fix times in table headers 2015-08-01 22:53:58 +02:00
jelhan
fa0175e352 fix times in table headers 2015-08-01 22:43:06 +02:00
jelhan
6f7148a86f Merge branch 'master' into evaluation
Conflicts:
	app/controllers/poll.js
2015-08-01 22:22:07 +02:00
jelhan
3690a60496 [FEATURE] add expiration date for polls 2015-07-26 19:41:59 +02:00
jelhan
2a3acf31ce Fix: webshim inputs were not updated 2015-07-23 23:49:23 +02:00
jelhan
2839b09ad9 more user-friendly evaluation 2015-07-15 14:24:57 +02:00
jelhan
612086c73c intend by 2 spaces 2015-07-07 11:52:46 +02:00
jelhan
67cc41973f Ember.ObjectController is deprecated since ember 1.11
Ember.ObjectController was proxying model properties to controller. Ember.Controller which should be used is not.
Therefore we have to define if it's a property of controller or model.

Also added two more tests:
* anonymous participation
* do not force an answer for all options
2015-07-01 16:21:18 +02:00
jelhan
5cce0a236d Fix: freetext answer where broken by caba42a853
added test to not let it happen again
2015-06-20 18:33:51 +02:00
jelhan
b1dc1b5bac use ember-cli-boostrap-datepicker 2015-04-04 02:43:59 +02:00
jelhan
6a3bf398c2 Fix: div closed to early; box should be part of #poll 2015-04-02 21:23:06 +02:00
jelhan
b2db75221a fix 2015-04-02 21:16:31 +02:00
jelhan
caba42a853 using ember-cli-easyform-extensions as it support ember >= 1.10 2015-04-02 20:28:35 +02:00
jelhan
8c8e1d37cd missing closing tag 2015-03-25 18:57:27 +01:00
jelhan
76da012143 {view Ember.Select} is deprecated in favor of {view "ember"} since EmberJS 1.8 2015-02-17 02:50:16 +01:00
jelhan
bc4ebadf1b fix: add a user to a default poll test 2015-01-24 18:31:21 +01:00
jelhan
f0a09d9aee handle connection issues on user save:
* show error message (modal)
* provide retry button

fixes #66
2015-01-21 01:30:14 +01:00
jelhan
1c831870e4 use ember-radio-button, an ember cli adddon, for radio buttons 2015-01-19 23:37:51 +01:00
jelhan
8af5a9df09 Integration Test for creation of a default poll 2014-11-26 13:15:05 +01:00
jelhan
016ccfc31c rewritten option and input field relationship
keep inputs while setting up poll and update options based on inputs by observer
2014-11-21 12:24:24 +01:00
jelhan
3db1dee801 better translations 2014-11-06 00:48:56 +01:00
jelhan
2b3e4f2fa3 improve translations 2014-11-01 15:28:57 +01:00
jelhan
cd3a0ceb67 improved error handling 2014-10-28 06:00:37 +01:00
jelhan
2994ba738b fix error on date decryption 2014-10-28 04:02:43 +01:00
jelhan
d18055b8dc handle timezone differences
Closes #33
2014-10-28 03:27:54 +01:00
jelhan
f766e169bd run validation on submit 2014-10-26 16:47:15 +01:00
jelhan
b55886f9c9 keep one feature at one point 2014-10-25 23:47:20 +02:00
jelhan
397c6f91a2 top scroll bar on user selections table allways visible 2014-10-25 23:44:58 +02:00
jelhan
90fbbea8a3 no wrap in table header 2014-10-25 21:53:10 +02:00
jelhan
20919232bf group dates if pollType is find a date and dates are defined with times 2014-10-25 19:40:14 +02:00
jelhan
fe4e6cd275 fix: formatedDate helper syntax 2014-10-25 01:42:42 +02:00
jelhan
da46700bee Fix: use selection id instead of label as class name 2014-10-25 01:01:05 +02:00
jelhan
fcfb3f89f1 show day of the week
Closes #22
2014-10-25 00:59:06 +02:00
jelhan
a3031f5b9d translate evaluation show/hide button 2014-10-24 01:24:21 +02:00
jelhan
14a298ea6c translate next buttons 2014-10-24 01:13:44 +02:00
jelhan
57b46a03f1 translate poll types and predefined answers 2014-10-24 00:39:07 +02:00
jelhan
ec79f68f5c Merge branch 'master' into feat/i18n 2014-10-23 21:02:29 +02:00
jelhan
1eac34741b fix ember-easyForm checkbox bootstrap wrong syntax 2014-10-23 20:58:46 +02:00
jelhan
533f70b5ee visibilty as a view property + missing translations 2014-10-23 17:55:04 +02:00
jelhan
a4eb466099 missing translation 2014-10-23 17:34:56 +02:00
jelhan
fcd4c82f40 translation for create.settings 2014-10-21 03:56:18 +02:00
jelhan
36dfc887a8 missing translation 2014-10-21 03:52:10 +02:00
jelhan
36e91ad99c better use of ember-easyForm and validations on create.options-datetime 2014-10-21 03:50:42 +02:00
jelhan
7a992c657a better use of ember-easyForm and validation in create.options 2014-10-21 03:19:30 +02:00
jelhan
80aac9b0fb some forms translated 2014-10-20 01:09:03 +02:00
jelhan
7a77c455c3 layout 2014-10-20 00:25:15 +02:00
jelhan
a324bf6c45 delete debug comment 2014-10-20 00:12:12 +02:00
jelhan
018fcf7f1f Merge branch 'master' into feat/i18n
Conflicts:
	app/index.html
	app/templates/create/options.hbs
	bower.json
2014-10-19 23:52:39 +02:00
jelhan
d463704eb2 bootstrap 3 for ember-easyForm
still lacks support of checkboxes: http://stackoverflow.com/questions/26444069/passing-handlebars-helper-to-another-helper-in-emberjs
2014-10-18 22:12:00 +02:00
jelhan
18a77d1523 replaced ember-form by ember-easyForm
ember-easyForm seems to have better support for i18n
also seems to be more stable
2014-10-18 21:07:21 +02:00
jelhan
469a9f1e4e language switch 2014-09-29 02:39:11 +02:00
jelhan
b9e6edc63e i18n 2014-09-29 00:48:26 +02:00
jelhan
8a91cfed48 webshim polyfill for html5 input time element 2014-09-28 17:07:19 +02:00
jelhan
05a7b419d6 wording 2014-08-19 15:31:05 +02:00
jelhan
f7e21e556f Fix #30 2014-08-13 14:06:56 +02:00
jelhan
148ebbd288 colorized glyphicon 2014-08-03 15:42:54 +02:00
jelhan
656201a39a Merge master 2014-08-03 15:39:57 +02:00
jelhan
0ebb6c34e8 icons also for given answers 2014-08-03 15:35:29 +02:00
jelhan
a12c9bb0d6 colorized answers also on user selection 2014-08-02 17:17:15 +02:00
jelhan
abe254bff5 glyphicon for new user selection, but not yet for allready selected answers 2014-08-02 17:16:47 +02:00
jelhan
538f48deb3 radio buttons for answer selection on participation
Closes #13
2014-08-02 16:58:26 +02:00
jelhan
2eb17b8233 Help text for valid input format 2014-08-01 21:05:16 +02:00
jelhan
ac07752095 Short help text 2014-08-01 21:00:04 +02:00
jelhan
4969bc37e2 Disable next button if input data is not valid 2014-08-01 20:56:20 +02:00
jelhan
f1ab0e8a44 Adding copy first line feature 2014-08-01 20:50:17 +02:00
jelhan
b7c4eccf52 Starting validation:isValid property show if atleast one time is specified for every date 2014-07-09 16:38:37 +02:00
jelhan
e5bd2f8b90 Improvement for datetime support:
table and form with bootstrap
more input fields for time on user request
2014-07-09 13:42:09 +02:00
jelhan
fabb22d769 Starting implementation of DateTime features 2014-07-07 01:51:58 +02:00
jelhan
68950f570a Fixing some problems due to migration to EAK 2014-07-06 18:56:51 +02:00
jelhan
b066b8806c Starting to move to Ember App Kit 2014-07-06 17:37:54 +02:00