Commit Graph

8809 Commits

Author SHA1 Message Date
Guo Xiang Tan
efe24f7cc6 Fix style for font-awesome avatar flair. 2016-11-29 14:14:44 +08: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
0c791e721e UX: better xkcd oneboxes 2016-11-28 15:14:59 +01: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
Régis Hanol
6b319f54a3 Merge pull request #4574 from joebuhlig/tags-parameter-persist
FIX: Leave tags parameter in query string of URL when visiting page
2016-11-28 10:07:33 +01:00
Sam
add831dbc1 clamp excerpt at 8 lines to avoid cut off 2016-11-28 11:35:32 +11: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
Jeff Atwood
44165e97db UX: add ⛷ RADICAL AWESOME 🏂 to quote reply btn 2016-11-17 23:34:43 -08:00
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
Jeff Atwood
ed4fecb152 mobile social btns should not overflow 2016-11-17 17:07:05 -08:00
Jeff Atwood
2f38375c9f UX: narrower social login buttons on mobile 2016-11-17 17:04:19 -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
Jeff Atwood
27b276df5c copyedit on first notification 2016-11-16 02:13:12 -08:00
Guo Xiang Tan
6ad66ee138 FIX: Reduce spread to make it work on Safari. 2016-11-16 16:54:51 +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
a9680e5a9e UX: Reduce number of words used. 2016-11-16 12:44:22 +08:00
Guo Xiang Tan
0debab47a3 UX: Tweaks for dark theme. 2016-11-16 12:35:29 +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
Jeff Atwood
7d892f1d12 Merge pull request #4553 from xfalcox/fix-mobile-friendly-images-for-google
FIX: Images should have a max-width on crawler view
2016-11-15 22:38:07 +01:00
Rafael dos Santos Silva
54061f2580 FIX: Images should have a max-width on crawler view 2016-11-15 18:18:38 -02: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
Neil Lalonde
3494ed363f Merge pull request #4548 from xfalcox/crawler-layout
Adds some styling for crawler view
2016-11-14 15:52:44 -05:00
Rafael dos Santos Silva
24227af9e8 Adds some styling for crawler view 2016-11-14 18:32:59 -02: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
Guo Xiang Tan
298b82f59e UX: Tweak position of radar ping. 2016-11-14 08:45:51 +08: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