Commit graph

1078 commits

Author SHA1 Message Date
renovate[bot]
3361f90978 Update dependency ember-bootstrap to v2.8.0 (#218) 2019-06-14 22:53:07 +02:00
renovate[bot]
6f1ce81456 Update dependency ember-power-calendar to v0.13.3 (#207) 2019-06-12 15:02:21 +02:00
jelhan
6b6653fc69
fix outdated CSP headers in .htaccess (#212) 2019-06-12 15:02:02 +02:00
jelhan
7688d468e4
improve form buttons (#211)
* Adds a loading spinner to form buttons as long as submission is pending.
* Does some refactoring of form navigation buttons.
* Updates expected bundle size.
2019-06-12 09:07:48 +02:00
sappor0
32e5971aba Fixed some typographic issues and typos and stylistic issues with the en localisation (#215)
* Fixed some typos/stylistic issues with the english localisation strings
* typographically correct ellipsis
* typographically correct apostrophe
* typographically correct em dash
2019-06-10 19:51:30 +02:00
renovate[bot]
f10e6da6d6 Update dependency ember-cp-validations to v4.0.0-beta.9 (#206) 2019-06-07 13:05:34 +02:00
renovate[bot]
63d6fcfdda Update dependency sass to v1.21.0 (#203) 2019-06-07 11:23:44 +02:00
sappor0
c23ba1f6fb Using bootstrap 4 and related UI refresh (#205)
Changes at a glance:

- Switch from BS3 to BS4
- Polishing of some UI elements (low-hanging fruit for UX)
- Mobile-friendly layout.
2019-06-07 11:22:13 +02:00
renovate[bot]
25271e4019 Update dependency ember-auto-import to v1.4.0 (#204) 2019-06-05 15:19:19 +02:00
jelhan
25c9e38691
use relative URLs for assets (#202)
Assets must be referenced using relative URLs cause otherwise croodle
can't be served from subdirectories.

Can't add tests for this one cause ember requires absolute assets URLs
for testing.
2019-05-28 22:40:14 +02:00
renovate[bot]
8446b4b61f Update dependency ember-cli-mirage to v1.0.0 (#198) 2019-05-28 22:00:13 +02:00
renovate[bot]
d305f392f4 Update dependency ember-bootstrap to v2.7.1 (#199) 2019-05-28 19:00:21 +02:00
renovate[bot]
85b2d94ace Update dependency ember-awesome-macros to v5 (#200) 2019-05-28 18:59:54 +02:00
renovate[bot]
6a482e17cb Update dependency ember-cli-sass to v10.0.1 (#189) 2019-05-22 13:22:35 +02:00
jelhan
08f2a81ac1
Drop jQuery (#196)
Drops ember-radio-buttons addon and uses a plain input element instead. ember-radio-buttons doesn't seem to be maintained anymore and required jQuery. Also plain input element seems to be much easier to maintain.

Replaces ember-ajax by ember-fetch as ember-ajax is build on top of jQuery.ajax().

This reduces the bundle size by 25 KB (JavaScript) after gzip. Updating the size limit accordingly.
2019-05-22 12:29:29 +02:00
rugk
212b74fdb4 Improve whole Readme: wording/grammar/… (#190) 2019-05-21 23:18:43 +02:00
jelhan
0d21d6e169
test for bundle size regressions in CI (#195) 2019-05-21 16:52:46 +02:00
renovate[bot]
845456c0ae Update dependency ember-cli-flash to v1.7.2 (#194) 2019-05-21 15:58:09 +02:00
renovate[bot]
f8d33c898c Update dependency fs-extra to v8.0.1 (#192) 2019-05-21 13:54:01 +02:00
jelhan
7233f12ee1
refactor setupMirage import after upgrade of ember-cli-mirage (#193)
Recommended import path was changed in v1.0.0-beta.2:
https://github.com/samselikoff/ember-cli-mirage/releases/tag/v1.0.0-beta.2
2019-05-21 13:53:49 +02:00
renovate[bot]
24af03bb2a Update dependency ember-cli-mirage to v1.0.0-beta.3 (#185) 2019-05-21 13:33:23 +02:00
renovate[bot]
8e064f6a82 Update dependency ember-bootstrap to v2.7.0 (#187) 2019-05-21 13:32:14 +02:00
renovate[bot]
957000394e Update dependency fs-extra to v8 (#186) 2019-05-21 12:45:01 +02:00
renovate[bot]
83404028a2 Update dependency ember-power-calendar to v0.13.2 (#188) 2019-05-21 12:43:08 +02:00
renovate[bot]
69b27c2d28 Update dependency sass to v1.20.1 (#184) 2019-05-05 13:54:22 +02:00
renovate[bot]
9bf40aff26 Update dependency vlucas/phpdotenv to v3 (#183) 2019-04-26 10:32:43 +02:00
renovate[bot]
a3da4776ee Configure Renovate (#181) 2019-04-26 10:00:18 +02:00
jelhan
5edb3f3b0f
use ember-auto-import to import sjcl (#176) 2019-04-26 09:50:05 +02:00
jelhan
1dd7ee7ce3
hopefully fixes timeout for IE 11 on BrowserStack (#180) 2019-04-24 22:11:03 +02:00
jelhan
90e842e45b
upgrade dependencies (#178) 2019-04-24 21:43:02 +02:00
jelhan
17cfb4ab6d
Meaningful error pages (#177)
Adds meaningful error pages if
- poll does not exist
- encryption key is wrong.
2019-04-23 17:37:42 +02:00
Jeldrik Hanschke
596cd40d2f increase timeout for BrowserStack
This will hopefully fix the issues of failing tests due to timeouts on IE11.
Values are taken from testem configuration used by ember.js for BrowserStack:
https://github.com/emberjs/ember.js/blob/v3.9.1/testem.browserstack.js
2019-04-22 18:33:26 +02:00
Jeldrik Hanschke
400cf9f9fc remove dead configuration
ember-auto-import is not used and it's configuration should be under
`autoImport` and not `ember-auto-import` key.
2019-04-22 18:12:29 +02: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
jelhan
6c122148c3
fix: test must not trigger confirmation in IE 11 (#174)
Use test helpers provided by ember-cli-clipboard as they do not trigger confirmation in IE 11. Upgrades ember-cli-clipboard to latest version as the outdated version used before does not include these test helpers yet.

Also refactors test execution against BrowserStack to only run tests one by one. Not quite sure why but that fixes the IE 11 issue. Need to investigate later as that one slows down tests by requiring two additional builds.
2019-03-16 11:26:39 +01:00
jelhan
277e783e81
upgrade dependencies of API (#173)
* upgrade dependencies
* run tests against all supported PHP versions
2019-03-14 21:31:41 +01:00
jelhan
b8c02ca579
Replace SauceLabs with BrowserStack (#171) 2019-03-14 21:30:48 +01:00
jelhan
25b9bf0aba
CSP: allow image source self to fix favicon in chrome (#172) 2019-03-13 21:32:26 +01:00
jelhan
78e9d789e6
fix IE 11 (#170)
* upgrade ember-power-calendar for IE11 support

* Ember Bootstrap feature branch fixing IE 11 with unsupported input type

* upstream fix has been merged (but not released)
2019-03-13 21:11:08 +01:00
jelhan
82f89b74df
refactor in repo addon include api in build (#169)
* fs-extra dependency of in-repo-addon was not listed explicitly

* refactor: inclusion of api in build for readability

* fix: 'readdirSync' is assigned a value but never used
2019-03-08 01:19:17 +01:00
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
jelhan
e53ac9a140
remove dead code from build (#167)
* cherry-pick needed helpers from ember-math-helpers

This reduces the build size by 1.2 KB after gzip.

* dep: remove ember-array-helper

array helper already provided by ember-composable-helpers
2019-02-24 01:04:26 +01:00
jelhan
95d53baae9
refactor: remove route actions (#166) 2019-02-24 00:32:37 +01:00
Jeldrik Hanschke
5637b1f444 dep ember-export-application-global is not needed anymore
It's most likely a leftover from upgrading ember a long time ago.
2019-02-24 00:18:13 +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
3ed645709f upgrade ember-cli-content-security-policy to fix CSP violation by test loader assertion 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
68822aaa0f upgrade ember-bootstrap to fix CSP issue 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
5381c87d73 downgrade Chart.js to fix CSP violations
https://github.com/chartjs/Chart.js/issues/5208
2019-02-23 23:56:49 +01:00