Kris
675bf94133
UX: Bump up base font size 1px, add smaller text size option
2019-01-17 10:30:34 -05:00
David Taylor
880311dd4d
FEATURE: Support for localized themes ( #6848 )
...
- Themes can supply translation files in a format like `/locales/{locale}.yml`. These files should be valid YAML, with a single top level key equal to the locale being defined. For now these can only be defined using the `discourse_theme` CLI, importing a `.tar.gz`, or from a GIT repository.
- Fallback is handled on a global level (if the locale is not defined in the theme), as well as on individual keys (if some keys are missing from the selected interface language).
- Administrators can override individual keys on a per-theme basis in the /admin/customize/themes user interface.
- Theme developers should access defined translations using the new theme prefix variables:
JavaScript: `I18n.t(themePrefix("my_translation_key"))`
Handlebars: `{{theme-i18n "my_translation_key"}}` or `{{i18n (theme-prefix "my_translation_key")}}`
- To design for backwards compatibility, theme developers can check for the presence of the `themePrefix` variable in JavaScript
- As part of this, the old `{{themeSetting.setting_name}}` syntax is deprecated in favour of `{{theme-setting "setting_name"}}`
2019-01-17 11:46:11 +00:00
Joffrey JAFFEUX
740d047365
FIX: regression lead to a 404 when trying to filter user posts ( #6893 )
2019-01-17 11:31:23 +01:00
Kris
e7d2a0d42f
UX: Larger/Largest font-sizes should be 1px larger on mobile
2019-01-16 20:59:31 -05:00
Jeff Atwood
1d4d4b81e6
remove stray chars
2019-01-16 15:05:43 -08:00
Jeff Atwood
f0999f27a7
UX: soften the "problems" alert on dashboard
2019-01-16 14:58:19 -08:00
Robin Ward
16a7102dad
FIX: Ember.warn
needs an id
...
This way errors can be customized/silenced in the console.
2019-01-16 14:53:13 -05:00
David Taylor
98f26bcaf5
Revert "FIX: makes click-interceptor working with touchstart ( #6890 )"
...
This reverts commit fd2dd8d67d
.
2019-01-16 17:47:40 +00:00
Joffrey JAFFEUX
fd2dd8d67d
FIX: makes click-interceptor working with touchstart ( #6890 )
...
Probable regression due to the removal of Modernizr.
2019-01-16 17:56:43 +01:00
Penar Musaraj
18055f5e37
DEV: show remote theme repository URL
2019-01-16 11:09:16 -05:00
Joffrey JAFFEUX
1ac4dc5b73
FIX: makes whisper state more resilient ( #6889 )
...
This commit also moves some logic from model to controller.
2019-01-16 15:23:06 +01:00
Angus McLeod
54f95bb335
rm period ( #6886 )
2019-01-16 10:58:43 +01:00
Joffrey JAFFEUX
486df57a23
FIX: tweaking topic footer dropdowns ( #6882 )
...
- no description on mobile for notifications
- better reason text positioning
2019-01-16 10:27:27 +01:00
Guo Xiang Tan
f8db93df5f
FIX: Consolidated like notifications links to wrong user on user page.
2019-01-16 15:55:18 +08:00
Penar Musaraj
71a69c1976
Revert "FIX: refresh topic list on logo click"
...
This reverts commit 037776881b
.
2019-01-15 22:54:53 -05:00
Arpit Jalan
1591c42a06
FIX: profile picture not showing up on user admin page
2019-01-16 09:21:11 +05:30
Guo Xiang Tan
40533bc570
REFACTOR: filterBy
in UserStream
.
...
Follow up to ebe65577ed
.
2019-01-16 10:53:44 +08:00
Guo Xiang Tan
ebe65577ed
FEATURE: Consolidate likes notifications. ( #6879 )
2019-01-16 10:40:16 +08:00
Penar Musaraj
037776881b
FIX: refresh topic list on logo click
...
Fixes a regression where, when homepage is set to "categories", clicking on logo would no longer reload topic list.
2019-01-15 17:01:09 -05:00
David Taylor
b69e57e2f3
FIX: Prevent layout changes while images are lazy-loading
...
This commit moves the temporary image to be adjacent to the original image in the DOM. Previously the temporary image was appended to the parent element. Normally this makes no difference because the temporary element has position:absolute. However, if the `:last-child` selector is being used on the parent, it can cause layout changes during loading.
2019-01-15 17:35:55 +00:00
Gerhard Schlager
70cdb42173
FIX: Tooltip for unlisted topics wasn't shown in topic list
...
The locale key had to be renamed, because this key is also used as CSS class.
The "invisible" CSS class makes the icon invisible. "unlisted" doesn't have that effect.
2019-01-15 16:13:06 +01:00
Arpit Jalan
c4422fdc13
UX: sort admins and moderators by last seen date on /about page
...
UX: only show active admins and moderators on /about page
2019-01-15 17:26:11 +05:30
Robin Ward
f75915efa4
FIX: expandAllPinned
was not resetting after visiting a category
...
This resulted in a bug where if you saw a pinned topic in a category,
then went back to latest, the same topic would show an excerpt even
though it shouldn't on the latest view.
See:
https://meta.discourse.org/t/pinned-post-excerpt-no-longer-appears-after-refreshing-the-page/106222
2019-01-14 13:02:25 -05:00
David Taylor
1ebd3dbbd0
FEATURE: Allow the base font size to be changed on a per-user basis ( #6859 )
2019-01-14 13:21:46 +00:00
Arpit Jalan
59e3eecfa6
FEATURE: allow staff to select existing message via ID or URL
2019-01-14 15:29:05 +05:30
Arpit Jalan
a121d40771
FIX: do not show PM topics when moving posts to an existing public topic ( #6876 )
2019-01-14 15:00:45 +05:30
David Taylor
49593d1a00
FIX: Fix registration dialog popup for 'full screen' social logins
...
Regression following the ember3 upgrade. In addition to fixing, this commit consolidates our social registration logic into one place, and adds tests for the behaviour.
2019-01-12 12:08:13 +00:00
Joffrey JAFFEUX
dcdcaebd0f
FIX: checkEmail was calling itself ( #6878 )
2019-01-12 11:12:17 +01:00
Kris
8176d26dbd
UX: Reducing usage of btn-small, simplifying styles
2019-01-11 19:41:09 -05:00
Kris
e4c593f1e7
removing some dupe styles, adding button class
2019-01-11 15:41:51 -05:00
Kris
83f0afbec9
Usercards sometimes not wrapping correctly in Safari
2019-01-11 12:50:16 -05:00
Joffrey JAFFEUX
1a3655b787
DEV: s/Em/Ember ( #6874 )
2019-01-11 17:54:23 +01:00
Guo Xiang Tan
0fa92699e2
UX: Don't save automatically when resetting site settings in admin page.
2019-01-11 16:39:21 +08:00
Guo Xiang Tan
2956c52e57
FIX: Show title as home logo if title has been set and logo is blank.
...
https://meta.discourse.org/t/default-text-logo-not-working/103936
2019-01-11 15:46:58 +08:00
Kris
29ff184508
d60b9df
fix, was too broad
2019-01-10 21:50:00 -05:00
Kris
d60b9dfba4
UX: Close button shouldn't get :visited color
2019-01-10 21:47:38 -05:00
Joffrey JAFFEUX
9f39ac8366
FIX: ember3 regression, uses model as bufferedProperty for badges ( #6875 )
2019-01-11 00:46:03 +01:00
Penar Musaraj
49e3a83062
FIX: minor regression when acting on queued post
2019-01-10 15:32:33 -05:00
Vinoth Kannan
0744e84604
UX: always scope the composer categories dropdown to current category
2019-01-11 01:07:23 +05:30
Vinoth Kannan
a8ff4a8a78
UX: search all categories even if category-chooser is scoped to particular category
2019-01-10 21:19:53 +05:30
Joffrey JAFFEUX
f9648de897
DEV: upgrades from Ember 2.13 to Ember 3.5.1 ( #6808 )
...
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00
Angus McLeod
798e98a7cc
remove safari check from isAppleDevice ( #6869 )
2019-01-10 13:02:55 +11:00
Maja Komel
51b13ec86f
FIX: show lock glyph to a user without permissions to see quote ( #6854 )
2019-01-10 09:48:05 +08:00
Robin Ward
312e282b6a
FIX: Apply classes when lazily loading images
...
If an image had extra classes (for example oneboxes), then while loading
the copy of the image would lose those classes and look differently
until the image had loaded fully.
This fix copies the classes while loading.
2019-01-09 12:56:25 -05:00
Jeff Wong
439eff4709
revert null checking around interceptClick
2019-01-09 09:44:30 -08:00
David Taylor
2d3e50ae7c
FIX: Match default <code>
padding to highlightjs padding
...
Without this, the height of posts changes once highlightjs is lazy-loaded, potentially causing scrolling issues
2019-01-09 17:36:51 +00:00
Robin Ward
8b3ddcf646
FIX: Add topic status to flagged topics list
...
Previously at a glance it was impossible to tell if a topic was closed
before digging deeper.
2019-01-09 10:59:35 -05:00
Vinoth Kannan
1f12a377fa
minor refactoring of card-contents-base mixin
2019-01-09 19:32:30 +05:30
Vinoth Kannan
b7c501bf52
FIX: full page search results are unclickable
...
data-ember-action can have empty value in favor of data-ember-action-ID attribute
2019-01-09 10:59:37 +05:30
Zach Whitehead
2748822576
FEATURE: Remove option for Google Plus sharing ( #6864 )
...
* Remove option for Google Plus sharing
* remove google+ share translations
2019-01-09 10:17:50 +08:00