Skip to content

Commit 9e83d32

Browse files
authored
Merge pull request #5 from sweshelo/dev/remote-emoji
Dev/remote emoji
2 parents ca978f0 + d8df1e8 commit 9e83d32

File tree

2,125 files changed

+119718
-29963
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,125 files changed

+119718
-29963
lines changed

β€Ž.config/docker_example.env

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
POSTGRES_PASSWORD=example-misskey-pass
33
POSTGRES_USER=example-misskey-user
44
POSTGRES_DB=misskey
5+
DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}"

β€Ž.config/docker_example.yml

+26-11
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ dbReplications: false
5656
# You can configure any number of replicas here
5757
#dbSlaves:
5858
# -
59-
# host:
60-
# port:
61-
# db:
62-
# user:
63-
# pass:
59+
# host:
60+
# port:
61+
# db:
62+
# user:
63+
# pass:
6464
# -
65-
# host:
66-
# port:
67-
# db:
68-
# user:
69-
# pass:
65+
# host:
66+
# port:
67+
# db:
68+
# user:
69+
# pass:
7070

7171
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
7272
#β”€β”€β”€β”˜ Redis configuration └─────────────────────────────────────
@@ -95,15 +95,27 @@ redis:
9595
# #prefix: example-prefix
9696
# #db: 1
9797

98+
#redisForTimelines:
99+
# host: redis
100+
# port: 6379
101+
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6
102+
# #pass: example-pass
103+
# #prefix: example-prefix
104+
# #db: 1
105+
98106
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
99107
#β”€β”€β”€β”˜ MeiliSearch configuration └─────────────────────────────
100108

109+
# You can set scope to local (default value) or global
110+
# (include notes from remote).
111+
101112
#meilisearch:
102113
# host: meilisearch
103114
# port: 7700
104115
# apiKey: ''
105116
# ssl: true
106117
# index: ''
118+
# scope: local
107119

108120
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
109121
#β”€β”€β”€β”˜ ID generation └───────────────────────────────────────────
@@ -139,7 +151,7 @@ id: 'aidx'
139151

140152
# Job rate limiter
141153
# deliverJobPerSec: 128
142-
# inboxJobPerSec: 16
154+
# inboxJobPerSec: 32
143155

144156
# Job attempts
145157
# deliverJobMaxAttempts: 12
@@ -172,6 +184,9 @@ proxyRemoteFiles: true
172184
# Sign to ActivityPub GET request (default: true)
173185
signToActivityPubGet: true
174186

187+
# For security reasons, uploading attachments from the intranet is prohibited,
188+
# but exceptions can be made from the following settings. Default value is "undefined".
189+
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
175190
#allowedPrivateNetworks: [
176191
# '127.0.0.1/32'
177192
#]

β€Ž.config/example.yml

+91-15
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,63 @@
22
# Misskey configuration
33
#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
44

5+
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
6+
#β”€β”€β”€β”˜ a boring but important thing └────────────────────────────
7+
8+
#
9+
# First of all, let me tell you a story that may possibly be
10+
# boring to you and possibly important to you.
11+
#
12+
# Misskey is licensed under the AGPLv3 license. This license is
13+
# known to be often misunderstood. Please read the following
14+
# instructions carefully and select the appropriate option so
15+
# that you do not negligently cause a license violation.
16+
#
17+
18+
# --------
19+
# Option 1: If you host Misskey AS-IS (without any changes to
20+
# the source code. forks are not included).
21+
#
22+
# Step 1: Congratulations! You don't need to do anything.
23+
24+
# --------
25+
# Option 2: If you have made changes to the source code (forks
26+
# are included) and publish a Git repository of source
27+
# code. There should be no access restrictions on
28+
# this repository. Strictly speaking, it doesn't have
29+
# to be a Git repository, but you'll probably use Git!
30+
#
31+
# Step 1: Build and run the Misskey server first.
32+
# Step 2: Open <https://your.misskey.example/admin/settings> in
33+
# your browser with the administrator account.
34+
# Step 3: Enter the URL of your Git repository in the
35+
# "Repository URL" field.
36+
37+
# --------
38+
# Option 3: If neither of the above applies to you.
39+
# (In this case, the source code should be published
40+
# on the Misskey interface. IT IS NOT ENOUGH TO
41+
# DISCLOSE THE SOURCE CODE WEHN A USER REQUESTS IT BY
42+
# E-MAIL OR OTHER MEANS. If you are not satisfied
43+
# with this, it is recommended that you read the
44+
# license again carefully. Anyway, enabling this
45+
# option will automatically generate and publish a
46+
# tarball at build time, protecting you from
47+
# inadvertent license violations. (There is no legal
48+
# guarantee, of course.) The tarball will generated
49+
# from the root directory of your codebase. So it is
50+
# also recommended to check <built/tarball> directory
51+
# once after building and before activating the server
52+
# to avoid ACCIDENTAL LEAKING OF SENSITIVE INFORMATION.
53+
# To prevent certain files from being included in the
54+
# tarball, add a glob pattern after line 15 in
55+
# <scripts/tarball.mjs>. DO NOT FORGET TO BUILD AFTER
56+
# ENABLING THIS OPTION!)
57+
#
58+
# Step 1: Uncomment the following line.
59+
#
60+
# publishTarballInsteadOfProvideRepositoryUrl: true
61+
562
# β”Œβ”€β”€β”€β”€β”€β”
663
#β”€β”€β”€β”˜ URL └─────────────────────────────────────────────────────
764

