Commit graph

17 commits

Author SHA1 Message Date
jelhan
7cd8a5bcb0 doing it the ember way 2014-02-08 02:08:36 +01:00
jelhan
ff3ef88585 remove not used update mode 2014-01-28 02:06:37 +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
3f6ba966c6 adding update mode 2014-01-07 16:06:03 +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
eddb1253d9 using HTTP status code 2013-12-26 15:11:27 +01:00
jelhan
c156be8ae4 Adding Header
Set Content-Type to application/json and charset to utf-8 to tell the browser how to handle the response
Lock traffic on https  for 1 day (86400 seconds) by Strict-Transport-Security
Forbid the browser to load scripts from another domain by Content-Securty-Policy
Last ones were adopted by Talenka's Pull Request for ZeroBin: https://github.com/sebsauvage/ZeroBin/pull/70
2013-12-13 12:26:06 +01:00
jelhan
39a2b8f4d8 Zend Framework Coding Standard for PHP 2013-11-01 22:39:21 +01:00
jelhan
becaf6f81a restructure of DataHandling on serverside 2013-10-31 22:48:59 +01:00
jelhan
0415c48cb3 result class 2013-10-31 22:00:19 +01:00
jelhan
6c68869454 added class data to store $request->data 2013-10-26 20:50:05 +02:00
jelhan
356a8ef180 fixed an errors 2013-10-26 18:50:32 +02:00
Michael Schmidt
69c033f36a Some parts restructured 2013-10-25 17:18:23 +02:00
jelhan
3dc34d884a fixing minor bug resulting in undefined index notice 2013-10-23 12:27:29 +02:00
jelhan
693496d9ad prototype 2013-10-22 11:16:08 +02:00