Commit Graph

7336 Commits

Author SHA1 Message Date
Neil Lalonde
fbd8e6ed4a FEATURE: pasting a link into the title of the composer can automatically onebox it and update the title 2016-12-08 16:09:46 -05:00
Robin Ward
f6f03ac009 FIX: Double clicking full name was broken too 2016-12-08 11:10:10 -05:00
Arpit Jalan
3d4299151c Merge pull request #4596 from techAPJ/composer
FEATURE: show close button instead of maximize in collapsed composer
2016-12-08 21:31:54 +05:30
Arpit Jalan
d9459d09ed FEATURE: show close button instead of maximize in collapsed composer 2016-12-08 20:11:58 +05:30
Arpit Jalan
42b14b0d11 SECURITY: escape advanced search term 2016-12-08 14:54:36 +05:30
Sam Saffron
b4cafc5e78 UX: add notification level button to mobile 2016-12-08 17:47:57 +11:00
Guo Xiang Tan
b9b4b0c175 FIX: Members should be ordered by username. 2016-12-08 14:27:38 +08:00
Arpit Jalan
4381afac1b Merge pull request #4593 from techAPJ/composer
FEATURE: show the reply title and the reply icon in the minimized editor
2016-12-08 11:40:24 +05:30
Arpit Jalan
312a07e452 FEATURE: show the reply title and the reply icon in the minimized editor 2016-12-08 10:30:31 +05:30
Guo Xiang Tan
c3f0ec617f FIX: Object.assign is not available in PhantomJS. 2016-12-08 11:21:19 +08:00
Guo Xiang Tan
7d8a0b051f Fix QUnit tests. 2016-12-08 11:04:46 +08:00
Guo Xiang Tan
a2da2971af FEATURE: Allow columns on group members page to be sortable. 2016-12-08 10:49:12 +08:00
Robin Ward
e3a12995c8 FIX: Fake closure actions were not working (replaced in 2.10) 2016-12-07 14:32:33 -05:00
Guo Xiang Tan
545dfa7191 FEATURE: Allow group owners to edit title. 2016-12-07 10:26:28 +08:00
Guo Xiang Tan
8c7a0b7684 UX: Display group title if it exists. 2016-12-07 10:20:13 +08:00
Guo Xiang Tan
bad6dbc891 UX: Use mobile nav for group page. 2016-12-06 17:02:28 +08:00
Sam
badfda223c FEATURE: add outlet for user stats in summary 2016-12-06 17:26:02 +11:00
Rafael dos Santos Silva
46b3c2e9c5 Use CSS animations for post and topic highlights 2016-12-05 20:20:52 -02:00
Neil Lalonde
007408c285 show featured topic links on categories-with-latest page too 2016-12-05 16:29:27 -05:00
Neil Lalonde
56ee4ffadc Merge pull request #4522 from fantasticfears/featured-link
FEATURE: Allow posting a link with the topic
2016-12-05 16:05:38 -05:00
Robin Ward
9e807896bc FIX: We can route from user cards 2016-12-05 13:45:31 -05:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics 2016-12-05 17:20:54 +01:00
Régis Hanol
e82084405e make eslint happy again 2016-12-05 15:24:41 +01:00
Régis Hanol
9f3eaf4c95 FIX: prevent selectionchanged trigger loop on Safari 2016-12-05 11:33:26 +01:00
Régis Hanol
edce052660 FIX: isSafari detection wasn't working with latest Safari 2016-12-05 11:32:38 +01:00
Guo Xiang Tan
cdb7e14fa7 PERF: Show excerpt on group page. 2016-12-05 18:15:38 +08:00
Régis Hanol
965b38ff2a FIX: safari would lose selection sometimes 2016-12-05 11:08:30 +01:00
Arpit Jalan
431aa79bb3 Merge pull request #4587 from techAPJ/invite-upload
FIX: simplify CSV file upload
2016-12-05 14:30:13 +05:30
Guo Xiang Tan
248c5af556 UX: Restyle group pages a little. 2016-12-05 16:58:04 +08:00
Guo Xiang Tan
adb7fcb6b3 FEATURE: Add bio to group page. 2016-12-05 16:58:04 +08:00
Arpit Jalan
ce974da9e5 FIX: simplify CSV file upload 2016-12-05 14:09:08 +05:30
Guo Xiang Tan
1c42d167ec Missing spinner icon on group pages. 2016-12-05 14:27:47 +08:00
Guo Xiang Tan
e0c28d6fd5 REFACTOR: Stop mixing users page and groups page CSS. 2016-12-05 14:27:47 +08:00
Guo Xiang Tan
31acd311e5 FEATURE: Allow group owners to edit group name and avatar flair. 2016-12-05 14:27:46 +08:00
Erick Guan
0fbb3fb02b FIX: open login modal fails because of missing parameters 2016-12-05 13:22:28 +08:00
Sawood Alam
49fc54aac6 Add initial Urdu support with RTL direction 2016-12-03 23:17:51 -05:00
M Saiqul Haq
a1d34c15c7 FIX: filename typo 2016-12-03 06:16:32 +07:00
Neil Lalonde
a5ca41b362 FIX: sort by column headings in topic list when filtered by tag 2016-12-02 16:55:33 -05:00
Guo Xiang Tan
bc0a8142fe PERF: Only show members count on group page. 2016-12-02 16:28:54 +08:00
Sam
d5f4f2f5c1 regression composing topics on desktop
caught by smoke test
2016-12-02 18:20:23 +11:00
Sam
7b5b255168 UX: improve topic composition on mobile
- tighten up space used for composer body
- stop collapsing and expanding so much
2016-12-02 17:43:18 +11:00
Guo Xiang Tan
3812c07958 Add query params for site settings filter. 2016-12-02 11:45:57 +08:00
Robin Ward
4f44713e8e Allow untranslated plugins to set modal body titles 2016-12-01 15:37:39 -05:00
Robin Ward
4820ebd76c FIX: Don't modify properties in didInsertElement 2016-12-01 14:08:51 -05:00
Robin Ward
69ff0e48b4 Remove SortedMixin 2016-12-01 11:33:33 -05:00
Robin Ward
0dbcb4ec8a FIX: lookupFactory doesn't exist on getOwner result 2016-12-01 11:24:30 -05:00
Guo Xiang Tan
e0803e1f91 Merge pull request #4567 from toumou/master
FIX uploadLocation when window.location.port is empty
2016-12-01 07:19:24 +01:00
Robin Ward
142d35a0a5 Minor Discourse Fixes 2016-11-30 13:45:40 -05:00
Régis Hanol
cf9ebb85ec Merge pull request #4578 from vinkas0/fix/plugins-route
fix: adminPlugins:index route is missing
2016-11-30 12:25:58 +01:00
Vinoth Kannan
a97c59ed2e fix: adminPlugins:index route missing 2016-11-30 14:36:42 +05:30
Guo Xiang Tan
256a231a0a FIX: Incorrect translation key. 2016-11-30 16:59:22 +08:00
Robin Ward
ae38a78bb6 FIX: Categories default page was broken 2016-11-29 15:54:28 -05:00
Robin Ward
4e251eaf08 FIX: Support overwriting nested resources 2016-11-29 13:08:24 -05:00
Guo Xiang Tan
e97efe3ac6 Fix incorrect class and removal unncessary div. 2016-11-29 15:31:03 +08:00
Guo Xiang Tan
943e605add REFACTOR: Project's convention is to use dash for classes. 2016-11-29 15:22:24 +08:00
Arpit Jalan
8a18c5be1f FIX: use proper locale for user archive download alerts 2016-11-29 12:48:28 +05:30
Sam
266322ce2e FEATURE: add help text for no bookmarks in user page 2016-11-29 17:56:00 +11:00
Guo Xiang Tan
0d4f71e90b FIX: Display group avatar flair on user page. 2016-11-29 13:47:45 +08:00
Sam
26db5d4c11 FIX: correctly specify outlet adds LI 2016-11-29 16:17:32 +11:00
Guo Xiang Tan
dfc383a948 UX: Capitalize group name. 2016-11-29 12:37:40 +08:00
Sam
0631a84ca0 Merge pull request #4576 from cpradio/min-posts-search
FEATURE: Add min_post_count search filter
2016-11-29 10:19:33 +11:00
cpradio
66ca6d622e FEATURE: Add min_post_count search filter 2016-11-28 11:43:12 -05:00
Robin Ward
d9cf9e2fb1 FIX: ace editor was buggy in the latest Ember release 2016-11-28 11:29:56 -05:00
Régis Hanol
6768c7fc0b Merge pull request #4563 from vinkas0/vinkas/flatten
Added flatten func for applyDecorators
2016-11-28 10:19:22 +01:00
Régis Hanol
ecebc58780 Merge pull request #4571 from cpradio/hide-about-me-suspended
FEATURE: Hide Profile Text from non-staff if user is suspended
2016-11-28 10:08:57 +01:00
Joe Buhlig
b1e8e2a6f6 FIX: Leave tags parameter in query string of URL when visiting page 2016-11-27 14:33:15 -06:00
cpradio
eb5a5e3a53 FEATURE: Hide Profile Text from non-staff if user is suspended 2016-11-25 19:26:36 -05:00
Robin Ward
47a235e06a FIX: Raw plugin outlets were not working properly 2016-11-25 16:17:04 -05:00
Robin Ward
6aa5722d2b Remove Ember 1.x specific code 2016-11-25 15:38:45 -05:00
Robin Ward
3bd5ac8015 Fix Wizard unit tests 2016-11-25 14:29:45 -05:00
Guo Xiang Tan
8f70829e8e Merge pull request #4569 from tgxworld/fix_n+1_queries
PERF: Fix N+1 queries when loading groups.
2016-11-25 19:55:43 +01:00
Guo Xiang Tan
559918c6c6 PERF: Add endpoint to check if a group can be mentioned by user. 2016-11-26 02:20:46 +08:00
Guo Xiang Tan
5794f1619d PERF: Fix N+1 queries when loading groups. 2016-11-26 02:20:26 +08:00
Robin Ward
d8a69e6bb2 FIX: Use the register within the poll plugin 2016-11-25 11:58:06 -05:00
Régis Hanol
e3b47a3998 FIX: hide quote button when the selection is expanded to more than 1 post 2016-11-25 17:55:39 +01:00
Robin Ward
47553f5e57 Remove empty file 2016-11-25 10:29:02 -05:00
Robin Ward
2d3518f475 Enable newer version of Ember 2016-11-25 10:09:58 -05:00
Sam
ed16589b12 correct off by 1 2016-11-25 13:18:56 +11:00
Sam
881eb373c5 improve performance of backfill avoid queuing more than 1 backfill call 2016-11-25 12:33:10 +11:00
Sam
88a46be051 FEATURE: display text excerpts when scrolling on mobile 2016-11-25 11:35:29 +11:00
Neil Lalonde
6c38053c32 preview digest renders nicely in an iframe 2016-11-24 15:38:22 -05:00
Neil Lalonde
f885e5b5e6 fix success response handling of sending digest preview email 2016-11-24 15:05:33 -05:00
Robin Ward
676d585abb FIX: ESLint 2016-11-24 13:17:07 -05:00
Robin Ward
bb0ab289b9 Migrate deprecated Ember.ListView to regular components.
This is slower for scrolling but it actually feels reasonably fast to
me? If we find it's a problem we can revisit once Ember 2.4 is fully in
place.
2016-11-24 12:59:20 -05: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
Thomas Ferracin
c74a5771fd FIX uploadLocation when window.location.port is empty
More information available: https://meta.discourse.org/t/uploaded-video-are-not-embedded-and-display-a-link/53346
2016-11-24 18:01:08 +01:00
Robin Ward
5ba653d604 Allow old plugins without d-modal-body to work 2016-11-24 11:24:06 -05:00
Robin Ward
66f68e8faf FIX: correctly bind this when sending a widget action 2016-11-24 10:59:15 -05:00
Guo Xiang Tan
0b28075c00 Revert "REFACTOR: ajax defaults to json data type for GET requests."
This reverts commit af0b6ce53d.
2016-11-24 16:47:18 +08:00
Guo Xiang Tan
af0b6ce53d REFACTOR: ajax defaults to json data type for GET requests. 2016-11-24 16:20:17 +08:00
Neil Lalonde
47aa3d94aa FEATURE: send digest preview to an email address 2016-11-23 17:51:57 -05:00
Robin Ward
b8c88dbfe0 Update docs for connector 2016-11-23 16:44:57 -05:00
Robin Ward
9030e40041 FIX: Container appending was broken in Ember 2.4 2016-11-23 14:58:10 -05:00
Robin Ward
c5687100b0 Add the ability to connect a component to a Discourse widget 2016-11-23 14:27:47 -05:00
Robin Ward
ae4fd06444 Add acceptance tests for custom-html 2016-11-23 13:02:22 -05:00
Guo Xiang Tan
55013be19f FIX: Make sure we clean quoteState when destroying quoteButton. 2016-11-23 14:45:47 +08:00
Robin Ward
9afa55a3fd FIX: Random failing plugin tests 2016-11-22 15:36:18 -05:00
Robin Ward
ca5ed77b43 FIX: More robust afterRender for the composer 2016-11-22 14:34:41 -05:00
Robin Ward
f51bf2358e FIX: Error finding $fields.position during tests 2016-11-22 14:28:10 -05:00
Robin Ward
217007ff54 Add acceptance tests for plugin outlets 2016-11-22 14:03:01 -05:00
Robin Ward
5b05c8102e FIX: Read posts weren't refreshing on Ember 2.4 2016-11-22 12:17:40 -05:00
Robin Ward
daabdd2ccf FIX: Topic status icons weren't being displayed 2016-11-21 16:18:41 -05:00
Robin Ward
438e1bc0a9 Use the view registry instead of Ember.View.views 2016-11-21 15:31:14 -05:00
Robin Ward
3d8cfac8bf Migrate ModalView to Component 2016-11-21 15:18:43 -05:00
Robin Ward
2c585783ff Convert TopicView to component 2016-11-21 15:10:36 -05:00
Robin Ward
24fb060f50 Remove private Ember.TargetActionSupport usage 2016-11-21 11:34:31 -05:00
Guo Xiang Tan
07717dfaa7 FIX: Emoji not rendering using plugin api. 2016-11-21 14:33:17 +08:00
Sam
e2c87da42a FEATURE: Add basic support for Safe Mode
In Safe Mode all JS extensions and site customizations are disabled.

