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/controllers
Bianca Nenciu c4d1833588 FIX: Do not show bootbox if post has no replies. (#7866)
When we delete a post that has replies, we show a modal asking if the user wants to delete the post, the post and its direct replies or the post and all its replies.

If replies are deleted before a post, that modal would ask the user if they want to delete the post and 0 replies.

That commit ensure we skip the modal and directly delete the post in this case.
2019-07-12 11:42:57 +02:00
..
badges DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
discovery DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
navigation DEV: Ember 3.8.0 2019-04-26 12:16:21 +02:00
preferences FEATURE: add ability to have multiple totp factors (#7626) 2019-06-26 16:58:06 -07:00
about.js.es6 DEV: Ember 3.8.0 2019-04-26 12:16:21 +02:00
account-created-edit-email.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
account-created-index.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
activation-edit.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
add-post-notice.js.es6 FEATURE: Allow Markdown in post notices. (#7864) 2019-07-09 14:42:02 +03:00
application.js.es6 UI: Footer nav fixes 2019-04-15 15:25:40 -04:00
auth-token.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
avatar-selector.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
basic-modal-body.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
bulk-notification-level.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
change-owner.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
change-timestamp.js.es6 REFACTOR: change-timestamp controller (#7498) 2019-05-08 16:26:51 +02:00
composer.js.es6 UI: when in a different topic context, allow dismissing draft without destroying it 2019-07-04 11:45:57 -04:00
create-account.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
discovery-sortable.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
discovery.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
edit-category.js.es6 REFACTOR: edit-category controller (#7527) 2019-05-13 11:30:32 +02:00
edit-topic-timer.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
email-login.js.es6 SECURITY: Add confirmation screen when logging in via email link 2019-06-17 16:18:37 +01:00
exception.js.es6 REFACTOR: exception controller (#7675) 2019-06-03 23:34:23 +02:00
feature-topic.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
flag.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
forgot-password.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
full-page-search.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
grant-badge.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
group-activity-posts.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-activity-topics.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-activity.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
group-add-members.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-bulk-add.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-index.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-manage-logs.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-manage-profile.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
group-manage.js.es6 UX: new layout for groups page, allow changes to automatic group bio (#7350) 2019-04-17 22:44:30 -04:00
group-messages.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
group-requests.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
groups-index.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
groups-new.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
history.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
ignore-duration-with-username.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
ignore-duration.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
invites-show.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
jump-to-post.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
keyboard-shortcuts-help.js.es6 UX: add shortcut for deferring topics (#7798) 2019-06-25 07:20:55 +03:00
login.js.es6 REFACTOR: login-controller (#7514) 2019-05-10 10:05:11 +02:00
modal.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
move-to-topic.js.es6 FIX: incorrectly removed moveTypes array (#7637) 2019-05-29 16:23:32 +02:00
not-activated.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
password-reset.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
preferences.js.es6 FEATURE: rebuild user preferences page to use tabs 2017-05-02 16:52:18 -04:00
raw-email.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
rename-tag.js.es6 REFACTOR: rename-tag controller (#7634) 2019-05-29 15:58:12 +02:00
reorder-categories.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
request-group-membership-form.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
review-index.js.es6 FIX: Add 'deleted' to the list of status filters (#7738) 2019-06-10 15:43:49 -03:00
review-settings.js.es6 FIX: Linting 2019-05-23 12:16:45 -04:00
search-help.js.es6 DEV: Ember 3.8.0 2019-04-26 12:16:21 +02:00
second-factor-add-totp.js.es6 FEATURE: add ability to have multiple totp factors (#7626) 2019-06-26 16:58:06 -07:00
second-factor-backup-edit.js.es6 FEATURE: add ability to have multiple totp factors (#7626) 2019-06-26 16:58:06 -07:00
second-factor-edit.js.es6 FEATURE: add ability to have multiple totp factors (#7626) 2019-06-26 16:58:06 -07:00
static.js.es6 DEV: s/Em/Ember (#6874) 2019-01-11 17:54:23 +01:00
tag-groups-show.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
tag-groups.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
tags-index.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
tags-show.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
topic-bulk-actions.js.es6 icon s/trash/trash-alt (#7806) 2019-06-26 12:31:49 +02:00
topic.js.es6 FIX: Do not show bootbox if post has no replies. (#7866) 2019-07-12 11:42:57 +02:00
upload-selector.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
user-activity.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
user-badges.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
user-card.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
user-invited-show.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
user-notifications.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
user-posts.js.es6 Fix more deprecations: 2016-10-21 17:28:37 -04:00
user-private-messages-tags.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
user-private-messages.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
user-summary.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
user-topics-list.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
user.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
users.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00