Commit Graph

8997 Commits

Author SHA1 Message Date
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
Arpit Jalan f84341f8e0 FIX: add title to group_user serializer 2015-07-06 23:00:00 +05:30
Neil Lalonde 0bb3123a67 FIX: link to logster when served from a subfolder 2015-07-06 11:18:20 -04:00
Arpit Jalan 0314685627 FIX: redirect signup to sso url if sso enabled 2015-07-06 20:21:18 +05:30
Arpit Jalan d07adc9d72 UX: fix login button 2015-07-06 18:12:37 +05:30
Arpit Jalan 8abf923b81 UX: group member page improvements 2015-07-06 16:58:03 +05:30
Jeff Atwood ac574039a6 get rid of hover styles on mobile show-likes 2015-07-05 23:04:26 -07:00
k0uki 612a318db4 pluralizationRules for Japanese translation 2015-07-05 21:23:19 +09:00
Jeff Atwood 4bffacac66 make Likes come before Replies under post 2015-07-04 14:48:35 -07:00
Robin Ward bcbf538297 FIX: JShint 2015-07-03 17:36:16 -04:00
Neil Lalonde 86cd1a19cc FEATURE: page view stats for mobile view 2015-07-03 17:19:33 -04:00
Robin Ward db75774440 UX: Move likes into drop down instead of its own status line 2015-07-03 17:15:20 -04:00
Neil Lalonde 5cb8f3bce5 reset category on report data page 2015-07-03 13:12:40 -04:00
Neil Lalonde 06dc63fbae FIX: add ability to show report data for all categories 2015-07-03 12:58:13 -04:00
Neil Lalonde 67135a472a fix deprecations in admin reports 2015-07-03 12:00:59 -04:00
Robin Ward be664857be Merge pull request #3585 from riking/patch-3
FEATURE: Reserved usernames
2015-07-03 10:02:24 -04:00
Robin Ward 7676c5dfe7 Can add topic templates to categories, prepopulated on compose 2015-07-03 10:01:46 -04:00
Robin Ward 84a1acb2ec Refactor category edit to use components 2015-07-03 10:01:46 -04:00
Robin Ward 23daa9d8ce Refactor and add tests for category editing 2015-07-03 10:01:46 -04:00
Kane York 3fdbf287de FEATURE: Only show enabled plugins in the sidebar 2015-07-02 10:59:15 -07:00
Kane York af042ffe5e FEATURE: Per-plugin settings buttons, "Enabled" column
Also, added enabled_site_setting to the Poll plugin so it shows up properly.
2015-07-02 10:59:06 -07:00
Guo Xiang Tan 210f1ab424 FIX: Emoji not shown in notifications.
Fixes: https://meta.discourse.org/t/topic-title-emoji-not-supported-in-notifications/30670/2.
2015-07-02 23:30:26 +08:00
Jeff Atwood 030dc7e310 tweaks to /top dates 2015-07-02 02:22:38 -07:00
Kane York df988a20eb FEATURE: Reserved usernames
A list of usernames that will be blocked from being used to sign up.
2015-07-01 13:50:55 -07:00
Jeff Atwood 73e68271eb add pointer cursor to top field 2015-07-01 13:26:37 -07:00
Robin Ward c4b685469e Merge pull request #3569 from gschlager/i18n
FEATURE: Make abbreviated numbers (k, M) localizable
2015-07-01 15:27:17 -04:00
Robin Ward bfb4dc0055 Merge pull request #3573 from gschlager/patch-1
FIX: Disable validation during thumbnail creation
2015-07-01 15:22:02 -04:00
Robin Ward 29c4b9520c Merge pull request #3582 from riking/patch-3
FIX: combo-box should observe on nameProperty
2015-07-01 14:42:36 -04:00
Neil Lalonde 05b611853c FEATURE: show date ranges in heading on Top page 2015-07-01 11:48:59 -04:00
Robin Ward 8e09bc7b9d Add a plugin outlet for search 2015-07-01 10:56:51 -04:00
Rob Yurkowski 0ad4a6f036 Correct typo in Redis settings
The typo prevents authentication to passworded instances.
2015-06-30 22:19:02 -04:00
Kane York 5022507029 Make observing optional 2015-06-30 16:00:43 -07:00
Jeff Atwood 9d070a0f59 add confused emoji :/ 2015-06-30 14:35:46 -07:00
Robin Ward 0b9ea43bb9 Remove extra `{{log}}` 2015-06-30 16:19:30 -04:00
Neil Lalonde 8e76e6e4b7 topics with no reply data were strings 2015-06-30 15:42:38 -04:00
Kane York 969fb2cd4c FIX: combo-box should observe on nameProperty 2015-06-30 12:23:02 -07:00
Kane York 6b1cfd8d87 FIX: combo-box shouldn't crash if no options available
This is a fix for bdfe91914f
2015-06-30 11:47:41 -07:00
Kane York 130d6a3a26 Join together all errors if mulitple 2015-06-30 11:40:35 -07:00
Kane York 05010b6b33 Add HTTP error codes to ajax-error 2015-06-30 11:39:17 -07:00
Robin Ward 951d6ac28f FIX: Don't reload a topic when clicking the first post search result 2015-06-30 14:15:05 -04:00
Kane York bdfe91914f FIX: combo-box should assign value on initialize
This fixes the bug where admins could post to uncategorized even when it was disabled.
2015-06-30 10:18:31 -07:00
Kane York 3a8808ee3f FIX: buildPluginAdapter not passing args 2015-06-30 09:14:22 -07:00
Jeff Atwood b5d196fb29 smaller font on Replies expansion 2015-06-29 16:25:53 -07:00
Robin Ward 1b1ea08ac3 FIX: If you follow a link to a user that doesn't exist, show 404 2015-06-29 15:47:05 -04:00