Commit Graph

278 Commits

Author SHA1 Message Date
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
Robin Ward
1584033d7a
UX: Don't display the timeline on thinner browser widths 2016-05-31 10:51:53 -04:00
Robin Ward
a6b2f5ddba
FIX: Use topic progress widget for jumping to posts 2016-05-31 10:51:50 -04:00
Robin Ward
3c30fa628b
FIX: "Go Back" wasn't displaying properly most of the time 2016-05-31 10:51:50 -04:00
Robin Ward
1ed2723986
FIX: More incorrect scrollbar positions on the timeline 2016-05-31 10:51:48 -04:00
Robin Ward
1643ff0f3c
FEATURE: Move topic admin button into timeline
Also includes converting the topic admin menu to the widget framework.
2016-05-31 10:51:46 -04:00
Robin Ward
fc4dc76f42
FIX: Progress was broken on mobile 2016-05-31 10:51:44 -04:00
Robin Ward
2bd59d7ca1
FIX: Some odd jumping behavior for the timeline 2016-05-31 10:51:44 -04:00
Robin Ward
559fa36c18
FEATURE: Topic timeline widget 2016-05-31 10:51:39 -04:00
Robin Ward
751e354ca6
Refactor topic-progress into a component 2016-05-31 10:51:39 -04:00
Robin Ward
c15ade8a88
Deprecation: {{view}} helper 2016-05-11 14:26:06 -04:00
Arpit Jalan
82daf93eb3 Merge pull request #4206 from techAPJ/convert-topic
FEATURE: move a topic from PM to regular topic or vice versa
2016-05-04 01:33:15 +05:30
Arpit Jalan
706ea28ef9 FIX: prepend 'continue discussion' link to topic template 2016-05-03 15:01:02 +05:30
Arpit Jalan
acfb540952 FEATURE: move a topic from PM to regular topic or vice versa 2016-05-02 21:34:05 +05:30
Neil Lalonde
e5918c7d00 FEATURE: Merge tagging plugin into core 2016-04-27 11:58:53 -04:00
Robin Ward
514c3976f0
PERF: Migrate header to discourse widgets 2016-04-25 10:48:04 -04:00
Robin Ward
038a5a0767
UX: Show the selected posts controls at the bottom of mobile topics too 2016-04-08 15:26:24 -04:00
Guo Xiang Tan
6aa447816d UX: Publish changes to TopicView when Topic is updated. 2016-04-07 16:29:01 +02:00
Robin Ward
fff119a554 FIX: Regression with categories when replying as linked topic 2016-03-01 14:08:39 -05:00
Robin Ward
fa9943c162 FIX: Who liked was not updating
If a like streamed in via the message bus and who liked was expanded,
it was not refreshing properly.
2016-02-25 14:03:35 -05:00
Robin Ward
ba203b3a94 FIX: Deleting selected wasn't marking them as deleted 2016-02-16 14:27:41 -05:00
Robin Ward
5d9278c098 FIX: Can force all shadow trees to rerender 2016-02-16 14:20:16 -05:00
Robin Ward
a0d61ebf7f FIX: Clear bookmarks didn't update the UI properly 2016-02-11 15:44:04 -05:00
Robin Ward
e3cc04f315 FIX: Odd scrolling 2016-02-11 11:00:42 -05:00
Robin Ward
bd967ba38c FIX: Placeholders were missing when scrolling downwards 2016-02-11 11:00:41 -05:00
Robin Ward
befae52c09 FIX: Read post icon was not fading 2016-02-11 11:00:40 -05:00
Robin Ward
81a0b25324 FIX: postChangedRoute was firing after destruction sometimes 2016-02-11 11:00:40 -05:00
Robin Ward
d1e85bdd8b FEATURE: Use virtual dom framework for faster post rendering 2016-02-11 11:00:40 -05:00
Sam Saffron
b0567f9c62 FEATURE: automatically sync "move to inbox" / "archive" state on messages 2016-02-07 23:39:07 +11:00
Régis Hanol
e2744fc19f FIX: adding the 'contains_messages' column back 2016-01-12 12:06:51 +01:00
Régis Hanol
8049dfdfda CLEANUP: remove 'contains_messages' leftover 💩 2016-01-12 11:29:26 +01:00
Sam
65e808b26d FEATURE: go to inbox after archiving a message 2016-01-12 15:49:05 +11:00
Arpit Jalan
3251bcb405 FEATURE: streamline 'Reply as linked Topic' feature 2016-01-02 22:12:22 +05:30
Sam
a4587b18f5 FEATURE: allow users to archive messages from message page 2015-12-30 13:26:39 +11:00
Neil Lalonde
5eff3153e5 FIX: reply as linked topic has [object object] in composer 2015-12-17 12:11:28 -05:00
Arpit Jalan
2412542c77 FIX: check post edit/delete permission 2015-12-16 19:16:55 +05:30
Neil Lalonde
1e7850fa90 FIX: quote reply to new topic doesn't add quote to composer 2015-12-15 18:08:15 -05:00
Robin Ward
467485cf47 FIX: Don't show placeholder when triggering one post 2015-12-07 14:21:07 -05:00
Robin Ward
d97b2382e6 Don't show placeholders on Android 2015-12-04 17:19:54 -05:00
Robin Ward
a51c91ac05 Revert "FIX: Errors with summary views and placeholders"
This reverts commit 5be3bf80eb.
2015-12-04 15:59:39 -05:00
Robin Ward
5be3bf80eb FIX: Errors with summary views and placeholders 2015-12-04 15:10:13 -05:00
Robin Ward
40c8d39137 FEATURE: Reply Placeholders in Stream 2015-12-04 10:02:58 -05:00
Régis Hanol
ba0df7e4cd rename 'is_support' to 'contains_messages' 2015-11-26 18:40:54 +01:00
Régis Hanol
578e15224b UX: hide support categories from selectors 2015-11-26 18:31:24 +01:00
Sam
5c899c765b Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
This reverts commit c21457d6a7.
2015-11-21 12:27:06 +11:00
Robin Ward
c21457d6a7 Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
This reverts commit c0b277d273.
2015-11-20 10:00:12 -05:00
Sam
c0b277d273 REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821

Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11:00
Régis Hanol
92ba6125c4 FEATURE: new 'automatically_unpin_topics' user preference 2015-11-17 18:21:40 +01:00
Robin Ward
a33c2fa165 FIX: Reply and new Topic broke with new composer 2015-11-09 12:28:58 -05:00
Régis Hanol
6b197179c9 FEATURE: new 'automatically_unpin_topics' site setting 2015-11-06 17:12:12 +01:00
Robin Ward
47495a5713 FEATURE: Replace composer editor with ember version 2015-11-06 09:49:16 -05:00
Jeff Atwood
8a5f8d62b2 remove "right" class from profile buttons 2015-10-22 16:54:46 -07:00
Régis Hanol
e08c9b8c49 Merge pull request #3867 from cpradio/fix-pin-unpin-shortcut
FIX: Fix the shortcut shift+p for pinning/unpinning a topic
2015-10-20 16:06:21 +02:00
cpradio
d2502bd127 FIX: Fix the shortcut shift+p for pinning/unpinning a topic 2015-10-20 09:40:43 -04:00
Sam
e17978a203 FIX: do not notify in title if you created the post 2015-10-12 12:45:04 +11:00
Arpit Jalan
b72434d024 FEATURE: add 'change ownership' button in post admin wrench 2015-10-11 23:53:45 +05:30
Sam Saffron
4ade6138d3 FIX: suggested topics showing up when last post not loaded
New fix means that was show suggested

