Commit Graph

108 Commits

Author SHA1 Message Date
5037b80c9c Merge imports from the same module (#9144) 2020-03-09 17:38:37 +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
b0675075f7 Update translations 2020-02-25 10:29:14 -05:00
6be685ac67 DEV: Find/replace deprecated decorators 2020-02-19 11:49:56 -05:00
2dd1ff79b4 Update translations 2020-01-20 11:00:44 -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
0d3d2c43a0 DEV: s/\$redis/Discourse\.redis (#8431)
This commit also adds a rubocop rule to prevent global variables.
2019-12-03 10:05:53 +01:00
b151963f18 Update translations 2019-11-06 10:43:13 -05:00
94a34af702 Update translations 2019-11-05 16:52:48 +01: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
8adec48b33 Update translations 2019-09-26 04:29:44 +02:00
Joe
27f7bd4273 UX: adjusts RTL composer presence avatar alignment
context: https://meta.discourse.org/t/user-is-typing-misaligned-and-mixed-with-reply-choices-with-rtl/127963

This commit adds a temporary fix for presence avatar overlap in the composer for RTL.

More context on TMP here: https://meta.discourse.org/t/moving-the-voting-box-to-the-right-side-of-the-screen/126752
2019-09-09 20:47:29 +08:00
8841563f8a Update translations 2019-08-26 14:36:46 +02:00
97e9599ecc Update translations 2019-07-15 09:43:22 -04:00
a5e80079d6 FEATURE: Add Belarusian language 2019-07-04 11:37:37 +02:00
7e884cce6b Update translations 2019-06-25 10:57:18 -04:00
dbc59cfe61 Update translations 2019-06-17 13:25:37 -04:00
dbfdce95c9 Update translations 2019-05-30 10:40:16 -04:00
b98b994fe7 apply prettier on plugins (#7605) 2019-05-27 11:06:11 +02:00
bfea922167 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
a58aa9b4bf Update translations 2019-05-20 13:42:05 +02:00
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
e50e4b6cc6 Make Prettier happy 2019-04-08 12:03:41 -04:00
5957991340 FIX: Remove quoted post text and block realtime replies from ignored users (#7336) 2019-04-08 17:44:42 +02:00
e7a6f0698d Update translations 2019-04-05 10:02:54 -04:00
4a7e83d880 Update translations 2019-03-28 10:07:51 -04:00
d43f4206c7 FEATURE: Add Armenian language 2019-03-28 14:24:14 +01:00
aabc3375c6 Update translations 2019-03-01 11:28:07 -05:00
55cc5ab4b8 Update translations 2019-02-07 09:49:57 -05:00
024ba28525 Update translations 2019-01-28 10:27:20 -05:00
81953339f2 Update translations 2019-01-14 12:23:49 -05:00
5f75da6f61 FIX: Prensence was overlapping with full-screen icon 2019-01-10 21:02:02 -05:00
f9648de897 DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00
d7656f30c3 Update translations 2019-01-02 12:32:38 -05:00
c09a407f65 composer alignment fixes 2018-11-13 11:12:58 -05:00
Joe
a552a39f53 UX: presence-users overlaps with composer toggles 2018-10-15 16:25:28 +08:00
af39624d19 Update translations 2018-10-12 10:40:25 -04:00
a566ed42ae FEATURE: Option to disable user presence and profile
This allows users who are privacy conscious to disable the presence
features of the forum as well as their public profile.
2018-10-10 17:34:33 -04:00
b0a383561e FEATURE: Add Lithuanian locale 2018-09-27 05:26:38 +02:00
5a4d6f9656 Update translations 2018-08-30 09:40:31 -04:00
6d79be29f2 Update translations 2018-08-21 11:28:13 -04:00
0cf98f1ad9 Revert "Update translations" 2018-08-21 11:17:53 -04:00
3c6d5c8241 Update translations 2018-08-21 10:36:59 -04:00
Sam
f939bdbf44 FIX: if user is logged off return 404 instead of 500
Return correct error when attempting to publish presence for
a logged out user.
2018-08-21 11:22:40 +10:00
a6820d8767 Add Hungarian locale (#6260) 2018-08-13 01:02:35 +02:00
5c248e3a7a Update translations 2018-08-07 12:05:45 -04:00
58ecc84d61 Update translations, excluding Japanese and config/locales/client.zh_TW.yml due to errors 2018-07-26 13:01:39 -04:00