Kane York
cb395662d0
Add JsLocaleHelper tests for i18n fallback
2015-07-15 14:23:41 -07:00
Kane York
ff219bc65c
todo: write test
2015-07-15 10:21:06 -07:00
Kane York
650eb86a74
Disable in development (server)
2015-07-15 10:17:36 -07: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
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
Robin Ward
4a7bf67778
Typos
2015-07-15 11:18:01 -04:00
Robin Ward
f647174c95
Add acceptance test for full page search
2015-07-15 11:17:04 -04:00
Régis Hanol
b0802abae2
FIX: crop & optimize user background profile/card images
2015-07-15 17:15:43 +02:00
Sam
00aaa692ac
Merge pull request #3574 from gschlager/patch-2
...
FIX: Remove invalid translation keys from polls plugin
2015-07-15 16:53:37 +10:00
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
e0eb7f0016
Improve lithuim importer
...
- grab unique id for each post
- clean up html quotes and lines with nbsp
2015-07-15 15:34:25 +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
Jeff Atwood
b6d1f5aee2
Merge pull request #3604 from awesomerobot/master
...
switching bullet-badges to flexbox to solve alignment
2015-07-14 18:35:27 -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
8a9fa3e5bf
FIX: Error reloading dev due to conditional require
2015-07-14 14:52:35 -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
Sam
b00554d662
initial lithuim importer (work in progress)
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
Robin Ward
b6596a3b8e
Merge pull request #3563 from thiesen/fix-setup-dev
...
fix script/setup_dev
2015-07-13 14:46:27 -04:00
Arpit Jalan
e9a81064e7
Revert "FIX: fixnum type site setting can't be more than 20000"
...
This reverts commit 636cc66e1f
.
2015-07-13 22:53:44 +05:30
thiesen
38864a8303
remove setup_dev script to avoid confusion
2015-07-13 13:56:26 -03: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
636cc66e1f
FIX: fixnum type site setting can't be more than 20000
2015-07-13 18:58:45 +05:30
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
Jeff Atwood
0f9d2d2d96
first pass on longer badge descriptions
2015-07-11 14:07:51 -07:00