To access Safe Mode visit `sitename.org/safe-mode`
2016-11-21 16:46:14 +11:00
Guo Xiang Tan
6397d935ce Merge pull request #4560 from tgxworld/optional_title_for_emoji_widget
Make title attribute on emoji widget optional.
2016-11-21 06:17:44 +01:00
Guo Xiang Tan
c6a4b46b32 FIX: Login modal not showing on mobile. 2016-11-20 10:11:25 +08:00
Guo Xiang Tan
cba763a162 Revert "FIX: Login was broken on mobile"
This reverts commit fe94c5f9a5.
2016-11-20 10:11:16 +08:00
Rafael dos Santos Silva
fe94c5f9a5 FIX: Login was broken on mobile 2016-11-19 21:13:52 -02:00
Vinoth Kannan
c90376653b Update hamburger-menu.js.es6 2016-11-19 23:49:31 +05:30
Guo Xiang Tan
c86588469f UX: Bump limit for "view older notification" link. 2016-11-19 08:17:42 +08:00
Robin Ward
7bd88b706a FIX: Flash messages were broken 2016-11-18 12:58:55 -05:00
Robin Ward
06254d3163 Remove the last of the ModalBodyView uses 2016-11-18 12:13:21 -05:00
Robin Ward
c9af4b839e Migrate composer view to component 2016-11-18 11:17:15 -05:00
Robin Ward
4e82e3ac75 hide-modal-trigger is a component, not a view 2016-11-18 10:54:03 -05:00
Arpit Jalan
7cfda43ae3 Merge pull request #4559 from techAPJ/select-all
FEATURE: batch select topics
2016-11-18 19:15:01 +05:30
Guo Xiang Tan
02150d77a2 FIX: Reset isMouseDown as long as mouse is up. 2016-11-18 15:31:14 +08:00
Guo Xiang Tan
8cc64cd05b FIX: Incorrect variable. 2016-11-18 12:49:42 +08:00
Guo Xiang Tan
3f54730c2d Make title attribute on emoji widget optional. 2016-11-18 12:36:48 +08:00
Guo Xiang Tan
7af75bf3a4 Fix JS test. 2016-11-18 10:43:39 +08:00
Guo Xiang Tan
12b175db59 Store skipSearchContext in state for plugins to extend. 2016-11-18 09:32:39 +08:00
Régis Hanol
2710525d01 FIX: custom emojis leaking over multisite - take 2 2016-11-17 23:28:27 +01:00
Arpit Jalan
9c7b891afd FEATURE: batch select topics 2016-11-18 02:32:47 +05:30
Robin Ward
56642bbde3 Migrate user card to use components 2016-11-17 15:40:04 -05:00
Robin Ward
742f01f82c Deprecate ModalBodyview 2016-11-17 14:00:37 -05:00
Régis Hanol
a0f1090d79 FIX: custom emojis leaking over multisites 2016-11-17 19:35:39 +01:00
Régis Hanol
ec28789b99 Merge pull request #4558 from fantasticfears/long-date-i18n
FIX: activy column title shows the non-i18n datetime
2016-11-17 10:57:26 +01:00
Guo Xiang Tan
f824afb4d3 FEATURE: Allow date_of_field column to be updated. 2016-11-17 15:16:58 +08:00
Robin Ward
6431b03d66 Remove the last of the admin view classes 2016-11-16 16:41:15 -05:00
Erick Guan
fb3c5bcd0f
FIX: activy column title shows the non-i18n datetime 2016-11-16 22:15:34 +01:00
Jeff Atwood
a5de6f79a3 Merge pull request #4556 from cpradio/cannot-see-mention-comments
Add comments to relevant sections denoting "create new topic" …
2016-11-16 22:02:31 +01:00
Robin Ward
036954d5b4 FIX: Rate limited errors on forgot password were not displayed 2016-11-16 11:20:55 -05:00
Robin Ward
26f9a7ac50 FIX: Title was missing from sharing 2016-11-16 10:57:21 -05:00
cpradio
c3d4c949f1 Add comments to relevant sections denoting "create new topic" scenario is not supported for cannot-see-mention (per @coding-horror instruction) 2016-11-16 06:26:36 -05:00
Guo Xiang Tan
a6b86036ca FIX: Workaround box-shadow and box-radius bug on safari. 2016-11-16 18:22:59 +08:00
Guo Xiang Tan
c4e3ab21dd FIX: Don't scroll to top of post. 2016-11-16 15:08:18 +08:00
Guo Xiang Tan
1761317b37 UX: Add help text to first notification. 2016-11-16 12:24:33 +08:00
Guo Xiang Tan
8471289831 FIX: Can't login with enter key. 2016-11-16 11:52:57 +08:00
Guo Xiang Tan
10068f86b6 FIX: Notification ring backdrop might get triggered more than once. 2016-11-16 11:37:13 +08:00
Guo Xiang Tan
239cbc6e68 Make eslint happy. 2016-11-16 10:55:57 +08:00
Guo Xiang Tan
64b5c81843 FIX: Add alt and title attribute to emoji widget. 2016-11-16 10:48:20 +08:00
Robin Ward
aa86e5f206 Remove admin modal views 2016-11-15 17:18:36 -05:00
Robin Ward
6387acc649 Migrate history modal to components 2016-11-15 16:44:50 -05:00
Robin Ward
33fd84c990 Migrate reorder categories to components 2016-11-15 16:44:50 -05:00
Robin Ward
bf49c38faf Migrate Login modal to use components 2016-11-15 16:44:50 -05:00
Robin Ward
684b3805fd Migrate the topic entrace to use a component 2016-11-15 16:44:50 -05:00
Robin Ward
32a8d5ed1f Merge pull request #4550 from cpradio/cannot-see-mention
FEATURE: Notify user when mention can't see the reply they were mentioned in
2016-11-15 16:40:47 -05:00
Robin Ward
740eec3d15 FIX: Use the view's container if available 2016-11-15 15:13:39 -05:00
Robin Ward
d57adfed02 Migration upload-selector to component 2016-11-15 14:10:34 -05:00
Robin Ward
852639e27a FIX: Restore functionality of custom-html for now 2016-11-15 12:15:37 -05:00
Neil Lalonde
bd1b7bd330 new plugin outlet extra-nav-item 2016-11-15 12:15:13 -05:00
Robin Ward
edd49bc953 FIX: ESLint 2016-11-15 12:10:18 -05:00
Robin Ward
0f9e45f283 Allow the loader to understand when files are moved 2016-11-15 11:41:16 -05:00
Guo Xiang Tan
68f9c7142f FIX: Display first notification spotlight only once each page load. 2016-11-15 14:42:35 +08:00
cpradio
824c235760 FEATURE: Notify user when mention can't see the reply they were mentioned in
FIX: Group Mention Notifications
2016-11-14 22:03:16 -05:00
Guo Xiang Tan
5613c5f81a UX: Add "spotlight" on first notification. 2016-11-15 10:57:16 +08:00
Sam
095767bdb4 tweak position and style of registrations disclaimer 2016-11-15 13:41:43 +11:00
Sam
a07148830e FEATURE: add TOS and Privacy links to sign up 2016-11-15 13:29:54 +11:00
Sam
f4c754b389 FEATURE: split JavaScript application bundle, so plugins live in own file
This adds plugin.js and plugin_third_party.js files
2016-11-15 11:43:13 +11:00
Robin Ward
67edb6ce5c Migrate create account modal to components 2016-11-14 16:50:46 -05:00
Robin Ward
85c2aaa341 Migrate flag modal to use components 2016-11-14 16:50:46 -05:00
Robin Ward
dca26b43e4 Migrate upload avatar view to components 2016-11-14 16:00:40 -05:00
Robin Ward
9fea9e00c3 Migrate invite view to components, remove HTML from translations 2016-11-14 16:00:40 -05:00
Robin Ward
f105d72129 Move non Ember.View classes to raw-views 2016-11-14 16:00:40 -05:00
Robin Ward
120a780763 Replace the add category class view mixin with a component 2016-11-14 14:36:29 -05:00
Robin Ward
aada925b21 Start converting modal views to components 2016-11-14 14:15:48 -05:00
Arpit Jalan
3ed2d645a3 FIX: attach proper class to user notification section 2016-11-12 15:02:27 +05:30
Robin Ward
b217db9337 Remove unused var 2016-11-11 17:24:17 -05:00
Robin Ward
a9ed15e11a FIX: Remove more of those pesky View classes 2016-11-11 17:03:15 -05:00
Robin Ward
cc93cd76ef Replace quote button with a component 2016-11-11 16:00:28 -05:00
Robin Ward
93403b0af6 Replace the share popup with a component 2016-11-11 14:13:19 -05:00
Robin Ward
2a25136ecf FIX: Tags weren't showing up in Ember 2.4 2016-11-11 13:01:53 -05:00
Robin Ward
01a8ef590a Remove more view classes 2016-11-10 16:27:15 -05:00
Robin Ward
d98aa48f0d Remove some preferences views, add extra tests 2016-11-10 15:54:21 -05:00
Robin Ward
a94f06ff78 Remove the ScrollTop Mixin 2016-11-10 15:25:04 -05:00
Robin Ward
0904ad5537 Migrate createViewWithBodyClass helper to components 2016-11-10 14:28:04 -05:00
Robin Ward
ecb9574a32 FIX: Touch issues in iOS 2016-11-10 10:12:47 -05:00
Guo Xiang Tan
531d649a75 FIX: Make sure we decrease post count if new post fails to save. 2016-11-10 11:02:11 +08: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
Robin Ward
985b855a5b FIX: Later versions of ember require dashes in template names 2016-11-09 14:50:34 -05:00
Jeff Atwood
dd9ba3c50c Merge pull request #4543 from xfalcox/linkify-user-stats
FEATURE: Clinking on stats in user summary take you to the respective activity page
2016-11-09 20:04:55 +01:00
Robin Ward
1d784f5758 Allow Ember 2.4 to connect views to widgets 2016-11-09 13:58:24 -05:00
Rafael dos Santos Silva
150cb6659f FEATURE: Clinking on stats in user summary take you to the respective activity page 2016-11-09 16:38:07 -02:00
Régis Hanol
b0c6cd8afd make jslint happy 2016-11-09 18:09:26 +01:00
Régis Hanol
b117a9994b FIX: escape emojis in topic selection modal 2016-11-09 18:06:19 +01:00
Robin Ward
875703a750 A couple of small but important fixes for later Ember releases 2016-11-09 11:46:27 -05: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
Neil Lalonde
f10520a5f2 fix broken js lint 2016-11-08 17:59:51 -05:00
Jeff Atwood
13a40d2f99 Merge pull request #4541 from xfalcox/no-last-visit-on-top
FIX: Last Visit line shouldn't appear on /top
2016-11-08 23:08:40 +01:00
Rafael dos Santos Silva
bd77f5cb72 FIX: Last Visit line shouldn't appear on /top 2016-11-08 19:56:13 -02:00
Neil Lalonde
86522a52b7 FEATURE: add censored_pattern setting to censor posts using regex 2016-11-08 16:39:26 -05:00
Robin Ward
151597bf0f Update code so Ember 2.3 can have more tests passing 2016-11-08 13:40:35 -05:00
Régis Hanol
78cd42943f FEATURE: add 'emoji-custom' class to custom emojis 2016-11-08 16:36:09 +01:00
Arpit Jalan
b7532b5247 FIX: download archive confirm message was broken for non-staff users 2016-11-08 15:04:18 +05:30
Guo Xiang Tan
a8b7599d4a FEATURE: Add a radial ping when user's first notification has not been read. 2016-11-08 16:23:12 +08:00
Robin Ward
70fb2431a1 Migrate this.container to getOwner(this) 2016-11-07 15:21:31 -05:00
Robin Ward
bc2c6b0918 FIX: Allow arrays of links for decorators 2016-11-07 12:11:52 -05:00
Robin Ward
aa80c8cbdd FIX: Support optional logos when previewing the wizard 2016-11-07 11:06:32 -05:00
Robin Ward
5febbd58cc The initializer arguments changed in future Ember releases 2016-11-04 10:23:24 -04:00
Robin Ward
e18ae34493 Don't try injecting into the Resolver. Use options instead. 2016-11-04 10:23:24 -04:00
Robin Ward
c8282e4ca1 FIX: We're running code outside of the runloop 2016-11-04 10:23:24 -04:00
Guo Xiang Tan
b26368709e FIX: Unescape emojis in composer topic title. 2016-11-04 16:53:13 +08:00
Robin Ward
a9d7569dda Replace computed properties for topic query params 2016-11-03 13:09:43 -04:00
Robin Ward
beac81d0ee Support both _actions and actions for delegating 2016-11-03 11:52:30 -04:00
Robin Ward
95c8d66fe0 FIX: In Ember 2.0 you can't bind Query Parametrs like this 2016-11-03 11:00:26 -04:00
Robin Ward
2d126cff8f Ember.String.fmt is deprecated 2016-11-03 11:00:26 -04:00
Robin Ward
464f509941 In Ember 2.0 this.resource is deprecated 2016-11-03 11:00:26 -04:00
Guo Xiang Tan
847eea85a0 Merge pull request #4527 from cpradio/category-selector
FIX: Advanced Search to utilize Category Selector so it can distingui…
2016-11-03 09:15:00 +08:00
Sam
920264349d UX: title links to first post on expanded timeline 2016-11-02 15:12:13 +11:00
Robin Ward
e9309f2d96 FIX: Broken {{if}} statement 2016-11-01 16:56:45 -04:00
Neil Lalonde
9ef1688a76 FEATURE: per-category default topic list sort order 2016-11-01 12:18:41 -04:00
cpradio
f59c11b4ab FIX: Advanced Search to utilize Category Selector so it can distinguish uncategorized from no category selected 2016-10-31 17:27:57 -04:00
Robin Ward
e07dfe16d7 FIX: Mentions were refreshing too frequently 2016-10-31 13:19:23 -04:00
Régis Hanol
7a08d1a11b Merge pull request #4520 from jako512/header-plugin-outlets
Added above-site-header and below-site-header plugin outlets
2016-10-31 10:29:15 +01:00
Sam
584dc63d13 UX: align timeline to the right in mobile and add jump to button 2016-10-31 12:40:40 +11:00
David McClure
9bbab6e64e FIX: Auto-link URLs that are inside parentheses 2016-10-29 18:57:25 -07:00
Neil Lalonde
4d58a00387 FIX: clear tag filter when changing category filter 2016-10-28 17:27:47 -04:00
Robin Ward
3505a13bea FIX: Broken build 2016-10-28 16:35:42 -04:00
Robin Ward
a319cfe77a Final set of backwards compatible fixes for Ember 1.13 2016-10-28 15:51:39 -04:00
Robin Ward
1e4a56fe14 Backwards compatible support for inline helpers 2016-10-28 12:48:56 -04:00
Robin Ward
319b043f43 FIX: Helpers with multiple parameters were broken in 1.13 2016-10-28 10:13:41 -04:00
Robin Ward
0f1ed1e41a Migration topic footer buttons to components 2016-10-28 10:13:41 -04:00
Guo Xiang Tan
753a65833a Merge pull request #4521 from cpradio/fix-advanced-search-speedy-entry
FIX: Correct Speedy entry in Posted before/after and Minimum Post Count
2016-10-28 12:21:55 +08:00
cpradio
dbe9391036 FIX: Correct Speedy entry in Posted before/after and Minimum Post Count 2016-10-27 19:48:09 -04:00
jako512
19479907d0 Added above-site-header and below-site-header plugin outlets 2016-10-27 18:13:51 +02:00
Robin Ward
407cda1dfe FIX: Scrolling on backup logs 2016-10-27 11:57:33 -04:00
Robin Ward
004e71a3fe FIX: Some errors that only appear in Ember 1.13 2016-10-26 16:26:10 -04:00
Robin Ward
7953a53cc5 Replace findProperty and filterProperty with findBy and filterBy 2016-10-26 15:45:06 -04:00
Robin Ward
3bb4e22692 FIX: cleanDOM couldn't be called from url 2016-10-26 13:27:47 -04:00
Robin Ward
eeee5f4c08 Use {{outlets}} instead of {{render}} in the application template 2016-10-26 13:02:58 -04:00
Robin Ward
fa3c45bb4c FIX: Mobile raw templates weren't being resolved 2016-10-26 11:19:29 -04:00
Robin Ward
b601120b39 Support for Raw Handlebars and helpers in Ember 1.13 2016-10-26 10:27:57 -04:00
Robin Ward
9ac35f07b9 FIX: Missing icon on history buttons 2016-10-25 15:39:09 -04:00
Robin Ward
55be81faa6 Don't use .@each dependant keys 2016-10-25 15:39:09 -04:00
Robin Ward
622dc82481 Replace deprecated render(buffer) with a custom buffered renderer 2016-10-25 14:00:21 -04:00
Guo Xiang Tan
adfd9733c6 FIX: Advanced search should retain search term. 2016-10-25 11:47:11 +08:00
Robin Ward
bd352385a5 Framework for supporting Ember 1.12/1.13 helpers simulataneously 2016-10-24 15:13:32 -04:00
Robin Ward
e79465a965 FIX: Regression due to deprecation fix on site settings 2016-10-24 11:32:34 -04:00
Guo Xiang Tan
b31fa878bb Revert "Properly name tag intersection route"
This reverts commit 01af2a8df0.
2016-10-24 22:27:22 +08:00
Régis Hanol
3841cd9a7f FEATURE: onebox everything by default
FEATURE: new 'max_oneboxes_per_post' site setting
FEATURE: change onebox whitelist to a blacklist
PERF: debounce the loading of oneboxes
PERF: improve perf of mention links in preview
FIX: sort loading of custom oneboxer
2016-10-24 12:46:22 +02:00
Sam
f083994f5a FIX: exact group match always should be added 2016-10-24 12:43:38 +11:00
Régis Hanol
3c8e0a8348 Merge pull request #4508 from kstaikov/mailing_list_exclude_own_replies
FEATURE:'No Echo' option for mailing list mode.
2016-10-22 10:45:14 +02:00
Robin Ward
fab36e6cf7 Fix more deprecations:
- Remove all `needs:` code
2016-10-21 17:28:37 -04:00
Neil Lalonde
761cc688b4 FEATURE: add a setting to allow url schemes other than http(s) 2016-10-21 12:21:31 -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
Régis Hanol
35a79a70c3 FIX: uploading custom avatar was always hidden 2016-10-20 19:53:41 +02:00
Sam
9457b03da1 UX: make it easier to collapse the timeline from fullscreen 2016-10-20 10:14:53 +11:00
David Taylor
91da124769 Added resolveService function to custom resolver 2016-10-19 22:12:25 +01:00
Kiril Staikov
aee943486a FEATURE:'No Echo' option for mailing list mode.
Mailing list mode now includes the 'no echo' option: to only receive emails of posts not created
by you.  If you reply to an email thread in mailing list mode, your reply will not then be echoed
back to you in a duplicate email by the system.
2016-10-19 13:14:36 -04:00
Régis Hanol
9f7b529495 FIX: properly detect when attachments are allowed 2016-10-19 18:42:24 +02:00
Robin Ward
c03d25f170 FEATURE: Configure Admin Account
Adds a "Step 0" to the wizard if the site has no admin accounts where
the user is prompted to finish setting up their admin account from the
list of acceptable email addresses.

