Commit graph

17 commits

Author SHA1 Message Date
jelhan
08f2a81ac1
Drop jQuery (#196)
Drops ember-radio-buttons addon and uses a plain input element instead. ember-radio-buttons doesn't seem to be maintained anymore and required jQuery. Also plain input element seems to be much easier to maintain.

Replaces ember-ajax by ember-fetch as ember-ajax is build on top of jQuery.ajax().

This reduces the bundle size by 25 KB (JavaScript) after gzip. Updating the size limit accordingly.
2019-05-22 12:29:29 +02:00
Jeldrik Hanschke
11265cb82d deps: upgrade ember to 2.18 2018-12-29 20:23:19 +01:00
jelhan
26b3dab102 update ember-suave and fix some coding style 2016-08-11 22:47:17 +02:00
jelhan
6ba930661e add JSCS code style test and fix errors 2016-01-19 05:46:52 +01:00
jelhan
bfe1f488d4 remove proof key knowledge cause it's not secure implemented yet 2015-10-29 12:48:46 +01:00
jelhan
176d45b317 use a service for encryption key handling 2015-10-25 19:38:14 +01:00
jelhan
b9bef69977 user has to proof that he knows encryption key when he participates
Therefore sha256 hash of encryption key is validated against one which is stored
on server on poll creation.
This one is transfered as X-Croodle-Proof-Key-Knowledge HTTP HEADER.

Prevents an attacker of transmitting data with wrong encryption key, which
would cause decryption errors for legit users.
2015-08-23 18:56:41 +02:00
jelhan
d1c8646bda rewritten api using Slim Framework 2015-08-01 18:42:48 +02:00
jelhan
83cce0d083 use testem proxies configuration 2015-04-04 01:13:27 +02:00
jelhan
a372e0f369 fix tests in browser 2015-01-24 18:32:31 +01:00
jelhan
04a1bafc47 should fix travix
starting missing api before running test via testem
2015-01-24 16:51:26 +01:00
jelhan
8af5a9df09 Integration Test for creation of a default poll 2014-11-26 13:15:05 +01:00
jelhan
62d0ee760e use node-phpcgi instead of proxy to serve api
php-cgi has to be installed and path have to be correct in server/index.js; default is debian standard
2014-11-02 23:43:34 +01:00
jelhan
a8d71a7202 support ember server --proxy feature
Move api.php in api/ folder; using .htaccess to map every request to api/index.php
requires apache mod-rewrite module and permissions
2014-11-01 18:40:33 +01:00
jelhan
7a241bd311 first steps to ember-cli 2014-10-30 21:44:22 +01:00
jelhan
a058c961a7 Migration to EAK 2014-07-06 19:22:38 +02:00
jelhan
b066b8806c Starting to move to Ember App Kit 2014-07-06 17:37:54 +02:00