Jeldrik Hanschke
bcd4bc7ac6
upgrade to ember 3.4
2018-12-31 10:17:03 +01:00
Jeldrik Hanschke
11265cb82d
deps: upgrade ember to 2.18
2018-12-29 20:23:19 +01:00
Jeldrik Hanschke
6592102837
deps: upgrade ember-cp-validations to 3.x
2018-12-29 20:23:19 +01:00
jelhan
53a34fcc2f
Fixes DEPRECATION: Importing from the model-fragments
module is deprecated.
...
Instead import from `ember-data-model-fragments
2017-08-01 09:48:48 +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
aafe5966e3
Fix: Confusing unique validation error messages for options
2016-07-03 16:50:42 +02:00
jelhan
7b2a9672f4
Fixes: Date in poll evaluation summary does not observe locale changes.
2016-06-20 20:48:48 +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
2c11fe41bf
perserve validation state in create/options-datetime by avoiding rerender
2016-06-08 13:56:06 +02:00
jelhan
568e23e0bc
update validation error on locale change
2016-05-23 13:40:45 +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
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
4b33ddf48e
Support polls findADate with mixed dates and datetimes
2016-02-13 18:37:33 +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
e0ca28602c
some more JSCS
2016-01-31 14:32:32 +01:00
jelhan
8f08e57d1d
fix some more code style issues
2016-01-28 23:48:14 +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
e1bb2da6d1
fix jshint
2015-11-20 11:31:40 +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
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
176d45b317
use a service for encryption key handling
2015-10-25 19:38:14 +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
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
12706d7d57
do not lookup encryption key by application container due this breaks tests in travis
2015-08-20 14:12:28 +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
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
3690a60496
[FEATURE] add expiration date for polls
2015-07-26 19:41:59 +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
612086c73c
intend by 2 spaces
2015-07-07 11:52:46 +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
d20aef363b
Revert "add version to saved poll/user"
...
This reverts commit 3808de42ca
.
2015-04-02 13:30:00 +02:00
jelhan
3808de42ca
add version to saved poll/user
2015-01-24 14:33:02 +01:00
jelhan
7a241bd311
first steps to ember-cli
2014-10-30 21:44:22 +01:00
jelhan
d18055b8dc
handle timezone differences
...
Closes #33
2014-10-28 03:27:54 +01: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
fabb22d769
Starting implementation of DateTime features
2014-07-07 01:51:58 +02:00
jelhan
b066b8806c
Starting to move to Ember App Kit
2014-07-06 17:37:54 +02:00