Once confirmed, the wizard begins.
2016-10-19 11:27:56 -04:00
Arpit Jalan
0a6ed64ca6 FIX: correct computed property 2016-10-19 11:11:54 +05:30
Sam
2ffe62846b FIX: broken localization for auto close 2016-10-19 16:10:31 +11: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
Robin Ward
fb94b4c56d Show the whisper preview in the whisper style 2016-10-17 16:53:24 -04:00
Guo Xiang Tan
41a2f2cfda 💣 comments that are not required. 2016-10-17 22:46:47 +08:00
Guo Xiang Tan
30902d00d7 Merge pull request #4495 from cpradio/empty-search-fields
FIX: Improve removing advanced filters
2016-10-17 22:45:29 +08:00
cpradio
ddacda0388 Update based on review comments
Found a few javascript errors when visiting the search page with ?expanded=true and no query.
2016-10-17 00:02:58 -04:00
Guo Xiang Tan
d8722e7a87 Merge pull request #4499 from tgxworld/add_options_to_surround_text
Add option to apply surround across multilines.
2016-10-17 10:18:25 +08:00
cpradio
1e7c69044c FIX: Improve removing advanced filters
Prior:
Entering `test after:5` and then removing the 5 via the search text field would result in the UI not updating

After:
UI updates after half a second

