Commit graph

63 commits

Author SHA1 Message Date
jelhan
014c717d34 sort options after times where set 2016-02-18 12:06:54 +01:00
jelhan
0fd12adf65 move time selection to separate page again 2016-02-16 02:26:27 +01:00
jelhan
8f08e57d1d fix some more code style issues 2016-01-28 23:48:14 +01:00
jelhan
611f15d574 just some code style fixes 2016-01-28 22:49:14 +01:00
jelhan
4937d9b27b create-options-datetime is reimplemented; add / delete of options also works
main work seems to be done
2016-01-22 00:19:46 +01:00
jelhan
ec3999bbc9 input datetimes
ToDo:
* integration test for options-create-datetime
* acceptance tests for poll find a date with times
* some translations
* ...
2016-01-20 02:52:21 +01:00
jelhan
ce2a8c8e1f done most things except date with times
also validation messages are missing
2016-01-19 04:56:51 +01:00
jelhan
f42d68542e Fix jshint: Don't make functions within a loop 2016-01-18 18:50:26 +01:00
jelhan
8e2c188cf6 update properties on locale change 2015-11-24 00:53:03 +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
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
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
dd1a8436e0 model fragments for answers 2015-10-25 15:29:47 +01:00
jelhan
a8a10ad42a Fixes #74 and some other validation issues 2015-10-12 11:42:51 +02:00
jelhan
1136af5b74 remove deprecation: COMPUTED PROPERTIES WITH A SHARED GETTER AND SETTER
http://emberjs.com/deprecations/v1.x/#toc_computed-properties-with-a-shared-getter-and-setter
2015-08-19 22:24:20 +02:00
jelhan
5a9f58f451 fix jshint warning 2015-07-27 17:57:50 +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
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
f5b8546247 fix undefined error 2015-04-07 13:17:45 +02:00
jelhan
30e9b22797 Fix undefined if all dates are removed 2015-04-07 12:38:13 +02:00
jelhan
10f7b59986 jshint 2015-04-04 02:45:22 +02:00
jelhan
b1dc1b5bac use ember-cli-boostrap-datepicker 2015-04-04 02:43:59 +02:00
jelhan
7ba00a1b31 just change values instead of regenerating times array on copy first line action
fixes #37
2014-11-25 16:37:56 +01:00
jelhan
538a486da7 removed files from merge 2014-11-25 16:12:46 +01:00
jelhan
791c612e2d Merge branch 'feat/backbutton-on-create' into feat/ember-cli
Conflicts:
	app/controllers/create/options-datetime.js
	app/controllers/create/options.js
	app/views/create/options-datetime.js
2014-11-21 12:38:32 +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
3e85382cf8 ember-validations as ember-addons 2014-11-02 16:55:10 +01:00
jelhan
7dec3c47ca migration to ember-cli 2014-11-01 18:00:46 +01:00
jelhan
b9e03542e0 Merge branch 'master' into feat/ember-cli 2014-11-01 15:29:09 +01:00
jelhan
2b3e4f2fa3 improve translations 2014-11-01 15:28:57 +01:00
jelhan
7a241bd311 first steps to ember-cli 2014-10-30 21:44:22 +01:00
jelhan
2e742ea903 validate only on focusOut or submit 2014-10-26 18:19:07 +01:00
jelhan
f766e169bd run validation on submit 2014-10-26 16:47:15 +01:00
jelhan
57b46a03f1 translate poll types and predefined answers 2014-10-24 00:39:07 +02:00
jelhan
5afd9a20f4 fix wrong action name 2014-10-23 17:34:44 +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
dbda4b72d2 validation got lost 2014-10-21 02:29:11 +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
8a91cfed48 webshim polyfill for html5 input time element 2014-09-28 17:07:19 +02:00
jelhan
0ebb6c34e8 icons also for given answers 2014-08-03 15:35:29 +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
caa6251632 Fix wrong binding 2014-08-02 15:57:14 +02:00