Commit Graph

4860 Commits

Author SHA1 Message Date
Régis Hanol 25a1bf421e FIX: use CDN for user avatars (take 2) 2015-07-15 19:24:23 +02: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
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
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
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
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
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
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 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
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
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 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 5c8302c789 UX: better user title on groups index page 2015-07-06 23:58:37 +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 8abf923b81 UX: group member page improvements 2015-07-06 16:58:03 +05:30
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
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 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
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 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
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
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
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
Robin Ward 0013477453 UX: Don't show "X days later" unless the posts are sequential.
This fixes the display of later posts when in summary mode.
2015-06-29 15:23:26 -04:00
Robin Ward fb03c13bc6 UX: When summarizing/filtering by participant jump to second post 2015-06-29 15:16:28 -04:00
Guo Xiang Tan 7ce77a151c UX: Dropdown not dismissing until next page renders. 2015-06-29 22:02:21 +08:00
Sam 0c403272e2 missing condition 2015-06-28 10:00:17 +10:00
Jeff Atwood e04d66aa2c pulled in manual change incorrectly 2015-06-27 12:09:47 -07:00
Jeff Atwood 58bb918002 add jagged border for post gaps 2015-06-27 11:52:04 -07:00
Robin Ward 7dbc2590a5 Support for auth plugins to freeze the username 2015-06-26 15:55:33 -04:00
Robin Ward b52e5d1536 FIX: `default_avatars` wasn't being used for some server side templates 2015-06-26 13:38:09 -04:00
Robin Ward 9408d5891d FIX: `url_list` wasn't updating properly 2015-06-26 13:38:09 -04:00
Robin Ward 92f97fa94f Upgrade topics to modern ES6 2015-06-26 13:38:09 -04:00
Robin Ward 9cf77bc01d Merge pull request #3570 from tgxworld/middle_click_on_profile_image
FIX: Middle click on user card image and name not working.
2015-06-26 12:30:42 -04:00
Robin Ward e322c9a9ff Support resolving models 2015-06-26 12:27:13 -04:00
Sam c2aab0b1b8 more of type will not go to fullpage search if looking at a topic 2015-06-26 17:47:20 +10:00
Sam 93b5af716c FEATURE: enter on search will take you to full page search 2015-06-26 17:47:20 +10:00
Guo Xiang Tan 47f120c346 FIX: Middle click on user card image and name not working.
Extension of 0a9e2f54ff.
2015-06-26 12:20:06 +08:00
Gerhard Schlager d08693edce FEATURE: Make abbreviated numbers (k, M) localizable
- Make the decimal separator and thousands delimiter localizable
- Add translations for all languages, otherwise this will look very ugly
2015-06-26 00:51:12 +02:00
Kane York 20ccbc79c2 Use the underscore-private convention, simplify 2015-06-25 12:53:50 -07:00
Kane York b0e62e4dc1 FEATURE: addPluralization() in the store adapter 2015-06-25 12:49:36 -07:00
Robin Ward 0a9e2f54ff FIX: Middle clicking on a user was not working 2015-06-25 13:53:23 -04:00
Régis Hanol 18f887772d FEATURE: allow plugins to add custom admin reports 2015-06-25 02:42:08 +02:00
Robin Ward 6422d5efbd Use the same component for similar topics as search results. 2015-06-24 15:08:22 -04:00
Régis Hanol f18098fd9b FEATURE: category dropdown in admin reports 2015-06-24 15:19:39 +02:00
Sam afa11b214e UX: smoother j/k handling 2015-06-23 17:00:57 +10:00
Sam a0e8bc2492 Merge pull request #3557 from scossar/rtl-usercard
FIX: positioning of usercard in rtl layouts
2015-06-23 15:58:09 +10:00
Sam a714334180 Merge pull request #3559 from gschlager/keyboard
FEATURE: Close search window when Ctrl+F is pressed
2015-06-23 15:53:32 +10:00
Sam 24d8c423df correct hamburger link 2015-06-23 13:55:19 +10:00
Sam f101408d03 FEATURE: on mobile display a rollup of unread and new on latest 2015-06-23 12:45:41 +10:00
Sam b593a8db92 order by latest and views filters
sane wrapping for large text in excerpt
2015-06-23 11:01:10 +10:00
Sam 0768a3b2e9 Improve full page search handling
- add highlighting, clean up url
2015-06-23 09:47:33 +10:00
Robin Ward 4cb8f0ffdb FIX: Clicking on topics in search broke 2015-06-22 16:40:10 -04:00
Robin Ward 4c4b20574d FIX: Broken JSHint. cc @riking 2015-06-22 16:02:14 -04:00
Neil Lalonde 7ae1ff439d FIX: modal explaining that your account hasn't been activated yet was broken if you saw it more than once 2015-06-22 15:36:42 -04:00
Robin Ward 7ed309666b Refactor search results to be components instead of views for reuse 2015-06-22 15:08:51 -04:00
Robin Ward 76bfd723f6 Merge pull request #3482 from riking/patch-3
Import/Export site customizations
2015-06-22 14:03:07 -04:00
Régis Hanol b25a16ee3e FEATURE: 2 new reports: time to first response, topics with no response
FIX: relativeAgeMediumSpan was off by 1
REFACTOR: extracted decimalAdjust & round functions from the poll plugin
2015-06-22 19:46:51 +02:00
Régis Hanol 0bfabed2d5 FIX: avatar selection wasn't properly pre-selected 2015-06-22 16:22:15 +02:00
Sam 41e427bd2e Work in progress, full page search 2015-06-22 18:09:08 +10:00
Sam 374f951c65 fix live css changes on mobile 2015-06-22 14:35:11 +10:00
Sam fe6203d4ec UX: improve front page styling for mobile 2015-06-22 14:25:17 +10:00
Sam 701c23c8b7 REFACTOR: create component for navigation pills 2015-06-22 10:54:50 +10:00
Simon Cossar 4896a7dec7 Change const to a variable 2015-06-19 15:31:03 -07:00
Simon Cossar aa8b06aed2 Clean up code 2015-06-19 14:43:34 -07:00
Simon Cossar 7cf910a408 Merge branch 'master' into rtl-usercard 2015-06-19 14:31:08 -07:00
Gerhard Schlager 3e2653d198 FEATURE: Close search window when Ctrl+F is pressed.
FIX: All search related keyboard shortcuts enabled the "search context", but only Ctrl+F inside of topics should enable it.
2015-06-19 23:04:00 +02:00
Robin Ward 00572c4f11 FIX: The time gap would disappear after a post was comitted 2015-06-19 10:32:58 -04:00
Sam d12de36c82 FIX: denote that we are not collapsed if no buttons are hidden 2015-06-19 16:09:26 +10:00
Simon Cossar 7d898ff517 remove comment 2015-06-18 19:33:23 -07:00
Simon Cossar 1bdf43d5cc Correct user-card positioning for rtl layouts 2015-06-18 19:28:02 -07:00
Sam 0dfb9261ea Improve time gap styling 2015-06-19 11:24:10 +10:00
Sam 054789038c remove leftover code 2015-06-19 11:23:52 +10:00
Robin Ward 42bd9b6199 FEATURE: Show time gap between posts if more than a few days 2015-06-18 17:06:25 -04:00
Robin Ward 4e898c604e UX: Update suggested topics to include topic status + category 2015-06-18 15:53:10 -04:00
Robin Ward 874b2a628d FIX: `plugin-outlet` should do view injections 2015-06-17 11:11:16 -04:00
Régis Hanol 01a23203c7 FIX: slightly improve emoji support in titles (no need for spaces between emojis) 2015-06-16 10:15:42 +02:00
Arpit Jalan 4628b06fd6 FIX: use session instead of cookie to preserve url 2015-06-16 11:43:29 +05:30
Arpit Jalan d37c2a2c98 Merge pull request #3550 from techAPJ/patch-1
FIX: new-topic URL should survive login redirection
2015-06-16 07:19:42 +05:30
Sam 7b8786e14f FIX: maintain category ordering when position is fixed for browsing
FEATURE: allow mods to set category ordering for topic creation dialog
  using fixed_category_positions_on_create