Removing it from the UI, removes it from the search field immediately.

Change the regex to detect filter words. This now matches what happens in search.rb, which gives a lot more flexibility (such as iterating over multiple `in:` terms)

Return [] when searchTerm is empty

Move .trim() to this.set('searchTerm', searchTerm) so it doesn't run twice (which was very obvious when watching the search term field)

More refactoring to make this a bit less complex

Update code based on review comments

FEATURE: Add common `in:` options
2016-10-14 19:04:10 -04:00
Guo Xiang Tan
6b40f2c42c Add option to apply surround across multilines. 2016-10-14 14:03:00 +08:00
Sam
f4f5524190 FEATURE: user API now contains scopes so permission is granular
previously we supported blanket read and write for user API, this
change amends it so we can define more limited scopes. A scope only
covers a few routes. You can not grant access to part of the site and
leave a large amount of the information hidden to API consumer.
2016-10-14 16:05:42 +11:00
Guo Xiang Tan
ce8b850b11 Merge pull request #4496 from cpradio/search-ui-changes
FIX: Shrink tag input and use date type for Post Time
2016-10-14 10:33:10 +08:00
Guo Xiang Tan
dff5d6d9b0 Merge pull request #4497 from gdpelican/allow-avatar-title-option
FEATURE: Allow title override for user avatars
2016-10-14 10:27:20 +08:00
Guo Xiang Tan
10dfcc2ae9 Merge pull request #4498 from gdpelican/tags-show-route-fix
FIX: Properly name tag intersection route
2016-10-14 10:18:17 +08:00
James Kiesel
01af2a8df0 Properly name tag intersection route 2016-10-13 13:43:56 -04:00
James Kiesel
d76d78f855 Allow title override for user avatars 2016-10-13 13:43:22 -04:00
cpradio
9fd4cf3278 FIX: Shrink tag input and use date type for Post Time 2016-10-13 12:48:36 -04:00
Guo Xiang Tan
94002f5903 FIX: Post search time was updating incorrectly.
* A search term of `after` will result in `after: after:after`.
2016-10-13 21:26:01 +08:00
Guo Xiang Tan
2eb48ee1ce FIX: Search terms are appearing in filters. 2016-10-13 20:42:37 +08:00
Guo Xiang Tan
4c2c21ee2b Opps this should be null. 2016-10-13 15:58:31 +08:00
Guo Xiang Tan
b16b2a6fbb FIX: Reset advanced search options when search term is cleared. 2016-10-13 15:54:32 +08:00
Guo Xiang Tan
06cbabb4da FIX: Don't search for tags if tagging is disabled. 2016-10-13 15:09:44 +08:00
Guo Xiang Tan
ae0db10e2d Fix full page search tests. 2016-10-13 15:03:58 +08:00
Guo Xiang Tan
b4a899b144 Make eslint happy. 2016-10-13 14:47:18 +08:00
Guo Xiang Tan
ef1918662c PERF: Don't render advanced search options when not expanded.
* Debounce options update as well.
2016-10-13 14:46:13 +08:00
Guo Xiang Tan
1606ed01f9 FIX: Don't mix camelCase into query params. 2016-10-13 14:43:47 +08:00
Guo Xiang Tan
af90a04bd9 FIX: All clicks should close autocomplete. 2016-10-13 13:28:24 +08:00
Guo Xiang Tan
2095b034ad FIX: Make links work with subfolder installs. 2016-10-13 13:21:07 +08:00
Guo Xiang Tan
4f87f1886b Make eslint happy. 2016-10-13 12:10:01 +08:00
Guo Xiang Tan
91a296839f Remove unnecessary computed property. 2016-10-13 12:08:00 +08:00
Guo Xiang Tan
994a03b3e3 FIX: Advanced search link doesn't work with subfolder installs. 2016-10-13 12:00:02 +08:00
Guo Xiang Tan
5dfaceb7a5 Remove unused line. 2016-10-13 11:58:36 +08:00
Arpit Jalan
a0e0ab610e FIX: back button behaviour should be consistent when visiting watched/muted topics from user preferences page 2016-10-13 02:16:21 +05:30
cpradio
5091124eed FIX: fix eslint error due to removing the search_help
Related commit that made eslint unhappy
c51992cf5e
2016-10-11 20:35:25 -04:00
cpradio
1d27610ffc FEATURE: search menu options opens full page search 2016-10-11 19:59:37 -04:00
cpradio
6bf0bc3408 FEATURE: search menu options opens full page search 2016-10-11 18:52:31 -04:00
cpradio
ca4130f30d FIX: Use @username instead of user:username 2016-10-11 17:41:04 -04:00
Jeff Atwood
70f46d81a9 disable the group and badge searches for now 2016-10-11 14:25:48 -07:00
Jeff Atwood
c51992cf5e remove old search help in favor of advanced search 2016-10-11 14:01:16 -07:00
Sam
6031e692f0 Merge pull request #4366 from xfalcox/print
Print Support
2016-10-11 11:47:20 +11:00
Sam
b6d0d4d94d tweaks to full page search 2016-10-11 10:36:27 +11:00
Sam
ea1f0683c8 Merge pull request #4477 from cpradio/watching-state-on-reply
FEATURE: Add notification level user preference when replying to a topic
2016-10-11 10:05:37 +11:00
Sam
f6ac914376 Merge pull request #4467 from cpradio/advanced-search-ui
FEATURE: Advanced Search UI
2016-10-11 10:02:35 +11:00
Arpit Jalan
d06c82e555 FEATURE: add unique class to topic navigation pages 2016-10-10 22:38:41 +05:30
Régis Hanol
586ce69b1b UX: properly hide 'Activity Summary' preference when Summaries are disabled 2016-10-10 16:36:36 +02:00
cpradio
dc87b6943a Fix the ID for postTime 2016-10-08 09:29:05 -04:00
cpradio
a7507dad63 Add Acceptance Tests (which found an error)
Tests for populating category and tags

