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/controllers
Martin Brennan f70e6c302f
DEV: Switch to using uppy uploads in composer by default (#15058)
This is a big change to change over to using the uppy
upload mixin in the composer by default. This gets rid
of the temporary composer-editor-uppy component, as well
as removing the old ComposerUpload mixin and copying over
any missing functions that were not yet implemented by
ComposerUploadUppy. This has been working well on our
hosting for some time now and has led us to several
bug fixes.

This commit also deletes the old plugin API for adding
preprocessors for the uploads. The accepted method of doing
this now is via an uppy preprocessor plugin, which we have
several examples of in the core codebase.

Leaving the `enable_experimental_composer_uploader` site setting
intact for now because some plugins still rely on it, this
will be removed at a later date.

One step closer to ending the jQuery file uploader saga...
2021-11-30 08:33:06 +10:00
..
badges FIX: Don't try to load badges if there none left (#13695) 2021-07-14 14:42:31 +10:00
discovery FIX: Don't overwrite computed property for loading spinner fix 2021-11-18 15:04:11 -05:00
navigation DEV: Use import { inject as controller} Ember idiom (#13140) 2021-05-25 18:37:32 +02:00
preferences DEV: Drop non-visualViewport Safari hacks (#15007) 2021-11-25 16:56:11 +01:00
about.js FIX: do not include contact url & email in client site settings payload (#13004) 2021-05-19 16:15:24 +10:00
account-created-edit-email.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
account-created-index.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
activation-edit.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
application.js FEATURE: Rename 'Discourse SSO' to DiscourseConnect (#11978) 2021-02-08 10:04:33 +00:00
associate-account-confirm.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
auth-token.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
avatar-selector.js FEATURE: Make allow_uploaded_avatars accept TL (#14091) 2021-08-24 10:46:28 +03:00
basic-modal-body.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
bookmark.js FIX: Stop saving bookmark on modal press ESC (#14823) 2021-11-05 13:43:19 +10:00
bulk-notification-level.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
change-owner.js FIX: Call _clearFlash() when displaying a modal (#14848) 2021-11-09 17:51:50 -05:00
change-post-notice.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
change-timestamp.js FIX: Call _clearFlash() when displaying a modal (#14848) 2021-11-09 17:51:50 -05:00
composer.js DEV: Switch to using uppy uploads in composer by default (#15058) 2021-11-30 08:33:06 +10:00
convert-to-public-topic.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
create-account.js DEV: Fix set-after-destroy issues (#15078) 2021-11-24 20:13:52 +01:00
create-invite-bulk.js FEATURE: Various improvements to invite system (#12023) 2021-03-03 11:45:29 +02:00
create-invite.js Improved create invite modal (#14151) 2021-11-18 20:19:02 +02:00
delete-topic-confirm.js FIX: Call _clearFlash() when displaying a modal (#14848) 2021-11-09 17:51:50 -05:00
discard-draft.js FEATURE: Allow users to save draft and close composer (#12439) 2021-03-19 09:19:15 -04:00
discovery-sortable.js FIX: do not persist tags query param (#14527) 2021-10-07 06:03:52 +05:30
discovery.js FIX: Don't overwrite computed property for loading spinner fix 2021-11-18 15:04:11 -05:00
dismiss-notification-confirmation.js Refine dismiss notification confirmation (#15017) 2021-11-22 09:11:24 +08:00
do-not-disturb.js FEATURE: Create notification schedule to automatically set do not disturb time (#11665) 2021-01-20 10:31:52 -06:00
download-calendar.js FIX: improvements for download local dates (#14588) 2021-10-14 09:22:44 +11:00
edit-category-tabs.js UX: Small tweak to category delete warning (#11799) 2021-01-26 09:43:47 -05:00
edit-slow-mode.js UX: show Update button instead of Enable button when slow mode is already enabled (#13077) 2021-05-25 13:33:39 +04:00
edit-topic-timer.js FIX: Call _clearFlash() when displaying a modal (#14848) 2021-11-09 17:51:50 -05:00
edit-user-directory-columns.js DEV: Plugin API to add directory columns (#13440) 2021-06-22 13:00:04 -05:00
email-login.js DEV: Bump eslint-config-discourse (#14868) 2021-11-10 09:31:41 +10:00
exception.js FEATURE: Improvement to history stack handling on server errors 2021-06-21 11:09:23 -07:00
explain-reviewable.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
feature-topic-on-profile.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
feature-topic.js DEV: Use import { inject as controller} Ember idiom (#13140) 2021-05-25 18:37:32 +02:00
flag.js DEV: Replace $.extend with Object.assign (#14921) 2021-11-14 10:59:22 +01:00
forgot-password.js FIX: Hide form after password reset (#14526) 2021-10-06 17:16:59 +03:00
full-page-search.js FEATURE: show recent searches in quick search panel (#15024) 2021-11-25 15:44:15 -05:00
grant-admin-second-factor.js DEV: Avoid using globals (#14909) 2021-11-13 13:10:13 +01:00
grant-badge.js DEV: Bump eslint-config-discourse (#14868) 2021-11-10 09:31:41 +10:00
group-activity-posts.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
group-activity-topics.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
group-activity.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
group-add-members.js FIX: Reintroduce add group user by email (#13581) 2021-06-30 17:59:22 +03:00
group-default-notifications.js FEATURE: update existing users when group default notifications changed. (#13434) 2021-07-15 19:53:57 +05:30
group-index.js DEV: don't swallow a promise from group.findMembers method and switch to using async/await (#13888) 2021-07-30 21:00:34 +04:00
group-manage-categories.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
group-manage-logs.js DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
group-manage-profile.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
group-manage-tags.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
group-manage.js FIX: Show group Email settings if just SMTP enabled (#13362) 2021-06-15 10:09:25 +10:00
group-messages.js FIX: Allow mobile-nav to work without loading transitions (#12184) 2021-02-23 11:16:40 +00:00
group-permissions.js FEATURE: Group category permissions tab (#10388) 2020-08-10 09:49:05 -05:00
group-requests.js FIX: Ascending/descending sorting in the group membership requests page 2021-07-16 11:02:24 +03:00
group.js UX: Don't display group messages link for group with no messages. (#14453) 2021-09-29 10:18:56 +08:00
groups-index.js Revert "Revert "DEV: Wrap Ember.run.debounce. (#11352)"" (#11509) 2020-12-18 10:18:52 -03:00
groups-new.js DEV: Deprecate {{user-selector}} and replace it with {{email-group-user-chooser}} (#12042) 2021-02-12 13:51:36 +03:00
history.js FEATURE: Highlight changed tags in post revisions (#15072) 2021-11-24 18:51:25 +02:00
ignore-duration-with-username.js FIX: Call _clearFlash() when displaying a modal (#14848) 2021-11-09 17:51:50 -05:00
ignore-duration.js FIX: Call _clearFlash() when displaying a modal (#14848) 2021-11-09 17:51:50 -05:00
insert-hyperlink.js FIX: Close hyperlink modal on ESC key (#13166) 2021-05-26 15:11:12 -04:00
invites-show.js DEV: Bump eslint-config-discourse (#14868) 2021-11-10 09:31:41 +10:00
json-schema-editor.js DEV: Add experimental json_scheme site setting type (#12226) 2021-03-01 09:15:17 -05:00
jump-to-post.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
keyboard-shortcuts-help.js UX: launch full page search on second Enter hit (#14978) 2021-11-17 16:35:17 +11:00
login.js FIX: clear previous errors on second factor form display (#14987) 2021-11-17 13:47:38 +01:00
modal.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
move-to-topic.js DEV: Use import { inject as controller} Ember idiom (#13140) 2021-05-25 18:37:32 +02:00
not-activated.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
password-reset.js DEV: Bump eslint-config-discourse (#14868) 2021-11-10 09:31:41 +10:00
preferences.js FIX: don't allow category and tag tracking settings on staged users (#13688) 2021-07-16 14:50:40 -04:00
publish-page.js UX: publishes page, on public change, only when page is published (#12123) 2021-02-18 17:34:50 +01:00
raw-email.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
reject-reason-reviewable.js FEATURE: reason to reject user signup (#11700) 2021-01-15 09:43:26 +11:00
rename-tag.js FIX: ensures successive tags can be renamed (#12818) 2021-04-23 16:18:23 +02:00
reorder-categories.js UX: Improvements for reordering categories (#13013) 2021-06-09 13:01:06 +03:00
request-group-membership-form.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
review-index.js FIX: Review Queue Query parameters were not refreshing in Ember CLI builds (#13101) 2021-05-20 14:00:25 -04:00
review-settings.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
second-factor-add-security-key.js DEV: Bump eslint-config-discourse (#14868) 2021-11-10 09:31:41 +10:00
second-factor-add-totp.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
second-factor-backup-edit.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
second-factor-edit-security-key.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
second-factor-edit.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
share-and-invite.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
share-topic.js UX: Move share topic warning to modal flash alert (#15012) 2021-11-18 19:24:15 -05:00
static.js UX: fix button alignment on log-in required page (#11965) 2021-02-04 14:38:58 +11:00
tag-groups-edit.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-groups-new.js UX: Adjustments to tag groups layout (#13269) 2021-06-03 13:58:28 -04:00
tag-groups.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-show.js FEATURE: add period filter in top topics route for tags. (#13415) 2021-07-06 15:25:11 +05:30
tags-index.js DEV: rename refresh action to avoid regressions in the future (#14721) 2021-10-27 14:53:04 +04:00
topic-bulk-actions.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
topic.js FIX: ensures minimum tags logic is correct and shared (#14723) 2021-11-12 14:04:48 +01:00
user-activity-bookmarks.js FIX: empty state message on the user bookmarks page (#14257) 2021-10-04 16:48:45 +04:00
user-activity.js FEATURE: Display pending posts on user’s page 2021-11-29 10:26:33 +01:00
user-badges.js FEATURE: Make max number of favorite configurable (#13480) 2021-06-22 18:58:03 +03:00
user-card.js FEATURE: Optional filtered replies view (#11387) 2020-12-10 12:02:07 -05:00
user-invited-show.js Improved create invite modal (#14151) 2021-11-18 20:19:02 +02:00
user-invited.js UX: Improve route hierarchy in for user-invites (#14583) 2021-10-12 17:39:47 +01:00
user-notifications.js FEATURE: improve "blank page syndrome" on the user notifications page (#14103) 2021-08-25 20:57:27 +04:00
user-posts.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
user-private-messages-tags.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
user-private-messages.js DEV: Use @bind instead of repeated .bind(this) (#14931) 2021-11-15 10:07:53 +01:00
user-summary.js DEV: Use import { inject as controller} Ember idiom (#13140) 2021-05-25 18:37:32 +02:00
user-topics-list.js FIX: infinite recursion when calling a refresh() action on routes (#14624) 2021-11-19 16:23:46 +04:00
user.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
users.js FIX: set null to group if groupAttrs param is not available. (#14795) 2021-11-14 19:53:50 +05:30