Commit Graph

39 Commits

Author SHA1 Message Date
1dd9df9cd0 REFACTOR: removes overwritten properties and duplicates fn (#9686) 2020-05-07 16:39:53 +02:00
4e0b2ae294 DEV: defines a constant for INPUT_DELAY (#9169) 2020-03-11 15:28:16 +01:00
48ba65f406 DEV: Clean up Ember imports (#8979)
Includes:
* Import `computed` helpers
* Import `@ember/application`
* Import `isBlank` from `@ember/utils`
* Import `A` from `@ember/array`
* Import `EmberArray` from `@ember/array`
* Import `ArrayProxy` from `@ember/array/proxy`
* Import `warn` from `@ember/debug`
* Import `EmberObject` from `@ember/object`
* Import `Application` from `@ember/application`
* Import `EmberRouter` from `@ember/routing/router`
* Import `isPresent` from `@ember/utils`
* Import `computed` from `@ember/object`
* Import `guidFor` from `@ember/object`
* Import `isArray` from `@ember/array`
* Import `TextField` from `@ember/component`
* Import `TextArea` from `@ember/component`
* Import `Promise` from `rsvp`
* Import `Evented` from `@ember/object/evented`
* Replace deprecated `ember-addons/ember-computed-decorators` imports
2020-03-06 23:49:28 +01:00
6be685ac67 DEV: Find/replace deprecated decorators 2020-02-19 11:49:56 -05:00
fe588cc7f8 DEV: Fix function prototype deprecations (#8681)
* DEV: Fix the function prototype observers deprecation

DEPRECATION: Function prototype extensions have been deprecated, please migrate from function(){}.observes('foo') to observer('foo', function() {}). [deprecation id: function-prototype-extensions.observes] See https://deprecations.emberjs.com/v3.x/#toc_function-prototype-extensions-observes for more details.

* DEV: Fix the function prototype event listeners deprecation

DEPRECATION: Function prototype extensions have been deprecated, please migrate from function(){}.on('foo') to on('foo', function() {}). [deprecation id: function-prototype-extensions.on] See https://deprecations.emberjs.com/v3.x/#toc_function-prototype-extensions-on for more details.

* DEV: Simplify `default as` imports

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2020-01-16 18:56:53 +01:00
da04c602ba REFACTOR: Remove debounce to discourseDebounce
Otherwise it can be confused with the ember debounce
2019-11-11 13:34:01 -05:00
90f934a660 REFACTOR: Use a module for Ember.isEmpty 2019-11-01 13:50:15 -04:00
8d34f4bbd9 Revert "Revert Ember.run refactors"
This reverts commit fcb1ca52f96bdff1a49d558a4ffb18107d8334de.
2019-10-30 09:48:24 -04:00
fcb1ca52f9 Revert Ember.run refactors
This reverts commit 5ca60fcb6b592524086f98279d3e4fd949598343.
2019-10-29 17:10:47 -04:00
5ca60fcb6b REFACTOR: Use imports for Ember.run 2019-10-29 15:31:56 -04:00
a8a76198b1 REFACTOR: Remove Ember.Component global variable
Use imports instead.
2019-10-23 12:30:52 -04:00
f4543ff02a FIX: ensures pikaday picker is showing in UTC (#7968) 2019-08-06 08:41:38 +02:00
a68d8de72f UX:UX: Use shorter weekday labels in local-dates plugin 2019-08-05 14:21:59 +02:00
bfea922167 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
f3a346464e FIX: allTimezonesd was mistakenly removed (#7513) 2019-05-09 10:22:54 +02:00
5c8213ffd3 removes debugging statement (#7362) 2019-04-11 15:02:38 +02:00
7dd684744c UX: sets min date on calendar when initial date is set (#7361) 2019-04-11 14:37:39 +02:00
46dc38e5a5 UX: minor local-dates form improvements (#7360) 2019-04-11 14:03:53 +02:00
7226240df3 UX: full revamp of local-dates form (#7357) 2019-04-11 11:14:34 +02:00
ad5edc8bb1 UX: copy and formating improvements to local-dates form (#7343) 2019-04-09 10:33:01 +02:00
02d8931425 UX: more compact local-dates preview (#7305) 2019-04-02 14:39:20 +02:00
9a56b398a1 UX: improves local-dates form (#7268) 2019-03-28 16:34:56 +01:00
9bf11a7c02 FEATURE: Add localized timezone names (#7004)
Uses github.com/discourse/moment-timezone-names-translations to translate timezone names.
Plugins can also provide their own timezone name translations.
2019-02-25 14:40:02 -05:00
523e0248e1 FIX: recurrence was not applied when selected in the form (#6820) 2018-12-28 12:36:49 +01:00
b0d08b5a8c FEATURE: refactoring and better handling of special cases (#6666) 2018-11-26 14:20:32 +01:00
3ff3bb6e2a FIX: improves code, tests and utc handling of local-dates (#6644) 2018-11-22 17:19:24 +01:00
c4ed353fae DEV: removes _.map from codebase (#6616) 2018-11-19 10:46:46 +01:00
7a6c227fa4 UX: Use local timezone for insert date modal result 2018-10-09 20:15:32 +05:30
3ed9533066 FEATURE: adds support for seconds in local-dates (#6339) 2018-08-30 12:38:05 +02:00
c580a39d49 FIX: infers time from tz creator to ensure day shown is the one expected 2018-07-16 01:04:50 +02:00
6e3a2197f8 FIX: removes UTC conversion when date and no time 2018-07-05 10:58:53 +02:00
d12194c438 FIX: uses a non cooked to emoji arrow for local dates ranges 2018-07-04 23:56:56 +02:00
61955d2aa1 FIX: only change to time format when dealing with today's time 2018-07-02 16:50:15 -07:00
acd1693dac FEATURE: simplifies the same day hour to hour use case in local dates 2018-06-25 22:16:07 +02:00
41b71b58a9 UX: experimental ranges for local dates 2018-06-11 13:16:03 +02:00
0c3a0b59cd unused code 2018-05-30 19:07:08 +02:00
c3ec758107 UX: improves local-dates modal form UI 2018-05-30 19:05:41 +02:00
42b2bfe262 FIX: adds quotes around format when creating a local date 2018-05-28 11:05:37 +02:00
Sam
2ed7b6e459 lots of missing files 2018-05-04 16:54:31 +10:00