Commit Graph

9064 Commits

Author SHA1 Message Date
Arpit Jalan 51b477d1f2 FIX: missed semicolon :fired: 2015-07-28 23:26:32 +05:30
Arpit Jalan a45e87746e UX: emoji toolbar improvements 2015-07-28 23:03:11 +05:30
Guo Xiang Tan 08e69b988c FIX: Draft overlaps topic counts blurb in suggested topics. 2015-07-29 01:02:40 +08:00
Neil Lalonde 7518918b8f FEATURE: add quarterly period to Top page 2015-07-28 12:31:42 -04:00
Robin Ward dc8a68fd29 FEATURE: New "Dropdown" user field type 2015-07-28 12:30:21 -04:00
Robin Ward f22618050f FIX: Reformat user fields admin to have a longer form 2015-07-28 12:30:21 -04:00
Arpit Jalan d6069e8c90 UX: fix container layout 2015-07-28 13:58:30 +05:30
Jeff Atwood c94f15ec98 another missing grouped Emoji, somehow 2015-07-28 00:04:00 -07:00
Jeff Atwood cda8e09438 few missing Emojis from groups 2015-07-27 23:43:46 -07:00
Jeff Atwood cc5e92351e fix Emoji synonyms, add explicit tabicon 2015-07-27 23:21:27 -07:00
Jeff Atwood d5299001ca normalize to Slack Emoji groups + custom 2015-07-27 17:24:39 -07:00
Sam a97fa571a1 fix highlighting of text in search, make title bigger 2015-07-28 09:43:03 +10:00
Robin Ward 7aa2a19a76 FIX: Incorrect `title` attribute on link clicks 2015-07-27 13:41:53 -04:00
Robin Ward 5405cda2dc UX: Mobile tweaks for small post actions 2015-07-27 13:05:31 -04:00
Robin Ward 46ba4ba426 FIX: Edit controls should only show when you can edit 2015-07-27 11:11:46 -04:00
Robin Ward 0d417611a6 FIX: Jshint 2015-07-27 10:39:43 -04:00
Arpit Jalan c5ec6a6f89 UX: show flag counts in new line 2015-07-27 19:54:17 +05:30
Robin Ward bb93a345eb UX: Use smaller messages for moderator actions. 2015-07-27 10:09:21 -04:00
Guo Xiang Tan 5be258ded4 FIX: Let users open header links in new tab without dismissing dropdown. 2015-07-27 19:08:39 +08:00
Régis Hanol 8998a54ce6 FIX: make sure we escape titles in user streams 2015-07-27 12:51:20 +02:00
Sam edb794ee86 play with styling on full page results 2015-07-27 19:38:33 +10:00
Sam 2876725e1b REFACTOR: remove hacky search from discovery 2015-07-27 16:47:06 +10:00
Sam 41ceff8430 UX: move search to its own route
previously search was bundled with discovery, something that makes stuff confusing internally
2015-07-27 16:47:06 +10:00
Jeff Atwood 68a262ff08 fix narrow mobile logo max-width 2015-07-26 01:55:12 -07:00
Régis Hanol d2b59bf7f2 Merge pull request #3628 from tgxworld/emoji_in_user_stream
FEATURE: Display emojis in user stream.
2015-07-25 15:53:54 +02:00
Neil Lalonde e344859fbf add plugin outlet to bread-crumbs 2015-07-24 14:04:47 -04:00
Robin Ward 29439e5534 SECURITY: Make sure export CSV is generated via a POST 2015-07-24 12:33:53 -04:00
Neil Lalonde c78dbb7fa5 FIX: site customization preview links when deployed in a subfolder 2015-07-24 11:19:53 -04:00
Sam b2fcc17ca2 bump to 45 2015-07-24 16:03:53 +10:00
Sam b22c890e4b FEATURE: correct :visited styling for logged on users 2015-07-24 12:11:41 +10:00
Sam 0c267e5952 maintain exact old behavior 2015-07-24 09:44:16 +10:00
Sam 719f558746 multisite fix, allow show through (security is handled in the controller) 2015-07-24 09:41:46 +10:00
Guo Xiang Tan 7c1e16da54 FEATURE: Display emojis in user stream. 2015-07-23 23:50:01 +08:00
Arpit Jalan 410ae47dd7 UX: add plus glyph in front of 'Send an Invite' 2015-07-23 18:38:16 +05:30
Arpit Jalan d2867aa138 UX: show pending invites tab by default 2015-07-23 18:33:20 +05:30
Sam df8d47bdb6 FEATURE: fix a:visited for anon in topic list 2015-07-23 17:16:29 +10:00
Sam 786cf6e61f format does not allow numbers 2015-07-23 15:33:38 +10:00
Sam c056c3ba7e FEATURE: allow users to specify a second hostname if needed
(very rarely needed feature, mostly for multisite and origin pull cdns)
2015-07-23 15:22:54 +10:00
Arpit Jalan 6382f3cc03 remove duplicate component from admin 2015-07-23 07:09:11 +05:30
Arpit Jalan e5e0071cb7 FIX: non-admin users were not able to see invite tabs 2015-07-23 06:51:39 +05:30
Sam bbf9ca2e14 UX: truncate category names after suggested topics
It's supposed to be project ... not proiect
2015-07-23 10:36:08 +10:00
Sam 172b7bbb85 Merge pull request #3626 from tgxworld/fix_dropdown_dismissing_on_middle_click
FIX: Dropdown dismissing on middle click.
2015-07-23 10:19:00 +10:00
Sam d647835afe UX: no red hearts in notifications
red hearts there call special attention to likes and emphasize likes over replies
2015-07-23 07:53:15 +10:00
Sam 53b1d89f96 Merge branch 'master' of github.com:discourse/discourse 2015-07-23 07:48:55 +10:00
Jeff Atwood 518406bb2f Merge pull request #3627 from tgxworld/hearts_love_color
UX: Give fa-hearts more love.
2015-07-22 12:10:08 -07:00
Neil Lalonde bf7875ee86 FIX: time to first reponse and topics with no reponse admin reports should show down arrow as green, up arrow as red 2015-07-22 14:16:10 -04:00
Guo Xiang Tan 876f0b7dc9 UX: Give fa-hearts more love. 2015-07-22 23:52:55 +08:00
Régis Hanol d456460d33 FIX: don't butcher GIFs
Use 'gifsicle' instead of 'convert' to resize & optimize GIFs

