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
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
95d53baae9
refactor: remove route actions ( #166 )
2019-02-24 00:32:37 +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
96f1990542
fix: label should reflect validation state of all times of a day
2019-01-03 00:46:36 +01:00
Jeldrik Hanschke
cf9efe993b
refactor: replace LESS by SASS
2019-01-02 23:48:48 +01:00
Jeldrik Hanschke
af4fe70f72
refactor: drop ember-simple-select
2019-01-02 23:48:36 +01:00
Jeldrik Hanschke
3091f9ac5e
deps: upgrade ember-page-title
...
Current page title is put before generic one, e.g. "Create a poll | Croodle"
instead of "Croodle | Create a poll". This was an upstream change with
could reasoning. Have a look here:
https://github.com/adopted-ember-addons/ember-page-title/releases/tag/5.0.0
Version 4.0.0 required the `{{head-layout}}` component in application's
template:
https://github.com/adopted-ember-addons/ember-page-title/releases/tag/4.0.0
2018-12-31 14:12:21 +01:00
Jeldrik Hanschke
3330151156
refactor: drop unnecessary dynamic component usage
2018-12-31 12:09:23 +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
b7e63ed83b
refactor: replace ember-object-at-helper by ember-composable-helpers
2018-12-30 10:06:49 +01:00
Jeldrik Hanschke
71d303174e
refactor: drop ember-array-computed-macros
2018-12-30 01:04:33 +01:00
jelhan
b8af8ea121
Merge pull request #148 from jelhan/fix-translation-of-validation-errors
...
fix: validation errors should be translated
2018-12-29 22:09:22 +01:00
Jeldrik Hanschke
8f591e2978
refactor: use version provided in config in favor of ember-cli-build-info
2018-12-29 22:09:14 +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
78ddf381c1
deps: upgrade ember-cli-bootstrap-datepicker
...
Drops another bower dependency. 🎉
2018-12-29 20:23:19 +01:00
Jeldrik Hanschke
6592102837
deps: upgrade ember-cp-validations to 3.x
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
fe826666ba
Fixes "TypeError: attempted to assign to readonly property" in Safari 10.1
2017-08-31 14:24:49 +02: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
fc342b6c05
Fix: poll creation time is not displayed as formatted
...
Also fixes #122
2017-08-13 20:32:23 +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
e99a2f13b8
Fix: chart options are overriden by poll options
...
Bug introduced by 1df562b352
.
2017-08-03 16:44:38 +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
96ec32aa3e
Fix: ember-i18n does not provide a default locale configuration for catalan
2017-08-01 09:48:48 +02:00
jelhan
53a34fcc2f
Fixes DEPRECATION: Importing from the model-fragments
module is deprecated.
...
Instead import from `ember-data-model-fragments
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
jorge_SD
b517f0dee2
improve spanish translations
2017-07-29 15:16:56 +02:00
jelhan
13598fbe1b
include catalan and italian locales for moment and bootstrap-datepicker
2017-07-28 10:52:22 +02:00
jorge_SD
1b815f0ee9
add italian and catalan translations; improve english translations
2017-07-28 10:40:22 +02:00
jelhan
364147f4b6
fix build issue by updating ember-moment
2017-07-25 17:17:39 +02:00
heavygale
9f05db9b2e
Small tweaks for the german translation
2017-07-04 10:48:35 +02:00
jelhan
495d56c6ea
language selct should allways be inline
...
`.form-inline` only applies to forms within viewports that are at least 768px wide.
2017-02-09 17:34:05 +01:00
jelhan
b5b547fce6
Fix: assets should be relative to index.html to support installation in subdirectories
2016-12-25 23:01:22 +01:00
jelhan
387e6adcdc
improve detection of language prefered by user
2016-12-03 20:44:40 +01:00
jelhan
d76783c9cf
refactor form navigation to use a component
2016-09-23 19:39:31 +02:00
jelhan
fa0ac48500
Readd spanish translation
...
thanks to @rugk
2016-09-20 11:50:04 +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
17b7f81dea
UX: next and back buttons in create wizzard in xs and sm
2016-09-18 20:44:22 +02:00
jelhan
ed87a86c2c
Fixes #115
2016-09-18 20:16:17 +02:00
rugk
e97c666458
Improve CSP header & add Referrer-Policy
2016-09-02 21:35:55 +02:00
jelhan
d6f7bb761c
Fixed some typos
...
Thanks to @aehm03 for reporting via twitter:
https://twitter.com/aehm03/status/770918866658754560
2016-08-31 12:12:37 +02:00
jelhan
d5705b2c3b
Fix: participation table header should not overflow container
...
Was introduced by this breaking change in jquery.floatThead:
3973eb523a
2016-08-30 11:10:05 +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
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
9a33e08ac4
browser should not mess around with our validation logic
2016-08-20 23:41:27 +02:00
jelhan
17d4a3feda
save button should have suitable text
2016-08-20 23:35:54 +02:00
jelhan
8441c92295
use poll title as page title
...
Part of #76
2016-08-20 23:28:39 +02:00
jelhan
afb06e4f12
Fix: novalidate
option of {{bs-form}}
should be true (and not string 'true')
...
This had been fixed in ember-bootstrap 0.9.0
2016-08-20 22:59:50 +02:00
jelhan
8d9278a9ee
show validation immediately after change for select and radio buttons
...
Introduced this feature by https://github.com/kaliber5/ember-bootstrap/pull/127
2016-08-20 22:51:21 +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
3d251bc9fb
provide status bar to indicate steps of poll creation wizard
...
part of #76
2016-08-14 22:57:10 +02:00
jelhan
6653da8ee4
Fix: CSP style-src: 'unsafe-inline' violation
...
Could get rid of `style-src: 'unsafe-inline'` after
https://github.com/mkoryak/floatThead/pull/321 has been merged
and made it's way in a new release.
Part of #90
2016-08-13 18:46:46 +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
b5b00dcf99
Fix deprecation: EMBER-APPLICATION.APP-INSTANCE-CONTAINER
...
http://emberjs.com/deprecations/v2.x/#toc_ember-applicationinstance-container
2016-08-12 23:09:43 +02:00
jelhan
8b319ed1a9
this.resource is deprecated; this.route is doing the same
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
c8fbc62d8c
deprecations in ember data 1.13
2016-08-12 13:33:03 +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
92c2c353d8
Fix view deprecation by refactoring to component
2016-08-11 23:37:14 +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
jelhan
d8a014b677
Label (day) validation state should reflect validation states of all related input fields (times)
2016-08-01 21:35:06 +02:00
jelhan
376821db98
improve wrong time form validation message
2016-07-28 09:56:24 +02:00
jelhan
6158a0afe0
Only show "copy and paste times of first day to all other days" if there
...
is more than one day
2016-07-28 01:22:09 +02:00
jelhan
c23ade384a
Improve text
2016-07-28 01:19:28 +02:00
jelhan
145a4ea96a
Fix: reuse existing arrayproxy since otherwise it's not connected to model anymore
2016-07-27 23:06:54 +02:00
jelhan
0627d409b5
Fix: adblock plus blocks every element having class .share-link
2016-07-27 21:49:12 +02:00
jelhan
5521b29409
Fix: feedback icons are only supported for input elements by bootstrap
2016-07-27 15:17:10 +02:00
jelhan
724a995372
Fixes: invalid times should not be adopted on other days
2016-07-05 11:26:03 +02:00
jelhan
baa09bc19f
translations: missing space
2016-07-04 14:42:18 +02:00
jelhan
a28923ead2
refactor to use groupBy computed macro of ember-array-computed-macros instead of ember-group-by
2016-07-04 14:39:00 +02:00
jelhan
0c0dc44195
reactored to use array computed macros for cleaner code
2016-07-03 19:49:36 +02:00
jelhan
aafe5966e3
Fix: Confusing unique validation error messages for options
2016-07-03 16:50:42 +02:00
jelhan
3c187886c1
remove unnecessary complexity
2016-06-27 13:04:20 +02:00
jelhan
2e128e3c3c
Fix: confusing validation present error for answer selection in poll participation
2016-06-27 12:53:05 +02:00
jelhan
0460fe56b1
Merge branch 'master' of github.com:jelhan/croodle
2016-06-27 12:52:30 +02:00
jelhan
9a21eb126a
Fix: submit if no day is selected
2016-06-27 12:49:40 +02:00
rugk
92d1534dd8
Improve German translation
2016-06-21 19:49:52 +02:00
jelhan
01bd5a6466
remove formatted-date helper (not in use anymore)
2016-06-21 01:44:50 +02:00
jelhan
1ab337d015
Fixes: Force names of participants to be unique if anonymous participation is not allowed.
2016-06-21 01:13:52 +02:00
jelhan
7b2a9672f4
Fixes: Date in poll evaluation summary does not observe locale changes.
2016-06-20 20:48:48 +02:00
jelhan
0d658e1f61
Merge branch 'master' of github.com:jelhan/croodle
2016-06-20 19:28:35 +02:00
jelhan
a7e141828d
Fixes #89
2016-06-20 19:28:10 +02:00
shadow
38dfd3c125
[translation] - Added new english version
2016-06-17 13:11:49 +02:00
jelhan
9d9121c04e
all outstanding PRs for ember-bootstrap got merged
2016-06-14 13:53:22 +02:00
jelhan
308b8fb367
preserve existing times if day selection is changed
2016-06-13 11:14:42 +02:00
jelhan
86a233fb02
Fix: do not delete a date if it's the last one for this day
...
Details: https://github.com/jelhan/croodle/issues/99#issuecomment-225140574
2016-06-10 20:59:02 +02:00
jelhan
acc05d68c5
remove webshim polyfills
...
UX in browser which does not support time input type should be okay know by
validation messages and placeholder. Wasn't even used anymore in latest release.
Affects #90 but does not resolve 'unsafe-inline' requirement cause to
ember-bootstrap (https://github.com/kaliber5/ember-bootstrap/pull/98#discussion_r66586065 ).
2016-06-10 11:35:55 +02:00
jelhan
341fafaaec
placeholder for time input type as a shim if browser does not support it
...
otherwise placeholder is ignored due to spec
http://caniuse.com/#feat=input-datetime
2016-06-10 11:12:49 +02:00
jelhan
7774e76551
Fixes: Tab navigation buttons on poill page are not translated.
2016-06-10 10:53:05 +02:00
jelhan
a76d5cc9a1
Fixes #100
2016-06-10 10:44:29 +02:00
jelhan
bcccffacec
Fix: adopt times of first day if there aren't any times on first day
2016-06-09 12:27:51 +02:00
jelhan
327d6cd737
object-at helper as addon
2016-06-08 18:42:26 +02:00
jelhan
2c11fe41bf
perserve validation state in create/options-datetime by avoiding rerender
2016-06-08 13:56:06 +02:00
jelhan
72513bf893
remove ember-form-master-2000
2016-06-06 01:19:24 +02:00
jelhan
5b8d59c00b
rewrite create/options-datetime with ember-bootstrap
...
ToDo left:
refactor `datetimes` property of `create-options-datetime` component to
not cause whole list to be updated. This is not only a performance issue
but also UX: e.g. validation state is lost when another item is added.
2016-06-06 01:19:24 +02:00
jelhan
3f84279b6a
create/options (findADate) label validation state reflect all options
2016-06-06 01:19:24 +02:00
jelhan
4a31aaa616
use ember-bootstrap in create/options
...
ToDo:
Label validation state should not be bound to validation state of first element (option)
but to validation state of all elements. If any element has an error label validation state
should be error. Only if all elements are fine, label validation state should also be fine.
2016-06-06 01:19:24 +02:00
jelhan
529c96420b
Fixes: undefined is not a function (swap) caused by webshim
...
https://github.com/aFarkas/webshim/issues/560
2016-06-06 01:19:24 +02:00
jelhan
0592eff1f0
ember-bootstrap for poll/participation
2016-06-06 01:19:23 +02:00
jelhan
3adecc772d
fix modal to choose timezone
...
user must explicit choose a timzone:
* do not show default footer
* do not show close button (x)
* do not close if user clicks outside modal
* do not close on escape button
2016-06-06 01:19:23 +02:00
jelhan
32f9c3e633
use ember-bootstrap in create/index, create/meta, create/settings
2016-06-06 01:19:23 +02:00
jelhan
79f6e3411b
rewrite modal to chose timezone with ember-bootstrap
2016-06-06 01:19:23 +02:00
jelhan
e558cccb60
add ember-bootstrap
2016-06-06 01:19:23 +02:00
rugk
2c60e2d3cf
German translation: Missing capital letter
2016-06-04 18:19:17 +02:00
jelhan
568e23e0bc
update validation error on locale change
2016-05-23 13:40:45 +02:00
jelhan
49a11a0326
observe locale changes on validation error messages
...
https://github.com/jasonmit/ember-i18n-cp-validations/issues/12
2016-05-23 12:42:47 +02:00
jelhan
7c56c5c5e0
Fix: missing translations
2016-05-21 20:05:13 +02:00
jelhan
c8847d4814
Fix: duplicates in options arrays
...
Occurs if another day is added to an option array already having times
2016-05-21 18:37:23 +02:00
jelhan
c9ef942c79
Fixes #84
2016-05-21 17:17:08 +02:00
jelhan
fba32d3590
Fix deprecation: using @each as a leaf node in a dependent key
...
http://emberjs.com/deprecations/v1.x/#toc_using-code-each-code-as-a-leaf-node-in-a-dependent-key
Also fixes coding style:
* use Ember.computed instead of {}.property()
* use Ember.observer instead of {}.observes()
2016-05-20 23:43:05 +02:00
jelhan
5542ecd52f
not used anymore ...
2016-05-20 23:24:04 +02:00
jelhan
70f7879ee7
Fixes #55
2016-05-20 21:49:29 +02:00
jelhan
08e9f68197
remove polls isDateTime attribute
2016-05-18 13:18:36 -07:00
jelhan
f3426b2a7d
support creating polls with only one option
...
There might be use cases and it simplifies validation a lot.
Also fixes this missing translation message mentioned in #84 :
> /create/options-datetime: There isn't any validation error shown when validation fails due to not enough times.
2016-04-15 11:21:26 +02:00
jelhan
e5c5198601
Fixes #85
2016-04-09 01:52:54 +02:00
jelhan
3e92fa8c87
Switch to bootstrap fixed-width grid layout.
...
Part of #76
2016-03-21 22:08:51 +01:00
jelhan
c240b712b6
Fixes #88
...
Also fixes test which was false positive and added some other tests.
2016-03-21 22:06:08 +01:00
jelhan
cb66fb18bc
Fix: Sort must return a signed number not a boolean
...
Chrome and Firefox are find with boolean but nodejs and edge are more strict.
2016-03-20 16:05:20 +01:00
jelhan
aa6483c4d1
Fixes #81
2016-03-20 15:31:24 +01:00
jelhan
6f6395e430
Fixes #82
2016-03-18 20:26:41 +01:00
jelhan
255c6a97e8
Fixes #80
2016-03-18 13:27:34 +01:00
jelhan
e8b6776f9a
Fixes #79
2016-03-18 13:15:47 +01:00
jelhan
277d51e650
poll evaluation as stacked bar chart
2016-03-17 13:32:53 +01:00
jelhan
03de059fd1
Fix: Do not ask which timezone should be chosen if there is no timezone defined in poll
2016-02-23 00:02:16 +01:00
jelhan
b7b57ef051
store timezone only if there is atleast one option including time
...
isDateTime could be true even if there isn't any option with time
2016-02-22 23:55:59 +01:00
jelhan
8ede03b604
Fix: Date was not shown if there were multiple best options
2016-02-22 23:42:01 +01:00
jelhan
9b6d0822b2
not used anymore
2016-02-18 21:18:48 +01:00
jelhan
f62963b26f
define times as default
2016-02-18 21:10:38 +01:00
jelhan
014c717d34
sort options after times where set
2016-02-18 12:06:54 +01:00
jelhan
b921632465
reimplement adopt times of first day (was: copy first line)
2016-02-16 04:02:59 +01:00
jelhan
0f9cdac67c
not needed anymore
2016-02-16 02:28:18 +01:00
jelhan
0fd12adf65
move time selection to separate page again
2016-02-16 02:26:27 +01:00
jelhan
4b33ddf48e
Support polls findADate with mixed dates and datetimes
2016-02-13 18:37:33 +01:00
jelhan
e60374aa60
ingore last JSCS error
2016-02-13 16:37:52 +01:00
jelhan
0e4fd114cb
some improvement on validations
2016-02-09 01:16:18 +01:00
jelhan
c53593d2cf
options must be unique
2016-02-08 23:46:30 +01:00
jelhan
906ab6f053
We don't need this check; should be present also if it's a date
2016-02-08 21:01:15 +01:00
jelhan
f58e4dce25
Merge branch 'master' into rewrite-create-options
2016-02-02 13:08:05 +01:00
jelhan
9ef4975134
some more code style
2016-02-02 12:55:11 +01:00