Commit graph

34 commits

Author SHA1 Message Date
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
jelhan
32f27c9e8e Moving to EmbeddedAdapter project 2014-01-28 00:19:08 +01:00
jelhan
9a3feb2fdb Update EmberJS to 1.3.1 and Ember Data to 1.0.0-beta5 2014-01-23 11:55:16 +01:00
jelhan
008db5681e assign new user to poll
There seems to be an error in ember data with mixed use of embedded and non-embedded hasMany relationships; users relationship in poll is not saved, when it is not embedded (should save the ids)
2014-01-07 16:07:42 +01:00
jelhan
47f2613f14 fixing transitionToRoute error after saving poll
adding id to response of read data as a work-a-round, have to find a nother solution as pushing id to the data will not work with encrypted json
2014-01-06 22:54:55 +01:00
jelhan
4853810a54 Implemented a simple server-side api to store data 2014-01-06 19:56:32 +01:00
jelhan
f452708aab rewrite client in EmberJS
Starting to rewrite client in EmberJS.
Main features, which are not implemented yet:
* api.php is not compatible with Ember Data yet. Data is stored in Locale Storage of the browser in this stage of development.
* Encryption / decryption of data is not implemented yet.
* There is an error on loading stored data due to embedded objects. Working on a fix, but loading a saved poll is not working for this reason yet.
* Adding user to a poll is not implemented yet.
* Any features for user interface like datepicker are not implemented yet.

To  test application you have to open #/create in browser. A route for index is not defined yet.
2013-12-30 17:01:24 +01:00
jelhan
53d4ed50dc option to restrict answers on a defined list of possibilities 2013-11-01 00:56:51 +01:00
jelhan
7c67df19e3 don't use form cause on JavaScript error they could be submitted to server without encryption before 2013-10-31 23:49:11 +01:00
jelhan
c607f31116 rename for better understanding 2013-10-31 23:16:42 +01:00
jelhan
fd3d4c425a datastructure more flexibel to add features like ACL 2013-10-25 02:14:13 +02:00
jelhan
18d590550b english lang and some code formatting improvements 2013-10-22 15:08:44 +02:00
jelhan
693496d9ad prototype 2013-10-22 11:16:08 +02:00