Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Update the Mastodon to version 1.6.0 #9

Merged
merged 628 commits into from
Sep 15, 2017
Merged

Update the Mastodon to version 1.6.0 #9

merged 628 commits into from
Sep 15, 2017

Conversation

ykzts
Copy link

@ykzts ykzts commented Sep 13, 2017

Mastodon v1.6.0が先日リリースされました。v1.6.0ではActivityPubの実装が追加されました。ActivityPubに関する詳細な説明をここでするのは避けますが、ActivityPubではOStatusとは違い、非公開の投稿が仕様に盛り込まれています。

これまで非公開の投稿はMastodonによる独自の拡張によって実現されていました。これはOStatusの仕様に非公開の投稿というものが含まれていなかったためです。結果としてGNU socialを始めとするMastodon以外のOStatusプロトコルをサポートしているインスタンスを介して意図しない形で投稿が公開されてしまう場合がありました。ActivityPubに対応しているインスタンス同士の通信であれば非公開の投稿が意図しない形で公開されてしまうおそれがなくなります。

ただしv1.6.0ではOStatusにしか対応していないインスタンスに対しても非公開の投稿の配信を行います。これはActivityPubに対応したv1.6.0がリリースされてから間もないためです。v1.6.0以上のバージョンにアップデートされ、ActivityPubを解釈するインスタンスが増えた際にActivityPubでのみ非公開の投稿を配信するようになります。

そのため、v1.6.0未満のインスタンスがあると先に進めません。Pawooも早急にv1.6.0にアップデートしたいと思い、今回 上流とのコンフリクトを解消するPull Requestをお送りさせていただいております。

※ このPull Requestの差分はあまりにも大きくて見辛いかもしれません。Mastodon v1.6.0との差分も併せて確認してください。

リリースノート

アップデートに際していくつかのコマンドの実行をする必要があります。実際にデプロイする際にはリリースノートも併せて確認いただき、ご対応ください。

注意

動作についての基本的な確認はしていますが、このPull Requestではコンフリクトの解消しかしていません。

Pawoo側で追加された機能の内、投稿に関するものは1.6.0以降で追加されたActivityPubの対応ができていません。適切な対応が必要かと存じます。

ピン留め機能は上流ではStatusPinという名前のモデルが使われていますが、こちらのPull RequestではこれまでのPinnedStatusという名前のモデルを引き続き使っています。StatusPinに対するデータの移行をすると今後のコンフリクト解消の手間が減るかと思いますが、わたしのほうではとくになにもしていません。

また一部のデザイン崩れに関してはわたしの感性に頼った修正をしています。とはいえあくまで基本的な部分のみの対応です。適切な確認をした上でご修正ください。

Gargron and others added 30 commits August 9, 2017 23:54
* Add Catalan language

* Add Catalan language

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update settings_helper.rb

* Update mastodon.js

* Update index.js

* Update application.rb

* Update ca.yml

* removed extra spaces at line 225

* Catalan translation update

added activerecord.ca.yml

* Update activerecord.ca.yml

Done

* Updated activerecord.ca.yml

* Catalan language updated

* Catalan language updated

* Catalan language updated

* Catalan language updated

* Catalan language updated

* Update ca.json

Removed :

<<<<<<< HEAD
  "getting_started.support": "{faq} • {userguide} • {apps}",
=======
>>>>>>> upstream/master

* Syncing to master

* Added new Catalan strings

* removed config.secret_key line

* Corrected <sotrong> tag to <strong>

Line 515

* Removed extra line

* Reverted

* yarn.lock reverted
* l10n Update OC mastodon#4521

Link => token
provider => provesidor
+ more generalized way of using present participle

* Update oc.yml
* Handle ActivityPub follows correctly

ActivityPub follows are follow-requests. Always require an Accept.
If account is not locked, auto-accept.

* Handle ActivityPub Accept/Reject-Follow

* Fix wrong method

* Fix wrong class
* Ajout de traductions manquantes

Ajoute des traductions pour les chaînes n’en ayant pas en version 1.5.1.

Add translations for the strings that are missing them in 1.5.1.

* Remplace « ' » par « ’ »

