Commit graph

1476 commits

Author SHA1 Message Date
jelhan
edf2e2898f Update README.md 2014-02-19 20:54:50 +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
2208b64f18 Merge branch 'master' of https://github.com/jelhan/croodle.git 2014-02-06 12:25:34 +01:00
jelhan
8b4438ad5f refactored folder structure 2014-02-06 12:24:26 +01:00
jelhan
fcea26528a Update README.md
clarify which data is encrypted
2014-02-06 12:18:24 +01:00
jelhan
8812399d8d adding data folder with empty index.html 2014-02-06 12:15:12 +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
ce8cba14f8 needs to be naturaly sorted to be in correct order 2014-01-29 16:09:04 +01:00
jelhan
6452243436 removing not used code 2014-01-29 15:54:59 +01:00
jelhan
f95c30df94 ordered by filename and so by ID / creation date 2014-01-29 15:47:59 +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
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
32f27c9e8e Moving to EmbeddedAdapter project 2014-01-28 00:19:08 +01:00
jelhan
8873cd525e Update EmberJS to 1.3.1 and Ember Data to 1.0.0-beta5 2014-01-23 11:57:06 +01:00
jelhan
2585cf5a4c Update EmberJS to 1.3.1 and Ember Data to 1.0.0-beta5 2014-01-23 11:56:00 +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
c2cf28ae3c Merge branch 'EmberJS' of https://github.com/jelhan/croodle.git into EmberJS 2014-01-07 16:21:35 +01:00
jelhan
ee5d384c6d create data folder if it is not existing 2014-01-07 16:20:09 +01:00
jelhan
f20f19e947 create data folder if it is not existing 2014-01-07 16:19:14 +01:00
jelhan
fdf9c2a2ed Delete localstorage_adapter.js 2014-01-07 16:13:11 +01:00
jelhan
ebba6701e2 Delete ember.js 2014-01-07 16:12:48 +01:00
jelhan
8d7401d5a2 forgot to commit ember-1.2.0.js 2014-01-07 16:10:41 +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
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
e98f3344ca scope and closure 2013-11-04 16:00:09 +01:00
jelhan
d2c0b41e19 Default TRAFIC_LIMITER to 5seconds 2013-11-04 15:59:40 +01:00
jelhan
39a2b8f4d8 Zend Framework Coding Standard for PHP 2013-11-01 22:39:21 +01:00
jelhan
1e2821000e check for correct permissions, not only for file exists 2013-11-01 14:46:21 +01:00
jelhan
53d4ed50dc option to restrict answers on a defined list of possibilities 2013-11-01 00:56:51 +01:00
jelhan
10f9824099 rename 2013-10-31 23:51:16 +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
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
67772a9823 restructuring 2013-10-31 21:35:26 +01:00
jelhan
6c68869454 added class data to store $request->data 2013-10-26 20:50:05 +02:00