Commit graph

60 commits

Author SHA1 Message Date
Jeldrik Hanschke
b08748c33c
upgrade Ember CLI and blueprints to v4.4 (#684)
* upgrade Ember CLI and blueprints to v4.4

* remove duplicated GitHub actions

* fix linting
2023-10-17 00:00:13 +02:00
Jeldrik Hanschke
d5a245c4f2
upgrade ember-intl to v5 (#678) 2023-10-16 00:38:43 +02:00
Jeldrik Hanschke
0f94d81ad4
fix ember-cli-page-object deprecations (#674)
* fix ember-cli-page-object deprecations

* make linter happy
2023-10-15 23:26:18 +02:00
Jeldrik Hanschke
97605ec7d7
fix some deprecations (#659)
* get deprecation workflow up to date

* fix routing.transition-methods deprecation

* fix this-property-fallback deprecation

* fix implicit-injections deprecation

* argument-less-helper-paren-less-invocation

* remove unmaintained ember-transition-helper which triggers deprecated-run-loop-and-computed-dot-access deprecation

* reset to only log but not throw on errors to not block other development

* reset double quote to single quote changes in templates and fix Prettier config

* fix JS linting

* ugprade ember-template-lint to fix parser
2023-10-15 21:50:28 +02:00
Jeldrik Hanschke
02058ab756
upgrade to Ember 3.28 blueprints (#647) 2023-10-15 20:37:03 +02:00
Jeldrik Hanschke
82ec8b59f7
refactor to tracked properties (#621) 2023-10-15 17:32:11 +02:00
Jeldrik Hanschke
857f2baa16
simplify form validation and drop ember-cp-validations (#631)
* replace ember-cp-validations with custom validation logic for poll creation

* refactor poll participation to not use ember-cp-validations

* drop ember-cp-validations from create.settings route

* remove unused leftovers from ember-cp-validations

* fix potential leak

* assertion thrown in CI tests (Firefox) indicate that listener is cleaned up automatically

* synchronize translations
2023-10-15 15:27:02 +02:00
renovate[bot]
b62fee843c
Update dependency ember-cli-content-security-policy to v2 (#592)
* Update dependency ember-cli-content-security-policy to v2

* update configuration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
2023-09-21 14:09:49 +02:00
Jeldrik Hanschke
2a4b1f8b73
Use native browser APIs and Luxon instead of Moment (#612) 2023-09-21 12:30:14 +02:00
Jeldrik Hanschke
fee222e995
upgrade to Ember 3.20 (#447) 2020-10-18 22:38:37 +02:00
Jeldrik Hanschke
87d7b5d36d
Add Norwegian language and other updates from Weblate (#446)
* Translated using Weblate (Catalan)

Currently translated at 94.3% (133 of 141 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/ca/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/
Translation: Croodle/client

* Translated using Weblate (Italian)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (French)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Spanish)

Currently translated at 95.7% (135 of 141 strings)

Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (French)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/fr/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/
Translation: Croodle/client

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 75.8% (107 of 141 strings)

Translated using Weblate (English)

Currently translated at 100.0% (141 of 141 strings)

Added translation using Weblate (Norwegian Bokmål)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/en/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/nb_NO/
Translation: Croodle/client

* Translated using Weblate (Spanish)

Currently translated at 95.7% (135 of 141 strings)

Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
Translation: Croodle/client

* Translated using Weblate (English)

Currently translated at 100.0% (141 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/en/

* Translated using Weblate (Catalan)

Currently translated at 94.3% (133 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/ca/

* Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/

* Translated using Weblate (Spanish)

Currently translated at 95.7% (135 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/

* Translated using Weblate (French)

Currently translated at 100.0% (141 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/fr/

* Translated using Weblate (Italian)

Currently translated at 100.0% (141 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 75.8% (107 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/nb_NO/

* integrate norwegian locale

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
2020-10-18 22:11:19 +02:00
Jeldrik Hanschke
646c4c5a64
add french translations provided by sharkyiwc (#425) 2020-10-13 20:53:06 +02:00
Jeldrik Hanschke
fdebb93be4
remove IE11 support (#400) 2020-04-29 23:39:57 +02:00
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
Jeldrik Hanschke
7e784434b6
Upgrade Ember to 3.15 and other deps (#338) 2020-01-08 15:57:46 +01:00
vmaffione
eeadc1806e Improve italian translations (#317)
* Improve italian translations

* increase allowed bundle size
2019-12-09 10:20:29 +01:00
renovate[bot]
2dc5c22409 Update dependency ember-bootstrap to v3 (#255) 2019-11-14 21:18:52 +01:00
Jeldrik Hanschke
75a198f3e6
upgrade ember-source to ~3.13 (#266)
Also fixes an issue with owner injection. This must be done in `.create()` and not on `.extend()`. Ember 3.13 seems to be more strict about that one.
2019-10-29 12:31:22 +01:00
renovate[bot]
7e189ab83c Update dependency ember-power-calendar to ^0.14.0 (#239) 2019-10-29 10:43:06 +01:00
Jeldrik Hanschke
67caaad803
upgrade Ember CLI to 3.13 and Ember Source + Ember Data to 3.12 (#264)
* upgrade Ember CLI to 3.13 and Ember Source + Ember Data to 3.12

Ember Source upgrade to 3.13 is blocked by Ember CP Validations,
which does not support Ember Source 3.13 yet.

Ember Data upgrade to 3.13 is blocked by Ember Data Model Fragments,
which does not support Ember Data 3.13 yet.

Also removes autofocus mixin and inlines the code as mixins are
considered an antipattern in latest Ember versions.

Removes some left overs in `"resolutions"` key. But that shouldn't have a real impact.
2019-10-29 08:02:50 +01:00
Jeldrik Hanschke
6e26789b8b improve positioning of validation feedback
Also refactors the template to use Octance features.
2019-10-28 13:18:53 +01:00
Jeldrik Hanschke
7c523357dc
upgrade ember to 3.10 (#235)
Also adds a handy shortcut to run the bundlesize tests: `yarn test:bundlesize`.
2019-07-13 10:26:30 +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
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
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
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
jelhan
0d21d6e169
test for bundle size regressions in CI (#195) 2019-05-21 16:52:46 +02:00
jelhan
90e842e45b
upgrade dependencies (#178) 2019-04-24 21:43:02 +02:00
jelhan
25b9bf0aba
CSP: allow image source self to fix favicon in chrome (#172) 2019-03-13 21:32:26 +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
de52f7afd4 CSP referrer is deprecated, Referrer-Policy header should be used instead 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
bcd4bc7ac6 upgrade to ember 3.4 2018-12-31 10:17:03 +01:00
Jeldrik Hanschke
933a3bc6e8 reset deprecation workflow 2018-12-29 20:23:19 +01:00
Jeldrik Hanschke
11265cb82d deps: upgrade ember to 2.18 2018-12-29 20:23:19 +01:00
jelhan
2ac3bfacdb Fix: do not link assets with absolut paths to support serving from subdirectory
Bug introduced by 632c36eb12
2017-08-31 16:12:45 +02:00
jelhan
7ab44aa9e5 use deprecation workflow 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
13598fbe1b include catalan and italian locales for moment and bootstrap-datepicker 2017-07-28 10:52:22 +02:00
jelhan
364147f4b6 fix build issue by updating ember-moment 2017-07-25 17:17:39 +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
3cf26d7221 make CSP even a little bit more restrictive 2016-09-03 18:51:38 +02:00
rugk
1dd23ab59b
Bring dev and stable CSP header in sync
Uses the most secure combination of these two.
2016-09-03 16:26:57 +02:00
jelhan
e735587c93 update floatThead and drop CSP unsafe-inline requirement
Closes #90
2016-08-23 11:43:58 +02:00
jelhan
94ded4e723 do not override Date.parse
https://github.com/emberjs/data/pull/4396
2016-08-18 00:20:30 +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
425758e054 query params support was landed in ember 1.7.0 release in august 2014
http://emberjs.com/blog/2014/08/23/ember-1-7-0-released.html#toc_query-params
2016-02-16 02:30:06 +01:00
jelhan
8f08e57d1d fix some more code style issues 2016-01-28 23:48:14 +01:00
jelhan
c1dfa16eed update ember-i18n 2015-11-20 02:18:19 +01:00