Jeldrik Hanschke
8a62662e6e
migrate from ember-i18n to ember-intl ( #358 )
...
* mark string as html safe before passing to translation instead of bypassing HTML escape using {{{unsafe}}} syntax
* replace ember-i18n with ember-intl
2020-01-30 00:23:12 +01:00
Jeldrik Hanschke
c9482786c1
refactor to native ECMAScript classes ( #344 )
...
Replaces Ember's old object model by native ECMAScript classes. Mostly automated with ember-native-class-codemod.
2020-01-18 10:13:50 +01:00
jelhan
bb160cc503
refactor participants table ( #164 )
...
- Drops floatthead and additional scrollbar
- Makes header and first column sticky
- Refactors code for readability
Sticky header is only working in Firefox. Chrome and Edge does not support `position: sticky` for `<thead>`. Haven't tested Safari.
2019-04-20 23:29:59 +02:00
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
jelhan
ee8c64e031
show expiration date and warn if poll will expire in next days ( #140 )
...
Closes #121
2017-08-26 02:14:09 +02:00
jelhan
ee6728314a
replace jstimezonedetect by moment.tz.guess() ( #139 )
...
Closes #118
2017-08-26 01:54:41 +02:00
jelhan
64a9dea5e7
refactor dates handling ( #137 )
...
* Remove dates ArrayProxy.
* Use moment template helpers.
* Pass timezone and locale directly to moment template helper to avoid issues.
2017-08-11 16:39:36 +02:00
jelhan
632c36eb12
updates dependencies and fixes property modified twice in a single render deprecations
2017-08-01 09:48:48 +02:00
jelhan
5613dfdd43
add button for copying poll link
...
closes #95
2016-08-20 22:02:53 +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
26b3dab102
update ember-suave and fix some coding style
2016-08-11 22:47:17 +02:00
jelhan
01bd5a6466
remove formatted-date helper (not in use anymore)
2016-06-21 01:44:50 +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
79f6e3411b
rewrite modal to chose timezone with ember-bootstrap
2016-06-06 01:19:23 +02:00
jelhan
7c56c5c5e0
Fix: missing translations
2016-05-21 20:05:13 +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
08e9f68197
remove polls isDateTime attribute
2016-05-18 13:18:36 -07: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
4b33ddf48e
Support polls findADate with mixed dates and datetimes
2016-02-13 18:37:33 +01:00
jelhan
8f08e57d1d
fix some more code style issues
2016-01-28 23:48:14 +01:00
jelhan
95c5142ad1
some more JSCS fixes
2016-01-28 11:27:00 +01:00
jelhan
858b75e543
routable tabs in poll view for participation and evaluation
2015-11-02 23:02:59 +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
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
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
6f7148a86f
Merge branch 'master' into evaluation
...
Conflicts:
app/controllers/poll.js
2015-08-01 22:22:07 +02:00
jelhan
eb798a3c4c
use fixed version of ember-cli-build-info
2015-07-28 17:22:31 +02:00
jelhan
6ded3e1f4e
do not care about timezones if it's not necessary
2015-07-19 20:00:07 +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
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
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
f5b8546247
fix undefined error
2015-04-07 13:17:45 +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
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
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
48ed039788
fixes top scrollbar resize issues
...
fixes #63
2015-01-16 14:12:34 +01:00
jelhan
3e85382cf8
ember-validations as ember-addons
2014-11-02 16:55:10 +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