Commit graph

9271 commits

Author SHA1 Message Date
Robin Ward
d37accb5bc FIX: broken debounce in search terms. 2015-08-10 16:33:24 -04:00
Robin Ward
b02d624503 FIX: Okay, add support for hosts that have trailing paths 2015-08-10 15:26:58 -04:00
Robin Ward
6711d12f68 Merge pull request #3644 from gtanczyk/add-outlets-for-dropdowns-and-notifications
Adding two plugin outlets for notifications and their dropdowns
2015-08-10 11:47:55 -04:00
Robin Ward
1551ba93bb FIX: Translation key changed 2015-08-10 11:13:01 -04:00
Robin Ward
b7e6eaa961 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
Robin Ward
378087727f Admin adapters should be within the admin JS app 2015-08-10 10:21:05 -04:00
Robin Ward
7fffd483f8 Fix deprecations with site text, upgrade to ES6 / store 2015-08-10 10:21:04 -04:00
Robin Ward
bd631e343a FEATURE: Can create stylesheets for embedded comments 2015-08-10 10:21:04 -04:00
Robin Ward
0932e82508 Refactor Customizations to have deeper URLs 2015-08-10 10:21:04 -04:00
Robin Ward
92b2d8c247 Migrate a bunch of admin routes to ES6 modules 2015-08-10 10:21:04 -04:00
Régis Hanol
0f62a7f781 FEATURE: new date picker component 2015-08-10 12:50:38 +02:00
Sam
2d53436d0a correct intialization order 2015-08-10 18:15:35 +10:00
Régis Hanol
80e6f54198 FIX: don't divide by 0, it's never worth it 2015-08-10 10:06:33 +02:00
Sam
12b6d8a032 FIX: cancel in progress search when flipping to full search 2015-08-10 16:12:51 +10:00
Sam
c2fd93ffa8 DEV: allow Discourse.ajax to be aborted if needed 2015-08-10 16:12:51 +10:00
Arpit Jalan
066824e545 FIX: invite accepted notification should link to invited user profile 2015-08-10 11:28:59 +05:30
Sam
2052ceca95 FIX: stop screen from jittering when mobile has images
This fix makes sure we apply reasonable settings to all images while
they are loading, it stops mobile from dancing around on topics that
have images