FIX: don't even try to fix GIFs orientation
FIX: use 'allow_animated_thumbnails' site setting for user profile backgrounds & user cards
2015-07-22 17:10:42 +02:00
Guo Xiang Tan e1a8e32127 FIX: Dropdown dismissing on middle click. 2015-07-22 16:22:37 +08:00
Jeff Atwood ccdcca578d remove fa-plus from upload dialog button 2015-07-22 01:12:10 -07:00
Régis Hanol 703927d1c0 Merge pull request #3624 from riking/copy-fix
Turn off automatic share link copying
2015-07-22 09:16:58 +02:00
Jeff Atwood 7e548257f4 UX: add glyphs to notification states on profile 2015-07-21 23:56:34 -07:00
Jeff Atwood 92ced4449f add back in sunglasses guy with nose 2015-07-21 23:25:22 -07:00
Sam 3a54923116 FIX: permalink normalization not applied at constraint
implement permalink import for lithium
2015-07-22 13:40:45 +10:00
Kane York 5408abd427 Pull automatic share link copying 2015-07-21 19:29:38 -07:00
Jeff Atwood 6053a0c4af Merge pull request #3625 from scossar/remove-margins-from-mobile-view
FIX: Remove unnecessary padding and margins from mobile view
2015-07-21 19:27:32 -07:00
Simon Cossar 93d9a98497 Remove unnecessary margins from mobile view 2015-07-21 18:46:15 -07:00
Sam 84e0135723 Merge pull request #3623 from riking/patch-6
FIX: Change post owner of deleted post, take 3
2015-07-22 10:48:00 +10:00
Sam 90b85e5b23 FIX: missing category from title in non-js view 2015-07-22 10:26:58 +10:00
Sam b77017abce Merge pull request #3618 from scossar/add-wrapper-class
FIX: padding and alignment issues
2015-07-22 09:59:24 +10:00
Jeff Atwood 36e31be46a Revert "add 8) as sunglasses emoji shortcut"
This reverts commit 59f547cd3f.
2015-07-21 16:49:32 -07:00
Sam 487999ddc7 Merge pull request #3607 from tgxworld/fix_%_in_url
FIX: Encode percent character in search terms.
2015-07-22 09:45:40 +10:00
Sam 1478c7582e Merge pull request #3621 from riking/patch-3
FIX: Twitter onebox styling
2015-07-22 09:45:06 +10:00
Kane York acbf82d8db FIX: Change post owner of deleted post, take 3 2015-07-21 16:43:52 -07:00
Kane York ad3f805d2f FIX: Do automatic copy on share in click handler 2015-07-21 10:34:41 -07:00
Kane York ae07c670d7 FIX: Twitter onebox styling 2015-07-21 10:24:39 -07:00
Sam 04e9fdc610 make query less strange, no need for outer join
categories must exist for all topics
2015-07-21 22:45:20 +10:00
Arpit Jalan 424f877a77 FIX: enabling sso should hide delete account button from user preferences page 2015-07-21 17:57:38 +05:30
Sam 2847ec0af1 this join is brutal, hardcoding user id is way more efficient, but in pg 2015-07-21 22:26:51 +10:00
Sam 3b61b098ab PERF: optimise original query instead of huge rewrite
better perf for all cases
2015-07-21 21:53:54 +10:00
Sam 4491813d22 Revert "Revert "PERF: optimise query that gathers topic tracking state""
This reverts commit 909be09f1a.
2015-07-21 21:48:07 +10:00
Sam 909be09f1a Revert "PERF: optimise query that gathers topic tracking state"
This reverts commit 343e417a55.
2015-07-21 17:35:50 +10:00
Sam 343e417a55 PERF: optimise query that gathers topic tracking state
(this query runs on the front page to figure out new and unread topics)
2015-07-21 17:14:30 +10:00
Sam 6d9674278e UX: remove zocial and use font awesome instead
UX: use github logo for github login
2015-07-21 15:47:58 +10:00
Jeff Atwood 59f547cd3f add 8) as sunglasses emoji shortcut 2015-07-20 22:41:25 -07:00
Guo Xiang Tan 3c25ca2f9f FIX: Encode percent character in search terms. 2015-07-21 10:54:39 +08:00
Sam e3d6c476f5 Merge pull request #3593 from tgxworld/cache_results_on_about_page
Cache results on about page
2015-07-21 10:04:51 +10:00
Robin Ward 3eb67dc1ed Add plugin outlet below post 2015-07-20 19:29:18 -04:00
Guo Xiang Tan b0ea6764e0 PERF: Cache About#stats. 2015-07-20 22:45:05 +08:00
Arpit Jalan c54de7159c UX: more permalinks page improvements 2015-07-20 17:40:22 +05:30
Sam 45e37d557a Merge pull request #3615 from techAPJ/patch-1
UX: include more details on Permalinks page
2015-07-20 21:28:22 +10:00
Simon Cossar 6ca8f14db4 Remove padding from media query 2015-07-20 01:03:26 -07:00
Simon Cossar c47c5dd0c6 Substitute wrap for container 2015-07-20 01:02:51 -07:00
Simon Cossar c8085cf576 remove top and bottom padding 2015-07-20 01:01:55 -07:00
Simon Cossar 8840a611ab Substitute wrap for container 2015-07-20 00:47:53 -07:00
Simon Cossar 35e6eb5cac Add wrap class 2015-07-20 00:42:52 -07:00
Sam ecf50a741c strip classes from table instead of ignoring table 2015-07-20 17:05:24 +10:00
Sam e93665b9f7 FEATURE: site setting to allow html tables (which may come from imports)
(allow_html_tables , disabled by default)
2015-07-20 16:56:46 +10:00
Arpit Jalan 5fc7545c01 UX: include more details on Permalinks page 2015-07-17 21:39:23 +05:30
Sam d7e7ae33ea FIX: IE9 and 10 were getting white screen, due to ES6 usage 2015-07-17 12:43:45 +10:00
Sam c71098a8b3 Merge pull request #3612 from techAPJ/patch-1
FEATURE: manage Permalinks
2015-07-17 11:59:36 +10:00
Simon Cossar 97a9e997db Fix typo 2015-07-16 18:03:48 -07:00
Arpit Jalan dc90c396f2 FEATURE: manage Permalinks 2015-07-17 01:26:02 +05:30
Régis Hanol ee86ae0537 FIX: use CDN for all user avatars (take 3) 2015-07-16 19:40:09 +02:00
Sam 7f43653cad Merge pull request #3608 from Qasem-h/Rtl
Rtl Fix For Customize Toggles & Dashboard
2015-07-16 17:18:22 +10:00
Kane York 61ea8c6f72 FIX: Allow to change ownership on deleted users' posts 2015-07-15 15:29:35 -07:00
Régis Hanol 80bf7bed21 this obviously doesn't work :( 2015-07-15 23:15:58 +02:00
Régis Hanol ea16797761 FIX: user avatar in oneboxes/quotes when using CDN 2015-07-15 23:00:11 +02:00
Régis Hanol 25a1bf421e FIX: use CDN for user avatars (take 2) 2015-07-15 19:24:23 +02:00
Kane York ecfa17b5a7 FEATURE: Localization fallbacks (server-side)
The FallbackLocaleList object tells I18n::Backend::Fallbacks what order the
languages should be attempted in. Because of the translate_accelerator patch,
the SiteSetting.default_locale is *not* guaranteed to be fully loaded after the
server starts, so a call to ensure_loaded! is added after the locale is set for
the current user.

