Commit graph

475 commits

Author SHA1 Message Date
jelhan
f62963b26f define times as default 2016-02-18 21:10:38 +01:00
jelhan
014c717d34 sort options after times where set 2016-02-18 12:06:54 +01:00
jelhan
b921632465 reimplement adopt times of first day (was: copy first line) 2016-02-16 04:02:59 +01:00
jelhan
0f9cdac67c not needed anymore 2016-02-16 02:28:18 +01:00
jelhan
0fd12adf65 move time selection to separate page again 2016-02-16 02:26:27 +01:00
jelhan
4b33ddf48e Support polls findADate with mixed dates and datetimes 2016-02-13 18:37:33 +01:00
jelhan
e60374aa60 ingore last JSCS error 2016-02-13 16:37:52 +01:00
jelhan
0e4fd114cb some improvement on validations 2016-02-09 01:16:18 +01:00
jelhan
c53593d2cf options must be unique 2016-02-08 23:46:30 +01:00
jelhan
906ab6f053 We don't need this check; should be present also if it's a date 2016-02-08 21:01:15 +01:00
jelhan
f58e4dce25 Merge branch 'master' into rewrite-create-options 2016-02-02 13:08:05 +01:00
jelhan
9ef4975134 some more code style 2016-02-02 12:55:11 +01:00
jelhan
4ea58bf3be some more JSCS 2016-02-02 12:54:11 +01:00
jelhan
a5634cc4af DEPRECATION: Action handlers contained in an events object are deprecated in favor of putting them in an actions object 2016-02-02 12:50:13 +01:00
jelhan
0521b1782a prevent line breaks in bootstrap-switch label 2016-02-02 10:31:39 +01:00
jelhan
74691ef508 Turn checkbox to toggle switch by Bootstrap Switch 2016-02-02 10:20:44 +01:00
jelhan
4bcb45d0bb revert change in dynamic segment (under_score to camelCase) since
poll id was not set as part of url afterwards;
add tests to not let this happen again
2016-01-31 15:30:31 +01:00
jelhan
40a7fdf606 fix validators and there tests
tests had wrong results before
2016-01-31 14:54:23 +01:00
jelhan
e0ca28602c some more JSCS 2016-01-31 14:32:32 +01:00
jelhan
02053d6c38 some more code style 2016-01-29 11:24:43 +01:00
jelhan
8f08e57d1d fix some more code style issues 2016-01-28 23:48:14 +01:00
jelhan
611f15d574 just some code style fixes 2016-01-28 22:49:14 +01:00
jelhan
c5e66436b7 Merge branch 'master' into rewrite-create-options 2016-01-28 11:27:58 +01:00
jelhan
95c5142ad1 some more JSCS fixes 2016-01-28 11:27:00 +01:00
jelhan
4937d9b27b create-options-datetime is reimplemented; add / delete of options also works
main work seems to be done
2016-01-22 00:19:46 +01:00
jelhan
32106b7e79 Merge branch 'master' into rewrite-create-options 2016-01-20 03:19:28 +01:00
jelhan
e9a6f9ff41 fix some more JSCS code style errors 2016-01-20 03:19:10 +01:00
jelhan
ec3999bbc9 input datetimes
ToDo:
* integration test for options-create-datetime
* acceptance tests for poll find a date with times
* some translations
* ...
2016-01-20 02:52:21 +01:00
jelhan
bde6fb0728 Merge branch 'master' into rewrite-create-options 2016-01-19 06:02:12 +01:00
jelhan
8a88e3b9df clean up: some examples from old, old ember app kit deleted
don't know how they could hide that long
2016-01-19 06:01:11 +01:00
jelhan
9cfcb6d27a Merge branch 'master' into rewrite-create-options 2016-01-19 05:55:37 +01:00
jelhan
6ba930661e add JSCS code style test and fix errors 2016-01-19 05:46:52 +01:00
jelhan
ce2a8c8e1f done most things except date with times
also validation messages are missing
2016-01-19 04:56:51 +01:00
jelhan
f42d68542e Fix jshint: Don't make functions within a loop 2016-01-18 18:50:26 +01:00
jelhan
865cf7fda4 remove unnecessary global 2016-01-09 00:49:36 +01:00
jelhan
db038b1e57 fix locale storage in cookie 2015-12-07 22:23:08 +01:00
jelhan
b33a2f84f2 fix jshint 2015-12-07 21:55:17 +01:00
jelhan
2ec58668b8 readd webshim polyfill for input[type=time]
needed by http://caniuse.com/#feat=input-datetime
was removed by 3563e41913
2015-12-07 21:51:07 +01:00
jelhan
52a20050f2 upgrade ember-cli to 1.13.13 2015-12-07 20:24:22 +01:00
jelhan
0531c94643 missing translation 2015-11-26 12:26:22 +01:00
jelhan
8e2c188cf6 update properties on locale change 2015-11-24 00:53:03 +01:00
jelhan
b08172e4b7 Fix JShint
forgot to remove global moment statement when replacing moment from view...
2015-11-23 13:34:47 +01:00
jelhan
20d3a29887 update dates on locale change
* upgraded ember-moment and use it application-wide service to set locale
* label on poll/participation now observes locale changes, but it's still hacky
* replace computed property on views poll by moment-format helper of ember-moment
2015-11-23 13:32:40 +01:00
jelhan
4d5d5489b4 readd i18n for validations 2015-11-22 19:31:16 +01:00
jelhan
798527a4ae refactor to be in line with https://github.com/Emerson/ember-form-master-2000/pull/38 2015-11-22 19:15:15 +01:00
jelhan
ae52eb8be1 refactor validator time and allow i18n of error messages for valid-collection 2015-11-22 19:11:32 +01:00
jelhan
8fd91171f9 Controller#needs is deprecated, please use Ember.inject.controller() instead
http://emberjs.com/deprecations/v1.x/#toc_controller-needs
2015-11-22 16:09:52 +01:00
jelhan
1e89776d9e DEPRECATION: You're using legacy binding syntax 2015-11-22 14:33:32 +01:00
jelhan
2f9ad47edf Fix bind-attr deprecation
http://emberjs.com/deprecations/v1.x/#toc_bind-attr
2015-11-22 14:28:32 +01:00
jelhan
fbd47f415b unused since ember-easy-form-extensions was dropped 2015-11-22 14:28:07 +01:00
jelhan
2f4c6f7d07 Fix: DEPRECATION: Using the '{{#each item in model}}' form of the {{#each}} helper
is deprecated. Please use the block param form instead ('{{#each model as |item|}}').
See http://emberjs.com/guides/deprecations/#toc_code-in-code-syntax-for-code-each-code
for more details.
2015-11-22 14:17:37 +01:00
jelhan
4c597352ad update ember-from-master-2000 2015-11-20 23:02:35 +01:00
jelhan
e1bb2da6d1 fix jshint 2015-11-20 11:31:40 +01:00
jelhan
8e45975c33 explicit define a default poll type 2015-11-20 11:19:28 +01:00
jelhan
c1dfa16eed update ember-i18n 2015-11-20 02:18:19 +01:00
jelhan
2e70110597 Fix: DS.ModelFragment was renamed to MF.Fragement in ember-data-model-fragments update
https://github.com/lytics/ember-data-model-fragments/blob/master/CHANGELOG.md#v1130-october-25-2015
2015-11-20 01:09:37 +01:00
jelhan
c0450a9af4 update ember-data-model-fragments 2015-11-20 00:18:09 +01:00
jelhan
f67381c6b9 remove ember-easy-form-extensions, finally 2015-11-19 21:51:49 +01:00
jelhan
3563e41913 time input as normal form instead of table
part of #76

replaces ember-easy-form-extensions and ember-validations by
ember-cp-validations and ember-form-master-2000

dropped webshim for input type time; should be readded to improve
user experience in browser which does not support this input field
yes (e.g. Internet Explorer, Edge, Firefox)
2015-11-19 21:16:32 +01:00
jelhan
f5f3f525f7 make validator reusable 2015-11-18 17:49:01 +01:00
jelhan
335dfd8ff2 validate each input field on it's own 2015-11-17 00:30:24 +01:00
jelhan
6f6cc8b61d rewritten create/index and create/meta with ember-cp-validations and ember-form-master-2000 2015-11-16 14:28:00 +01:00
jelhan
ca387848ed create/options input fields for make a poll with add / delete buttons
also rewritten using ember-cp-validations and ember-form-master-2000
2015-11-16 13:09:13 +01:00
jelhan
3706e88620 normal defaults and override them if necessary 2015-11-15 19:49:59 +01:00
jelhan
8cb8b9bf6a fix jshint 2015-11-15 19:22:34 +01:00
jelhan
c3ee937936 showing errors after first input can get confusing since form field may
show errors while typing a correct value (e.g. for minimun length)
2015-11-15 19:19:33 +01:00
jelhan
de359576f5 fix: bootstrap layout 2015-11-15 17:03:55 +01:00
jelhan
8ecb082ce3 move 'horizontal' class to config in initializer 2015-11-15 16:50:19 +01:00
jelhan
01f9b6e61f extract participation form from participants table and make it a bootstrap form
started replacing ember-easy-form-extensions by ember-form-master-2000
and ember-validations by ember-cp-validations

using ember-form-master-2000 in old 0.2 release cause newer releases does not work with ember 0.12
should move to ember 2.x as soon as possible
therefore ember-easy-form-extensions has to be dropped and ember-i18n been updated

part of #76
2015-11-12 15:52:14 +01:00
jelhan
8b74eb7d86 fix side effect in unit tests for languages by only parsing a copy of imported languages object to ember-i18n 2015-11-04 12:49:28 +01:00
jelhan
82c22824a6 should use redirect hook instead of afterModel
details:
* http://guides.emberjs.com/v2.1.0/routing/redirection/#toc_child-routes
* http://emberjs.com/api/classes/Ember.Route.html#method_redirect
2015-11-04 12:09:42 +01:00
jelhan
475245d04f evaluation summary as component 2015-11-03 12:57:41 +01:00
jelhan
858b75e543 routable tabs in poll view for participation and evaluation 2015-11-02 23:02:59 +01:00
jelhan
8061760490 move encrypt / decrypt to methods of encryption service< 2015-10-29 12:50:00 +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
3a197f20f3 Fix: show users sorted by creation date and correct date of last participation in evaluation 2015-10-25 17:15:57 +01:00
jelhan
1fd7f27f03 add legacy support 2015-10-25 16:46:11 +01:00
jelhan
cb2634e10a array transform is replaced by model fragments 2015-10-25 15:32:42 +01:00
jelhan
243ed3b12a model fragments for user selections (currently same as answers) 2015-10-25 15:32:42 +01:00
jelhan
d020f67e90 model fragments for options 2015-10-25 15:29:47 +01:00
jelhan
dd1a8436e0 model fragments for answers 2015-10-25 15:29:47 +01:00
jelhan
dec12d81a7 move legacy support to api 2015-10-17 15:44:27 +02:00
jelhan
cd7737d65b add legacy support for v0.3.0 2015-10-16 17:41:24 +02:00
jelhan
72d50350c4 Fixes #50 and tests for 1b02c26 2015-10-16 16:49:18 +02:00
jelhan
a8a10ad42a Fixes #74 and some other validation issues 2015-10-12 11:42:51 +02: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
0ad6026715 includePlainOnCreate serializer option and use it for serverExpirationDate 2015-08-23 16:13:52 +02:00
jelhan
095ba3a2eb some documentation; no functional changes 2015-08-23 06:18:35 +02:00
jelhan
09c8310bb6 rewritten API models 2015-08-22 23:47:31 +02:00
jelhan
5a240e79e1 added some (ugly) tests for evaluation 2015-08-21 12:10:02 +02:00
jelhan
bfb7b1f48e Fix: top scrollbar width is wrong if vertical scrollbar is added without resize (document height becomes > than window height) 2015-08-20 14:52:11 +02:00
jelhan
12706d7d57 do not lookup encryption key by application container due this breaks tests in travis 2015-08-20 14:12:28 +02:00
jelhan
1136af5b74 remove deprecation: COMPUTED PROPERTIES WITH A SHARED GETTER AND SETTER
http://emberjs.com/deprecations/v1.x/#toc_computed-properties-with-a-shared-getter-and-setter
2015-08-19 22:24:20 +02:00
jelhan
398453c1e4 do encryption / decryption in serializer
before it was done as computed properties of model

accessing encryption key in serializer is done via global application var.
this should be removed in long-term
2015-08-19 22:00:01 +02:00
jelhan
0317c7c0c8 use ember-cli-build-info 2.0 to fix #65 2015-08-19 13:42:38 +02:00
jelhan
3e000f146d even more user-friendly evaluation 2015-08-19 13:27:14 +02:00
jelhan
839695b224 Merge branch 'master' into evaluation 2015-08-19 11:14:08 +02:00
jelhan
450a78255d expiration date should also be encrypted on get;
therefore we have to duplicate it in store:
* encrypted for to serve for clients (encryptedExpirationDate)
* unencrypted for server to check if it's exceeded (serverExpirationDate)
serverExpirationDate should never be send to client
2015-08-18 21:53:52 +02:00
jelhan
22d9e5045c Merge branch 'master' into evaluation 2015-08-01 23:54:53 +02:00
jelhan
7cef56c2d1 some more tests about showing correct dates and times and handeling
different time zones
2015-08-01 23:54:07 +02:00
jelhan
bf1f038a43 fix times in table headers 2015-08-01 22:53:58 +02:00
jelhan
fa0175e352 fix times in table headers 2015-08-01 22:43:06 +02:00
jelhan
6f7148a86f Merge branch 'master' into evaluation
Conflicts:
	app/controllers/poll.js
2015-08-01 22:22:07 +02:00
jelhan
d1c8646bda rewritten api using Slim Framework 2015-08-01 18:42:48 +02:00
jelhan
d26cd827c1 Fix: moment.localeData().longDateFormat() changed
More details: http://stackoverflow.com/questions/25179377/date-format-momentjs-extract-date-and-time-separately-using-locale-language/31761415#31761415
2015-08-01 13:51:04 +02:00
jelhan
eb798a3c4c use fixed version of ember-cli-build-info 2015-07-28 17:22:31 +02:00
jelhan
5a9f58f451 fix jshint warning 2015-07-27 17:57:50 +02:00
jelhan
3690a60496 [FEATURE] add expiration date for polls 2015-07-26 19:41:59 +02:00
jelhan
2a3acf31ce Fix: webshim inputs were not updated 2015-07-23 23:49:23 +02:00
jelhan
ae1a846f26 Fix: sort function must return positive or negative integer 2015-07-19 21:07:15 +02:00
jelhan
a59130633e Fix sort function: title is a string now 2015-07-19 20:12:51 +02:00
jelhan
6ded3e1f4e do not care about timezones if it's not necessary 2015-07-19 20:00:07 +02:00
jelhan
0be7babb26 timezone of user created poll should only be stored if it's necessary 2015-07-19 19:49:40 +02:00
jelhan
d651d869fb if poll is about date with times we shouldn't set options to dates without times specified 2015-07-19 19:39:48 +02:00
jelhan
5fa425443f do not use ISO 8601 date + time format if it's only about dates 2015-07-19 19:33:41 +02:00
jelhan
25eedaef3c Some browsers (especially old IE) does not support toISOString() for Date objects,
therefore using momentJS to provide toISOString() function
2015-07-19 19:20:31 +02:00
jelhan
9a29b07dad explicit convert Date objects to ISO Strings
before it was done implicit by JSON.stringify() on encryption since JSON does not support Date type
2015-07-18 21:00:28 +02:00
jelhan
ab4f88dd7f Fix: handling of different timezones
There were some timezone issues especially concerning daylight saving time (DST).
We should not rely on timezone offset since this will change due to DST.
Instead determine the users timezone (using jsTimezoneDetect therefore) and
then using this via moment-timezone.

This commit changes poll model. It drops timezoneOffset and adds timezone as a new property.
It's not tested yet against polls created before without timezone property. This has to be done before merge.

Also we should consider using ember-moment template helpers instead of our own formatted-date helper.
2015-07-15 16:20:24 +02:00
jelhan
2839b09ad9 more user-friendly evaluation 2015-07-15 14:24:57 +02:00
jelhan
612086c73c intend by 2 spaces 2015-07-07 11:52:46 +02:00
jelhan
fe0cd5fc82 Update: ember 1.12 and ember-cli 0.2.7 2015-07-02 15:53:02 +02:00
jelhan
34330cb730 remove version from package.json; having version as git tag is enough 2015-07-02 15:39:14 +02:00
jelhan
67cc41973f Ember.ObjectController is deprecated since ember 1.11
Ember.ObjectController was proxying model properties to controller. Ember.Controller which should be used is not.
Therefore we have to define if it's a property of controller or model.

Also added two more tests:
* anonymous participation
* do not force an answer for all options
2015-07-01 16:21:18 +02:00
jelhan
8c2a17df39 Fix: date without times were not sorted 2015-06-24 02:14:14 +02:00
jelhan
d6cf7efa3c add version information to
* build (as html meta tag)
* stored polls and users

Closes #65
2015-06-20 19:04:19 +02:00
jelhan
5cce0a236d Fix: freetext answer where broken by caba42a853
added test to not let it happen again
2015-06-20 18:33:51 +02:00
jelhan
7f1aa33e95 should not be in repository 2015-06-20 18:11:49 +02:00
jelhan
b627affb99 Fix: undefined property error caused by not removed event listener 2015-06-20 18:00:13 +02:00
jelhan
3530098982 Merge pull request #72 from j0rgeSD/master
Update translations.js
2015-06-09 11:08:33 +02:00
jelhan
f5b8546247 fix undefined error 2015-04-07 13:17:45 +02:00
jelhan
30e9b22797 Fix undefined if all dates are removed 2015-04-07 12:38:13 +02:00
jelhan
10f7b59986 jshint 2015-04-04 02:45:22 +02:00
jelhan
b1dc1b5bac use ember-cli-boostrap-datepicker 2015-04-04 02:43:59 +02:00
jelhan
83cce0d083 use testem proxies configuration 2015-04-04 01:13:27 +02:00
jelhan
ed8a102b3d causes "unknown mixin" error in tests
doesn't seem to be necessary anymore
2015-04-04 01:09:25 +02:00
jelhan
6a3bf398c2 Fix: div closed to early; box should be part of #poll 2015-04-02 21:23:06 +02:00
jelhan
b2db75221a fix 2015-04-02 21:16:31 +02:00
jelhan
caba42a853 using ember-cli-easyform-extensions as it support ember >= 1.10 2015-04-02 20:28:35 +02:00
jelhan
624cbdfb5f was added in 29e43c26e8 and should be reverted also 2015-04-02 14:09:08 +02:00
jelhan
d20aef363b Revert "add version to saved poll/user"
This reverts commit 3808de42ca.
2015-04-02 13:30:00 +02:00
jelhan
8c8e1d37cd missing closing tag 2015-03-25 18:57:27 +01:00
j0rgeSD
ab87f9be14 Update translations.js 2015-03-23 00:58:07 +01:00
j0rgeSD
b276d662bd Update translations.js 2015-03-19 11:47:33 +01:00
jelhan
76da012143 {view Ember.Select} is deprecated in favor of {view "ember"} since EmberJS 1.8 2015-02-17 02:50:16 +01:00
jelhan
7f3b1c19c2 only ask which timezone to use, if poll asks for dates defined with times
fixes #69
2015-02-16 21:26:36 +01:00
jelhan
72bdb5c788 fix: dates should be in correct order
wasn't if they are defined with times

fixes #68
2015-01-26 18:17:29 +01:00
jelhan
a372e0f369 fix tests in browser 2015-01-24 18:32:31 +01:00
jelhan
bc4ebadf1b fix: add a user to a default poll test 2015-01-24 18:31:21 +01:00
jelhan
04a1bafc47 should fix travix
starting missing api before running test via testem
2015-01-24 16:51:26 +01:00
jelhan
29e43c26e8 dummy polls for testing and development
test: add a user to a default poll

default poll url
http://localhost:4200/#/poll/defaultpoll?encryptionKey=0123456789abcdefghijklmnopqrstuvwxyzABC
2015-01-24 14:50:56 +01:00
jelhan
3808de42ca add version to saved poll/user 2015-01-24 14:33:02 +01:00
jelhan
5a50901be0 only letters and numbers in passphrase 2015-01-24 14:19:19 +01:00
jelhan
13ae84eaaf stronger passphrase using window.crypto if supported by browser 2015-01-24 14:17:52 +01:00
jelhan
f0a09d9aee handle connection issues on user save:
* show error message (modal)
* provide retry button

fixes #66
2015-01-21 01:30:14 +01:00
jelhan
4b98678323 embedded on GET but should not be on save 2015-01-20 22:47:04 +01:00
jelhan
1c831870e4 use ember-radio-button, an ember cli adddon, for radio buttons 2015-01-19 23:37:51 +01:00
jelhan
1e2dbd95e9 move language switch to application controller 2015-01-19 13:56:03 +01:00
jelhan
139b6b7088 upgrade ember-cli to 0.1.7
Tests doesn't run to due an error with relative api uri. This doesn't affect development or production environment.
2015-01-18 18:06:47 +01:00
jelhan
48e76cf45b remove unused global 2015-01-16 15:26:49 +01:00
jelhan
24fa65948c Fix typo 2015-01-16 15:18:57 +01:00
jelhan
e920daf053 Fix not working language switch in production environment
Fixes #64
2015-01-16 15:17:32 +01:00
jelhan
48ed039788 fixes top scrollbar resize issues
fixes #63
2015-01-16 14:12:34 +01:00
jelhan
7a4137af67 noscript information text
fixes #39
2015-01-13 19:27:36 +01:00
jelhan
3ffe1552af fix misleading text 2015-01-13 19:12:30 +01:00
jelhan
812bc84ff9 Fix illegal character issue introduced by pull request #62 2014-12-19 19:16:22 +01:00
shadow
483bfb1f91 [translation] - translated german text 2014-12-11 09:48:27 +01:00
shadow
b8f5290e83 [translation] - adjusted german text 2014-12-06 10:46:28 +01:00
jelhan
8af5a9df09 Integration Test for creation of a default poll 2014-11-26 13:15:05 +01:00
jelhan
7ba00a1b31 just change values instead of regenerating times array on copy first line action
fixes #37
2014-11-25 16:37:56 +01:00
jelhan
4a589cf97d another file from merge... 2014-11-25 16:26:22 +01:00
jelhan
538a486da7 removed files from merge 2014-11-25 16:12:46 +01:00
jelhan
b7379d2366 Merge branch 'master' of github.com:jelhan/croodle 2014-11-25 15:47:20 +01:00
jelhan
baa048f0df back button: load old selection into calendar 2014-11-25 15:44:56 +01:00
jelhan
791c612e2d Merge branch 'feat/backbutton-on-create' into feat/ember-cli
Conflicts:
	app/controllers/create/options-datetime.js
	app/controllers/create/options.js
	app/views/create/options-datetime.js
2014-11-21 12:38:32 +01:00
jelhan
016ccfc31c rewritten option and input field relationship
keep inputs while setting up poll and update options based on inputs by observer
2014-11-21 12:24:24 +01:00
dittler
58bd9b44f0 fix translation 2014-11-17 09:29:23 +01:00
jelhan
65406e2633 Merge branch 'master' into feat/ember-cli
Conflicts:
	app/index.html
2014-11-06 21:22:00 +01:00
jelhan
338deb80db bootstrap-datepicker: set language 2014-11-06 21:17:48 +01:00
jelhan
3db1dee801 better translations 2014-11-06 00:48:56 +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
a1f88d3dba fix namespace reference to own application 2014-11-02 17:31:33 +01:00
jelhan
3e85382cf8 ember-validations as ember-addons 2014-11-02 16:55:10 +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
7dec3c47ca migration to ember-cli 2014-11-01 18:00:46 +01:00
jelhan
b9e03542e0 Merge branch 'master' into feat/ember-cli 2014-11-01 15:29:09 +01:00
jelhan
2b3e4f2fa3 improve translations 2014-11-01 15:28:57 +01:00
jelhan
7a241bd311 first steps to ember-cli 2014-10-30 21:44:22 +01:00
jelhan
5243b6c046 restore app/controllers/poll.js which got deleted in last commit;
delete not used computed property
2014-10-30 20:43:22 +01:00
jelhan
cd3a0ceb67 improved error handling 2014-10-28 06:00:37 +01:00
jelhan
d5e6f0b324 fix some jshint warnings 2014-10-28 05:00:02 +01:00
jelhan
2994ba738b fix error on date decryption 2014-10-28 04:02:43 +01:00
jelhan
d18055b8dc handle timezone differences
Closes #33
2014-10-28 03:27:54 +01:00
jelhan
2e742ea903 validate only on focusOut or submit 2014-10-26 18:19:07 +01:00
jelhan
f766e169bd run validation on submit 2014-10-26 16:47:15 +01:00
jelhan
28d2c7be61 fix missing shims in dist build 2014-10-26 15:03:40 +01:00
jelhan
b55886f9c9 keep one feature at one point 2014-10-25 23:47:20 +02:00
jelhan
397c6f91a2 top scroll bar on user selections table allways visible 2014-10-25 23:44:58 +02:00
jelhan
cd4b5c30ff fix scrollbar visibilty and 1px offset due to helper div height 2014-10-25 22:48:48 +02:00
jelhan
a187335d32 nothing should wrap in table 2014-10-25 22:47:44 +02:00
jelhan
44f0227e2f fix floatThead width when new user added changes cell width 2014-10-25 22:47:21 +02:00
jelhan
5bdd5d72da Show top scrollbar only when table header is fixed 2014-10-25 22:39:10 +02:00
jelhan
ce3d1070c0 remove debug logging 2014-10-25 22:07:08 +02:00
jelhan
90fbbea8a3 no wrap in table header 2014-10-25 21:53:10 +02:00
jelhan
20919232bf group dates if pollType is find a date and dates are defined with times 2014-10-25 19:40:14 +02:00
jelhan
50a2866b26 top scrollbar on poll table 2014-10-25 02:04:11 +02:00
jelhan
fe4e6cd275 fix: formatedDate helper syntax 2014-10-25 01:42:42 +02:00
jelhan
da46700bee Fix: use selection id instead of label as class name 2014-10-25 01:01:05 +02:00
jelhan
fcfb3f89f1 show day of the week
Closes #22
2014-10-25 00:59:06 +02:00
jelhan
a3031f5b9d translate evaluation show/hide button 2014-10-24 01:24:21 +02:00
jelhan
14a298ea6c translate next buttons 2014-10-24 01:13:44 +02:00
jelhan
90bf340276 remove debug log 2014-10-24 00:40:52 +02:00
jelhan
57b46a03f1 translate poll types and predefined answers 2014-10-24 00:39:07 +02:00
jelhan
ec79f68f5c Merge branch 'master' into feat/i18n 2014-10-23 21:02:29 +02:00
jelhan
1eac34741b fix ember-easyForm checkbox bootstrap wrong syntax 2014-10-23 20:58:46 +02:00
jelhan
533f70b5ee visibilty as a view property + missing translations 2014-10-23 17:55:04 +02:00
jelhan
a4eb466099 missing translation 2014-10-23 17:34:56 +02:00
jelhan
5afd9a20f4 fix wrong action name 2014-10-23 17:34:44 +02:00
jelhan
fcd4c82f40 translation for create.settings 2014-10-21 03:56:18 +02:00
jelhan
36dfc887a8 missing translation 2014-10-21 03:52:10 +02:00
jelhan
36e91ad99c better use of ember-easyForm and validations on create.options-datetime 2014-10-21 03:50:42 +02:00
jelhan
7a992c657a better use of ember-easyForm and validation in create.options 2014-10-21 03:19:30 +02:00
jelhan
ee98dec2e3 i18n pluralization support 2014-10-21 02:29:54 +02:00
jelhan
dbda4b72d2 validation got lost 2014-10-21 02:29:11 +02:00
jelhan
80aac9b0fb some forms translated 2014-10-20 01:09:03 +02:00
jelhan
c370b87f88 moment i18n 2014-10-20 00:53:52 +02:00
jelhan
7a77c455c3 layout 2014-10-20 00:25:15 +02:00
jelhan
a61507f5cd Merge branch 'master' into feat/i18n 2014-10-20 00:14:24 +02:00
jelhan
d80e331b4d show evaluation on user request; hide it by default 2014-10-20 00:14:14 +02:00
jelhan
a324bf6c45 delete debug comment 2014-10-20 00:12:12 +02:00
jelhan
018fcf7f1f Merge branch 'master' into feat/i18n
Conflicts:
	app/index.html
	app/templates/create/options.hbs
	bower.json
2014-10-19 23:52:39 +02:00
jelhan
d463704eb2 bootstrap 3 for ember-easyForm
still lacks support of checkboxes: http://stackoverflow.com/questions/26444069/passing-handlebars-helper-to-another-helper-in-emberjs
2014-10-18 22:12:00 +02:00
jelhan
4c50679f42 fix missing bottom margin 2014-10-18 22:10:47 +02:00
jelhan
18a77d1523 replaced ember-form by ember-easyForm
ember-easyForm seems to have better support for i18n
also seems to be more stable
2014-10-18 21:07:21 +02:00
jelhan
ebdf0b796f best way known yet to rerender after language switch
question still open: http://stackoverflow.com/questions/26091303/recommended-way-to-rerender-page-in-ember-after-language-switch
2014-10-01 00:26:26 +02:00
jelhan
116f4ebda6 some small fixes 2014-09-29 13:17:54 +02:00
jelhan
469a9f1e4e language switch 2014-09-29 02:39:11 +02:00
jelhan
b9e6edc63e i18n 2014-09-29 00:48:26 +02:00
jelhan
7ce3fc6a92 small fix 2014-09-28 21:11:54 +02:00
jelhan
8a91cfed48 webshim polyfill for html5 input time element 2014-09-28 17:07:19 +02:00
jelhan
78aed17d50 remove embedded adapter (ember-data-extensions) and use core EmbeddedRecordMixin instead 2014-09-28 14:55:40 +02:00
jelhan
96c7c6221c fix missing poll_id property in user model 2014-09-28 13:39:57 +02:00
jelhan
05a7b419d6 wording 2014-08-19 15:31:05 +02:00
jelhan
665c0f892f Fix #29 2014-08-13 14:37:56 +02:00
jelhan
f7e21e556f Fix #30 2014-08-13 14:06:56 +02:00
jelhan
da9f1240db Fix wrong tab 2014-08-03 17:19:11 +02:00
jelhan
8014e6e965 floating thead of user-selection-table 2014-08-03 17:12:42 +02:00
jelhan
7c822e456b Fix evaluation 2014-08-03 15:44:59 +02:00
jelhan
148ebbd288 colorized glyphicon 2014-08-03 15:42:54 +02:00
jelhan
656201a39a Merge master 2014-08-03 15:39:57 +02:00