We no longer use height: auto on mobile!
2015-08-10 13:19:01 +10:00
Sam
3eeb765f00 fix deprecation 2015-08-10 11:41:11 +10:00
Grzegorz Tanczyk
d76fafc8ec Adding two plugin outlets for notifications and their dropdowns extensibility 2015-08-08 00:00:10 +02:00
Jeff Atwood
3427049ce7 UX: simpler styling on post reply button 2015-08-07 12:49:36 -07:00
Jeff Atwood
262e94c48e make all <i> tags grey in .reply-to area 2015-08-07 12:43:29 -07:00
Arpit Jalan
0300da59e2 UX: simplify composer title 2015-08-07 23:05:28 +05:30
Régis Hanol
1aa075f70b FIX: hide custom top/footer in admin section 2015-08-07 18:06:55 +02:00
Régis Hanol
15418f3d44 FEATURE: new 'backup_frequency' site setting 2015-08-07 17:34:58 +02:00
Sam
1a6cbd37a5 missing outlet for tags on mobile 2015-08-07 19:12:47 +10:00
Sam
415a3ff0de FIX: replace all occurances in preview not only first 2015-08-07 16:52:21 +10:00
Sam
fd63d89753 FEATURE: simpler definition of enum types 2015-08-07 11:41:48 +10:00
Neil Lalonde
a4a14e6d5a add back the warning based on Sidekiq queue size, but only when the queue size is 100k or more 2015-08-06 16:46:49 -04:00
Robin Ward
f667395f9a UX: Embedded stylesheet should use round avatars 2015-08-06 11:39:17 -04:00
Sam
665c3690bb UX: move category below title in search 2015-08-06 17:17:57 +10:00
Sam
cc9f6e53f2 FEATURE: add support for plugin-outlet in raw templates 2015-08-06 15:49:11 +10:00
Sam
bafdf9290d FIX: don't let blocked users reach post creator or new post queue
correct broken spec
2015-08-06 10:32:53 +10:00
Régis Hanol
dbd6099b89 FIX: make sure the global notice shows up on ALL the pages 2015-08-05 22:55:32 +02:00
Robin Ward
7ef83913b6 FIX: Couldn't select values of 0 in the combo-box 2015-08-05 16:19:44 -04:00
Neil Lalonde
5ebd12c070 FEATURE: plugin hooks for topic list nav items 2015-08-05 15:41:36 -04:00
Kane York
4ffca82bab FIX: Issue scroll event after rendering 2015-08-05 11:12:41 -07:00
Régis Hanol
35e6e5ff67 FIX: footer was missing in some pages
- error pages
- search results pages
- list of all tags
- topics list of a specific tag
- user leaderboard
2015-08-05 16:14:26 +02:00
Régis Hanol
b8c8348e5b FIX: remove bookmark from user stream 2015-08-05 12:40:43 +02:00
Sam
aef575aad0 FIX: stop showing incorrect avatars in quote 2015-08-05 19:22:51 +10:00
Sam
4486879fd2 select less data 2015-08-05 16:09:21 +10:00
Sam
a51386a280 FEATURE: allow efficient preloading of custom fields in topic list 2015-08-05 16:09:21 +10:00
Sam
7ba7b23aec Merge pull request #3634 from tgxworld/fix_draft_overlaps
FIX: Draft overlaps topic counts blurb in suggested topics.
2015-08-05 14:49:35 +10:00
Sam
362a69de08 Merge pull request #3637 from tgxworld/fix_alignment_of_login_social_buttons
UX: Social login buttons alignment off on mobile.
2015-08-05 14:47:03 +10:00
Sam
43ac8f8ed2 Revert "odd flexbox side-effect, need CSS width here"
This reverts commit 652eb5b3e3.
2015-08-05 13:49:04 +10:00
Sam
a3c6cd7b38 FIX: handle link tracking correctly for cdn based urls
(usually attachments)
2015-08-05 12:15:08 +10:00
Sam
54b780439d FIX: CDN should always be whitelisted correctly 2015-08-05 11:49:11 +10:00
Sam
c76cb671ad unblock early. 2015-08-05 10:49:59 +10:00
Sam
34122e06df FIX: if post creation fails, raise an exception 2015-08-05 10:47:38 +10:00
Jeff Atwood
2b2ae4bfe7 Revert "adding flexbox to header via mixins (all prefixes)"
This reverts commit 5b229316ee.
2015-08-04 15:56:05 -07:00
Jeff Atwood
652eb5b3e3 odd flexbox side-effect, need CSS width here 2015-08-04 15:44:23 -07:00
Jeff Atwood
a60d449f4c Merge pull request #3641 from awesomerobot/master
adding flexbox to header via mixins (all prefixes)
2015-08-04 14:26:52 -07:00
Robin Ward
59cdde330f Raise errors in development mode on deprecation
We've had quite some time to find the deprecation errors in Ember and
most should be fixed. It is time to turn up the difficulty, which will
raise exceptions in development/test mode if a deprecation is present.
This will force developers to fix them as they encounter them.
2015-08-04 13:23:42 -04:00
Régis Hanol
64dd28d885 FIX: time to first response metric 2015-08-04 18:23:56 +02:00
awesomerobot
5b229316ee adding flexbox to header via mixins (all prefixes) 2015-08-04 10:46:58 -04:00
Jeff Atwood
98fa098e6f fix up mobile alignment on time gaps 2015-08-04 03:44:58 -07:00
Sam
6352528988 EXTENSIBILITY: add filter api to inject hooks in raw templates
TODO: decide with @eviltrout,
decide if registerUnboundOverride makes more sense
2015-08-04 18:53:44 +10:00
Arpit Jalan
09c281f705 UX: show only top 10 categories in email digest 2015-08-04 11:06:04 +05:30
Sam
f456a4b1b4 FIX: missing posts queue link on first notification of queued post 2015-08-04 15:22:17 +10:00
Sam
83593fea58 Revert "aligning text-logos and header with flexbox"
This reverts commit 2ad2ab503f.
2015-08-04 14:49:08 +10:00
Jeff Atwood
618f69d919 slightly reduce header size in search 2015-08-03 20:36:43 -07:00
Sam
3c8ae643b2 UX: improve handling of users in queued-posts
- Display an icon on already blocked users
- Automatically unblock users that you approve
2015-08-04 12:56:37 +10:00
Jeff Atwood
61536c911b Merge pull request #3640 from awesomerobot/master
aligning text-logos and header with flexbox
2015-08-03 18:29:02 -07:00
awesomerobot
2ad2ab503f aligning text-logos and header with flexbox 2015-08-03 21:16:56 -04:00
Sam
01ad88f1ed FEATURE: min_first_post_typing_time
If a user spends less than 3 seconds typing
first post they will automatically enter the approval queue
2015-08-04 10:57:34 +10:00
Sam
a2533e2a02 lighten search blurb for full page search 2015-08-04 10:57:34 +10:00
Jeff Atwood
3d7a2b4788 use default link color on search page results 2015-08-03 17:34:06 -07:00
Jeff Atwood
dc27ae3bf5 make search blurbs more grey to match google 2015-08-03 17:30:18 -07:00
Jeff Atwood
2d7ba13223 full page search CSS tweaks 2015-08-03 16:16:46 -07:00
Jeff Atwood
7d9ee9b378 make invite list styles match topic list 2015-08-03 15:38:32 -07:00
Jeff Atwood
e83b0619e8 switch to refresh icon on resend invite 2015-08-03 14:37:35 -07:00
Sam
7b8b96446e FEATURE: track statistics around post creation
- how long were people typing?
- how long was composer open?
- how many drafts were created?
- correct, draft saved to go away after you continue typing

