jelhan
d76783c9cf
refactor form navigation to use a component
2016-09-23 19:39:31 +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
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
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
3d251bc9fb
provide status bar to indicate steps of poll creation wizard
...
part of #76
2016-08-14 22:57:10 +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
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
92c2c353d8
Fix view deprecation by refactoring to component
2016-08-11 23:37:14 +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
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
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
01bd5a6466
remove formatted-date helper (not in use anymore)
2016-06-21 01:44:50 +02:00
jelhan
7b2a9672f4
Fixes: Date in poll evaluation summary does not observe locale changes.
2016-06-20 20:48:48 +02:00
jelhan
9d9121c04e
all outstanding PRs for ember-bootstrap got merged
2016-06-14 13:53:22 +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
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
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
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
7c56c5c5e0
Fix: missing translations
2016-05-21 20:05:13 +02:00
jelhan
c9ef942c79
Fixes #84
2016-05-21 17:17:08 +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
3e92fa8c87
Switch to bootstrap fixed-width grid layout.
...
Part of #76
2016-03-21 22:08:51 +01:00
jelhan
aa6483c4d1
Fixes #81
2016-03-20 15:31:24 +01:00
jelhan
277d51e650
poll evaluation as stacked bar chart
2016-03-17 13:32:53 +01:00
jelhan
8ede03b604
Fix: Date was not shown if there were multiple best options
2016-02-22 23:42:01 +01:00
jelhan
b921632465
reimplement adopt times of first day (was: copy first line)
2016-02-16 04:02:59 +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
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
74691ef508
Turn checkbox to toggle switch by Bootstrap Switch
2016-02-02 10:20:44 +01:00
jelhan
4937d9b27b
create-options-datetime is reimplemented; add / delete of options also works
...
main work seems to be done
2016-01-22 00:19:46 +01:00
jelhan
ec3999bbc9
input datetimes
...
ToDo:
* integration test for options-create-datetime
* acceptance tests for poll find a date with times
* some translations
* ...
2016-01-20 02:52:21 +01:00
jelhan
ce2a8c8e1f
done most things except date with times
...
also validation messages are missing
2016-01-19 04:56:51 +01:00
jelhan
db038b1e57
fix locale storage in cookie
2015-12-07 22:23:08 +01:00
jelhan
0531c94643
missing translation
2015-11-26 12:26:22 +01:00
jelhan
8e2c188cf6
update properties on locale change
2015-11-24 00:53:03 +01:00
jelhan
20d3a29887
update dates on locale change
...
* upgraded ember-moment and use it application-wide service to set locale
* label on poll/participation now observes locale changes, but it's still hacky
* replace computed property on views poll by moment-format helper of ember-moment
2015-11-23 13:32:40 +01:00
jelhan
798527a4ae
refactor to be in line with https://github.com/Emerson/ember-form-master-2000/pull/38
2015-11-22 19:15:15 +01:00
jelhan
1e89776d9e
DEPRECATION: You're using legacy binding syntax
2015-11-22 14:33:32 +01:00
jelhan
2f9ad47edf
Fix bind-attr deprecation
...
http://emberjs.com/deprecations/v1.x/#toc_bind-attr
2015-11-22 14:28:32 +01:00
jelhan
fbd47f415b
unused since ember-easy-form-extensions was dropped
2015-11-22 14:28:07 +01:00
jelhan
2f4c6f7d07
Fix: DEPRECATION: Using the '{{#each item in model}}' form of the {{#each}} helper
...
is deprecated. Please use the block param form instead ('{{#each model as |item|}}').
See http://emberjs.com/guides/deprecations/#toc_code-in-code-syntax-for-code-each-code
for more details.
2015-11-22 14:17:37 +01:00
jelhan
4c597352ad
update ember-from-master-2000
2015-11-20 23:02:35 +01:00
jelhan
c1dfa16eed
update ember-i18n
2015-11-20 02:18:19 +01:00
jelhan
f67381c6b9
remove ember-easy-form-extensions, finally
2015-11-19 21:51:49 +01:00
jelhan
3563e41913
time input as normal form instead of table
...
part of #76
replaces ember-easy-form-extensions and ember-validations by
ember-cp-validations and ember-form-master-2000
dropped webshim for input type time; should be readded to improve
user experience in browser which does not support this input field
yes (e.g. Internet Explorer, Edge, Firefox)
2015-11-19 21:16:32 +01:00
jelhan
335dfd8ff2
validate each input field on it's own
2015-11-17 00:30:24 +01:00
jelhan
6f6cc8b61d
rewritten create/index and create/meta with ember-cp-validations and ember-form-master-2000
2015-11-16 14:28:00 +01:00
jelhan
ca387848ed
create/options input fields for make a poll with add / delete buttons
...
also rewritten using ember-cp-validations and ember-form-master-2000
2015-11-16 13:09:13 +01:00
jelhan
3706e88620
normal defaults and override them if necessary
2015-11-15 19:49:59 +01:00
jelhan
de359576f5
fix: bootstrap layout
2015-11-15 17:03:55 +01:00
jelhan
8ecb082ce3
move 'horizontal' class to config in initializer
2015-11-15 16:50:19 +01:00
jelhan
01f9b6e61f
extract participation form from participants table and make it a bootstrap form
...
started replacing ember-easy-form-extensions by ember-form-master-2000
and ember-validations by ember-cp-validations
using ember-form-master-2000 in old 0.2 release cause newer releases does not work with ember 0.12
should move to ember 2.x as soon as possible
therefore ember-easy-form-extensions has to be dropped and ember-i18n been updated
part of #76
2015-11-12 15:52:14 +01:00
jelhan
475245d04f
evaluation summary as component
2015-11-03 12:57:41 +01:00
jelhan
858b75e543
routable tabs in poll view for participation and evaluation
2015-11-02 23:02:59 +01:00
jelhan
3a197f20f3
Fix: show users sorted by creation date and correct date of last participation in evaluation
2015-10-25 17:15:57 +01:00
jelhan
243ed3b12a
model fragments for user selections (currently same as answers)
2015-10-25 15:32:42 +01:00
jelhan
dd1a8436e0
model fragments for answers
2015-10-25 15:29:47 +01:00
jelhan
72d50350c4
Fixes #50 and tests for 1b02c26
2015-10-16 16:49:18 +02:00
jelhan
5a240e79e1
added some (ugly) tests for evaluation
2015-08-21 12:10:02 +02:00
jelhan
398453c1e4
do encryption / decryption in serializer
...
before it was done as computed properties of model
accessing encryption key in serializer is done via global application var.
this should be removed in long-term
2015-08-19 22:00:01 +02:00
jelhan
3e000f146d
even more user-friendly evaluation
2015-08-19 13:27:14 +02:00
jelhan
22d9e5045c
Merge branch 'master' into evaluation
2015-08-01 23:54:53 +02:00
jelhan
7cef56c2d1
some more tests about showing correct dates and times and handeling
...
different time zones
2015-08-01 23:54:07 +02:00
jelhan
bf1f038a43
fix times in table headers
2015-08-01 22:53:58 +02:00
jelhan
fa0175e352
fix times in table headers
2015-08-01 22:43:06 +02:00
jelhan
6f7148a86f
Merge branch 'master' into evaluation
...
Conflicts:
app/controllers/poll.js
2015-08-01 22:22:07 +02:00
jelhan
3690a60496
[FEATURE] add expiration date for polls
2015-07-26 19:41:59 +02:00
jelhan
2a3acf31ce
Fix: webshim inputs were not updated
2015-07-23 23:49:23 +02:00
jelhan
2839b09ad9
more user-friendly evaluation
2015-07-15 14:24:57 +02:00
jelhan
612086c73c
intend by 2 spaces
2015-07-07 11:52:46 +02:00
jelhan
67cc41973f
Ember.ObjectController is deprecated since ember 1.11
...
Ember.ObjectController was proxying model properties to controller. Ember.Controller which should be used is not.
Therefore we have to define if it's a property of controller or model.
Also added two more tests:
* anonymous participation
* do not force an answer for all options
2015-07-01 16:21:18 +02:00
jelhan
5cce0a236d
Fix: freetext answer where broken by caba42a853
...
added test to not let it happen again
2015-06-20 18:33:51 +02:00
jelhan
b1dc1b5bac
use ember-cli-boostrap-datepicker
2015-04-04 02:43:59 +02:00
jelhan
6a3bf398c2
Fix: div closed to early; box should be part of #poll
2015-04-02 21:23:06 +02:00
jelhan
b2db75221a
fix
2015-04-02 21:16:31 +02:00
jelhan
caba42a853
using ember-cli-easyform-extensions as it support ember >= 1.10
2015-04-02 20:28:35 +02:00
jelhan
8c8e1d37cd
missing closing tag
2015-03-25 18:57:27 +01:00
jelhan
76da012143
{view Ember.Select} is deprecated in favor of {view "ember"} since EmberJS 1.8
2015-02-17 02:50:16 +01:00
jelhan
bc4ebadf1b
fix: add a user to a default poll test
2015-01-24 18:31:21 +01:00
jelhan
f0a09d9aee
handle connection issues on user save:
...
* show error message (modal)
* provide retry button
fixes #66
2015-01-21 01:30:14 +01:00