Added acceptance tests for populating the Username and Category through the Advanced Search UI (will work on the other fields later)

Give the combo-box elements ids
Add acceptance tests for the rest of the advanced search UI (except for Tags, tags are evil)
2016-10-08 09:09:37 -04:00
Leo McArdle
c1da9e780e FEATURE: Added user profile and card outlets
Added user-location-and-website outlet
Added user-card-location-and-website outlet
2016-10-07 21:40:41 +01:00
Neil Lalonde
a061c025f1 FIX: in create/edit category modal, don't prompt to choose a parent category when allow_uncategorized_topics is false 2016-10-05 12:06:37 -04:00
Sam
843c7a21c9 FIX: properly handle blank localizations 2016-10-05 18:08:54 +11:00
Sam
601a96333a FIX: last visited line not rendering correctly
- stop changing cached models
2016-10-05 15:37:47 +11:00
Neil Lalonde
374617c8c9 FIX: mobile users page search field loses focus on each keypress 2016-10-04 14:09:28 -04:00
cpradio
4b71fd253b Advanced Search UI
Properly support Categories so it updates the search box correctly

Use category id, as it is more consistent with search results than using the slugs, especially for parent/subcategory

Added Status

Improve AutoComplete so it can receive updates
Added the ability for AutoComplete to receive updates to badge-selector and group-selector

