This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/app/initializers
David Taylor 96abd72387
DEV: Replace message-bus:main with service:message-bus (#17691)
This will allow consumers to inject it using `messageBus: service()` in preparation for the removal of implicit injections in Ember 4.0. `message-bus:main` is still available and will print a deprecation notice.

The MessageBus library is not en ember object, and doesn't need access to any of our injections. Therefore, we can set up a simple class which defines itself as a 'Service Factory', and returns the MessageBus library in the `create` method.
2022-07-27 17:15:58 +01:00
..
animated-images.js FIX: Support pausing inline animated images (#13033) 2021-05-12 09:49:04 -04:00
auth-complete.js FEATURE: Allow invites redemption with Omniauth providers. 2021-03-09 09:27:18 +08:00
auto-load-modules.js DEV: Convert key-value-store:main to service:key-value-store (#17676) 2022-07-27 11:38:33 +01:00
badging.js FIX: PWA badges were not updating (#15191) 2021-12-05 00:15:51 +01:00
banner.js DEV: Replace message-bus:main with service:message-bus (#17691) 2022-07-27 17:15:58 +01:00
clean-dom-on-route-change.js DEV: Refactor clean-dom (#15609) 2022-02-01 19:29:53 +01:00
click-interceptor.js DEV: Allow click-interceptor in tests and add navigation test (#15499) 2022-01-10 15:45:44 +00:00
codeblock-buttons.js FEATURE: Add fullscreen button for code blocks (#16044) 2022-03-01 08:37:24 +10:00
csrf-token.js DEV: uses vanilla js to fetch csrf token instead of jquery (#16069) 2022-02-28 11:25:45 +01:00
d-popover.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
edit-notification-clicks-tracker.js DEV: Drop support for removing all appEvent listeners (#14936) 2021-11-15 12:31:05 +01:00
ember-events.js DEV: Disallow Ember global usage (#16147) 2022-03-09 17:54:07 +01:00
ember-input-component-extension.js DEV: Ensure core initializers with .reopen are only called once 2021-10-27 18:34:04 +01:00
ember-link-component-extension.js DEV: Disallow Ember global usage (#16147) 2022-03-09 17:54:07 +01:00
enable-emoji.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
image-aspect-ratio.js FIX: Ensure images do not change height when loading is complete (#16368) 2022-04-05 13:43:17 +01:00
inject-objects.js DEV: Remove isLegacyEmber (#17181) 2022-06-21 15:01:03 -05:00
jquery-plugins.js Quite a few Ember-CLI / Upgrade related changes (#11867) 2021-01-29 10:19:54 -05:00
keyboard-shortcuts.js DEV: uses forked Mousetrap to avoid leaking listeners (#14198) 2021-09-08 14:48:13 +02:00
live-development.js DEV: Replace message-bus:main with service:message-bus (#17691) 2022-07-27 17:15:58 +01:00
localization.js FIX: Translation overrides from fallback locale didn't work on client 2021-12-17 14:03:35 +01:00
logout.js DEV: Replace message-bus:main with service:message-bus (#17691) 2022-07-27 17:15:58 +01:00
logs-notice.js DEV: Replace message-bus:main with service:message-bus (#17691) 2022-07-27 17:15:58 +01:00
message-bus.js DEV: Replace message-bus:main with service:message-bus (#17691) 2022-07-27 17:15:58 +01:00
mobile.js FEATURE: Replace hamburger dropdown with Sidebar when undock (#17600) 2022-07-22 13:06:47 +08:00
moment.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
onebox-decorators.js DEV: allows to import decorateGithubOneboxBody (#15349) 2021-12-17 10:05:04 +01:00
opengraph-tag-updater.js DEV: Drop support for removing all appEvent listeners (#14936) 2021-11-15 12:31:05 +01:00
page-tracking.js DEV: Refactor clean-dom (#15609) 2022-02-01 19:29:53 +01:00
post-decorations.js DEV: Introduce discourseLater (#17532) 2022-07-17 00:50:49 +02:00
read-only.js DEV: Replace message-bus:main with service:message-bus (#17691) 2022-07-27 17:15:58 +01:00
register-media-optimization-upload-processor.js DEV: Switch to using uppy uploads in composer by default (#15058) 2021-11-30 08:33:06 +10:00
register-service-worker.js DEV: Export register service worker logic (#14598) 2021-10-13 13:19:20 -05:00
relative-ages.js DEV: removes jquery usage from time formatter (#14700) 2021-10-25 11:00:15 +02:00
sharing-sources.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
show-footer.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
signup-cta.js DEV: Convert key-value-store:main to service:key-value-store (#17676) 2022-07-27 11:38:33 +01:00
sticky-avatars.js DEV: sticky avatar was retained during tests (#14969) 2021-11-16 14:33:06 +01:00
strip-mobile-app-url-params.js DEV: Extensively use includes() (#17541) 2022-07-17 20:48:36 +02:00
subscribe-user-notifications.js DEV: Replace message-bus:main with service:message-bus (#17691) 2022-07-27 17:15:58 +01:00
topic-footer-buttons.js DEV: Add bookmark-icon component (#16893) 2022-05-23 15:01:44 +10:00
url-redirects.js DEV: Add escapeRegExp util (#17051) 2022-06-10 10:37:54 +10:00
webview-background.js DEV: Introduce discourseLater (#17532) 2022-07-17 00:50:49 +02:00