@@ -30,7 +87,7 @@ url: https://example.tld/
3087
# The port that your Misskey server should listen on.
3188
port: 3000
3289

33-
# You can also use UNIX domain socket.
90+
# You can also use UNIX domain socket.
3491
# socket: /path/to/misskey.sock
3592
# chmodSocket: '777'
3693

@@ -60,17 +117,17 @@ dbReplications: false
60117
# You can configure any number of replicas here
61118
#dbSlaves:
62119
# -
63-
# host:
64-
# port:
65-
# db:
66-
# user:
67-
# pass:
120+
# host:
121+
# port:
122+
# db:
123+
# user:
124+
# pass:
68125
# -
69-
# host:
70-
# port:
71-
# db:
72-
# user:
73-
# pass:
126+
# host:
127+
# port:
128+
# db:
129+
# user:
130+
# pass:
74131

75132
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
76133
#β”€β”€β”€β”˜ Redis configuration └─────────────────────────────────────
@@ -105,9 +162,22 @@ redis:
105162
# # You can specify more ioredis options...
106163
# #username: example-username
107164

165+
#redisForTimelines:
166+
# host: localhost
167+
# port: 6379
168+
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6
169+
# #pass: example-pass
170+
# #prefix: example-prefix
171+
# #db: 1
172+
# # You can specify more ioredis options...
173+
# #username: example-username
174+
108175
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
109176
#β”€β”€β”€β”˜ MeiliSearch configuration └─────────────────────────────
110177

178+
# You can set scope to local (default value) or global
179+
# (include notes from remote).
180+
111181
#meilisearch:
112182
# host: localhost
113183
# port: 7700
@@ -147,14 +217,14 @@ id: 'aidx'
147217
# Job concurrency per worker
148218
#deliverJobConcurrency: 128
149219
#inboxJobConcurrency: 16
150-
#relashionshipJobConcurrency: 16
151-
# What's relashionshipJob?:
220+
#relationshipJobConcurrency: 16
221+
# What's relationshipJob?:
152222
# Follow, unfollow, block and unblock(ings) while following-imports, etc. or account migrations.
153223

154224
# Job rate limiter
155225
#deliverJobPerSec: 128
156-
#inboxJobPerSec: 16
157-
#relashionshipJobPerSec: 64
226+
#inboxJobPerSec: 32
227+
#relationshipJobPerSec: 64
158228

159229
# Job attempts
160230
#deliverJobMaxAttempts: 12
@@ -200,9 +270,15 @@ proxyRemoteFiles: true
200270
# Sign to ActivityPub GET request (default: true)
201271
signToActivityPubGet: true
202272

273+
# For security reasons, uploading attachments from the intranet is prohibited,
274+
# but exceptions can be made from the following settings. Default value is "undefined".
275+
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
203276
#allowedPrivateNetworks: [
204277
# '127.0.0.1/32'
205278
#]
206279

207280
# Upload or download file size limits (bytes)
208281
#maxFileSize: 262144000
282+
283+
# PID File of master process
284+
#pidFile: /tmp/misskey.pid

β€Ž.devcontainer/devcontainer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
"service": "app",
55
"workspaceFolder": "/workspace",
66
"features": {
7-
"ghcr.io/devcontainers-contrib/features/pnpm:2": {},
7+
"ghcr.io/devcontainers-contrib/features/pnpm:2": {
8+
"version": "8.9.2"
9+
},
810
"ghcr.io/devcontainers/features/node:1": {
9-
"version": "20.5.1"
11+
"version": "20.10.0"
1012
}
1113
},
1214
"forwardPorts": [3000],

β€Ž.devcontainer/devcontainer.yml

+19-11
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ dbReplications: false
5656
# You can configure any number of replicas here
5757
#dbSlaves:
5858
# -
59-
# host:
60-
# port:
61-
# db:
62-
# user:
63-
# pass:
59+
# host:
60+
# port:
61+
# db:
62+
# user:
63+
# pass:
6464
# -
65-
# host:
66-
# port:
67-
# db:
68-
# user:
69-
# pass:
65+
# host:
66+
# port:
67+
# db:
68+
# user:
69+
# pass:
7070

7171
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
7272
#β”€β”€β”€β”˜ Redis configuration └─────────────────────────────────────
@@ -95,6 +95,14 @@ redis:
9595
# #prefix: example-prefix
9696
# #db: 1
9797

98+
#redisForTimelines:
99+
# host: redis
100+
# port: 6379
101+
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6
102+
# #pass: example-pass
103+
# #prefix: example-prefix
104+
# #db: 1
105+
98106
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
99107
#β”€β”€β”€β”˜ MeiliSearch configuration └─────────────────────────────
100108

@@ -139,7 +147,7 @@ id: 'aidx'
139147

140148
# Job rate limiter
141149
# deliverJobPerSec: 128
142-
# inboxJobPerSec: 16
150+
# inboxJobPerSec: 32
143151

144152
# Job attempts
145153
# deliverJobMaxAttempts: 12

β€Ž.github/ISSUE_TEMPLATE/01_bug-report.md

-60
This file was deleted.

0 commit comments

Comments
Β (0)