The declarations of config.i18n.fallbacks = true in the environment files were
actually garbage, because the I18n.default_locale was
SiteSetting.default_locale, so there was nothing to fall back to. *derp*
2015-07-15 10:17:36 -07:00
Kane York 728845d008 FEATURE: Localization fallbacks (client)
This patch sets I18n.defaultLocale in the Discourse.start() script block (it
was formerly always 'en') to SiteSetting.default_locale, and patches
translate() to perform fallback to defaultLocale followed by english.
Additionally, when enable_verbose_localization() is called, no fallbacks will
be performed.

It also memoizes the file loading operations in JsLocaleHelper and strips out
translations from the fallbacks that are also present in a prefered language,
to minimize file size.
2015-07-15 10:17:28 -07:00
Régis Hanol 23dadfc06e Merge pull request #3610 from riking/patch-3
Fix test failure (appEvents seems to not be injected?)
2015-07-15 19:16:45 +02:00
Kane York b201697938 Fix test failure (appEvents seems to not be injected?) 2015-07-15 10:15:05 -07:00
Robin Ward 1851c8d918 Merge pull request #3599 from riking/patch-3
Add ace:resize app event
2015-07-15 12:54:11 -04:00
Kane York 2302442e1a Add ace:resize app event
For discourse-data-explorer
2015-07-15 09:44:08 -07:00
Régis Hanol 0eb69398b9 Revert "FIX: use CDN for user avatars"
This reverts commit 8109bd85c0.
2015-07-15 18:00:29 +02:00
Régis Hanol 8109bd85c0 FIX: use CDN for user avatars 2015-07-15 17:27:51 +02:00
Régis Hanol b0802abae2 FIX: crop & optimize user background profile/card images 2015-07-15 17:15:43 +02:00
Qasem Hajizadeh af688a13ea Rtl Fix For Customize Toggles & Dashboard 2015-07-15 15:18:20 +04:30
Sam fe009ea926 Merge pull request #3595 from cpradio/printer-friendly
UX: Add printer-friendly.scss to make short topics print nicely.
2015-07-15 16:50:38 +10:00
Arpit Jalan 7a1694f1ac FEATURE: add more data in user list export 2015-07-15 11:38:48 +05:30
Sam e53842529d Merge pull request #3606 from riking/patch-5
FIX: Allow changing ownership of posts with deleted users
2015-07-15 15:56:47 +10:00
Sam b772d96f7a FEATURE: permalink normalization
Optionally allow admins to apply regex based normalization
to permalinks prior to matching.

