389bdcf5ab
DEV: Fix implementation for DiscourseRedis#exists
.
2020-06-01 13:11:32 +08:00
00aab49829
FIX: Restore the ability to rebake posts in deleted topics ( #9951 )
...
Lost in #9852
2020-06-01 07:04:16 +02:00
2c3ff3e524
DEV: Missing readonly mode banner when forcing PG readonly.
2020-06-01 12:25:27 +08:00
27ad562ff5
DEV: Rubocop fix
2020-06-01 06:07:07 +02:00
7df688d108
FIX: Handle files removed between glob
and mtime
2020-06-01 05:50:50 +02:00
9ee77eae98
FIX: z
helper doesn't resolve inside calc
...
It resulted in invalid `z-index: calc(z("tooltip") - 100)` in the output CSS. `calc` wasn't necessary here anyway since both operands are constant.
2020-06-01 05:50:50 +02:00
7bcee784c8
DEV: Remove an obsolete comment
...
Its first part was removed with other changes and this one got displaced after a `prettier` pass.
2020-06-01 05:50:49 +02:00
754a255ef7
UX: Remove the period after "Enable Notifications" button
2020-06-01 05:50:49 +02:00
7ac9a79ecb
UX: Fix inputs alignment in admin/customize/colors
2020-06-01 05:50:49 +02:00
4babdf510b
DEV: Update facter usage
...
`Facter.reset` (65d167eac9/lib/facter.rb (L126-L137)
) clears `Facter::Options[:external_dir]` which seems to be the 4.x equivalent of `Facter::Util::Config.external_facts_dirs`.
This commit also makes sure that version 4.0 or higher is installed.
2020-06-01 05:50:49 +02:00
8c8391c742
DEV: Don't require wget in script/bench
2020-06-01 05:50:48 +02:00
9a6ef80739
FEATURE: notify admins about old credentials ( #9918 )
...
* FEATURE: notify admins about old credentials
Security and API keys should be renewed periodically.
This additional notification should help admins keep their Discourse safe and secure.
2020-06-01 13:49:27 +10:00
b0b37bf5a3
DEV: Add force rails_over switch via Redis.
2020-06-01 11:23:58 +08:00
df62407f35
DEV: Implement multiple keys support for DiscourseRedis#exists
.
2020-06-01 11:20:26 +08:00
3894555b2e
DEV: Prefer Discourse.redis.reconnct
.
2020-06-01 10:55:53 +08:00
5c24f83a6b
DEV: Bump rails_failover.
2020-06-01 10:22:04 +08:00
f2647f1f36
UX: Position topic admin menu next to wrench ( #9932 )
2020-05-30 15:32:57 -04:00
e1af91f5ae
Revert "FEATURE: category setting for default list filter."
...
This reverts commit 6f03d14c2340397b0ce9d175a2270ebae4180987.
2020-05-30 20:53:53 +05:30
93bd1ff228
FIX: topic-admin-popup-menu was overflowing on small screens ( #9944 )
2020-05-30 10:53:08 +02:00
530c6594cb
follow-up fix due to adding overflow hidden in 32e40ea
2020-05-29 22:23:23 -04:00
3c11c5dcdc
show-replies styles were lost with some menu changes
2020-05-29 22:05:58 -04:00
32e40ea133
UX: Make the menu links header within the user panel more flexible
2020-05-29 21:02:26 -04:00
8f59f155fb
UI: makes topic count less visible in category drop ( #9938 )
2020-05-30 00:32:20 +02:00
c5ccf5f93c
UI: removes font-weight: bold from category-drop names ( #9937 )
2020-05-30 00:06:35 +02:00
03c3448b15
UX: better alignment of icons in notifications menu ( #9934 )
2020-05-29 22:48:47 +02:00
7a76f3c295
UX: Relocate before-topic-list outlet so it shows up on Top as well
2020-05-30 03:31:28 +08:00
8e6d95a309
DEV: adds a few plugin outlets required for themes ( #9929 )
2020-05-30 03:04:12 +08:00
931bfca454
DEV: allows categories-admin-dropdown to have custom items ( #9931 )
...
Usage:
```
modifySelectKit("categories-admin-dropdown").appendContent(function() {
return {
id: "foo",
name: I18n.t("foo"),
description: I18n.t("foo_description"),
icon: "gear",
onChange: () => alert("Foo.")
};
});
```
2020-05-29 21:01:19 +02:00
2b2434b82d
Start Discourse in an initializer ( #9930 )
...
* DEV: To be pedantic, there is more than EMBER in there now
* DEV: Use less globals. Have `Discourse` start in an initializer
* DEV: Remove another global
2020-05-29 14:37:02 -04:00
ecfce93f28
FIX: Support IRIs (unicode URIs) when pulling hotlinked images ( #9928 )
2020-05-29 17:47:05 +01:00
3fe5eacd1b
DEV: Abstract Ember.testing
so our application code doesn't use it
2020-05-29 12:16:58 -04:00
e159fb06df
FEATURE: Download remote images even for old posts ( #9925 )
...
When a post is rebaked, the admins expect it to work the same regardless of how old the post is.
2020-05-29 17:13:55 +01:00
e5cd331fb3
DEV: Why use a whole object when a functionw will do?
2020-05-29 11:56:45 -04:00
94cb5ab172
DEV: Remove unused variable topic_tracking_state ( #9915 )
2020-05-29 09:47:25 -05:00
28f46c171c
FIX: Pull hotlinked images even when edited by system users ( #9890 )
...
Previously the pull hotlinked images job was skipped after system edits. This ensured that we never had an infinite loop of system-edit/pull-hotlinked/system-edit/pull-hotlinked etc.
A side effect was that edits made by system for any other reason (e.g. API, removing full quotes) would prevent pulling hotlinked images. This commit removes the system edit check, and replaces it with another method to avoid an infinite job scheduling loop.
2020-05-29 13:07:47 +01:00
d29d69e10d
FIX: Invalidate database theme cache when hostname changes ( #9908 )
...
Hostname can vary per-site on a multisite cluster, so this change requires converting the compiler_version from a constant into a class method which is evaluated at runtime. The value is stored in the theme DistributedCache, so performance impact should be negligible.
2020-05-29 13:04:51 +01:00
7635c18a14
DEV: ensures highlightjs is correctly tested ( #9923 )
2020-05-29 13:05:44 +02:00
5d792483f0
UI: various select-kit dropdown tweaks/cleaning ( #9922 )
2020-05-29 11:11:28 +02:00
f3dee5863f
FIX: pins down highlight.js to the last commit of the v9 tree ( #9921 )
...
The 10+ version has actually a bug with bash. We will wait a little bit before upgrading to 10, we should also make sure any of the breaking changes listed here https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_BREAKING_CHANGES.md are not impacting us.
2020-05-29 10:21:21 +02:00
81de592804
PERF: Use more efficient query when checking for existence.
2020-05-29 15:47:05 +08:00
d7d5bb4454
UX: homogenises sk row padding and topic-admin-menu ( #9920 )
2020-05-29 09:35:43 +02:00
4be45bec7e
UI: homogenise topic-footer-mobile-dropdown styles ( #9919 )
2020-05-29 08:34:19 +02:00
31d1468922
UX: reworks various menus to homogenize them ( #9905 )
...
- bookmark modal menu
- topic-footer-mobile-dropdown
- post-admin-menu
- topic-admin-menu
- quick-access menus
- toolbar-popup-menu
2020-05-29 08:05:21 +02:00
ef5320dd47
FIX: don't rerender whole users page while typing on input.
2020-05-29 09:06:26 +05:30
2acec4370b
FIX: muted tags removed topics with no tags from counts
...
We previously did not account for completely untagged topics when
looking at muted tags, this caused new/unread counts to be off if
1. You had muted tags
2. You had an unread/new topic
3. This topic had no tags
2020-05-29 12:59:47 +10:00
136835370c
FEATURE: optionally allow tags in topic tracking state
...
This feature allows certain plugins to output tag information
to topic tracking state, this allows per tag stats which can be
used by sidebars and other plugins that need per tag stats
Not enabled by default cause this would add cost to a critical
query
2020-05-29 12:59:47 +10:00
ca28ad8f9a
DEV: Remove db_id
from sample multisite config.
...
See 2bb4d5170c
2020-05-29 10:48:29 +08:00
3b311f6b15
DEV: Bump rails_failover
.
2020-05-29 09:02:34 +08:00
c7d75bc3a0
Minor adjustment to menu-links-header spacing to avoid some wrapping
2020-05-28 18:40:22 -04:00
ce1491e830
UX: remove in:unpinned
filter from advanced search page. ( #9911 )
2020-05-29 00:47:28 +05:30