Commit graph

394 commits

Author SHA1 Message Date
jelhan
9c4bd9e669
upgrade ember-bootstrap and ember-bootstrap-cp-validations to latest versions (#146)
Ember Bootstrap has changed a lot since the very outdated pre 1.0 release
which was used here. Changes are mostly about using composable components
and closure actions.

Also replaces PhantomJS with Chrome in CI cause PhantomJS is also very
outdated and causing test failure not related to any real world issues.
Ember CLI has replaced PhantomJS with Chrome in v2.15.1, which is the
upfollowing minor release to the version currently used.
2018-10-28 22:54:14 +01:00
jelhan
fe826666ba Fixes "TypeError: attempted to assign to readonly property" in Safari 10.1 2017-08-31 14:24:49 +02: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
fc342b6c05 Fix: poll creation time is not displayed as formatted
Also fixes #122
2017-08-13 20:32:23 +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
e99a2f13b8 Fix: chart options are overriden by poll options
Bug introduced by 1df562b352.
2017-08-03 16:44:38 +02:00
jelhan
1df562b352 refactor {{poll-evaluation-chart}} and {{poll-evaluation-participants-table}} interfaces to make them less complex 2017-08-01 09:48:48 +02:00
jelhan
96ec32aa3e Fix: ember-i18n does not provide a default locale configuration for catalan 2017-08-01 09:48:48 +02: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
632c36eb12 updates dependencies and fixes property modified twice in a single render deprecations 2017-08-01 09:48:48 +02:00
jorge_SD
b517f0dee2 improve spanish translations 2017-07-29 15:16:56 +02:00
jelhan
13598fbe1b include catalan and italian locales for moment and bootstrap-datepicker 2017-07-28 10:52:22 +02:00
jorge_SD
1b815f0ee9 add italian and catalan translations; improve english translations 2017-07-28 10:40:22 +02:00
jelhan
364147f4b6 fix build issue by updating ember-moment 2017-07-25 17:17:39 +02:00
heavygale
9f05db9b2e Small tweaks for the german translation 2017-07-04 10:48:35 +02:00
jelhan
495d56c6ea language selct should allways be inline
`.form-inline` only applies to forms within viewports that are at least 768px wide.
2017-02-09 17:34:05 +01:00
jelhan
b5b547fce6 Fix: assets should be relative to index.html to support installation in subdirectories 2016-12-25 23:01:22 +01:00
jelhan
387e6adcdc improve detection of language prefered by user 2016-12-03 20:44:40 +01:00
jelhan
d76783c9cf refactor form navigation to use a component 2016-09-23 19:39:31 +02:00
jelhan
fa0ac48500 Readd spanish translation
thanks to @rugk
2016-09-20 11:50:04 +02:00
jelhan
ae0ad7bd42 Import sjcl by newly added Anonymous AMD Support
Fixes: `invalid aes key size` error in sjcl 1.0.5 and 1.0.6.

https://github.com/ember-cli/ember-cli/pull/5976
2016-09-20 02:01:33 +02:00
jelhan
fd0d7ffd39 update ember to 2.8 and ember-cli to 2.9.0-beta.1 2016-09-20 02:01:26 +02:00
jelhan
17b7f81dea UX: next and back buttons in create wizzard in xs and sm 2016-09-18 20:44:22 +02:00
jelhan
ed87a86c2c Fixes #115 2016-09-18 20:16:17 +02:00
rugk
e97c666458
Improve CSP header & add Referrer-Policy 2016-09-02 21:35:55 +02:00
jelhan
d6f7bb761c Fixed some typos
Thanks to @aehm03 for reporting via twitter:
https://twitter.com/aehm03/status/770918866658754560
2016-08-31 12:12:37 +02:00
jelhan
d5705b2c3b Fix: participation table header should not overflow container
Was introduced by this breaking change in jquery.floatThead:
3973eb523a
2016-08-30 11:10:05 +02:00
jelhan
9b221e7861 add a test for saving a new poll fails due to server 2016-08-26 19:04:50 +02:00
jelhan
545f3b0664 autofocus first form element
currently not working for date selection (calendar) since this one did not
support keyboard navigation

part of #94
2016-08-26 00:10:22 +02:00
jelhan
e735587c93 update floatThead and drop CSP unsafe-inline requirement
Closes #90
2016-08-23 11:43:58 +02:00
jelhan
94b4dc6f82 use localStorage instead of cookie to save locale setting
there is no need to tell the server which locale is prefered by client
2016-08-21 14:31:39 +02:00
jelhan
d8db29ecd9 adds back button to create wizard
Part of #76
2016-08-21 00:38:44 +02:00
jelhan
9a33e08ac4 browser should not mess around with our validation logic 2016-08-20 23:41:27 +02:00
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