Respect null, which is set via web-hooks

Support both # and category: for category detection.

Only update the searchedTerms if they differ from its current value (this helps the Category Selector receive updates)

Opt in receive updates (#3)

* Make the selectors opt-in for receiving updates

* Opt-in to receive updates

* Fix category detection for search-advanced-options

Fix eslint error

Update user-selector so it can receive updates live too
Make the canReceiveUpdates check validate against 'true'

Converted to use template literals

Refactor the regex involved with this feature
Split apart the init to make it a bit more manageable/testable

Switch the category selector to category-chooser, so it is a dropdown of categories instead of auto-complete

Reduce RegEx to make this happier with unicode languages and reduce some of the complexity
2016-10-04 11:18:01 -04:00
Régis Hanol
08c4de388e make eslint happy 2016-10-04 12:14:24 +02:00
Sam
baecaddef0 Merge pull request #4475 from xfalcox/last-visit-adjusts
FIX: Last visit must keep working when changing categories
2016-10-04 19:31:22 +11:00
cpradio
6f1c31d777 Add notification level user preference when replying to a topic 2016-09-30 14:58:07 -04:00
Rafael dos Santos Silva
5476dee52d FIX: Last visit must keep working when changing categories 2016-09-29 17:40:28 -03:00
Robin Ward
f0937dc5d3 FIX: Route to .rss or .json as a server side URL 2016-09-28 10:36:56 -04:00
Régis Hanol
064a83c44c Merge pull request #4464 from xfalcox/patch-2
Make deprecated.js ES5 compatible
2016-09-28 11:17:33 +02:00
Robin Ward
8871c9852c FIX: Allow us to link to server side responses 2016-09-28 05:04:23 -04:00
Rafael dos Santos Silva
2ce8845c89 Enable last visit line on mobile 2016-09-27 16:24:23 -03:00
Guo Xiang Tan
119225e496 Make eslint happy. 2016-09-27 15:12:47 +08:00
Rafael dos Santos Silva
16aad189fb UX: Add text to new messages line 2016-09-27 14:52:03 +08:00
Rafael dos Santos Silva
03ec480c65 Removes UI for print, adds CTRL+P shortcut 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
2a5a0bebb3 Adjusts from review 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
acc70cc3de SiteSetting, admin passtrough, CSS, hide on mobile 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
c12e533273 Feature: Adds a button to print a topic 2016-09-26 20:44:50 -03:00
Rafael dos Santos Silva
c759b5f955 Make ES5 compatible 2016-09-26 18:43:33 -03:00
Jeff Atwood
a4dd862ad0 Merge pull request #4463 from xfalcox/emoji-grouping
FIX: New Emoji had missing group info
2016-09-26 23:20:35 +02:00
Rafael dos Santos Silva
7149e2ba20 FIX: New Emoji had missing group info 2016-09-26 18:12:40 -03:00
Rafael dos Santos Silva
048dea01f4 Fix tags separation on new category page 2016-09-26 16:14:41 -03:00
Guo Xiang Tan
999f52954f FIX: Incorrect import path for iconHTML helper. 2016-09-25 12:39:17 +08:00
Guo Xiang Tan
bddbfa56f6 UX: Format numbers on user summary page. 2016-09-23 12:36:42 +08:00
Robin Ward
f90e1ce847 FIX: Don't double escape the category title 2016-09-22 21:13:08 -04:00
Neil Lalonde
e0be2f482e FEATURE: tag filter dropdown menu is scoped to user and category 2016-09-22 15:23:37 -04:00
Robin Ward
3d621767cc FIX: Wizard didn't work with subfolders 2016-09-22 14:39:36 -04:00
Robin Ward
92529cd409 FIX: Tab ordering and outlines for wizard 2016-09-22 13:38:58 -04:00
Robin Ward
a09a09f686 FIX: Test was broken 2016-09-22 10:01:25 -04:00
Jeff Atwood
3ac348e898 Revert "add bit of random to the confetti"
This reverts commit 913e18579f8c4c6bad3269896c549779b554ece1.
2016-09-22 09:52:19 -04:00
Jeff Atwood
3f09ef70eb add bit of random to the confetti 2016-09-22 09:52:19 -04:00
Robin Ward
9bba0f3288 FIX: Show "Categories" when you are viewing the categories pills 2016-09-22 09:52:19 -04:00
Robin Ward
a95bb6006d Show staff count on invites page, don't warn if you have 3 2016-09-22 09:52:19 -04:00
Robin Ward
62e1f88adc Try to be smarter about scaling images on canvases 2016-09-22 09:52:19 -04:00
Robin Ward
14bee641aa Can choose categories or latest as homepage style 2016-09-22 09:52:19 -04:00
Robin Ward
2a0443445b New step to choose emoji set 2016-09-22 09:52:19 -04:00
Robin Ward
8f36f95180 Bump up the size of the theme preview 2016-09-22 09:52:19 -04:00
Robin Ward
2545c2ffa6 Add new welcome message step 2016-09-22 09:52:19 -04:00
Robin Ward
3fac43249c Javascript file was missing 2016-09-22 09:52:19 -04:00
Robin Ward
f4f1569e0c Move step text into progress bar 2016-09-22 09:52:19 -04:00
Robin Ward
9938f9bd67 Added images to the first and last step of the wizard 2016-09-22 09:52:19 -04:00
Robin Ward
42f6e52dc6 Warn the user if they haven't invited anyone 2016-09-22 09:52:19 -04:00
Robin Ward
cf84538fbf Bump up smallest size again 2016-09-22 09:52:19 -04:00
Robin Ward
1bf1bf4f93 Use our badge colors for the speech bubbles 2016-09-22 09:52:19 -04:00
Robin Ward
c718826134 Randomly flip some of the bubbles 2016-09-22 09:52:19 -04:00