Commit graph

150 commits

Author SHA1 Message Date
jelhan
95d53baae9
refactor: remove route actions (#166) 2019-02-24 00:32:37 +01:00
Jeldrik Hanschke
af4fe70f72 refactor: drop ember-simple-select 2019-01-02 23:48:36 +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
8f591e2978 refactor: use version provided in config in favor of ember-cli-build-info 2018-12-29 22:09:14 +01:00
Jeldrik Hanschke
11265cb82d deps: upgrade ember to 2.18 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
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
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
632c36eb12 updates dependencies and fixes property modified twice in a single render deprecations 2017-08-01 09:48:48 +02:00
jelhan
364147f4b6 fix build issue by updating ember-moment 2017-07-25 17:17:39 +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
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
1400b71417 updates ember, ember data and ember data model fragments and fixes some container deprecation 2016-08-12 23:09:37 +02:00
jelhan
1396957297 Fix: use a new record per user
was broken by 66b89456d3
2016-08-12 00:43:05 +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
2e128e3c3c Fix: confusing validation present error for answer selection in poll participation 2016-06-27 12:53:05 +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
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
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
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
08e9f68197 remove polls isDateTime attribute 2016-05-18 13:18:36 -07: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
014c717d34 sort options after times where set 2016-02-18 12:06:54 +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
8f08e57d1d fix some more code style issues 2016-01-28 23:48:14 +01:00
jelhan
611f15d574 just some code style fixes 2016-01-28 22:49:14 +01:00
jelhan
c5e66436b7 Merge branch 'master' into rewrite-create-options 2016-01-28 11:27:58 +01:00
jelhan
95c5142ad1 some more JSCS fixes 2016-01-28 11:27:00 +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
32106b7e79 Merge branch 'master' into rewrite-create-options 2016-01-20 03:19:28 +01:00
jelhan
e9a6f9ff41 fix some more JSCS code style errors 2016-01-20 03:19:10 +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
f42d68542e Fix jshint: Don't make functions within a loop 2016-01-18 18:50:26 +01:00
jelhan
db038b1e57 fix locale storage in cookie 2015-12-07 22:23:08 +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
ae52eb8be1 refactor validator time and allow i18n of error messages for valid-collection 2015-11-22 19:11:32 +01:00
jelhan
8fd91171f9 Controller#needs is deprecated, please use Ember.inject.controller() instead
http://emberjs.com/deprecations/v1.x/#toc_controller-needs
2015-11-22 16:09:52 +01:00