]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agoFix deletion of status which has been reblogged (#4728)
unarist [Mon, 28 Aug 2017 19:38:59 +0000 (04:38 +0900)]
Fix deletion of status which has been reblogged (#4728)

8 years agorescue HTTP::ConnectionError in RemoteFollowController#create (#4726)
abcang [Mon, 28 Aug 2017 17:12:09 +0000 (02:12 +0900)]
rescue HTTP::ConnectionError in RemoteFollowController#create (#4726)

8 years agoAdd japanese translations for shorten display of large numbers (#4722)
Lynx Kotoura [Sun, 27 Aug 2017 23:16:49 +0000 (08:16 +0900)]
Add japanese translations for shorten display of large numbers (#4722)

8 years agoAdjust "signed in as" pages (#4720)
Lynx Kotoura [Sun, 27 Aug 2017 22:01:07 +0000 (07:01 +0900)]
Adjust "signed in as" pages (#4720)

* Adjust "signed in as" pages

Fix min-width

Set width of .account-header .name

To apply text-overflow and overflow settings
Set overflow for detailed-status__display-name

* Remove trailing whitespace

8 years agoAdjust public profile pages (#4713)
Lynx Kotoura [Sun, 27 Aug 2017 21:59:51 +0000 (06:59 +0900)]
Adjust public profile pages (#4713)

* Adjust account-grid in public profiles

Full-width card on mobile UI. Set break-word for long name and ID. Fix margin.

* Reduce padding-bottom of public profiles

* Revive next prev buttons in mobile public profiles

In followers followees pages.

* Revert break-word for username

* Fix overflow of display_name

Need re-setting text-overflow and overflow in display: block;

8 years agoShorten display of large numbers on public profiles (#4711)
Eugen Rochko [Sun, 27 Aug 2017 15:04:45 +0000 (17:04 +0200)]
Shorten display of large numbers on public profiles (#4711)

8 years agoAdd japanese translations for Pinned statuses based on pawoo. (#4717)
mayaeh [Sun, 27 Aug 2017 15:03:27 +0000 (00:03 +0900)]
Add japanese translations for Pinned statuses based on pawoo. (#4717)

Add japanese translations for pin_errors.

8 years agoAdjust RTL styles (#4712)
Eugen Rochko [Sun, 27 Aug 2017 11:35:18 +0000 (13:35 +0200)]
Adjust RTL styles (#4712)

8 years agoAllow Symbol keyed Hash in LinkedDataSignature (#4715)
unarist [Sun, 27 Aug 2017 11:35:01 +0000 (20:35 +0900)]
Allow Symbol keyed Hash in LinkedDataSignature (#4715)

SerializarbleResource#as_json serializes to Symbol keyed Hash, but current
implementation of LinkedDataSignature expects String keyed Hash.

So it generates broken payload.

8 years agoAdd _:inReplyToAtomUri to ActivityPub (#4702)
Eugen Rochko [Sat, 26 Aug 2017 17:55:10 +0000 (19:55 +0200)]
Add _:inReplyToAtomUri to ActivityPub (#4702)

8 years agoForward ActivityPub deletes to followers of rebloggers (#4706)
Eugen Rochko [Sat, 26 Aug 2017 16:52:53 +0000 (18:52 +0200)]
Forward ActivityPub deletes to followers of rebloggers (#4706)

8 years agoUse Tombstone and _:atomUri in Delete activities as fallback (#4704)
Eugen Rochko [Sat, 26 Aug 2017 14:10:35 +0000 (16:10 +0200)]
Use Tombstone and _:atomUri in Delete activities as fallback (#4704)

8 years agoAdd ActivityPub serializer for Undo of Announce (#4703)
Eugen Rochko [Sat, 26 Aug 2017 13:32:40 +0000 (15:32 +0200)]
Add ActivityPub serializer for Undo of Announce (#4703)

8 years agoSet margin between character-counter and compose-form__buttons (#4698)
Lynx Kotoura [Sat, 26 Aug 2017 12:23:20 +0000 (21:23 +0900)]
Set margin between character-counter and compose-form__buttons (#4698)

For some languages publish translation is long.

8 years agoAdd handling of Linked Data Signatures in payloads (#4687)
Eugen Rochko [Sat, 26 Aug 2017 11:47:38 +0000 (13:47 +0200)]
Add handling of Linked Data Signatures in payloads (#4687)

* Add handling of Linked Data Signatures in payloads

* Add a way to sign JSON, fix canonicalization of signature options

* Fix signatureValue encoding, send out signed JSON when distributing

* Add missing security context

8 years agoAdded new translations of error messages, block and mute domains and users, privacy...
Anna e só [Sat, 26 Aug 2017 11:45:35 +0000 (08:45 -0300)]
Added new translations of error messages, block and mute domains and users, privacy disclaimers, etc (#4700)

* Added new translations of error messages, block and mute domains and users

* Added new translations of error messages, block and mute domains and users

8 years agoauthorize-follow-requests-after-unlocking (#4658)
masarakki [Sat, 26 Aug 2017 10:40:03 +0000 (19:40 +0900)]
authorize-follow-requests-after-unlocking (#4658)

8 years agoFix missing at-sign (regression from #4688) (#4705)
Yamagishi Kazutoshi [Sat, 26 Aug 2017 10:39:26 +0000 (19:39 +0900)]
Fix missing at-sign (regression from #4688) (#4705)

8 years agoFix ar.json (#4699)
Lynx Kotoura [Fri, 25 Aug 2017 18:02:44 +0000 (03:02 +0900)]
Fix ar.json (#4699)

Remove ! from compose_form.publish

8 years agoAllow multiple pinned statuses to be shown and make them be ordered b… (#4690)
nullkal [Fri, 25 Aug 2017 16:50:52 +0000 (01:50 +0900)]
Allow multiple pinned statuses to be shown and make them be ordered b… (#4690)

* Allow multiple pinned statuses to be shown and make them be ordered by pinned date

* Set timestamps NOT NULL

* Make single-line pinned_statuses

* Spec for pinned_statuses

* Remove redundant empty line

8 years agoApply user timezone for the title attribute of .time-ago (#4693)
unarist [Fri, 25 Aug 2017 15:21:16 +0000 (00:21 +0900)]
Apply user timezone for the title attribute of .time-ago (#4693)

8 years agoChange timezone of the datetime to what browser specifies (#4688)
Yamagishi Kazutoshi [Fri, 25 Aug 2017 15:21:00 +0000 (00:21 +0900)]
Change timezone of the datetime to what browser specifies (#4688)

8 years agoAdjust styles of landing pages. (#4682)
Lynx Kotoura [Fri, 25 Aug 2017 15:19:35 +0000 (00:19 +0900)]
Adjust styles of landing pages. (#4682)

* Adjust about.scss

* Delete trailing whitespace.

8 years agoi18n Updated strings (#4675 - pinned toot) (#4695)
Quent-in [Fri, 25 Aug 2017 14:04:52 +0000 (16:04 +0200)]
i18n Updated strings (#4675 - pinned toot) (#4695)

* Added string for pinned toots

* Pinned toot #4675 + missing string

Somehow I deleted it "enabled_success"

* update after advice

8 years agoUpdate addressable to version 2.5.2 (#4686)
Yamagishi Kazutoshi [Fri, 25 Aug 2017 12:17:08 +0000 (21:17 +0900)]
Update addressable to version 2.5.2 (#4686)

8 years agoAdd label for application scopes (#4691)
Yamagishi Kazutoshi [Fri, 25 Aug 2017 11:03:26 +0000 (20:03 +0900)]
Add label for application scopes (#4691)

* Add label for application scopes

* hint

8 years agoi18n: Update Polish translation #4675 (#4692)
m4sk1n [Fri, 25 Aug 2017 08:58:31 +0000 (10:58 +0200)]
i18n: Update Polish translation #4675 (#4692)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoPinned statuses (#4675)
Eugen Rochko [Thu, 24 Aug 2017 23:41:18 +0000 (01:41 +0200)]
Pinned statuses (#4675)

* Pinned statuses

* yarn manage:translations

8 years agoUpdate Russian translation (#4685)
Ratmir Karabut [Thu, 24 Aug 2017 22:11:06 +0000 (01:11 +0300)]
Update Russian translation (#4685)

* Add Russian translation (ru)

* Fix a missing comma

* Fix the wording for better consistency

* Update Russian translation

* Arrange Russian setting alphabetically

* Fix syntax error

* Update Russian translation

* Fix formatting error

* Update Russian translation

* Update Russian translation

* Update ru.jsx

* Fix syntax error

* Remove two_factor_auth.warning (appears obsolete)

* Add missing strings in ru.yml

A lot of new strings translated, especially for the newly added admin section

* Fix translation consistency

* Update Russian translation

* Update Russian translation (pluralizations)

* Update Russian translation

* Update Russian translation

* Update Russian translation (pin)

* Update Russian translation (account deletion)

* Fix extra line

* Update Russian translation (sessions)

* Update Russian translation

* Update Russian translation

* Fix merge conflicts (revert)

8 years agoDon't load Roboto webfont when system font is used in the app (#4591)
Damien Erambert [Thu, 24 Aug 2017 17:28:49 +0000 (10:28 -0700)]
Don't load Roboto webfont when system font is used in the app (#4591)

* Don't load Roboto webfont when system font is used in the app

* remove trailing whitespace

8 years agoDisable babel-loader cache when development environment (#4684)
Yamagishi Kazutoshi [Thu, 24 Aug 2017 17:27:52 +0000 (02:27 +0900)]
Disable babel-loader cache when development environment (#4684)

8 years agoAdd configuration to disable private status federation over PuSH (#4582)
Eugen Rochko [Thu, 24 Aug 2017 15:51:32 +0000 (17:51 +0200)]
Add configuration to disable private status federation over PuSH (#4582)

8 years agoFetch reblogs as Announce activity instead of Note object (#4672)
unarist [Thu, 24 Aug 2017 14:21:42 +0000 (23:21 +0900)]
Fetch reblogs as Announce activity instead of Note object (#4672)

* Process Create / Announce activity in FetchRemoteStatusService

* Use activity URL in ActivityPub for reblogs

* Redirect to the original status on StatusesController#show

8 years agoMinor performance improvement for test suite (#4678)
Eugen Rochko [Thu, 24 Aug 2017 11:31:55 +0000 (13:31 +0200)]
Minor performance improvement for test suite (#4678)

8 years agoRemove eslint-disable comments (#4681)
Yamagishi Kazutoshi [Thu, 24 Aug 2017 10:15:36 +0000 (19:15 +0900)]
Remove eslint-disable comments (#4681)

Do not reject console.error and console.warn with ESLint rules.

8 years agol18n update OC new strings (#4664) (#4680)
Quent-in [Thu, 24 Aug 2017 07:16:32 +0000 (09:16 +0200)]
l18n update OC new strings (#4664) (#4680)

* New strings

* Update

Thin non breaking spaces

* Update

Thin non breaking spaces

* Update

Thin non breaking spaces

8 years agoFix typo in admin/status_controller.rb (#4679)
HIKARU KOBORI [Thu, 24 Aug 2017 02:03:52 +0000 (11:03 +0900)]
Fix typo in admin/status_controller.rb (#4679)

8 years agoUpdate Polish translation (#4674)
m4sk1n [Wed, 23 Aug 2017 15:45:29 +0000 (17:45 +0200)]
Update Polish translation (#4674)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoIntroduce CODEOWNERS file (#4670)
m4sk1n [Wed, 23 Aug 2017 13:21:00 +0000 (15:21 +0200)]
Introduce CODEOWNERS file (#4670)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoUse checkboxes for application scope setting (#4671)
nullkal [Wed, 23 Aug 2017 13:16:20 +0000 (22:16 +0900)]
Use checkboxes for application scope setting (#4671)

8 years agoAdd Japanese translations for #2758, #4506, #4521, #4600 and #4664 (#4665)
Yamagishi Kazutoshi [Wed, 23 Aug 2017 12:14:22 +0000 (21:14 +0900)]
Add Japanese translations for #2758, #4506, #4521, #4600 and #4664 (#4665)

* Add Japanese translations for #2758, #4506, #4521, #4600 and #4664

* Do not translate Inbox URL and Outbox URL

* Remove "あなたの"

* Remove "あなたの"

8 years agoFix Japanese translation (#4669)
unarist [Wed, 23 Aug 2017 11:07:29 +0000 (20:07 +0900)]
Fix Japanese translation (#4669)

8 years agoFix accessing to XML attribute in FetchAtomService (#4668)
unarist [Wed, 23 Aug 2017 10:25:57 +0000 (19:25 +0900)]
Fix accessing to XML attribute in FetchAtomService (#4668)

8 years agoFix up the applications area (#4664)
Eugen Rochko [Tue, 22 Aug 2017 22:59:35 +0000 (00:59 +0200)]
Fix up the applications area (#4664)

- Section it into "Development" area
- Improve UI of application form, index, and details

8 years agoAdd Mastodon::Source.url (#4643)
Daigo 3 Dango [Tue, 22 Aug 2017 20:54:19 +0000 (20:54 +0000)]
Add Mastodon::Source.url (#4643)

* Add Mastodon::Source.url

* Update spec

* Refactor

Move things frmo Mastodon::Source to Mastodon::Version

8 years agoIgnore empty response in ActivityPub::FetchRemoteStatusService (#4661)
unarist [Tue, 22 Aug 2017 18:00:49 +0000 (03:00 +0900)]
Ignore empty response in ActivityPub::FetchRemoteStatusService (#4661)

* Ignore empty response in ActivityPub::FetchRemoteStatusService

This fixes `NoMethodError: undefined method `[]' for nil:NilClass` error.

* Check json.nil? in JsonLdHelper#supported_context?

8 years agoApplication prefs section (#2758)
Colin Mitchell [Tue, 22 Aug 2017 16:33:57 +0000 (12:33 -0400)]
Application prefs section (#2758)

* Add code for creating/managing apps to settings section

* Add specs for app changes

* Fix controller spec

* Fix view file I pasted over by mistake

* Add locale strings. Add 'my apps' to nav

* Add Client ID/Secret to App page. Add some visual separation

* Fix rubocop warnings

* Fix embarrassing typo

I lost an `end` statement while fixing a merge conflict.

* Add code for creating/managing apps to settings section

- Add specs for app changes
- Add locale strings. Add 'my apps' to nav
- Add Client ID/Secret to App page. Add some visual separation
- Fix some bugs/warnings

* Update to match code standards

* Trigger notification

* Add warning about not sharing API secrets

* Tweak spec a bit

* Cleanup fixture creation by using let!

* Remove unused key

* Add foreign key for application<->user

8 years agoAdd delete account link for French (#4659)
Yamagishi Kazutoshi [Tue, 22 Aug 2017 16:31:42 +0000 (01:31 +0900)]
Add delete account link for French (#4659)

8 years agoFix bugs which OStatus accounts may detected as ActivityPub ready (#4662)
unarist [Tue, 22 Aug 2017 16:30:15 +0000 (01:30 +0900)]
Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662)

* Fallback to OStatus in FetchAtomService

* Skip activity+json link if that activity is Person without inbox
* If unsupported activity was detected and all other URLs failed, retry with ActivityPub-less Accept header

* Allow mention to OStatus account in ActivityPub

* Don't update profile with inbox-less Person object

8 years agoSupport more variations of ActivityPub keyId in signature (#4630)
Eugen Rochko [Mon, 21 Aug 2017 20:57:34 +0000 (22:57 +0200)]
Support more variations of ActivityPub keyId in signature (#4630)

- Tries to avoid performing HTTP request if the keyId is an actor URI
- Likewise if the URI is a fragment URI on top of actor URI
- Resolves public key, returns owner if the owner links back to the key

8 years agoPeriodically remove expired PuSH subscribers (#4654)
Eugen Rochko [Mon, 21 Aug 2017 20:56:33 +0000 (22:56 +0200)]
Periodically remove expired PuSH subscribers (#4654)

8 years agoIncrease contrast in landing pages (#4567)
Lynx Kotoura [Mon, 21 Aug 2017 19:59:03 +0000 (04:59 +0900)]
Increase contrast in landing pages (#4567)

* Increase contrast in about and about/more page

* Lighten em color in landing pages

* Increase contrast in landing pages

Fix about.scss

8 years agoFix visual line-break glitch with .invisible parts of links (#4655)
Eugen Rochko [Mon, 21 Aug 2017 15:59:34 +0000 (17:59 +0200)]
Fix visual line-break glitch with .invisible parts of links (#4655)

8 years agoDo not try to re-subscribe to unsubscribed accounts (#4653)
Eugen Rochko [Mon, 21 Aug 2017 15:32:41 +0000 (17:32 +0200)]
Do not try to re-subscribe to unsubscribed accounts (#4653)

8 years agoRefactoring streaming connections (#4645)
abcang [Mon, 21 Aug 2017 13:04:34 +0000 (22:04 +0900)]
Refactoring streaming connections (#4645)

8 years agoUse URI.join even when S3 enabled (#4652)
Yamagishi Kazutoshi [Mon, 21 Aug 2017 10:42:16 +0000 (19:42 +0900)]
Use URI.join even when S3 enabled (#4652)

8 years agoActivityPub migration procedure (#4617)
Eugen Rochko [Sun, 20 Aug 2017 23:14:40 +0000 (01:14 +0200)]
ActivityPub migration procedure (#4617)

* ActivityPub migration procedure

Once one account is detected as going from OStatus to ActivityPub,
invalidate WebFinger cache for other accounts from the same domain

* Unsubscribe from PuSH updates once we receive an ActivityPub payload

* Re-subscribe to PuSH unless already unsubscribed, regardless of protocol

8 years agoi18n: Minor changes in Polish translation (#4649)
m4sk1n [Sun, 20 Aug 2017 22:57:28 +0000 (00:57 +0200)]
i18n: Minor changes in Polish translation (#4649)

* i18n: Minor changes in Polish translation

* i18n: pl

8 years agoFix #4637 - Re-add missing doorkeeper_authorize for /api/v1/verify_credentials (...
Eugen Rochko [Sun, 20 Aug 2017 22:41:08 +0000 (00:41 +0200)]
Fix #4637 - Re-add missing doorkeeper_authorize for /api/v1/verify_credentials (#4650)

8 years agoRemove status from favorites list when unfavorited (#4597)
Yamagishi Kazutoshi [Sun, 20 Aug 2017 21:23:05 +0000 (06:23 +0900)]
Remove status from favorites list when unfavorited (#4597)

8 years agoFix .information-board style for Safari (#4602)
unarist [Sun, 20 Aug 2017 18:45:44 +0000 (03:45 +0900)]
Fix .information-board style for Safari (#4602)

flex-basis: 0 allows make flexbox smaller than its contents on Safari <10.

https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored

8 years agoFix hasUnread on HashtagTimeline (#4644)
abcang [Sun, 20 Aug 2017 15:12:06 +0000 (00:12 +0900)]
Fix hasUnread on HashtagTimeline (#4644)

8 years agoHandle duplicate ActivityPub activities (#4639)
Eugen Rochko [Sun, 20 Aug 2017 14:53:47 +0000 (16:53 +0200)]
Handle duplicate ActivityPub activities (#4639)

* Handle duplicate ActivityPub activities

Only perform side-effects when record processed for the first time

* Fast-forward repeat follow requests

8 years agol10n update OC : Redesign public profiles (#4608) (#4646)
Quent-in [Sun, 20 Aug 2017 12:49:12 +0000 (14:49 +0200)]
l10n update OC : Redesign public profiles (#4608) (#4646)

New strings added to be shown on the new profile page

8 years agoImprove about ja translation standalone.public_title (#4641)
takayamaki [Sun, 20 Aug 2017 11:27:14 +0000 (20:27 +0900)]
Improve about ja translation standalone.public_title (#4641)

8 years agoImprove ActivityPub/OStatus compatibility (#4632)
Eugen Rochko [Sat, 19 Aug 2017 16:44:48 +0000 (18:44 +0200)]
Improve ActivityPub/OStatus compatibility (#4632)

*Note: OStatus URIs are invalid for ActivityPub. But we have them for
as long as we want to keep old OStatus-sourced content and as long as
we remain OStatus-compatible.*

- In Announce handling, if object URI is not a URL, fallback to object URL
- Do not use specialized ThreadResolveWorker, rely on generalized handling
- When serializing notes, if parent's URI is not a URL, use parent's URL

8 years agoRevert #4616 (#4638)
Eugen Rochko [Sat, 19 Aug 2017 00:23:47 +0000 (02:23 +0200)]
Revert #4616 (#4638)

8 years agoParse OStatus tag URIs in ActivityPub handlers when those are local (#4631)
Eugen Rochko [Fri, 18 Aug 2017 09:24:44 +0000 (11:24 +0200)]
Parse OStatus tag URIs in ActivityPub handlers when those are local (#4631)

8 years agoDon't send Link header when don't know prev and next links (#4633)
Yamagishi Kazutoshi [Fri, 18 Aug 2017 08:42:59 +0000 (17:42 +0900)]
Don't send Link header when don't know prev and next links (#4633)

8 years agoMake ActivityPub::TagManager#local_uri? recognize local URIs with ports (#4628)
Eugen Rochko [Fri, 18 Aug 2017 01:21:59 +0000 (03:21 +0200)]
Make ActivityPub::TagManager#local_uri? recognize local URIs with ports (#4628)

8 years agoIf url attribute not present in Note, fallback to id attribute (#4629)
Eugen Rochko [Fri, 18 Aug 2017 00:29:12 +0000 (02:29 +0200)]
If url attribute not present in Note, fallback to id attribute (#4629)

8 years agoPut ActivityPub alternate link into Atom, prefer it when processing Atom (#4623)
Eugen Rochko [Thu, 17 Aug 2017 23:03:18 +0000 (01:03 +0200)]
Put ActivityPub alternate link into Atom, prefer it when processing Atom (#4623)

8 years agouse existing inflections instead of custom helper (#4624)
nightpool [Thu, 17 Aug 2017 21:20:50 +0000 (17:20 -0400)]
use existing inflections instead of custom helper (#4624)

* use existing inflections instead of custom helper

* use ActiveSupport versions

8 years agoFix #4607 - Accept/reject activities use FollowRequest, which has inverse relations...
Eugen Rochko [Thu, 17 Aug 2017 20:15:37 +0000 (22:15 +0200)]
Fix #4607 - Accept/reject activities use FollowRequest, which has inverse relations (#4616)

8 years agoAdd _:atomUri property for deduplicating OStatus/ActivityPub legacy records (#4593)
Eugen Rochko [Thu, 17 Aug 2017 19:35:00 +0000 (21:35 +0200)]
Add _:atomUri property for deduplicating OStatus/ActivityPub legacy records (#4593)

8 years agoShow what protocol is used for accounts in admin/accounts#index (#4622)
nullkal [Thu, 17 Aug 2017 15:52:40 +0000 (00:52 +0900)]
Show what protocol is used for accounts in admin/accounts#index (#4622)

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

* Add frozen_string_literal

8 years agoUpdate charlock_holmes to 0.7.5 (#4620)
nullkal [Thu, 17 Aug 2017 12:46:53 +0000 (21:46 +0900)]
Update charlock_holmes to 0.7.5 (#4620)

8 years agoUpdate Japanese Translation. (Redesign public profiles) (#4612)
Naoki Kosaka [Wed, 16 Aug 2017 21:19:37 +0000 (06:19 +0900)]
Update Japanese Translation. (Redesign public profiles) (#4612)

8 years agoi18n: Update Polish translation (#4613)
m4sk1n [Wed, 16 Aug 2017 20:14:23 +0000 (22:14 +0200)]
i18n: Update Polish translation (#4613)

* i18n: Update Polish translation

* Update pl.json

8 years agoRedesign public profiles (#4608)
Eugen Rochko [Wed, 16 Aug 2017 15:12:58 +0000 (17:12 +0200)]
Redesign public profiles (#4608)

* 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

8 years agoMake share intent modal to make "signed in as" shown. (#4611)
Clworld [Wed, 16 Aug 2017 14:48:44 +0000 (23:48 +0900)]
Make share intent modal to make "signed in as" shown. (#4611)

* Make share intent modal to make "signed in as" shown.

* fix glitch on mobile.

8 years agoUpdate ActivityPub (#4600) (#4609)
Quent-in [Wed, 16 Aug 2017 08:21:34 +0000 (10:21 +0200)]
Update ActivityPub (#4600) (#4609)

Update: new string + more translations for the time in words

8 years agoFix require_user! behavior when not logged in (#4604)
abcang [Tue, 15 Aug 2017 12:14:12 +0000 (21:14 +0900)]
Fix require_user! behavior when not logged in (#4604)

8 years agoRe-add missing transaction around status-from-OStatus creation (#4603)
Eugen Rochko [Mon, 14 Aug 2017 19:37:21 +0000 (21:37 +0200)]
Re-add missing transaction around status-from-OStatus creation (#4603)

8 years agoFix ActivityPub follow interaction and add more specs (#4601)
unarist [Mon, 14 Aug 2017 14:57:46 +0000 (23:57 +0900)]
Fix ActivityPub follow interaction and add more specs (#4601)

8 years agoUpdate /admin/accounts/:id view for ActivityPub (#4600)
unarist [Mon, 14 Aug 2017 12:09:00 +0000 (21:09 +0900)]
Update /admin/accounts/:id view for ActivityPub (#4600)

* Add protocol field
* Switch protocol specific information according to active protocol
* Hide PuSH subscription related buttons if ActivityPub is active

8 years agoAdd support for searching AP users (#4599)
Yamagishi Kazutoshi [Mon, 14 Aug 2017 12:08:34 +0000 (21:08 +0900)]
Add support for searching AP users (#4599)

* Add support for searching AP users

* use JsonLdHelper

8 years agoRequire "inbox" to be set on actor to be ActivityPub-ready (#4595)
Eugen Rochko [Mon, 14 Aug 2017 09:27:25 +0000 (11:27 +0200)]
Require "inbox" to be set on actor to be ActivityPub-ready (#4595)

8 years agoAdd protocol handler. Handle follow intents (#4511)
Eugen Rochko [Mon, 14 Aug 2017 02:53:31 +0000 (04:53 +0200)]
Add protocol handler. Handle follow intents (#4511)

* Add protocol handler. Handle follow intents

* Add share intent

* Improve code in intents controller

* Adjust share form CSS

8 years agoFix search (regression from #4589) (#4594)
Yamagishi Kazutoshi [Mon, 14 Aug 2017 02:50:56 +0000 (11:50 +0900)]
Fix search (regression from #4589) (#4594)

8 years agoSet correct content-type for ActivityPub JSON (#4592)
Eugen Rochko [Mon, 14 Aug 2017 02:16:43 +0000 (04:16 +0200)]
Set correct content-type for ActivityPub JSON (#4592)

8 years agoHook up URL-based resource look-up to ActivityPub (#4589)
Eugen Rochko [Mon, 14 Aug 2017 00:29:36 +0000 (02:29 +0200)]
Hook up URL-based resource look-up to ActivityPub (#4589)

8 years agoAdd alternate links to ActivityPub resources from HTML/HEAD variants (#4586)
Eugen Rochko [Sat, 12 Aug 2017 22:45:04 +0000 (00:45 +0200)]
Add alternate links to ActivityPub resources from HTML/HEAD variants (#4586)

8 years agoActivityPub delivery (#4566)
Eugen Rochko [Sat, 12 Aug 2017 22:44:41 +0000 (00:44 +0200)]
ActivityPub delivery (#4566)

* 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 #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

8 years agoAdd serializing/unserializing of "locked" actor attribute (#4585)
Eugen Rochko [Sat, 12 Aug 2017 15:41:03 +0000 (17:41 +0200)]
Add serializing/unserializing of "locked" actor attribute (#4585)

8 years agoExtend Devise remember_me longevity to 1 year instead of 2 weeks (#4587)
Eugen Rochko [Sat, 12 Aug 2017 14:30:59 +0000 (16:30 +0200)]
Extend Devise remember_me longevity to 1 year instead of 2 weeks (#4587)

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

8 years agoOnly PuSH-resubscribe to OStatus accounts (#4583)
Eugen Rochko [Sat, 12 Aug 2017 00:54:54 +0000 (02:54 +0200)]
Only PuSH-resubscribe to OStatus accounts (#4583)

8 years agoMinor fixes in the French translation (#4580)
Sylvhem [Fri, 11 Aug 2017 23:33:30 +0000 (01:33 +0200)]
Minor fixes in the French translation (#4580)

* 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".

8 years agoHandle ActivityPub follows correctly (#4571)
Eugen Rochko [Thu, 10 Aug 2017 20:33:12 +0000 (22:33 +0200)]
Handle ActivityPub follows correctly (#4571)

* 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

8 years agol10n Update OC #4521 (#4577)
Quent-in [Thu, 10 Aug 2017 20:15:26 +0000 (22:15 +0200)]
l10n Update OC #4521 (#4577)

* l10n Update OC #4521

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

* Update oc.yml