1
mirror of https://github.com/jakejarvis/mastodon-utils.git synced 2025-11-04 10:20:11 -05:00

use bash script for some customizations instead of Git patches

This commit is contained in:
2022-12-30 22:42:47 -05:00
parent 1e72494bf1
commit e60498efd2
11 changed files with 159 additions and 24514 deletions

View File

@@ -1,53 +0,0 @@
diff --git a/app/javascript/flavours/glitch/reducers/local_settings.js b/app/javascript/flavours/glitch/reducers/local_settings.js
index 81ab1cb0d..8aa07d4c3 100644
--- a/app/javascript/flavours/glitch/reducers/local_settings.js
+++ b/app/javascript/flavours/glitch/reducers/local_settings.js
@@ -11,7 +11,7 @@ const initialState = ImmutableMap({
navbar_under : false,
side_arm : 'none',
side_arm_reply_mode : 'keep',
- show_reply_count : false,
+ show_reply_count : true,
always_show_spoilers_field: false,
confirm_missing_media_description: false,
confirm_boost_missing_media_description: false,
@@ -19,10 +19,10 @@ const initialState = ImmutableMap({
prepend_cw_re: true,
preselect_on_reply: true,
inline_preview_cards: true,
- hicolor_privacy_icons: false,
+ hicolor_privacy_icons: true,
show_content_type_choice: false,
tag_misleading_links: true,
- rewrite_mentions: 'no',
+ rewrite_mentions: 'acct',
content_warnings : ImmutableMap({
filter : null,
media_outside: false,
@@ -33,7 +33,7 @@ const initialState = ImmutableMap({
auto : ImmutableMap({
all : false,
notifications : true,
- lengthy : true,
+ lengthy : false,
reblogs : false,
replies : false,
media : false,
@@ -45,7 +45,7 @@ const initialState = ImmutableMap({
show_action_bar : true,
}),
media : ImmutableMap({
- letterbox : true,
+ letterbox : false,
fullwidth : true,
reveal_behind_cw : false,
pop_in_player : true,
@@ -56,7 +56,7 @@ const initialState = ImmutableMap({
tab_badge : true,
}),
status_icons : ImmutableMap({
- language: true,
+ language: false,
reply: true,
local_only: true,
media: true,

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +0,0 @@
diff --git a/public/robots.txt b/public/robots.txt
index 771bf2160b..af16ddb0ce 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -1,5 +1,8 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-
+# block everything except About page
User-agent: *
-Disallow: /media_proxy/
-Disallow: /interact/
+Allow: /about
+Disallow: /
+
+# sorry, Elon
+User-agent: Twitterbot
+Disallow: /