Commit graph

510 commits

Author SHA1 Message Date
jelhan
17d4a3feda save button should have suitable text 2016-08-20 23:35:54 +02:00
jelhan
8441c92295 use poll title as page title
Part of #76
2016-08-20 23:28:39 +02:00
jelhan
afb06e4f12 Fix: novalidate option of {{bs-form}} should be true (and not string 'true')
This had been fixed in ember-bootstrap 0.9.0
2016-08-20 22:59:50 +02:00
jelhan
8d9278a9ee show validation immediately after change for select and radio buttons
Introduced this feature by https://github.com/kaliber5/ember-bootstrap/pull/127
2016-08-20 22:51:21 +02:00
jelhan
5613dfdd43 add button for copying poll link
closes #95
2016-08-20 22:02:53 +02:00
jelhan
c4a1b99c75 enforce wizzard start at first step 2016-08-18 01:09:58 +02:00
jelhan
3d251bc9fb provide status bar to indicate steps of poll creation wizard
part of #76
2016-08-14 22:57:10 +02:00
jelhan
6653da8ee4 Fix: CSP style-src: 'unsafe-inline' violation
Could get rid of `style-src: 'unsafe-inline'` after
https://github.com/mkoryak/floatThead/pull/321 has been merged
and made it's way in a new release.

Part of #90
2016-08-13 18:46:46 +02:00
jelhan
2a75db5304 Update to chartjs 2.x
enhancements:
* responsive charts
* native support for stacked bars
* CSP: script-src: unsafe-inline is not needed anymore #90
2016-08-12 23:09:43 +02:00
jelhan
b5b00dcf99 Fix deprecation: EMBER-APPLICATION.APP-INSTANCE-CONTAINER
http://emberjs.com/deprecations/v2.x/#toc_ember-applicationinstance-container
2016-08-12 23:09:43 +02:00
jelhan
8b319ed1a9 this.resource is deprecated; this.route is doing the same 2016-08-12 23:09:43 +02:00
jelhan
1400b71417 updates ember, ember data and ember data model fragments and fixes some container deprecation 2016-08-12 23:09:37 +02:00
jelhan
c8fbc62d8c deprecations in ember data 1.13 2016-08-12 13:33:03 +02:00
jelhan
3cb05ca5b3 adds test that user is notified if poll can't be saved
related to #78
2016-08-12 13:00:18 +02:00
jelhan
1396957297 Fix: use a new record per user
was broken by 66b89456d3
2016-08-12 00:43:05 +02:00
jelhan
92c2c353d8 Fix view deprecation by refactoring to component 2016-08-11 23:37:14 +02:00
jelhan
26b3dab102 update ember-suave and fix some coding style 2016-08-11 22:47:17 +02:00
jelhan
66b89456d3 Fix: feedback if participation can't be saved
adresses #78
2016-08-04 22:24:53 +02:00
jelhan
d8a014b677 Label (day) validation state should reflect validation states of all related input fields (times) 2016-08-01 21:35:06 +02:00
jelhan
376821db98 improve wrong time form validation message 2016-07-28 09:56:24 +02:00
jelhan
6158a0afe0 Only show "copy and paste times of first day to all other days" if there
is more than one day
2016-07-28 01:22:09 +02:00
jelhan
c23ade384a Improve text 2016-07-28 01:19:28 +02:00
jelhan
145a4ea96a Fix: reuse existing arrayproxy since otherwise it's not connected to model anymore 2016-07-27 23:06:54 +02:00
jelhan
0627d409b5 Fix: adblock plus blocks every element having class .share-link 2016-07-27 21:49:12 +02:00
jelhan
5521b29409 Fix: feedback icons are only supported for input elements by bootstrap 2016-07-27 15:17:10 +02:00
jelhan
724a995372 Fixes: invalid times should not be adopted on other days 2016-07-05 11:26:03 +02:00
jelhan
baa09bc19f translations: missing space 2016-07-04 14:42:18 +02:00
jelhan
a28923ead2 refactor to use groupBy computed macro of ember-array-computed-macros instead of ember-group-by 2016-07-04 14:39:00 +02:00
jelhan
0c0dc44195 reactored to use array computed macros for cleaner code 2016-07-03 19:49:36 +02:00
jelhan
aafe5966e3 Fix: Confusing unique validation error messages for options 2016-07-03 16:50:42 +02:00
jelhan
3c187886c1 remove unnecessary complexity 2016-06-27 13:04:20 +02:00
jelhan
2e128e3c3c Fix: confusing validation present error for answer selection in poll participation 2016-06-27 12:53:05 +02:00
jelhan
0460fe56b1 Merge branch 'master' of github.com:jelhan/croodle 2016-06-27 12:52:30 +02:00
jelhan
9a21eb126a Fix: submit if no day is selected 2016-06-27 12:49:40 +02:00
rugk
92d1534dd8 Improve German translation 2016-06-21 19:49:52 +02:00
jelhan
01bd5a6466 remove formatted-date helper (not in use anymore) 2016-06-21 01:44:50 +02:00
jelhan
1ab337d015 Fixes: Force names of participants to be unique if anonymous participation is not allowed. 2016-06-21 01:13:52 +02:00
jelhan
7b2a9672f4 Fixes: Date in poll evaluation summary does not observe locale changes. 2016-06-20 20:48:48 +02:00
jelhan
0d658e1f61 Merge branch 'master' of github.com:jelhan/croodle 2016-06-20 19:28:35 +02:00
jelhan
a7e141828d Fixes #89 2016-06-20 19:28:10 +02:00
shadow
38dfd3c125 [translation] - Added new english version 2016-06-17 13:11:49 +02:00
jelhan
9d9121c04e all outstanding PRs for ember-bootstrap got merged 2016-06-14 13:53:22 +02:00
jelhan
308b8fb367 preserve existing times if day selection is changed 2016-06-13 11:14:42 +02:00
jelhan
86a233fb02 Fix: do not delete a date if it's the last one for this day
Details: https://github.com/jelhan/croodle/issues/99#issuecomment-225140574
2016-06-10 20:59:02 +02:00
jelhan
acc05d68c5 remove webshim polyfills
UX in browser which does not support time input type should be okay know by
validation messages and placeholder. Wasn't even used anymore in latest release.