store in Post.find(xyz).post_stat
2015-08-03 14:29:15 +10:00
Simon Cossar
78edc465d5 Fix comment 2015-08-01 16:57:41 -07:00
Simon Cossar
1f1d30bb7e Make it work 2015-08-01 15:00:39 -07:00
Guo Xiang Tan
2fd4115fd9 UX: Social login buttons alignment off on mobile. 2015-08-01 12:00:47 +08:00
Jeff Atwood
a7f30adb18 minor Emoji tab tweaks 2015-07-31 18:26:06 -07:00
Robin Ward
9629f63612 FIX: Weird translation error. 🔥d 2015-07-31 18:49:17 -04:00
Robin Ward
76aa0795b3 Use small actions for moving posts 2015-07-31 16:30:18 -04:00
Robin Ward
cf91bca0cd FIX: Small actions should show descriptions on the user stream 2015-07-31 14:25:49 -04:00
Régis Hanol
d71301e406 FIX: always 'return true' when overriding a route action 2015-07-31 20:16:37 +02:00
Robin Ward
29bdaa0dd8 Merge pull request #3636 from riking/patch-7
FEATURE: Add off button on preferences for popup notifications
2015-07-31 11:29:16 -04:00
Régis Hanol
1a5c3b4331 FIX: some pages were missing the footer 2015-07-31 17:18:38 +02:00
Régis Hanol
fb65970530 FIX: footer should also be hidden when using back/forward buttons 2015-07-31 16:53:18 +02:00
Régis Hanol
d7aa4e81d6 revert 8f435fcbf6 2015-07-31 15:22:30 +02:00
Régis Hanol
8f435fcbf6 FIX: wrong track view header 2015-07-31 15:03:35 +02:00
Jeff Atwood
d95ad05d76 left align version number table in admin 2015-07-31 03:34:39 -07:00
Sam
d8d849ee84 hoist pre blocks last 2015-07-31 18:27:23 +10:00
Sam
568adc49c0 FIX: fenced code blocks not hoisted correctly
also fixes unhoisting logic
2015-07-31 17:53:20 +10:00
Sam
6f9dc135ba FEATURE: allow logging of raw body of all unprocessable email
set log_mail_processing_failures to true to enable
2015-07-31 15:10:35 +10:00
Kane York
8c62c8d7bf FEATURE: Add off button on preferences for popup notifications 2015-07-30 19:06:14 -07:00
Neil Lalonde
ef0b75386f FIX: badge titles should always render under the badge image on user's badges page 2015-07-30 16:31:56 -04:00
Robin Ward
aa6f792ce1 FEATURE: Custom orders for user fields 2015-07-30 14:53:13 -04:00
Robin Ward
8e603503e6 We can add the no-text class automatically in d-button 2015-07-30 14:53:13 -04:00
Robin Ward
9911e92e24 Merge pull request #3609 from riking/patch-7
FEATURE: Localization fallbacks
2015-07-30 10:44:29 -04:00
Arpit Jalan
10c40775e5 FEATURE: add Open Graph tags on category pages 2015-07-30 19:29:56 +05:30
Sam
ccc07605a7 UX: improve styling of closed messages
also cleans up styling of time gaps on mobile
2015-07-30 11:19:30 +10:00
Robin Ward
b81871b963 FIX: Don't re-write admin urls for users 2015-07-29 17:57:58 -04:00
Robin Ward
00ecec1ee4 FIX: Don't log empty bodies from moderation actions 2015-07-29 14:54:33 -04:00
Robin Ward
9d1e37fb46 FIX: Could click on unlike even after the window. Looked weird. 2015-07-29 14:34:20 -04:00
Robin Ward
92918e3b2b FIX: Different routing for clicking ember links versus not 2015-07-29 13:03:44 -04:00
Arpit Jalan
794b9a5c24 UX: do not show error title 2015-07-29 21:51:27 +05:30
Robin Ward
201617811e Migrate auto closed topics too 2015-07-29 12:20:50 -04:00
Régis Hanol
faf4f44776 FEATURE: make pin expiration mandatory 2015-07-29 16:34:21 +02:00
Régis Hanol
9e2632badd FIX: title translation for crawlers 2015-07-29 15:39:20 +02:00
Robin Ward
5f45e5361f FIX: Moderation actions can have their messages removed 2015-07-28 16:58:56 -04:00
Robin Ward
510813769f Support for deleting small post actions 2015-07-28 16:27:54 -04:00
Robin Ward
e161f8f9fd FEATURE: Can order value lists 2015-07-28 16:09:45 -04:00
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
5minpause
4ee1bc6320 Changes RSS item creation to prevent encoding errors
SimpleRss is unreliable with parsing RSS feeds that contain German Umlauts.
For example this feed http://www.lauffeuer-lb.de/api/v2/articles.xml can't be
parsed by SimpleRss. Discourse's logs are full of

```
Job exception: Wrapped Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8
Job exception: incompatible character encodings: ASCII-8BIT and UTF-8
```

The embedding fails because the feed can't be parsed.

This change forces the encoding (using #scrub)  which prevents the numerous
encoding errors.
2015-07-20 14:30:42 +02: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