Jeldrik Hanschke
f25625f40d
rafactor create/options-datetime controller to component ( #819 )
2023-12-19 19:28:04 +01:00
Jeldrik Hanschke
f9f0c365e8
refactor create/options controller to component ( #815 )
2023-12-17 23:10:57 +01:00
Jeldrik Hanschke
de9d58b434
use Prettier for Glimmer templates ( #731 )
2023-11-05 20:57:52 +01:00
Jeldrik Hanschke
147f5dace4
Report copy success via tooltip at copy button ( #730 )
...
* refactor copy button to show success with tooltip
* remove ember-cli-flash
* update expected bundlesize
2023-11-05 17:06:27 +01:00
Jeldrik Hanschke
88a51964f1
report poll saving errors using a modal ( #729 )
2023-11-05 12:19:47 +01:00
Jeldrik Hanschke
0c4ef6fc5b
fix ESLint warnings for QUnit ( #725 )
2023-11-04 17:32:09 +01:00
Jeldrik Hanschke
76586f165d
Introduce typed templates with Glint ( #714 )
2023-11-04 14:54:30 +01:00
Jeldrik Hanschke
05364a307d
refactor logic to initalize locale ( #719 )
2023-11-03 20:16:25 +01:00
Jeldrik Hanschke
f0cff27e99
Convert to TypeScript ( #713 )
...
* setup typescript
* covert to TypeScript
2023-10-29 19:16:33 +01: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
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
Jeldrik Hanschke
8bb8af265f
upgrade blueprints to v5.3 ( #693 )
2023-10-17 11:38:49 +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
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
renovate[bot]
31577201d8
Update dependency ember-cli-mirage to v3 ( #646 )
...
* Update dependency ember-cli-mirage to v3
* follow upgrade guide
* fix test setup
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
2023-10-15 23:26:27 +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
871e970ba0
may not be the same day depending on current time and timezone if using UTC time ( #675 )
2023-10-15 23:20:53 +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
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
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
Jeldrik Hanschke
4fd4333c3c
simplify autofocus implementation using a modifier ( #465 )
2020-10-27 22:34:08 +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
88089df7c0
Safari parses date-time strings without explicit time zone as UTC ( #364 )
...
Safari does not follow ES5 / ECMAScript 2015 date parsing rules. Per spec a date that has day + time but does not have an explicit time zone (e.g. "2019-01-01T00:00") should be parsed in local time. But Safari treats that one as UTC.
2020-01-31 21:45:58 +01: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
5e5dbe84db
test should not depend on time zone
...
This hopefully fixes the flickering tests in Safari.
2020-01-03 14:25:37 +01:00
Jeldrik Hanschke
3d48c221a0
use specialised button for saving ( #331 )
...
Adds a <SaveButton> component that renders a save button similar to
<NextButton> but using a special icon that helps to distinguish both.
Also removes the block mode for <NextButton> component and some arguments
that aren't needed anymore.
Closes #294
2020-01-02 17:13:36 +01:00
Jeldrik Hanschke
d9b1bf7b5a
Improve test coverage for validation on participation form ( #308 )
...
* add tests that participation form is validated
* assert that first invalid form element is focused on invalid submission attempt
2019-11-20 14:52:23 +01:00
renovate[bot]
2dc5c22409
Update dependency ember-bootstrap to v3 ( #255 )
2019-11-14 21:18:52 +01:00
Jeldrik Hanschke
4e6d046ec7
add abort button to retry save modal and several other fixes for it ( #291 )
...
Croodle shows a modal if saving a participation fails. The modal allows
a user to retry the save attempt. While it was always possible to close
the button by clicking on backdrop or using escape key, a button to do so
was missing. A user may not know about the user ways and may see reloading
the page as only possibilty to close the modal if he doesn't want to retry
again.
This adds the missing abort button and fixes some smaller bugs including:
- The modal was missing a title.
- If the modal was closed once it wasn't reopened on another failed saving
attemp unless the user has visit another page in between.
- Several arguments were passed to <BsModal> that weren't existing at all.
2019-11-10 10:25:51 +01:00
Jeldrik Hanschke
c55beabcfe
scroll first invalid input into view port on invalid submission ( #282 )
2019-11-02 21:57:59 +01:00
Jeldrik Hanschke
6571a07ca5
show validation error if time input is partially filled ( #279 )
2019-11-02 16:51:47 +01:00
Jeldrik Hanschke
41ddafdb72
fix failing test due to unexpected version format ( #271 )
2019-10-31 07:43:22 +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
jelhan
65063c71ce
validation error is flashing up for name input while saving participation ( #219 )
2019-06-14 23:58:53 +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
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
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