jelhan
215d980033
run tests against Firefox in CI ( #168 )
...
* run tests against Firefox in CI
* fix test for Firefox 56
2019-03-07 23:11:03 +01:00
Jeldrik Hanschke
830478051b
upgrade qunit to fix CSP violations in test runner
...
This one requires a migration from deprecated ember-cli-qunit to ember-qunit.
ember-qunit throws in Unit tests cause they interact with runloop but didn't
awaited everything to finish. An assertion was thrown therefor:
> Assertion Failed: expected container not to be destroyed
2019-02-23 23:56:49 +01:00
Jeldrik Hanschke
ac96aaf044
tests should fail if violating CSP
2019-02-23 23:56:49 +01:00
Jeldrik Hanschke
480ceb5e08
provide Content-Security-Policy by meta tag
...
Having both a Content-Security-Policy (CSP) in meta tag and per header
works fine together. They are merged and the strongest one is applied.
It makes Croodle safer for all users even if the hoster does not apply CSP
for some reason (e.g. they can't set custom headers).
It's still a good idea to recommend using a CSP header cause that ones
are applied earlier - even so this shouldn't be a problem cause we ensure
that CSP meta tag is present before any other link, style or script element.
2019-02-23 23:56:49 +01:00
Jeldrik Hanschke
06a92b947f
refactor: replace bootstrap-datepicker by ember-power-calendar
...
Also renders two linked calendars if there is enough space.
Closes #143
2019-01-20 17:08:16 +01:00
Jeldrik Hanschke
5b34199f41
refactor: drop jQuery from tests except for jQuery plugin bootstrap-datepicker
2019-01-18 20:42:21 +01:00
Jeldrik Hanschke
96f1990542
fix: label should reflect validation state of all times of a day
2019-01-03 00:46:36 +01:00
Jeldrik Hanschke
174b6d493c
refactor create/settings to avoid observer
...
This also fix a bug if user creates more than one croodle without reloading window
in between. In that case a data fragment is reused which throws.
It's also the first step in dropping {{simple-select}} which is very outdated.
2018-12-31 12:09:17 +01:00
Jeldrik Hanschke
bcd4bc7ac6
upgrade to ember 3.4
2018-12-31 10:17:03 +01:00
Jeldrik Hanschke
71d303174e
refactor: drop ember-array-computed-macros
2018-12-30 01:04:33 +01:00
Jeldrik Hanschke
b8d4087aaf
fix: validation errors should be translated
...
https://github.com/jasonmit/ember-i18n-cp-validations/tree/v3.1.0#breaking-changes-between-2x-and-3x-for-ember-i18n-cp-validations
2018-12-29 21:23:29 +01:00
Jeldrik Hanschke
11265cb82d
deps: upgrade ember to 2.18
2018-12-29 20:23:19 +01:00
Jeldrik Hanschke
8f90414f0c
deps: upgrade ember-cli-mirage
2018-12-29 20:23:19 +01:00
Jeldrik Hanschke
97e447bbe7
deps: yarn upgrade
2018-12-29 20:23:19 +01:00
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
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
565b426b03
tests/dummyData is not used anymore since 87ad9b0506
2017-08-13 20:43:33 +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
cf8068cd8e
remove file which has been added accidentally in 632c36eb12
2017-08-01 16:26:18 +02:00
jelhan
0407d28260
remove tests which just duplicates some tests allready done at tests/acceptance/create-a-poll-test.js
2017-08-01 16:24:10 +02:00
jelhan
5575629fb6
Legacy support is an acceptance test atleast since it's using a mocked api.
2017-08-01 16:23:35 +02:00
jelhan
2f1e729e2c
Fix: second pretender instance warning
2017-08-01 10:26:38 +02:00
jelhan
87ad9b0506
use ember-cli-mirage to mock api
2017-08-01 09:49:02 +02:00
jelhan
0f3aa1bc56
Fix tests in IE 11
2017-08-01 09:48:48 +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
632c36eb12
updates dependencies and fixes property modified twice in a single render deprecations
2017-08-01 09:48:48 +02:00
jelhan
364147f4b6
fix build issue by updating ember-moment
2017-07-25 17:17:39 +02:00
jelhan
d76783c9cf
refactor form navigation to use a component
2016-09-23 19:39:31 +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
ed5e5f84c5
Fix tests after d5705b2c3b
2016-08-30 11:54:33 +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
6852d6ce27
more suitable page object action for save
2016-08-26 18:29:02 +02:00
jelhan
0e446c19fe
add tests for autofocus first form element
...
introduced by last commit (545f3b0664
)
2016-08-26 01:30:46 +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
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
bbea5265fe
update ember-i18n to latest (4.2.2)
2016-08-17 23:56:14 +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
29189e5a06
updates ember-cli-page-object
2016-08-14 22:24:04 +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
1400b71417
updates ember, ember data and ember data model fragments and fixes some container deprecation
2016-08-12 23:09:37 +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
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