Merge branch 'master' into glitch-soc/merge-upstream
This commit is contained in:
@@ -845,6 +845,18 @@ $small-breakpoint: 960px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
strong {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-weight: 700;
|
||||
background: transparent;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
color: lighten($darker-text-color, 10%);
|
||||
}
|
||||
|
||||
.account {
|
||||
border-bottom: 0;
|
||||
padding: 0;
|
||||
|
@@ -54,7 +54,7 @@ table {
|
||||
}
|
||||
|
||||
html {
|
||||
scrollbar-color: lighten($ui-base-color, 4%) transparent;
|
||||
scrollbar-color: lighten($ui-base-color, 4%) rgba($base-overlay-background, 0.1);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
|
@@ -69,7 +69,10 @@ class PostStatusService < BaseService
|
||||
end
|
||||
|
||||
def schedule_status!
|
||||
if @account.statuses.build(status_attributes).valid?
|
||||
status_for_validation = @account.statuses.build(status_attributes)
|
||||
if status_for_validation.valid?
|
||||
status_for_validation.destroy
|
||||
|
||||
# The following transaction block is needed to wrap the UPDATEs to
|
||||
# the media attachments when the scheduled status is created
|
||||
|
||||
|
@@ -10,7 +10,7 @@ class VerifyLinkService < BaseService
|
||||
return unless link_back_present?
|
||||
|
||||
field.mark_verified!
|
||||
rescue HTTP::Error, Addressable::URI::InvalidURIError, Mastodon::HostValidationError, Mastodon::LengthValidationError => e
|
||||
rescue OpenSSL::SSL::SSLError, HTTP::Error, Addressable::URI::InvalidURIError, Mastodon::HostValidationError, Mastodon::LengthValidationError => e
|
||||
Rails.logger.debug "Error fetching link #{@url}: #{e}"
|
||||
nil
|
||||
end
|
||||
|
Reference in New Issue
Block a user