Commit Graph

13084 Commits

Author SHA1 Message Date
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
Guo Xiang Tan bbe067e735 Fix eslint. 2016-12-15 16:07:56 +08:00
Guo Xiang Tan 7888a16374 FEATURE: Add membership request to groups page. 2016-12-15 14:39:13 +08:00
Sam 162413862c FEATURE: add `staff` class to HTML body for staff 2016-12-15 16:23:03 +11:00
Sam 98f4a2adcb FIX: on 404 from brotli asset path return a correctly encoded doc
old implementation would cache the 404 for 1 year with incorrect encoding

hilarity would ensue
2016-12-15 16:05:20 +11:00
Sam f867af6bf9 bye bye byebug 2016-12-15 15:52:25 +11:00
Guo Xiang Tan 3666575b46 UX: Improve styling for groups page. 2016-12-15 12:19:13 +08:00
Guo Xiang Tan 3999afc279 FIX: Category logo not showing in navigation. 2016-12-15 12:11:21 +08:00
Guo Xiang Tan b005e1ab58 UX: Left align columns on groups page. 2016-12-15 10:00:37 +08:00
Neil Lalonde a26c3fe2b6 FIX: truncate long topic titles in summary email 2016-12-14 12:59:01 -05:00
Neil Lalonde d23da5b641 FIX: digest email preview error in Persian and other languages 2016-12-14 11:10:32 -05:00
Robin Ward 2164d7d21c FIX: User card spacing was off 2016-12-14 10:46:16 -05:00
Guo Xiang Tan 4b940dc8bd FEATURE: Add groups page. 2016-12-14 17:27:47 +08:00
Guo Xiang Tan 0c9499874d FIX: Missing no members message on group page. 2016-12-14 14:01:19 +08:00
Neil Lalonde 66151b416f FIX: home logo href doesn't respect subfolder 2016-12-13 16:30:21 -05:00
Robin Ward 03bc6f70f9 Better error messages when embedding fails 2016-12-13 14:38:05 -05:00
Neil Lalonde 1f0793ac50 Improvements to automatic topic title based on pasted link 2016-12-13 13:11:52 -05:00
Neil Lalonde 67a0a36362 FIX: topic lists on mobile should include featured links 2016-12-13 13:11:52 -05:00
Juha Leinonen 817f4cd0fc FEATURE: Split Reply-button into 'Reply Post' and 'Reply Topic' 2016-12-13 14:54:45 +02:00
Guo Xiang Tan 2686ee5ab2 FIX: Admin can't add/remove public group users. 2016-12-13 16:39:44 +08:00
Guo Xiang Tan 43ee9f884e FEATURE: Add `Group#full_name`. 2016-12-13 16:16:26 +08:00
Guo Xiang Tan 5a2794a0c7 FIX: `Discourse.ajax` is deprecated. 2016-12-13 15:53:04 +08:00
Guo Xiang Tan fbd3727c7d UX: Improve group edit style for mobile. 2016-12-13 15:26:28 +08:00
Guo Xiang Tan f4af74b7b3 FIX: Incorrect class. 2016-12-13 15:20:59 +08:00
Guo Xiang Tan 0e934a2f2d Make eslint happy. 2016-12-13 15:17:14 +08:00
Guo Xiang Tan 7bfabb029b UX: Move editing group from into an individual tab. 2016-12-13 15:15:20 +08:00
Guo Xiang Tan 5a5aea72b5 Remove icon from group tabs. 2016-12-13 13:12:38 +08:00
Guo Xiang Tan 6dab7f4463 UX: Keep table styles consistent with topic list. 2016-12-13 13:11:34 +08:00
Guo Xiang Tan 69330f8bc2 Add user_updated event to webhooks. 2016-12-13 11:26:26 +08:00
Robin Ward 600541c623 REVERT: Ember 2.10 -- it's not building properly 2016-12-12 16:19:05 -05:00
Robin Ward 749f7071f3 FIX: `Object.assign` isn't available to phantom 2016-12-12 15:23:52 -05:00
Robin Ward c2462e1f2d FIX: Missing plugin outlet 2016-12-12 14:44:29 -05:00
Robin Ward 7b2e4170e9 Safer checkUrl 2016-12-12 14:44:29 -05:00
Robin Ward b6e03116ba Auto discover connector classes. Support a setup method 2016-12-12 14:44:29 -05:00
Robin Ward 9a7998a930 Various fixes for Ember 2.10 2016-12-12 14:44:29 -05:00
Robin Ward 2efe4900cf Plugin Outlets need their arguments to be explicit 2016-12-12 14:44:29 -05:00
Robin Ward a808bcb0b8 Upgrade to Ember 2.10 2016-12-12 14:44:29 -05:00
Robin Ward 765e5e9186 Upgrade to Ember 2.9 2016-12-12 14:44:29 -05:00
Neil Lalonde 239d06b218 add Likes Recieved to possible stats in summary email 2016-12-12 14:20:25 -05:00
Arpit Jalan 70227d37d7 FIX: composing new pre filled topic with tags was broken 2016-12-12 22:27:53 +05:30
Guo Xiang Tan 4a1340b14e Update annotations. 2016-12-12 22:59:40 +08:00
Guo Xiang Tan da7009a968 FEATURE: Add request membership button for allowed groups. 2016-12-12 22:48:08 +08:00
Régis Hanol 664feca199 FIX: don't send emails from muted users in mailing list mode 2016-12-12 15:28:26 +01:00
Guo Xiang Tan 405ffbf5a4 FIX: Don't show logs if user is not an admin or group owner. 2016-12-12 20:30:09 +08:00
Guo Xiang Tan 5db6306218 FIX: Incorrect empty message. 2016-12-12 19:39:58 +08:00
Guo Xiang Tan 9a800107cb FIX: Associate category logo and background to uploads record. 2016-12-12 17:37:28 +08:00
Guo Xiang Tan 05f55dbc10 FEATURE: Group logs. 2016-12-12 17:29:54 +08:00
Guo Xiang Tan 790f1ef9f3 FIX: Permit missing params. 2016-12-12 17:00:30 +08:00
Guo Xiang Tan b5cc5a6fb1 Unify group translations under same key. 2016-12-12 17:00:30 +08:00
Guo Xiang Tan c3b04c3054 Fix: Group avatar flair inputs style. 2016-12-12 17:00:30 +08:00
Guo Xiang Tan be5b5f6bea FEATURE: Public groups. 2016-12-12 17:00:30 +08:00
Guo Xiang Tan 78553151ea Update annotations. 2016-12-12 17:00:30 +08:00
Arpit Jalan 495c8f2794 FIX: bulk invite button was not getting re-enabled after performing upload 2016-12-12 14:08:10 +05:30
Sawood Alam 77ef730f20
RTL direction assigned to Urdu language 2016-12-10 18:57:48 -05:00
Neil Lalonde 17bc42fe85 FIX: box style category badges in emails, and shrink text and some spacing in summary email 2016-12-09 16:59:54 -05:00
Neil Lalonde fb2633366a FIX: featured link topics shouldn't require the same min post length 2016-12-09 15:46:26 -05:00
Neil Lalonde a62b028e16 Remove the open_topic_featured_link_in_external_window setting. Use the user preference. 2016-12-09 13:48:29 -05:00
Neil Lalonde a4c4f13901 Remove the topic_featured_link_onebox setting. We will always try to onebox a link and add it to the body if topic_featured_link_enabled is enabled. 2016-12-09 13:28:12 -05:00
Robin Ward f07443b488 Migrate Discourse Polls to use vdom instead of embedded ember 2016-12-09 10:42:56 -05:00
Sam 02b21a26dd Merge pull request #4585 from ibnesayeed/urdu-support
Add initial Urdu support with RTL direction
2016-12-09 13:01:25 +11:00
Sam 861a91d48a correct styling for tracking button on mobile 2016-12-09 12:20:33 +11:00
Neil Lalonde 03ec8f8089 fix focus after attempting to onebox 2016-12-08 16:27:19 -05:00
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
Guo Xiang Tan 7e47fdf8da UX: Fix margins for group name on mobile. 2016-12-08 06:24:32 +08:00
Régis Hanol f4688f74db FIX: emoticons stop summary from being updated 2016-12-07 23:05:14 +01:00
Robin Ward e3a12995c8 FIX: Fake closure actions were not working (replaced in 2.10) 2016-12-07 14:32:33 -05:00
Neil Lalonde ad5d16af8e FIX: summary email popular posts ordering by score, and increase minimum score to qualify as popular 2016-12-07 12:40:44 -05:00
Robin Ward d379f57c58 FIX: Show an error page if `finish-installation` can't run 2016-12-07 11:10:08 -05:00
Guo Xiang Tan 81d333289e FIX: Return 503 when in readonly mode. 2016-12-07 14:04:42 +08: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
Neil Lalonde a7ee72649d FIX: add back support for customizing header in summary email 2016-12-06 12:40:42 -05:00
Neil Lalonde 1f50fcd613 FIX: digest customizations for above/below popular topics were sometimes not being shown 2016-12-06 12:35:02 -05: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
Sam 1135e00c83 FIX: regression unable to dismiss unread 2016-12-06 08:49:40 +11: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
Robin Ward 424fc8e2e2 FIX: Don't raise an error if the RSS endpoint is 404 2016-12-05 12:29:14 -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 06469ef0ce FIX: don't extract links from .elided parts 2016-12-05 15:19:15 +01:00
Guo Xiang Tan bea0856f1c FIX: Move title and name out of BasicUserSerializer. 2016-12-05 18:46:33 +08: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 ce9f24dec9 Merge pull request #4588 from tgxworld/add_new_fields_to_group
Add new fields to group
2016-12-05 09:59:27 +01:00
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
Sam dab48b7c17 correct regression 2016-12-05 17:40:47 +11:00
Sam 3e099ab2b1 PERF: avoid query on every logged on page load 2016-12-05 17:38:02 +11:00
Guo Xiang Tan 0441ae3e95 Merge pull request #4577 from tgxworld/allow_group_owner_to_edit
FEATURE: Allow group owners to edit group name and avatar flair.
2016-12-05 07:28:55 +01:00
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
Sam c2a17826e7 ship highest staff post number to staff 2016-12-05 17:22:25 +11:00
Erick Guan 0fbb3fb02b FIX: open login modal fails because of missing parameters 2016-12-05 13:22:28 +08:00
Sam dc66f6681a add spec for brotli controller, ensure cached correctly 2016-12-05 16:08:36 +11:00
Sam 8a98d617df correct headers and add better caching 2016-12-05 15:11:07 +11:00
Guo Xiang Tan 55b35a05ed FIX: This should not have been checked in. 2016-12-05 11:49:04 +08:00
Guo Xiang Tan 22059d4df9 Add Rake task to clean up unused multisite Redis keys. 2016-12-05 11:46:34 +08:00
Sam 39a524aac8 FEATURE: brotli cdn bypass for assets
Allow CDNS that strip out brotli encoding to use brotli regardless
2016-12-05 13:57:09 +11:00
Sam bd217bb440 remove ux regression 2016-12-05 12:21:07 +11:00
Sam 1db9d17756 Make removal of topic columns more resilient to deploys 2016-12-05 12:11:46 +11:00
Sam 33d0a23d84 Merge branch 'fix_whisper' 2016-12-05 10:01:03 +11:00
Sawood Alam 49fc54aac6 Add initial Urdu support with RTL direction 2016-12-03 23:17:51 -05:00
Jeff Atwood 8bcdb668c6 fix login disclaimer alignment 2016-12-03 04:24:48 -08:00
Régis Hanol 55437271b0 Merge pull request #4583 from saiqulhaq/master
FIX: filename typo
2016-12-03 00:42:56 +01:00
Jeff Atwood 3c02e49b28 tweak login dialog for narrow mobile phones 2016-12-02 15:29:21 -08: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
Neil Lalonde dafd1453d6 FIX: topic list filters for bookmarked, posted, and read now work with tag filter 2016-12-02 15:58:14 -05:00
Neil Lalonde 9db3685823 fix another case of double user name in digest 2016-12-02 13:31:12 -05:00
Neil Lalonde fa395bb43c fix colour bug in summary email 2016-12-02 10:33:12 -05:00
Guo Xiang Tan e51574bea0 FIX: No need to fetch the model. 2016-12-02 17:17:03 +08:00
Guo Xiang Tan 3971f96aa6 Merge pull request #4536 from fantasticfears/webhooks-edit
FIX: missing post and topic edited webhooks
2016-12-02 10:16:19 +01:00
Jeff Atwood d4fd493901 Revert "UX: have webkit safari mobile stop with inner shadows"
This reverts commit 9a685c64ee.
2016-12-02 00:46:37 -08:00
Guo Xiang Tan bc0a8142fe PERF: Only show members count on group page. 2016-12-02 16:28:54 +08:00
Jeff Atwood a93c59abbf UX: normalize mobile <input> styles w/desktop 2016-12-01 23:53:11 -08:00
Sam d5f4f2f5c1 regression composing topics on desktop
caught by smoke test
2016-12-02 18:20:23 +11:00
Sam f57feb2a4b regression composing topics on desktop
caught by smoke test
2016-12-02 18:19:39 +11:00
Sam 9a685c64ee UX: have webkit safari mobile stop with inner shadows
http://stackoverflow.com/questions/3062968/remove-textarea-inner-shadow-on-mobile-safari-iphone
2016-12-02 17:56:37 +11:00
Sam 2793e7bebc UX: have webkit safari mobile stop with inner shadows
http://stackoverflow.com/questions/3062968/remove-textarea-inner-shadow-on-mobile-safari-iphone
2016-12-02 17:56:01 +11:00
Sam 9b885c039a Merge branch 'master' into fix_whisper 2016-12-02 17:44:05 +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
Sam 2a19e8f239 UX: improve topic composition on mobile
- tighten up space used for composer body
- stop collapsing and expanding so much
2016-12-02 17:42:27 +11:00
Sam c04d4171ff FIX: whisper no longer experimental
- Regular users are not notified of whispers
- Regular users no longer have "stuck" topics in unread
- Additional tracking for staff highest post number
- Remove a bunch of unused columns in topics table
2016-12-02 17:03:31 +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
Neil Lalonde 576a424130 FEATURE: number of new topics at the end of summary email can be controlled by a new setting, digest_other_topics 2016-12-01 14:20:24 -05:00
Robin Ward 4820ebd76c FIX: Don't modify properties in `didInsertElement` 2016-12-01 14:08:51 -05:00
Neil Lalonde 8a0cf1b90e FIX: if username and name are the same, don't show both in summary emails 2016-12-01 12:17:23 -05:00
Neil Lalonde 985daf5c72 FIX: summary should not include certain post types 2016-12-01 12:01:32 -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
Jeff Atwood 61bcc98c0e slightly tighten spacing on digests 2016-11-30 17:13:01 -08:00
cpradio 309e37f0e6 UX: Remove !important from header .discourse-tag
per https://meta.discourse.org/t/planned-tag-color-issue-when-scrolled-down/53582/4?u=cpradio
2016-11-30 19:08:13 -05:00
Neil Lalonde 8cd30cdc8b FIX: respect the enable_names setting, and fix cases when html is invalid 2016-11-30 17:58:07 -05:00
Régis Hanol 453d149182 just checking for existence is enough here 2016-11-30 23:41:07 +01:00
Erick Guan 8c8549b27b
FIX: missing post and topic edited webhooks 2016-11-30 20:49:45 +01:00
Robin Ward 142d35a0a5 Minor Discourse Fixes 2016-11-30 13:45:40 -05:00
Régis Hanol 57d0369894 FIX: don't raise an exception when a link was already extracted 2016-11-30 18:05:59 +01:00
Régis Hanol dec8a861f0 FIX: don't raise exception when a quote was already extracted 2016-11-30 17:18:34 +01: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
Jeff Atwood 3f3a0d7b14 make counts fixed width for digest/summary 2016-11-29 17:21:51 -08:00
Neil Lalonde 4d52682267 FIX: wrong font of site title in summary email 2016-11-29 17:12:11 -05:00
Neil Lalonde a187932126 Counts at top of summary email are links 2016-11-29 17:10:25 -05: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 06d501ad41 Fix incorrect style for avatar flair icon preview. 2016-11-29 15:32:53 +08: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 b8dc58be90 got to be careful with integrity specs 2016-11-29 18:01:09 +11:00
Sam 266322ce2e FEATURE: add help text for no bookmarks in user page 2016-11-29 17:56:00 +11:00
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 1939104d46 Add mapping for Discourse solved
This basically reserved user action 15 for Discourse solved.
2016-11-29 16:17:32 +11: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
Guo Xiang Tan d95fbd89d0 Enable miniprofiler in development automatically. 2016-11-29 10:59:10 +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
Neil Lalonde 4e0958051e FIX: don't try to show svg's in summary email 2016-11-28 14:35:59 -05: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 6edd3c347c FIX: automatically disable digests when enabling mailing list mode 2016-11-28 15:52:35 +01: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 3406f7ff6a Merge pull request #4572 from joebuhlig/tags-querystring
FIX: Add tags to list options from params
2016-11-28 10:08:20 +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
Jeff Atwood fc68a7f0c6 tighten spacing on digest "new in" 2016-11-27 10:19:23 -08:00
Jeff Atwood 9b363d6df7 tighten spacing on digest email 2016-11-27 10:03:34 -08:00
Jeff Atwood e77dbbacea no vendor specific formatting in digest emails 2016-11-27 09:49:15 -08:00
Joe Buhlig 0390deba40 FIX: Add tags to list options from params 2016-11-26 08:24:52 -06:00
cpradio eb5a5e3a53 FEATURE: Hide Profile Text from non-staff if user is suspended 2016-11-25 19:26:36 -05:00
Neil Lalonde af4f2d000a FIX: translation missing messages in digest when showing more than 5 popular topics 2016-11-25 16:37:06 -05:00
Neil Lalonde 9d5ac320f4 FIX: dates in digest email wrapping when they should have plenty of space on one line 2016-11-25 16:29:01 -05:00
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
Andreas Motl 43fd3ebd4a Add “pop3_polling_openssl_verify” setting to turn off TLS server certificate verification like “smtp_openssl_verify_mode”. Defaults to “true”, so it does not change current behavior. 2016-11-11 21:59:15 +01:00