Commit Graph

9040 Commits

Author SHA1 Message Date
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
Sam
f533276507 FIX: do not publish all categories when a category changes.
minor fixes to UI, still needs more work for live refresh of category listing
2015-07-10 12:09:43 +10:00
Guo Xiang Tan
76e3acbcb3 UX: Shift notification badge down on mobile. 2015-07-09 19:28:38 +08:00
Arpit Jalan
8c44c51824 Merge pull request #3591 from riking/patch-3
FIX: Don't root CSV export URLs
2015-07-09 08:34:41 +05:30
Sam
160ee67620 Merge pull request #3571 from tgxworld/fix_header_not_dismissing_on_click
UX: Dropdown not dismissing until next page renders.
2015-07-09 11:49:58 +10:00
Sam
a0740e8976 Merge pull request #3587 from tgxworld/emoji_not_shown_in_notifications
FIX: Emoji not shown in notifications.
2015-07-09 11:45:13 +10:00
cpradio
997a02dd0c UX: Add printer-friendly.scss to make short topics print nicely.
Remove references to .ember-view
2015-07-08 18:00:03 -04:00
cpradio
493ab29bb7 UX: Add printer-friendly.scss to make short topics print nicely. 2015-07-08 16:53:35 -04:00
Sam
2bd6e201f9 UX: tweak location of like count
UX: clean up fade logic so it meshes with new like style
EXTENSIBILITY: add hook for insertion of custom HTML for buttons
UX: stop suppressing share for anon, like expander is not suppressed
 old behavior is inconsistent


also reimplements like count expander as a proper button,
adds a nice label for it
2015-07-08 15:10:53 +10:00
Robin Ward
73fc612cbc Use the number formatter for likes in case they get really big 2015-07-07 16:01:30 -04:00
Robin Ward
300faa6744 UX: Put links back in flags summaries in advance of refactor. 2015-07-07 15:50:14 -04:00
Robin Ward
7eb6dca3ec Move who liked a post above the replies 2015-07-07 15:37:48 -04:00
Robin Ward
4706b77940 Backwards compatibility with deprecation for Discourse.PostMenuView 2015-07-07 15:18:19 -04:00
Robin Ward
724781f426 FIX: Support topic templates when changing category too 2015-07-07 14:39:24 -04:00
Neil Lalonde
5e63420064 fix enveloppe typo 2015-07-07 14:06:42 -04:00
Neil Lalonde
782dd13e78 FEATURE: track user visits on mobile and display on admin dashboard in a new Mobile section 2015-07-07 14:06:42 -04:00
Robin Ward
0330e17ffa Merge pull request #3592 from Xenograph/master
FIX: Substrings of reserved usernames no longer treated as reserved
2015-07-07 11:41:36 -04:00
Robin Ward
2c14acac72 Merge pull request #3236 from sigginet/patch-1
FIX: Added two user badge triggers
2015-07-07 11:25:11 -04:00
Robin Ward
8b79337ca4 Merge pull request #3589 from k0uki/fix_ja_pluralization_rules
pluralizationRules for Japanese translation
2015-07-07 11:22:16 -04:00
Arpit Jalan
90430eda62 UX: better user title on groups index page (mobile) 2015-07-07 18:48:51 +05:30
Arpit Jalan
66bd1053cf UX: fix group members page mobile layout 2015-07-07 18:21:44 +05:30
Doug
5e615ef26e Fixed bug that caused substrings of reserved usernames to be treated as reserved. 2015-07-06 23:54:25 -07:00
Kane York
38acc8a070 FIX: Don't root CSV export URLs 2015-07-06 15:19:31 -07:00
Neil Lalonde
8c84e60df6 FIX: application request numbers for prev 30 day period was for current 30 day period minus today, not previous 30 days 2015-07-06 15:01:43 -04:00
Arpit Jalan
5c8302c789 UX: better user title on groups index page 2015-07-06 23:58:37 +05:30