Commit Graph

12685 Commits

Author SHA1 Message Date
Robin Ward 47a235e06a FIX: Raw plugin outlets were not working properly 2016-11-25 16:17:04 -05:00
Neil Lalonde 655b8a0540 move topic.image_url to same row as avatar in digest email 2016-11-25 15:41:22 -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
Guo Xiang Tan 712ff01f38 PERF: Remove eager load. 2016-11-25 11:21:08 +08:00
Guo Xiang Tan fbc3fcc4af PERF: Make use of existing index. 2016-11-25 11:19:13 +08:00
Guo Xiang Tan 63a88ee6e7 Merge pull request #4566 from tgxworld/fix_perf_redirect_to_top
Fix perf redirect to top
2016-11-25 03:39:56 +01: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 96daf5431f digest: don't show stats with 0. try to show new posts and new users counts. 2016-11-24 16:28:24 -05: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 84914c5e1f PERF: Fix N+1 query. 2016-11-24 17:47:14 +08: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
Guo Xiang Tan b889bfefbb PERF: Don't calculate the same query twice. 2016-11-24 14:05:26 +08:00
Guo Xiang Tan 857955dd04 Follow our convention of declaring private methods. 2016-11-24 10:26:39 +08:00
Guo Xiang Tan f812415c52 Update annotations. 2016-11-24 10:13:03 +08:00
Neil Lalonde 4efb3069e2 FIX: exception in digest email when last_read_post_number is nil 2016-11-23 17:51:57 -05: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
Neil Lalonde 79dc0518c9 FIX: popular posts in digest need to use same restrictions as topics 2016-11-23 11:24:18 -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
Neil Lalonde 86deec3528 FIX: exclude popular posts from deleted topics 2016-11-22 13:23:21 -05:00
Neil Lalonde db4b3a7aa4 FIX: show emoji in digest emails 2016-11-22 12:37:22 -05:00
Robin Ward 5b05c8102e FIX: Read posts weren't refreshing on Ember 2.4 2016-11-22 12:17:40 -05:00
Neil Lalonde 71e4fe9c85 FIX: consistent rendering of categories in digest emails 2016-11-21 17:33:19 -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
Neil Lalonde 7d37c2b919 FIX: digest email has broken images in popular topics section 2016-11-21 12:33:48 -05:00
Neil Lalonde 47be1a8be9 FIX: digest email: put topic title and category in the same column in the "New in ... you follow" section 2016-11-21 12:33:48 -05:00
Neil Lalonde dffefcaa6a FIX: links in digest with href="#" 2016-11-21 12:33:48 -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
Jeff Atwood 18156719bd downsize digest heading font a tad 2016-11-20 01:52:12 -08: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
Neil Lalonde 1183e582c3 FIX: digest popular posts need minimum datetime 2016-11-18 16:57:23 -05:00
Neil Lalonde 45f368126f FEATURE: New summary/digest email design 2016-11-18 14:03:42 -05: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
Arpit Jalan 82bdfb9832 FIX: update category permalink if record already exists 2016-11-17 21:58:19 +05:30
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
Guo Xiang Tan 8c6d8c85db Stop showing first notification prompt once user sees the notification. 2016-11-17 09:44:00 +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 5b03cc1433 Merge pull request #4554 from tgxworld/fix_first_post_notification_read_tracker
FIX: Track first notification read using Redis.
2016-11-16 10:31:45 +01: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 98c1e0832c FIX: Track first notification read using Redis. 2016-11-16 16:20:38 +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 16fdcdfc00 FIX: Add conditions on when to show first pm notification. 2016-11-16 14:17:47 +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
Guo Xiang Tan b5dc68cd52 Merge pull request #4552 from tgxworld/extract_test_logic
Ensure we don't run `$redis.keys` in production.
2016-11-16 10:05:02 +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
Régis Hanol 0dfac2dd24 Merge pull request #4545 from hiveeyes/pop3_polling_openssl_verify
Add “pop3_polling_openssl_verify” setting to turn off TLS server certificate verification
2016-11-15 19:33:44 +01: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 95c6e97587 Ensure we don't run `$redis.keys` in production. 2016-11-15 23:23:41 +08:00
Guo Xiang Tan 68f9c7142f FIX: Display first notification spotlight only once each page load. 2016-11-15 14:42:35 +08:00
Sam 63d9d4f301 FIX: properly specify default on no cache on all resources 2016-11-15 17:00:44 +11: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
Rafael dos Santos Silva baa340db7f Merge pull request #4549 from LeoMcA/1-tl-badge
FIX: display only 1 trust level badge on user card
2016-11-14 19:40:00 -02: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
Leo McArdle 784366f1a0 FIX: display only 1 trust level badge on user card
refactoring graciously provided by @xfalcox
2016-11-14 20:53:24 +00: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
Sam 115c454002 FIX: if prioritizing names in ux choose name over username in email 2016-11-14 11:09:24 +11: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