This allows us to drop query string, or cleanly ignore slugs, etc.
2015-07-15 15:34:25 +10:00
Kane York 8796760825 FIX: Allow changing ownership of posts with deleted users 2015-07-14 21:15:34 -07:00
Sam d20324ece8 Merge pull request #3605 from riking/patch-6
FEATURE: Automatically copy the share link if possible
2015-07-15 13:41:34 +10:00
Kane York 2cbb1610a1 FEATURE: Automatically copy the share link 2015-07-14 19:53:02 -07:00
awesomerobot 792a12349b switching bullet-badges to flexbox to solve alignment 2015-07-14 21:29:05 -04:00
Neil Lalonde 249ef75f12 FIX: when rate limited on login attempts, show a meaningful message instead of unknown error. 2015-07-14 18:17:39 -04:00
Robin Ward cc2a33617f Refactor likes/flags to simplify things a lot 2015-07-14 15:50:27 -04:00
Robin Ward 5f3c381dc2 Only include information in `actions_summary` when we need it. 2015-07-14 15:12:00 -04:00
Robin Ward fcfcda099f Component tests for like button 2015-07-14 14:46:46 -04:00
Robin Ward 7a58d64f37 Upgrade ember qunit, create new interface for testing components 2015-07-14 13:56:59 -04:00
Robin Ward 1397507d05 Remove `console.log` 🔥 2015-07-14 12:44:36 -04:00
Robin Ward 32a1610b5d FIX: Search had wrong preload store key 2015-07-14 11:58:42 -04:00
Robin Ward 46b61627cd FIX: Missing emoji button 2015-07-14 10:53:54 -04:00
Sam d87c80836d FIX: stop losing focus when searching for site settings 2015-07-14 17:09:43 +10:00
Arpit Jalan 1bebed7732 FIX: invite link was not working on admin users tab 2015-07-14 09:07:53 +05:30
Sam fe6a80d37b Merge pull request #3603 from riking/patch-5
Patch 5
2015-07-14 09:39:13 +10:00
Kane York 2a897a8a6b SECURITY: Remove email validation check bypass
- Increase size of email column to varchar(513)
 - Give error message on signup when email is too large

