Robin Ward
a5d9afe397
FEATURE: Include a user's pending posts in the topic view
...
Also includes a refactor to TopicView's serializer which was not
building our attributes using serializers properly.
2019-04-12 14:25:12 -04:00
David Taylor
4e8c174ee5
FEATURE: Display notification count in title for logged in users ( #7184 )
...
This replaces the 'contextual' counters for logged in users. We will still use the old method for anon users
2019-03-18 12:59:47 +00:00
Joffrey JAFFEUX
502b1316d0
DEV: s/this._super()/this._super(...arguments) ( #6908 )
2019-01-19 10:05:51 +01:00
Joffrey JAFFEUX
1a3655b787
DEV: s/Em/Ember ( #6874 )
2019-01-11 17:54:23 +01:00
Joffrey JAFFEUX
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
Arpit Jalan
70fdc10365
FEATURE: move posts to new/existing PM ( #6802 )
2018-12-31 17:17:22 +05:30
Guo Xiang Tan
c92c56d986
FIX: Randomly failing QUnit test.
...
The `post` variable can be an actual post object or a `new Placeholder("post-placeholder")` which does not define the function `get`.
* QUNIT_SEED=11414431645131211212599424733847938795
2018-11-27 16:00:46 +08:00
Robin Ward
e37c4a4525
FIX: Don't show the Quote popup if posting is disabled
2018-11-16 11:00:22 -05:00
James Kiesel
a4001c1ea0
FEATURE: Pop revise modal on post edited notification ( #6287 )
...
* Add revision number to notification url
* Pop modal on route change
* Add semicolon
* Ensure modal pops even when navigating within a topic
* Ensure modal pops when visiting from other page
* Fix eslint errors
* Fix prettier errors
* Add callback for notification item click
* Remove stray revisionUrl function
* Rename to afterRouteComplete
2018-08-24 09:13:07 -04:00
Gerhard Schlager
b9072e8292
FEATURE: Add "Reset Bump Date" action to topic admin wrench ( #6246 )
2018-08-10 10:51:03 +10:00
Joffrey JAFFEUX
a2281fbb19
FEATURE: allows to jump to a date in a topic
2018-07-19 16:00:13 +02:00
Guo Xiang Tan
b459a589ab
FIX: jumpToPost no working on megatopics.
2018-07-13 16:16:39 +08:00
Guo Xiang Tan
711371e8c8
FIX: Select+below will ask server for post ids on megatopics.
2018-07-13 15:10:39 +08:00
Guo Xiang Tan
409a30ce1c
FIX: Selecting & moving posts not working on megatopics.
2018-07-13 11:16:43 +08:00
Guo Xiang Tan
18e281606a
UX: Clicking admin menu does not hide select posts box.
2018-07-13 10:56:14 +08:00
Guo Xiang Tan
7c8cd9cfdd
Fix the build.
2018-07-12 14:11:42 +08:00
Guo Xiang Tan
258e9e35ca
PERF: Make mega topics work without a stream.
...
There are tradeoffs that we took here. For the complete
story see
https://meta.discourse.org/t/performance-improvements-on-long-topics/30187/27?u=tgxworld .
2018-07-12 12:46:12 +08:00
Maja Komel
7cba4cbcc6
FEATURE: allow selecting a tag when moving posts to a new topic ( #6074 )
2018-07-06 18:21:00 +02:00
Guo Xiang Tan
d1c3eb6bfa
FIX: Recovering a post does not insert it back into the stream correctly.
2018-06-29 11:41:44 +08:00
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files
2018-06-15 17:03:24 +02:00
Jeff Wong
160898acf3
Feature: add jump to post modal on mobile
2018-06-13 22:01:35 -07:00
kleinfreund
4ce1d230c7
Prefer throwing a new Error object instead of just a string expression
2018-06-12 12:56:22 +10:00
Sam
4fef9e95d2
should not be a const
2018-05-24 15:42:00 +10:00
Sam
70179290f3
clean up callbacks during acceptance tests
2018-05-24 15:28:54 +10:00
Sam
11b544ef4e
DEV: add support for custom post message callbacks
...
Allows for cleaner subscription to changes by plugins, polls will move to
it.
2018-05-24 12:34:53 +10:00
Régis Hanol
71f5215711
FEATURE: keep formatting when quoting
2018-05-05 10:51:54 +02:00
Régis Hanol
d5412cff4e
FIX: scrolling was off sometimes
...
Also changed "Jump To Post" to go to the post index in the stream rather than the post number
2018-04-05 10:08:48 +02:00
Robin Ward
05dc1f65ab
UX: Editing a shared draft was confusing in the composer
...
Now when you edit a shared draft it looks like creating one, where the
destination category id appears in the dropdown.
2018-03-27 17:11:21 -04:00
Régis Hanol
3a58dc0858
Add new 'jumpToPostId' plugin API method
2018-03-24 02:43:39 +01:00
Robin Ward
b9abd7dc9e
FEATURE: Shared Drafts
...
This feature can be enabled by choosing a destination for the
`shared drafts category` site setting.
* Staff members can create shared drafts, choosing a destination
category for the topic when it is published.
* Shared Drafts can be viewed in their category, or above the
topic list for the destination category where it will end up.
* When the shared draft is ready, it can be published to the
appropriate category by clicking a button on the topic view.
* When published, Drafts change their timestamps to the current
time, and any edits to the original post are removed.
2018-03-20 17:15:26 -04:00
Arpit Jalan
4010d8d9f9
FEATURE: show "edit message" button on message footer for staff
...
Show "Edit Message" button on personal message footer for staff if PM tagging is enabled.
2018-02-27 14:22:03 +05:30
Vinoth Kannan
84ce1acfef
FEATURE: Allow staffs to tag PMs
2018-02-21 20:11:46 +05:30
Robin Ward
6b04967e2f
FEATURE: Staff members can lock posts
...
Locking a post prevents it from being edited. This is useful if the user
has posted something which has been edited out, and the staff members don't
want them to be able to edit it back in again.
2018-01-26 14:01:30 -05:00
Régis Hanol
5c1eaeca9e
FIX: prevent users from moving whispers to new topic
2018-01-22 17:23:19 +01:00
Kyle Zhao
83c549bd31
FEATURE: grant badges in post admin wrench ( #5498 )
...
* FEATURE: grant badges in post admin wrench
* only grant manually grantable badges
* extract GrantBadgeController mixin
2018-01-22 14:10:53 +11:00
Sam
252cbd8635
FIX: keyboard shortcut allowed you to open composer on closed topics
2017-12-21 13:09:18 +11:00
Régis Hanol
50487d6122
FIX: wasn't able to recover a post
2017-12-16 13:04:20 +01:00
Régis Hanol
53bbf08ea1
FIX: wasn't redirected to group inbox
2017-12-13 23:31:20 +01:00
Régis Hanol
c63ecd87f2
FIX: ensure we're always changing 1 post ownership
2017-12-13 22:45:14 +01:00
Régis Hanol
1b4483c942
FEATURE: Added 'select +below' and 'select +all replies' options to selecting posts
2017-12-13 22:12:06 +01:00
Sam
a74ac90bf5
FIX: quote dropped when replying as new topic
2017-11-27 10:08:55 +11:00
Neil Lalonde
6c86e0c94a
FEATURE: remove the featured link by editing the topic
2017-11-22 14:53:35 -05:00
Robin Ward
0a69f2bc77
REFACTOR: Remove many Discourse.Category.list() calls
2017-11-01 15:25:35 -04:00
Robin Ward
383191cafc
FIX: You needed to click twice to expand a hidden post
2017-10-20 15:58:14 -04:00
Guo Xiang Tan
25c25ae423
FEATURE: Allow user to leave a PM.
2017-10-19 12:32:55 +08:00
Joffrey JAFFEUX
0fca5ed533
FIX: stricter check on presence of notification_level_change
...
When `notification_level_change` was `0` it was evaluating to false
2017-09-06 19:59:23 +02:00
Robin Ward
8bd7cfedfd
Convert suggested topics to a component
2017-08-21 17:03:38 -04:00
Régis Hanol
4c306f9f49
New 'topic:current-post-changed' application event
2017-08-07 15:56:08 +02:00
Robin Ward
5b590b9637
REFACTOR: Replace some fa-* uses with helpers
2017-07-27 14:55:41 -04:00
Sam
91a91d57f0
FIX: when quoting always ensure we are on a new line
2017-06-27 13:59:17 -04:00
Robin Ward
9be782acf6
FIX: Rerender posts when selecting replies
2017-05-30 12:50:31 -04:00
Sam
6ddd8d9166
FIX: when entering topics "tracking" would not be set
...
There was a timing issue when subscribing to messages for topics.
Old flow:
- We generate JSON for topic
- We subscribe to messages for topic
New flow:
- We keep track of last id in the topic message bus channel
- We generate JSON
- We subscribe to messages for topic starting at saved message id
This ensures that there is complete overlap for message consumption
and that there are no cases where an update may go missing due to timing
2017-05-16 15:04:21 -04:00
Robin Ward
28c59d754b
FIX: Don't update cooked when a like is received.
2017-04-07 15:18:38 -04:00
Guo Xiang Tan
690d2f4bd3
UX: Publish topic changes when topic is published.
2017-04-07 15:32:00 +08:00
Guo Xiang Tan
0bbad5040a
topic-status-info component wasn't updated when topic is closed/opened.
2017-03-31 15:58:26 +08:00
Guo Xiang Tan
34b7bee568
FEATURE: Allow admin to auto reopen at topic.
...
* This commit also introduces a `TopicStatusUpdate`
model to support other forms of deferred topic
status update in the future.
2017-03-31 11:14:18 +08:00
Robin Ward
45a257815a
Convert front end paths from /users/ to /u/
2017-03-30 10:23:24 -04:00
Robin Ward
243b5756ee
Adds a keyboard shortcut (shift+u) for jumping back to the last read post
2017-03-27 11:23:06 -04:00
Bianca Nenciu
f8a31d927f
Fixes duplicated topic title in header after edit.
2017-03-16 17:34:39 +02:00
Guo Xiang Tan
3c41cb6b7d
FIX: Reply to topic keyboard shortcut raises an error on non-topic routes.
2017-03-08 19:55:35 +08:00
Sam Saffron
ce7c3bfc14
FIX: refresh header if message bus updates topic
2017-02-21 11:43:44 -05:00
Leo McArdle
c76f6856ea
FEATURE: reply as new message to the same recipients
2017-01-27 12:24:31 +08:00
Robin Ward
bee8425055
FIX: Don't reply as new topic when quoting a closed topic
2017-01-03 11:49:20 -05:00
Robin Ward
da76dd3d6b
REFACTOR: Cleaner quoteButton object, and some bug fixes
2016-12-30 12:14:56 -05:00
Robin Ward
732d0ad030
FIX: Find the closest post to jump to if deleted
2016-12-27 10:52:37 -05:00
Robin Ward
e03d5e2140
Reapply Ember 2.10 for good this time!
...
This reverts commit ddd299f4aa .
2016-12-19 11:19:10 -05:00
Robin Ward
ddd299f4aa
Revert "Revert "Revert Ember 2.10+ for a short while""
...
This reverts commit 76bbc481cb .
2016-12-16 10:29:30 -05:00
Robin Ward
76bbc481cb
Revert "Revert Ember 2.10+ for a short while"
...
This reverts commit 21682fd60b .
2016-12-16 09:52:29 -05:00
Robin Ward
21682fd60b
Revert Ember 2.10+ for a short while
2016-12-15 16:43:38 -05:00
Robin Ward
2655be512f
FIX: Showing raw email and history were broken
2016-12-15 10:28:15 -05:00
Robin Ward
28699e66d8
Revert "REVERT: Ember 2.10 -- it's not building properly"
...
This reverts commit 600541c623 .
2016-12-15 10:28:15 -05:00
Robin Ward
600541c623
REVERT: Ember 2.10 -- it's not building properly
2016-12-12 16:19:05 -05:00
Robin Ward
765e5e9186
Upgrade to Ember 2.9
2016-12-12 14:44:29 -05:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics
2016-12-05 17:20:54 +01:00
Régis Hanol
af387edeb0
FIX: quote button issues
...
- disappear when moving to another topic
- disappears when clicking outside of the selection
- works even when selecting the last paragraph of a post
- works on all latest mobile OS
2016-11-24 18:23:33 +01:00
Guo Xiang Tan
c4e3ab21dd
FIX: Don't scroll to top of post.
2016-11-16 15:08:18 +08:00
Robin Ward
cc93cd76ef
Replace quote button with a component
2016-11-11 16:00:28 -05:00
Guo Xiang Tan
55865024c7
UX: Only scroll if the element is not in viewport.
2016-11-10 09:38:35 +08:00
Guo Xiang Tan
eaf7746ec9
FIX: Only scroll PMs on new message.
2016-11-10 09:25:54 +08:00
Guo Xiang Tan
4a26561927
Only scroll to posts that are not your own in PMs.
2016-11-09 21:34:32 +08:00
Guo Xiang Tan
74e1889924
FEATURE: Scroll to new posts when user is near bottom of PM.
2016-11-09 13:38:33 +08:00
Robin Ward
a9d7569dda
Replace computed properties for topic query params
2016-11-03 13:09:43 -04:00
Sam
584dc63d13
UX: align timeline to the right in mobile and add jump to button
2016-10-31 12:40:40 +11:00
Robin Ward
0f1ed1e41a
Migration topic footer buttons to components
2016-10-28 10:13:41 -04:00
Robin Ward
7953a53cc5
Replace findProperty and filterProperty with findBy and filterBy
2016-10-26 15:45:06 -04:00
Robin Ward
fab36e6cf7
Fix more deprecations:
...
- Remove all `needs:` code
2016-10-21 17:28:37 -04:00
Robin Ward
bf91532260
Fixes some Ember Deprecations for 1.13:
...
- Remove ArrayController
- Remove {{view}} from templates
- Replace many cases of needs: [‘controller’] with inject
- Enable Ember Legacy Views
2016-10-21 11:06:07 -04:00
Sam
1bf0b2a5f4
FEATURE: show timeline component when expanding post progress
...
- Show fullscreen timeline with title of topic in mobile
- Go to post # kb shortcut now unconditionally uses a modal
- Always show wrench on topics (was missing if progress bar was showing)
- Be smarter about rendering timeline even if composer is open (provided there is room)
2016-10-19 14:29:58 +11:00
Rafael dos Santos Silva
03ec480c65
Removes UI for print, adds CTRL+P shortcut
2016-09-26 20:46:55 -03:00
Sam
73b6a22f61
UX: link to PM list from pm suggested topics
2016-08-09 10:12:56 +10:00
Andre Pereira
8cbd585e20
FEATURE: Allow staff users to merge posts.
2016-07-27 12:04:14 +08:00
Sam
6e4ff45e44
FIX: deleting a topic result not updated on screen
2016-06-22 17:28:46 +10:00
Sam
8866169879
FEATURE: can invite/revoke groups on private messages
2016-06-20 16:29:27 +10:00
Régis Hanol
9588583244
'Reply as new topic' link in the share dialog
2016-06-14 20:01:21 +02:00
Robin Ward
4661c4274c
FIX: While browsing, last read should be based on the eyeline
2016-06-02 12:01:37 -04:00
Robin Ward
04bea0c9d6
FIX: More last read position fixes
2016-06-01 17:52:57 -04:00
Robin Ward
810b213ca0
FIX: Some last read position fixes
2016-06-01 17:27:19 -04:00
Robin Ward
e24fe0246a
Have the topic progress and timeline use the same appEvent
2016-06-01 15:53:13 -04:00
Robin Ward
0b8a3ff5da
FIX: Better handling of position when near the top or bottom
2016-05-31 10:51:56 -04:00
Robin Ward
a3907e1fbb
UX: Allow the timeline to scroll mid post
2016-05-31 10:51:55 -04:00