Commit graph

62 commits

Author SHA1 Message Date
jelhan
a542c46a12 Fixing validation of newUserName; removed validation of newUserSelections temporary
Therefore has to move creation of new user from view to controller. ember-validations had problems with views.

Removed not working validation of newUserSelections temporary.

isValid is false until a property observed by ember-validations got changed; therefore form is not valid until username got changed even if anonymous users are allowed. Will be fixed by validation on new user selections.
2014-06-13 04:32:04 +02:00
jelhan
344e1407d4 adding help textes for option selection / input 2014-06-06 01:50:38 +02:00
jelhan
c8dfa98a40 validation for options form
Fixes #20
2014-06-06 01:41:43 +02:00
jelhan
6692194cde use explicit variable name and improve documentation 2014-06-06 00:01:28 +02:00
jelhan
2e4a491fe9 disable save button if new user form isn't valid 2014-06-05 19:32:41 +02:00
jelhan
78b6096c75 changed new user form to ember-forms
Due to a problem in ember-forms handling propertys of each helper this is splitted up in several forms; should be changed in future.
There is no evaluation added yet.

Adresses #15
2014-06-05 13:08:10 +02:00
jelhan
2dc1e8397b adding validations for forms which are using ember-forms
When we move all forms / inputs to ember-forms as planed in #15 we could add validations also for them.

Adresses #20
2014-06-04 13:38:49 +02:00
jelhan
bcd4724dbe Option: anonymousUser 2014-06-03 08:54:34 +02:00
jelhan
4440112d89 adding normalize.css for improved cross browser rendering 2014-06-01 12:17:05 +02:00
jelhan
e6da141087 improve usability for screenreaders
There should be also labels before answer input / selections but option label is not provided here yet.
2014-05-29 04:38:51 +02:00
jelhan
abbc1f1118 also just one column for small devices 2014-05-29 04:27:13 +02:00
jelhan
3a09883d5e style user selection by bootstrap 2014-05-29 04:23:59 +02:00
jelhan
f0895f94c4 animated loading route
CSS3 solution provided by cssload.net, a great project of Timur Gafforov, Timur Yerzin and Avraam Makhmudov.

Modified original css to handle fluid width.
2014-05-29 03:48:00 +02:00
jelhan
6353f16182 option to force an answer 2014-05-21 19:47:17 +02:00
jelhan
ab1fa3bf9b disable evaluation for answer type free text 2014-05-21 14:21:47 +02:00
jelhan
14c7b0d7d6 typo 2014-05-21 13:51:52 +02:00
jelhan
4258a53ae7 typo 2014-05-21 13:50:16 +02:00
jelhan
cb0fa71a9f newUser as first row in table 2014-05-21 13:18:49 +02:00
jelhan
7d648d4527 Make poll url a real link 2014-05-13 19:15:26 +02:00
jelhan
383e36c386 remove unnecessary headlines 2014-05-12 18:42:49 +02:00
jelhan
8dcf578ce9 add simple index page 2014-05-12 18:41:37 +02:00
jelhan
fb7f07ebe7 simple evaluation of poll 2014-05-12 15:28:44 +02:00
jelhan
a8d95e61cd Missing form-group for buttons on option selection if poll type is MakeAPoll 2014-05-12 13:48:12 +02:00
jelhan
1f259897f7 clear label of user column
It's self-explaining, so we don't need a label. Without table looks tidier.
2014-05-11 16:52:45 +02:00
jelhan
a124fe7f09 advanced styling 2014-05-11 15:35:20 +02:00
jelhan
314bff917a style table with bootstrap 2014-05-10 20:25:14 +02:00
jelhan
9774baadbd formatted dates in selection table 2014-05-10 20:14:03 +02:00
jelhan
259811290e select dates via calendar
Fixes #8
2014-05-10 19:33:03 +02:00
jelhan
225803e82f simple styling of predefined answers 2014-05-09 13:01:33 +02:00
jelhan
3e0f016ca2 theming user-interface with bootstrap
Fixes #3
2014-05-09 03:41:37 +02:00
jelhan
f6e5905e1a answers as array of object because valuebinding is not working for array of strings 2014-04-18 03:02:48 +02:00
jelhan
22f816eb7f handle options as array 2014-04-18 02:59:29 +02:00
jelhan
cca69aed60 Support for pre defined answer possibilities
Implemented answer types are:
* yes, no (default)
* yes, no, maybe
* free text

While creating a poll the user choose possible answers by defining an answer type.

Later  user defined answer possibilites could be added.
2014-04-04 01:14:08 +02:00
jelhan
0952d08925 Enable MODEL_FACTORY_INJECTIONS
allows to inject into model but breaks compatiblity with current version of ember data
2014-02-21 19:04:19 +01:00
jelhan
fe50c6f66b doing it the ember way 2014-02-21 02:47:39 +01:00
jelhan
f64b2291c4 Description input field to textarea 2014-02-21 00:14:40 +01:00
jelhan
cb18ed0b1c Update libaries
Ember to 1.6.0-beta.1+canary.a063adea
Ember Data to 1.0.0-beta.7.f87cba88
Ember EmbeddedAdapter to latest dev release on GitHub
Handlebars to 1.3.0
JQuery to 2.1.0
Stanford JavaScript Crypto Libary to latest dev release on GitHub
2014-02-21 00:13:23 +01:00
jelhan
22431d9240 Fixing persitenz bug in createOption view 2014-02-19 20:35:07 +01:00
jelhan
7cd8a5bcb0 doing it the ember way 2014-02-08 02:08:36 +01:00
jelhan
be4407be74 loading and error substates 2014-02-07 20:58:21 +01:00
jelhan
8b4438ad5f refactored folder structure 2014-02-06 12:24:26 +01:00
jelhan
ced3da6041 fix bug with name on user model
remove encryption key from template
2014-02-01 22:08:47 +01:00
jelhan
c63ab8e30a dirty workaround to get encryption key for model when they a created through embedded records 2014-02-01 21:59:58 +01:00
jelhan
c4d7d2dc13 implementing basic encryption
need to find a solution for passing encryptKey to models of embedded records
2014-02-01 08:14:44 +01:00
jelhan
1c79ee674c Using ember query params to put encryption key in uri
moving to canaray build cause in beta and stable builds do not contain features
2014-02-01 04:04:34 +01:00
jelhan
f856860515 Implementing encryption of stored data
encryption key is hard-coded yet
2014-01-31 15:00:47 +01:00
jelhan
cf6cbcc3c9 clean up code 2014-01-29 17:19:00 +01:00
jelhan
1df3ce837f clear newUser Form after newUser has been saved 2014-01-29 15:41:47 +01:00
jelhan
76d4eb19f9 Fixing bug in template: selected values of a user was not shown 2014-01-29 15:32:27 +01:00
jelhan
61e3fcad67 embed user data on load
split up write for user and poll
store user data related to poll
2014-01-28 02:05:14 +01:00