Retire de la traduction les apostrophes droites « ' » (U+0027) au profit des apostrophes typographiques « ’ » (U+2019).
En typographie française, les apostrophes typographiques sont utilisées à la place des apostrophes droites. La traduction était incohérente et utilisait les deux.

Remove from the translation all the vertical apostrophes (U+0027) in favor of the curly ones (U+2019).
In French typography, typographic apostrophes are used instead of vertical ones. The translation was incoherent and used both.

* Ajout d’espaces insécables

Ajoute des espaces insécables suivant les régles nécessaires en typographie française.

Add non-breaking spaces following rules of French typography.

* Remplace « status » par « statut »

Remplace le mot anglais « status » par sa traduction française « statut ».

Replace the English word "status" by its French translation "statut".

* Correction de la politique de confidentialité

Apporte diverses corrections à la traduction de la politique de confidentialité.

Add various fixes to the privacy policy's translation.

* Remplace « mentionné » par « mentionné·e »

Harmonise la traduction en remplaçant « mentionné » par sa forme épicène.

Harmonize the translation by replacing "mentionné" (sure) by its epicene form.

* Remplace « Coup d’œil » par « Jeter un coup d’œil… »

Remplace la première traduction par une forme plus proche de la version originelle.

Replace the first translation by something closer to the original version.

* Remplace « Bon Appétoot ! » par « Bon appouetit ! »

Remplace « Bon Appétoot ! » par « Bon appouetit ! » pour essayer de conserver le jeu de mot.

Replace « Bon Appétoot ! » by « Bon appouetit ! » to keep the pun.

* Remplace « Bon Appétoot ! » par « Bon appouetit ! » (2)

Remplace « Bon Appétoot ! » par « Bon appouetit ! » pour essayer de conserver le jeu de mot.

Replace « Bon Appétoot ! » by « Bon appouetit ! » to keep the pun.f

* Corrections

Corrige des fautes d’orthographe et change « appouetit » pour « appouétit ».

Correct some mistakes and change "appouetit" to "appouétit".
…todon#4587)

Force SSL only cookies for remember_me, adjust confirmation
expiration time to fit with the user cleanup scheduler
* Deliver ActivityPub Like

* Deliver ActivityPub Undo-Like

* Deliver ActivityPub Create/Announce activities

* Deliver ActivityPub creates from mentions

* Deliver ActivityPub Block/Undo-Block

* Deliver ActivityPub Accept/Reject-Follow

* Deliver ActivityPub Undo-Follow

* Deliver ActivityPub Follow

* Deliver ActivityPub Delete activities

Incidentally fix mastodon#889

* Adjust BatchedRemoveStatusService for ActivityPub

* Add tests for ActivityPub workers

* Add tests for FollowService

* Add tests for FavouriteService, UnfollowService and PostStatusService

* Add tests for ReblogService, BlockService, UnblockService, ProcessMentionsService

* Add tests for AuthorizeFollowService, RejectFollowService, RemoveStatusService

* Add tests for BatchedRemoveStatusService

* Deliver updates to a local account to ActivityPub followers

* Minor adjustments
* Add protocol handler. Handle follow intents

* Add share intent

* Improve code in intents controller

* Adjust share form CSS
* Add support for searching AP users

* use JsonLdHelper
* Add protocol field
* Switch protocol specific information according to active protocol
* Hide PuSH subscription related buttons if ActivityPub is active
Update: new string + more translations for the time in words
* Make share intent modal to make "signed in as" shown.

* fix glitch on mobile.
* Redesign public profiles

* Responsive design

* Change public profile status filtering defaults and add options

- No longer displays private/direct toots even if you are permitted access
- By default omits replies
- "With replies" option
- "Media only" option

* Redesign account grid cards

* Fix style issues
* i18n: Update Polish translation

* Update pl.json
…odon#4622)

* Show what protocol used for in admin/accounts#index

* Add frozen_string_literal
@abcang abcang merged commit 9577b26 into pixiv:pawoo Sep 15, 2017
@ykzts ykzts deleted the pawoo-v1.6.0 branch September 15, 2017 14:13
abcang added a commit that referenced this pull request Oct 1, 2019
Do no retry web push workers if the server returns a 4xx response (#9
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.