Skip to content

Commit 6ec73b7

Browse files
committed
Merge remote-tracking branch 'upstream/main' into shleeable-nodejs-14-support
2 parents a31c283 + 48d817f commit 6ec73b7

File tree

688 files changed

+5291
-3902
lines changed

Some content is hidden

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

688 files changed

+5291
-3902
lines changed

.circleci/config.yml

-21
Original file line numberDiff line numberDiff line change
@@ -216,24 +216,6 @@ jobs:
216216
name: Run jest
217217
command: yarn test:jest
218218

219-
check-i18n:
220-
<<: *defaults
221-
steps:
222-
- *attach_workspace
223-
- *install_system_dependencies
224-
- run:
225-
name: Check locale file normalization
226-
command: bundle exec i18n-tasks check-normalized
227-
- run:
228-
name: Check for unused strings
229-
command: bundle exec i18n-tasks unused -l en
230-
- run:
231-
name: Check for wrong string interpolations
232-
command: bundle exec i18n-tasks check-consistent-interpolations
233-
- run:
234-
name: Check that all required locale files exist
235-
command: bundle exec rake repo:check_locales_files
236-
237219
workflows:
238220
version: 2
239221
build-and-test:
@@ -271,6 +253,3 @@ workflows:
271253
- test-webui:
272254
requires:
273255
- install
274-
- check-i18n:
275-
requires:
276-
- install-ruby2.7

.dockerignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
.bundle
22
.env
33
.env.*
4+
.git
5+
.gitattributes
6+
.gitignore
7+
.github
48
public/system
59
public/assets
610
public/packs

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CODEOWNERS for tootsuite/mastodon
1+
# CODEOWNERS for mastodon/mastodon
22

33
# Translators
44
# To add translator, copy these lines, replace `fr` with appropriate language code and replace `@żelipapą` with user's GitHub nickname preceded by `@` sign or e-mail address.
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Bug Report
2+
description: If something isn't working as expected
3+
labels: bug
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Make sure that you are submitting a new bug that was not previously reported or already fixed.
9+
10+
Please use a concise and distinct title for the issue.
11+
- type: input
12+
attributes:
13+
label: Expected behaviour
14+
description: What should have happened?
15+
validations:
16+
required: true
17+
- type: input
18+
attributes:
19+
label: Actual behaviour
20+
description: What happened?
21+
validations:
22+
required: true
23+
- type: textarea
24+
attributes:
25+
label: Steps to reproduce the problem
26+
description: What were you trying to do?
27+
value: |
28+
1.
29+
2.
30+
3.
31+
...
32+
validations:
33+
required: true
34+
- type: textarea
35+
attributes:
36+
label: Specifications
37+
description: |
38+
What version or commit hash of Mastodon did you find this bug in?
39+
40+
If a front-end issue, what browser and operating systems were you using?
41+
validations:
42+
required: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Feature Request
2+
description: I have a suggestion
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Please use a concise and distinct title for the issue.
8+
9+
Consider: Could it be implemented as a 3rd party app using the REST API instead?
10+
- type: textarea
11+
attributes:
12+
label: Pitch
13+
description: Describe your idea for a feature. Make sure it has not already been suggested/implemented/turned down before.
14+
validations:
15+
required: true
16+
- type: textarea
17+
attributes:
18+
label: Motivation
19+
description: Why do you think this feature is needed? Who would benefit from it?
20+
validations:
21+
required: true

.github/ISSUE_TEMPLATE/support.md .github/ISSUE_TEMPLATE/3.support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Support
33
about: Ask for help with your deployment
4-
4+
title: DO NOT CREATE THIS ISSUE
55
---
66

77
We primarily use GitHub as a bug and feature tracker. For usage questions, troubleshooting of deployments and other individual technical assistance, please use one of the resources below:

.github/ISSUE_TEMPLATE/bug_report.md

-27
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

-16
This file was deleted.

.github/workflows/check-i18n.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Check i18n
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
RAILS_ENV: test
11+
12+
jobs:
13+
check-i18n:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Install system dependencies
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install -y libicu-dev libidn11-dev libprotobuf-dev protobuf-compiler
22+
- name: Set up Ruby
23+
uses: ruby/setup-ruby@v1
24+
with:
25+
ruby-version: '2.7'
26+
bundler-cache: true
27+
- name: Check locale file normalization
28+
run: bundle exec i18n-tasks check-normalized
29+
- name: Check for unused strings
30+
run: bundle exec i18n-tasks unused -l en
31+
- name: Check for wrong string interpolations
32+
run: bundle exec i18n-tasks check-consistent-interpolations
33+
- name: Check that all required locale files exist
34+
run: bundle exec rake repo:check_locales_files

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.2
1+
2.7.4

AUTHORS.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Authors
22
=======
33

4-
Mastodon is available on [GitHub](https://github.com/tootsuite/mastodon)
4+
Mastodon is available on [GitHub](https://github.com/mastodon/mastodon)
55
and provided thanks to the work of the following contributors:
66

77
* [Gargron](https://github.com/Gargron)
@@ -719,7 +719,7 @@ and provided thanks to the work of the following contributors:
719719
* [西小倉宏信](mailto:[email protected])
720720
* [雨宮美羽](mailto:[email protected])
721721

722-
This document is provided for informational purposes only. Since it is only updated once per release, the version you are looking at may be currently out of date. To see the full list of contributors, consider looking at the [git history](https://github.com/tootsuite/mastodon/graphs/contributors) instead.
722+
This document is provided for informational purposes only. Since it is only updated once per release, the version you are looking at may be currently out of date. To see the full list of contributors, consider looking at the [git history](https://github.com/mastodon/mastodon/graphs/contributors) instead.
723723

724724
## Translators
725725

0 commit comments

Comments
 (0)