1. If all posts are loaded
2. If we are in the process of loading 1 more post due to message bus
2015-10-05 16:10:00 +11:00
Régis Hanol
2c384aec83 FIX: reply as new topic wasn't working in FF when the post was only composed of an image 2015-10-01 21:43:43 +02:00
Robin Ward
1e2f2a244c FIX: Clicking Reply with quoted text should work like quote button
Before this patch, it would ask you if you were sure you wanted to
cancel your draft even if you didn't input anything.
2015-09-25 14:30:20 -04:00
Sam
da23735062 FEATURE: Add title notification to topics 2015-09-21 08:28:45 +10:00
Robin Ward
4eaaf4198c FIX: Liking a post shouldn't contract who liked it 2015-09-17 16:29:17 -04:00
Guo Xiang Tan
bce8d0632a FIX: Only cancel composer for when editing first post. 2015-09-17 09:24:02 +08:00
Guo Xiang Tan
a966546843 FIX: Cancel and reopen composer when editing first post. 2015-09-17 00:13:24 +08:00
Robin Ward
b12ace5f9d FEATURE: Add staff gear icon to composer with options 2015-09-15 16:42:04 -04:00
Robin Ward
e53d9f0e8b FIX: Don't use observers to update data
Message bus events were triggering users who didn't have access to
update posts to update them. Instead, perform the update in the action
itself.
2015-09-03 11:10:04 -04:00
Robin Ward
d4b987ff32 Migrate search drop down to menu-panel component. 2015-08-28 15:44:24 -04:00
Sam
8b660066ca fix typo 2015-08-24 16:04:37 +10:00
Guo Xiang Tan
1c2f6b97c3 Use ajax-error in controller:topic. 2015-08-18 16:52:12 +08:00
Guo Xiang Tan
fc87e71218 FIX: Missing error message when bookmark rate limit is hit. 2015-08-17 16:36:59 +08:00
Guo Xiang Tan
b098e07cf1 FIX: Wrong value set when using ember-computed-decorators. 2015-08-15 00:15:23 +08:00
Robin Ward
22844b9e46 Ember 1.12 support 2015-08-13 11:14:16 -04:00
Robin Ward
02a968bd27 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
Robin Ward
e2e3e7c0e0 Add ES6 support to more files 2015-08-13 10:49:08 -04:00
Sam
ccc943c118 FIX: missing error message when editing topics 2015-08-11 16:32:43 +10:00
Robin Ward
b7e6eaa961 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
Régis Hanol
fb65970530 FIX: footer should also be hidden when using back/forward buttons 2015-07-31 16:53:18 +02:00
Régis Hanol
faf4f44776 FEATURE: make pin expiration mandatory 2015-07-29 16:34:21 +02:00
Robin Ward
0d417611a6 FIX: Jshint 2015-07-27 10:39:43 -04:00
Robin Ward
bb93a345eb UX: Use smaller messages for moderator actions. 2015-07-27 10:09:21 -04:00
Sam
e53842529d Merge pull request #3606 from riking/patch-5
FIX: Allow changing ownership of posts with deleted users
2015-07-15 15:56:47 +10:00
Kane York
8796760825 FIX: Allow changing ownership of posts with deleted users 2015-07-14 21:15:34 -07:00
Robin Ward
cc2a33617f Refactor likes/flags to simplify things a lot 2015-07-14 15:50:27 -04:00
Robin Ward
8e395a94d4 FIX: Modal asking where to post was missing 2015-05-14 18:18:28 -04:00
Régis Hanol
ff227eabe6 FIX: select posts 2015-05-12 12:54:28 +02:00
Robin Ward
0a189a4e52 FIX: Message bus callback was pointed at the wrong object. 2015-05-11 11:20:46 -04:00
Robin Ward
098556c78d Assorted Ember 1.11 fixes 2015-05-11 11:20:45 -04:00
Robin Ward
aee12fd6ef Ember Deprecations for Topics 2015-05-11 11:18:37 -04:00
Robin Ward
9cb928e893 FIX: Actions summary expanding was broken 2015-04-15 19:08:16 -04:00
Robin Ward
914dd2dd8d FIX: Escape the title of a topic when replying as new 2015-03-26 15:16:23 -04:00
Régis Hanol
424a3b042a FEATURE: unified UI for pinning/banner topics
REFACTOR: ES6ified all the modals
2015-03-14 01:18:05 +01:00
Robin Ward
091af27a31 FIX: Reply as new topic should select the correct category 2015-03-12 14:41:58 -04:00
Robin Ward
69851bc6cf Deprecates global use of Discourse.MessageBus
We can use DI for this, which makes it easier for plugins to subscribe
to the message bus.
2015-03-12 12:27:30 -04:00
Sam
bf8fd0815f FIX: stop hiding suggested topics when new posts show up 2015-03-05 17:35:43 +11:00
Sam
5ba5a9f3d6 UX: fix jerky UI when creating new posts
- do not scroll screen if post is already on screen
- do not hide/show suggested topics each time you post
- be less aggressive about setting scrollTop in LockOn
2015-03-05 15:01:17 +11:00
Robin Ward
9264a7914f Removed a bunch of Discourse.Site globals 2015-02-23 12:36:04 -05:00
Robin Ward
a519fd5bcf FIX: Highlighting was not being applied after some rendering.
Also includes a bunch of ES6 stuff.
2015-02-12 15:37:02 -05:00
Robin Ward
38fbdf65ef FIX: Sometimes postChangedRoute could be triggered when torn down 2015-02-11 12:57:22 -05:00
Robin Ward
0de6226a20 FIX: Remove Bookmark was broken on bookmarks page
This was particularaly bad now that we removed stars :)
2015-01-13 13:14:58 -05:00
Régis Hanol
c681b353f2 FEATURE: bookmark topic button 2015-01-12 12:10:15 +01:00
Régis Hanol
65f0339146 FIX: un-delete topic wasn't working 2015-01-07 10:53:12 +01:00
Robin Ward
6f72f265cb A trigger when a topic is updated, adds a couple of custom field tests 2015-01-02 15:57:08 -05:00