Guo Xiang Tan
c30f78793a
Lower default for `SiteSetting.likes_notification_consolidation_threshold`.
2019-01-16 17:56:02 +08: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
Rishabh
60790eb006
FIX: Use GlobalSetting values instead of ENV variables in migrate_to_s3
...
TIL how GlobalSetting works in sync with environment variables
Also fixes a small bug where bucket value was being used when it could have been nil
2019-01-16 14:40:38 +05:30
Guo Xiang Tan
f06b773d25
FIX: Don't show liked consolidated notification when frequency is never.
2019-01-16 17:08:59 +08:00
Guo Xiang Tan
0b47ef6e86
Fix the build.
...
Ideally, I'll like to test with a different user but that is proving to
be a huge challenge in our acceptance test.
2019-01-16 16:34:48 +08:00
Guo Xiang Tan
e7b49c42c4
FIX: Allow liked notifications consolidation to be disabled.
2019-01-16 16:17:04 +08:00
Guo Xiang Tan
f8db93df5f
FIX: Consolidated like notifications links to wrong user on user page.
2019-01-16 15:55:18 +08:00
Guo Xiang Tan
27e2b6575b
FIX: Liked notifications should not be consolidated across multiple users.
2019-01-16 15:01:13 +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
ed2be6a3c8
DEV: Make prettier happy.
2019-01-16 10:58:11 +08:00
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
Guo Xiang Tan
51b19e945c
DEV: Stablize the multisite tests.
...
SiteSettingExtension triggers message bus which re-establishes a
DB connection in `SiteSettingExtension#process_message`. That happens
concurrently and a test that requires a connection to the db will
fail when the reconnection is happening.
2019-01-16 10:29:36 +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
Gerhard Schlager
e180e14a55
DEV: Reload current client locale file in development mode
2019-01-15 22:55:51 +01: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
Penar Musaraj
1c1fd2051f
FEATURE: enable CSP by default on new sites ( #6873 )
...
- adds migration to enable CSP for new sites
- removes "EXPERIMENTAL" labels from setting names
- sets CSP violation report to default off
- adds CSP-related note to GTM setting
2019-01-15 08:58:46 -05:00
Arpit Jalan
690022678c
DEV: update about.json fixtures
2019-01-15 19:23:43 +05:30
Arpit Jalan
93e9ffd942
fix the build
2019-01-15 18:10:45 +05:30
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
Rishabh
ff8f9dc1c9
FIX: prefix should precede folder path (follow-up on 10fbb07e
)
2019-01-15 15:58:19 +05:30
Vinoth Kannan
59e5af466b
FIX: call method only if it exists
...
discourse-objects creating empty Discourse object in window. It fails the _registerPluginCode method call since it is not exist.
2019-01-15 15:55:32 +05:30
Rishabh
10fbb07e1a
FIX: include folder name in prefix for listing files on S3 (follow-up on 3ec38f5a
)
...
Fix the destination url in remap since it's already a part of s3_base_url
2019-01-15 15:23:55 +05:30
Guo Xiang Tan
ec58c33e9e
DEV: Improve postgresql fallover and multisite tests.
2019-01-15 12:52:45 +08:00
Neil Lalonde
6c2333a780
Version bump to v2.2.0.beta8
2019-01-14 17:03:18 -05:00
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
Penar Musaraj
c8c84f462b
FIX: use Handlebars 4.0.12
...
Use 4.0.12 for both versions of Handlebars (runtime and not)
2019-01-14 12:56:14 -05:00
Penar Musaraj
b28d68efbf
DEV: Use yarn to manage Highlight.js dependency
...
Moves Highlight.js files to vendor/assets/javascripts
Adds Highlight.js in yarn package management
Removes old rake task and reliance on NPM to build Highlight.js
Highlight.js is now integrated in the "javascript:update" rake task
2019-01-14 12:46:35 -05:00
Neil Lalonde
81953339f2
Update translations
2019-01-14 12:23:49 -05:00
Florian Heidenreich
39983f9d95
FIX: list staff users within the last month
2019-01-14 10:29:00 -05:00
Arpit Jalan
0cb2b7d603
FIX: add meta details for user summary page
2019-01-14 19:49:14 +05:30
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
aeeead351a
UX: use generic label for S3-compatible storage provider
2019-01-14 15:05:15 +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
Guo Xiang Tan
78748f1501
DEV: Refactor tests for notification when liking a post.
...
Tests were covering the same code path so I'm consolidating it.
2019-01-14 11:43:09 +08:00
Arpit Jalan
83af32c472
DEV: more accurate spec for UserSummarySerializer
2019-01-14 07:26:10 +05:30
Arpit Jalan
5e9a7e41e9
DEV: improve UserSummarySerializer spec
2019-01-14 07:19:37 +05:30
Arpit Jalan
08d21cc758
FIX: do not show full name on summary page unless the setting is enabled
2019-01-14 07:00:44 +05:30
Jeff Atwood
098b6d9364
remove bullets on discobot oneboxing step
2019-01-13 04:33:32 -08:00
Penar Musaraj
47cbfb1498
FEATURE: plugin support for custom icons
...
Plugins can now add their own SVG sprites in "plugin-name/svg-icons/".
Example: save the following as "plugin-name/svg-icons/plugin-icons.svg"
```
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg " style="display: none;">
<symbol id="testplugin-compress" viewBox="0 0 1792 1792">
<path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"></path>
</symbol>
</svg>
```
and then register the icon by adding this in plugin.rb
```
register_svg_icon "testplugin-compress"
```
2019-01-12 09:59:12 -05:00
Arpit Jalan
93eb0a0690
UX: better help text for private invite-only instance
2019-01-12 18:40:00 +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
Guo Xiang Tan
e453539e1e
DEV: Refactor test to assert for the actual output.
...
Also, generatnig the same json multiple times.
2019-01-12 08:00:22 +08:00
Kris
e4c593f1e7
removing some dupe styles, adding button class
2019-01-11 15:41:51 -05:00
Robin Ward
95f263995d
FIX: Previous annotations were broken
2019-01-11 14:30:19 -05:00