Jeldrik Hanschke
f0cff27e99
Convert to TypeScript ( #713 )
...
* setup typescript
* covert to TypeScript
2023-10-29 19:16:33 +01:00
Jeldrik Hanschke
2a76f98e99
drop ember-classic-decorator ( #712 )
2023-10-28 19:41:30 +02:00
Jeldrik Hanschke
5146bbdf36
Fix remaining deprecations ( #711 )
...
* fix: Use of assign has been deprecated. Please use Object.assign or the spread operator instead.
* fix @tagName argument of <LinkTo> is deprecated
* clean-up deprecation workflow
2023-10-28 19:21:45 +02:00
Jeldrik Hanschke
2d5914ff63
replace ember data with native classes ( #708 )
2023-10-28 19:15:06 +02:00
Jeldrik Hanschke
1072953cd4
refactor poll creation to not rely on Ember Data model ( #710 )
2023-10-28 17:50:17 +02:00
Jeldrik Hanschke
8a4954f4e8
drop support for polls created with Croodle <= 0.3.x ( #709 )
2023-10-27 20:40:18 +02:00
renovate[bot]
83c994c363
Update dependency ember-intl to v6 ( #651 )
...
* Update dependency ember-intl to v6
* workaround wrong assumption of ember-intl on default locale
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
2023-10-23 21:26:23 +02:00
Jeldrik Hanschke
748b17e0ea
answers could be derived from answerType ( #704 )
...
* answers could be derived from answerType
* improve readability of API test data
* update API tests for removed answers property
2023-10-23 17:33:25 +02:00
Jeldrik Hanschke
3a23719127
do not rely on Array prototype extensions ( #692 )
...
* Array.any() relies on prototype extensions
* remove remaining usage of array prototype extensions
2023-10-18 14:52:57 +02:00
renovate[bot]
8118aabb1f
Update dependency ember-cli-clipboard to v1 ( #637 )
...
* Update dependency ember-cli-clipboard to v1
* update for changed public API
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
2023-10-17 11:49:21 +02:00
Jeldrik Hanschke
8bb8af265f
upgrade blueprints to v5.3 ( #693 )
2023-10-17 11:38:49 +02:00
renovate[bot]
d2a24daf66
Update dependency ember-template-lint to v5 ( #655 )
...
* Update dependency ember-template-lint to v5
* fix new linting violations
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
2023-10-17 10:46:08 +02:00
renovate[bot]
98ff62af80
Update dependency prettier to v3 ( #668 )
...
* Update dependency prettier to v3
* upgrade eslint-plugin-prettier and run prettier on all files
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
2023-10-17 10:44:45 +02:00
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
2e9d8581b1
WIP: Upgrade to Ember v4.4 ( #679 )
...
* first try
* upgrade ember-intl to v5
* simplify code and avoid deprecated / removed APIs
* fix RouterService.transitionTo not bound to this instance
* fix modified after consumption error
* fix lint
2023-10-16 14:26:00 +02:00
Jeldrik Hanschke
fa9f91288c
fix RouterService.transitionTo not bound to this instance ( #680 )
2023-10-16 14:10:29 +02:00
renovate[bot]
831ed35136
Update dependency ember-cli-page-object to v2 ( #673 )
...
* Update dependency ember-cli-page-object to v2
* upgrade to new APIs
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
2023-10-16 00:07:22 +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
4c0936af35
remove unused named outlet ( #658 )
2023-10-15 21:12:09 +02:00
Jeldrik Hanschke
02058ab756
upgrade to Ember 3.28 blueprints ( #647 )
2023-10-15 20:37:03 +02:00
Jeldrik Hanschke
650910fcfc
refactor remaining components to @glimmer/component ( #639 )
2023-10-15 19:11:08 +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
Jeldrik Hanschke
77f8f5804f
drop computed properties in poll participation controller if possible ( #630 )
2023-10-15 12:06:27 +02:00
Jeldrik Hanschke
ec537c0eaf
refactor poll participation controller to native class ( #629 )
2023-10-15 11:38:02 +02:00
Jeldrik Hanschke
e984b9012d
fix displaying dates in participants table for polls having dates with times ( #625 )
...
* fix: participants table not listing times in header
* fix: participants table shows days in wrong timezone
2023-10-01 16:21:49 +02:00
Jeldrik Hanschke
128cb37c1e
upgrade to Ember Bootstrap v4 ( #623 )
2023-09-30 11:15:50 +02:00
Jeldrik Hanschke
2094f0d91b
colocate component templates ( #620 )
2023-09-22 22:22:48 +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
5143a6ae88
remove chart in poll evaluation ( #610 )
2023-08-19 20:57:57 +02:00
renovate[bot]
e84fb40f49
Update dependency ember-page-title to v6 ( #437 )
...
* Update dependency ember-page-title to v6
* ember-page-title no longer requires ember-cli-head
ember-page-title no longer requires the usage of ember-cli-head.
Please remove {{head-layout}} from your application's application.hbs route template
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
2021-01-16 13:11:19 +01:00
Jeldrik Hanschke
386a4c1f83
can not set type attribute using angle bracket invocation ( #507 )
2021-01-16 12:54:12 +01:00
Jeldrik Hanschke
58144bbf62
address deprecated arguments in Ember Bootstrap ( #468 )
2020-10-31 08:17:32 +01:00
Jeldrik Hanschke
4fd4333c3c
simplify autofocus implementation using a modifier ( #465 )
2020-10-27 22:34:08 +01:00
Jeldrik Hanschke
7da65be276
refactor deprecated {{title}} to {{page-title}} ( #464 )
2020-10-27 22:20:35 +01: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
33886f3c4e
fix link to GitHub used in translated text ( #355 )
2020-01-21 22:16:21 +01:00
Jeldrik Hanschke
77afc0d9fa
remove implicit this usage in templates ( #352 )
...
This refactors references to values in templates from `{{foo}}` to either `{{this.foo}}` if it's a property of backing JavaScript class or `{{@foo}}` if it's passed in on invocation.
You could find more details on this change in Ember docs:
- [required `this` in templates](https://guides.emberjs.com/release/upgrading/current-edition/templates/#toc_required-this-in-templates )
- [named arguments](https://guides.emberjs.com/release/upgrading/current-edition/templates/#toc_named-arguments )
While doing this I noticed that `<PollEvaluationSummaryOption>` component could be easily refactored to a template-only component. Done it as part of this pull request even so it's technically not related.
2020-01-18 12:17:06 +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
9983f76189
refactor form steps implementation ( #345 )
2020-01-13 17:13:23 +01:00
Jeldrik Hanschke
061b9a0d4a
use ember data modules for import ( #340 )
2020-01-08 15:58:52 +01:00
Jeldrik Hanschke
18ba1b6bbc
convert component invocation to angle brackets ( #339 )
2020-01-08 15:58:10 +01:00
Jeldrik Hanschke
7e784434b6
Upgrade Ember to 3.15 and other deps ( #338 )
2020-01-08 15:57:46 +01:00
Jeldrik Hanschke
da16d8d199
Add and delete buttons should indicate focus ( #332 )
...
Add and delete buttons used for option creation don't have any text (except
for screenreader) but only an icon. Open Iconic uses a display: inline-block
for icons as default. But that one prevents text decoration from being applied.
Since text decoration is used to visually indicate focus, that's a serious
accessibility issue.
Closes #293
2020-01-05 15:36:54 +01:00
Jeldrik Hanschke
31118748ce
improve spanish translation ( #333 )
...
Accordingly to a spanish user the translation for validation error "Times
must be explicit" should be "Horas deben ser explícitas". Changed the
template accordingly. Hopefully that also makes sense for other unique
validations.
Closes #311
2020-01-03 13:41:31 +01:00