Overall impact: Low, allows signups from blocked domains. Main risk is increased spam.
2015-07-13 15:36:17 -07:00
Robin Ward 20a338362f FIX: Allow multiple pagedown editors at once. 2015-07-13 16:36:38 -04:00
Robin Ward 4f103f7cc5 Minor typo 2015-07-13 15:04:54 -04:00
Arpit Jalan fcdb7f36b7 optimize invite js code 2015-07-13 20:07:13 +05:30
Robin Ward 8a33fb9bd5 Merge pull request #3601 from techAPJ/patch-1
FEATURE: invite page tabs
2015-07-13 10:28:21 -04:00
Arpit Jalan e0c9054748 FEATURE: invite page tabs 2015-07-13 09:42:51 +05:30
Sam 078177cf79 FIX: show more results on search page was not performing a new search
We always want to update model if query params are changed on topic list
2015-07-13 11:13:13 +10:00
Sam d247c002bc Merge pull request #3600 from tgxworld/fix_search_show_more_dismissing
FIX: Clicking 'show more' should not dismiss search dropdown.
2015-07-13 10:03:50 +10:00
Guo Xiang Tan 7a8c26babc FIX: Clicking 'show more' should not dismiss search dropdown. 2015-07-12 23:37:37 +08:00
Sam 1cdd630141 Merge pull request #3596 from riking/patch-5
FIX: Automatically add like-count to post menu
2015-07-11 09:44:54 +10:00
Jeff Atwood e31b03afb9 fix exaggerated font size for mobile likes 2015-07-10 15:24:35 -07:00
Jeff Atwood 00db0d878f manually revert heart color change 2015-07-10 14:41:38 -07:00
Jeff Atwood 57b85f2dc8 fix title overflow on user page 2015-07-10 14:35:47 -07:00
Kane York e4aa0e143d FIX: Linebreaks not showing in tweets 2015-07-10 13:22:16 -07:00
Robin Ward ecd48a4b35 FIX: When finding a topic by slug only, use replaceState 2015-07-10 15:56:49 -04:00
Robin Ward 284b86cf5d Refactor PostActionSummary a bit.
- Remove `Discourse` constant.
- Use `LikeCount` instead of `Likecount`
2015-07-10 15:56:49 -04:00
Jeff Atwood ce86c9956e Merge pull request #3548 from tgxworld/coloured_hearts
UX: Seeing black hearts make me sad.
2015-07-10 11:44:50 -07:00
Robin Ward ac2f5cbdab FIX: Admin user fields weren't showing errors
Also updated it to remove deprecations and item controller
2015-07-10 12:31:30 -04:00
Sam 84549929ba Merge pull request #3598 from tgxworld/shift_badges_down_for_mobile
UX: Shift notification badge down on mobile.
2015-07-10 16:51:12 +10:00
Sam 4a5a2d869e FEATURE: search by user id or category id
FIX: more search results work if you open in new tab
FIX: carry context to full page search
2015-07-10 16:31:28 +10:00
Sam a2398c07f7 UX: faster liking reaction times 2015-07-10 15:00:06 +10:00
Sam feadfb2e46 improve who liked styling 2015-07-10 14:48:44 +10:00