2015-06-16 09:31:41 +10:00
Régis Hanol 357d4e3dd3 FIX: support for more than 1 emojis in the title 2015-06-15 23:44:39 +02:00
Neil Lalonde 76a14cd279 FIX: user visit stats on admin dashboard should show sum of values for 7 day and 30 day columns 2015-06-15 13:16:29 -04:00
Régis Hanol 08e62347e1 FIX: blue notification bar overlaps text on New/Unread tab 2015-06-15 17:27:56 +02:00
Robin Ward e4085a64ce FIX: Use proper upper/lower case when previewing mentions 2015-06-15 10:58:03 -04:00
Régis Hanol 7bc0cbc672 FEATURE: add support for up to 10 uploads in the composer 2015-06-15 16:29:01 +02:00
Régis Hanol 50e705a078 fix the build 2015-06-15 16:02:30 +02:00
Régis Hanol 2d03163be0 FEATURE: add support for emojis in title 2015-06-15 15:27:22 +02:00
Sam 37dfb1b4b5 FEATURE: support for custom notification types
used by solved plugin
2015-06-15 14:18:03 +10:00
Arpit Jalan d1632c1dbd FIX: new-topic URL should survive login redirection 2015-06-14 20:24:47 +05:30
Régis Hanol 9e7eb4c48b FIX: show email wasn't working for moderators 2015-06-12 18:43:53 +02:00
Régis Hanol 34a0389ff3 FIX: time read column was empty in user directory 2015-06-12 12:40:07 +02:00