Affects #90 but does not resolve 'unsafe-inline' requirement cause to
ember-bootstrap (https://github.com/kaliber5/ember-bootstrap/pull/98#discussion_r66586065).
2016-06-10 11:35:55 +02:00
jelhan
341fafaaec placeholder for time input type as a shim if browser does not support it
otherwise placeholder is ignored due to spec

http://caniuse.com/#feat=input-datetime
2016-06-10 11:12:49 +02:00
jelhan
7774e76551 Fixes: Tab navigation buttons on poill page are not translated. 2016-06-10 10:53:05 +02:00
jelhan
a76d5cc9a1 Fixes #100 2016-06-10 10:44:29 +02:00
jelhan
bcccffacec Fix: adopt times of first day if there aren't any times on first day 2016-06-09 12:27:51 +02:00
jelhan
327d6cd737 object-at helper as addon 2016-06-08 18:42:26 +02:00
jelhan
2c11fe41bf perserve validation state in create/options-datetime by avoiding rerender 2016-06-08 13:56:06 +02:00
jelhan
72513bf893 remove ember-form-master-2000 2016-06-06 01:19:24 +02:00
jelhan
5b8d59c00b rewrite create/options-datetime with ember-bootstrap
ToDo left:
refactor `datetimes` property of `create-options-datetime` component to
not cause whole list to be updated. This is not only a performance issue
but also UX: e.g. validation state is lost when another item is added.
2016-06-06 01:19:24 +02:00
jelhan
3f84279b6a create/options (findADate) label validation state reflect all options 2016-06-06 01:19:24 +02:00
jelhan
4a31aaa616 use ember-bootstrap in create/options
ToDo:
Label validation state should not be bound to validation state of first element (option)
but to validation state of all elements. If any element has an error label validation state
should be error. Only if all elements are fine, label validation state should also be fine.
2016-06-06 01:19:24 +02:00
jelhan
529c96420b Fixes: undefined is not a function (swap) caused by webshim
https://github.com/aFarkas/webshim/issues/560
2016-06-06 01:19:24 +02:00
jelhan
0592eff1f0 ember-bootstrap for poll/participation 2016-06-06 01:19:23 +02:00
jelhan
3adecc772d fix modal to choose timezone
user must explicit choose a timzone:
* do not show default footer
* do not show close button (x)
* do not close if user clicks outside modal
* do not close on escape button
2016-06-06 01:19:23 +02:00
jelhan
32f9c3e633 use ember-bootstrap in create/index, create/meta, create/settings 2016-06-06 01:19:23 +02:00
jelhan
79f6e3411b rewrite modal to chose timezone with ember-bootstrap 2016-06-06 01:19:23 +02:00
jelhan
e558cccb60 add ember-bootstrap 2016-06-06 01:19:23 +02:00
rugk
2c60e2d3cf German translation: Missing capital letter 2016-06-04 18:19:17 +02:00
jelhan
568e23e0bc update validation error on locale change 2016-05-23 13:40:45 +02:00
jelhan
49a11a0326 observe locale changes on validation error messages
https://github.com/jasonmit/ember-i18n-cp-validations/issues/12
2016-05-23 12:42:47 +02:00
jelhan
7c56c5c5e0 Fix: missing translations 2016-05-21 20:05:13 +02:00
jelhan
c8847d4814 Fix: duplicates in options arrays
Occurs if another day is added to an option array already having times
2016-05-21 18:37:23 +02:00
jelhan
c9ef942c79 Fixes #84 2016-05-21 17:17:08 +02:00
jelhan
fba32d3590 Fix deprecation: using @each as a leaf node in a dependent key
http://emberjs.com/deprecations/v1.x/#toc_using-code-each-code-as-a-leaf-node-in-a-dependent-key

Also fixes coding style:
* use Ember.computed instead of {}.property()
* use Ember.observer instead of {}.observes()
2016-05-20 23:43:05 +02:00
jelhan
5542ecd52f not used anymore ... 2016-05-20 23:24:04 +02:00
jelhan
70f7879ee7 Fixes #55 2016-05-20 21:49:29 +02:00
jelhan
08e9f68197 remove polls isDateTime attribute 2016-05-18 13:18:36 -07:00
jelhan
f3426b2a7d support creating polls with only one option
There might be use cases and it simplifies validation a lot.

Also fixes this missing translation message mentioned in #84:
> /create/options-datetime: There isn't any validation error shown when validation fails due to not enough times.
2016-04-15 11:21:26 +02:00
jelhan
e5c5198601 Fixes #85 2016-04-09 01:52:54 +02:00
jelhan
3e92fa8c87 Switch to bootstrap fixed-width grid layout.
Part of #76
2016-03-21 22:08:51 +01:00
jelhan
c240b712b6 Fixes #88
Also fixes test which was false positive and added some other tests.
2016-03-21 22:06:08 +01:00
jelhan
cb66fb18bc Fix: Sort must return a signed number not a boolean
Chrome and Firefox are find with boolean but nodejs and edge are more strict.
2016-03-20 16:05:20 +01:00
jelhan
aa6483c4d1 Fixes #81 2016-03-20 15:31:24 +01:00
jelhan
6f6395e430 Fixes #82 2016-03-18 20:26:41 +01:00
jelhan
255c6a97e8 Fixes #80 2016-03-18 13:27:34 +01:00
jelhan
e8b6776f9a Fixes #79 2016-03-18 13:15:47 +01:00
jelhan
277d51e650 poll evaluation as stacked bar chart 2016-03-17 13:32:53 +01:00
jelhan
03de059fd1 Fix: Do not ask which timezone should be chosen if there is no timezone defined in poll 2016-02-23 00:02:16 +01:00
jelhan
b7b57ef051 store timezone only if there is atleast one option including time
isDateTime could be true even if there isn't any option with time
2016-02-22 23:55:59 +01:00
jelhan
8ede03b604 Fix: Date was not shown if there were multiple best options 2016-02-22 23:42:01 +01:00
jelhan
9b6d0822b2 not used anymore 2016-02-18 21:18:48 +01:00
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