]>
cat aescling's git repositories - mastodon.git/log
Yamagishi Kazutoshi [Sat, 2 Sep 2017 12:02:15 +0000 (21:02 +0900)]
Add text color style for noscript link (#4772)
Yamagishi Kazutoshi [Sat, 2 Sep 2017 12:01:59 +0000 (21:01 +0900)]
Fix profile page when use system's font (#4774)
Yamagishi Kazutoshi [Sat, 2 Sep 2017 12:01:44 +0000 (21:01 +0900)]
Disable embed modal when private status (#4773)
* Disable embed modal when private status
* Remove `reblogDisabled`
Eugen Rochko [Sat, 2 Sep 2017 12:01:23 +0000 (14:01 +0200)]
Define missing JSON-LD properties (#4767)
Using _: property names is discouraged, as in the future,
canonicalization may throw an error when encountering that instead
of discarding it silently like it does now.
We are defining some ActivityStreams properties which we expect
to land in ActivityStreams eventually, to ensure that future versions
of Mastodon will remain compatible with this even once that happens.
Those would be `locked`, `sensitive` and `Hashtag`
We are defining a custom context inline for some properties which we
do not expect to land in any other context. `atomUri`, `inReplyToAtomUri`
and `conversation` are part of the custom defined OStatus context.
Eugen Rochko [Sat, 2 Sep 2017 12:00:58 +0000 (14:00 +0200)]
Use updated ActivityStreams context (added: sharedInbox) (#4764)
mayaeh [Sat, 2 Sep 2017 05:48:51 +0000 (14:48 +0900)]
Add japanese translations for embed modal feature. (#4770)
Yamagishi Kazutoshi [Sat, 2 Sep 2017 01:03:21 +0000 (10:03 +0900)]
Add RoutingHelper (#4769)
m4sk1n [Fri, 1 Sep 2017 23:52:28 +0000 (01:52 +0200)]
Add link to 'noscript' message (#4561)
* Add link to 'noscript' message
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* remove indent
Eugen Rochko [Fri, 1 Sep 2017 19:54:42 +0000 (21:54 +0200)]
Add ActivityPub handler for Delete->Actor activities (#4761)
Eugen Rochko [Fri, 1 Sep 2017 19:30:13 +0000 (21:30 +0200)]
Finish up embed modal feature (#4759)
* Add embed button to dropdowns of in-timeline statuses
* yarn run manage:translations
Eugen Rochko [Fri, 1 Sep 2017 19:26:01 +0000 (21:26 +0200)]
Avoid sending some ActivityPub payloads if the receiver will get them through distribution (#4739)
Eugen Rochko [Fri, 1 Sep 2017 19:12:59 +0000 (21:12 +0200)]
Do not rely on activity arriving exactly once after delete arrived (#4754)
Cygnan [Fri, 1 Sep 2017 19:01:23 +0000 (04:01 +0900)]
Adjust padding on the public profile page (#4757)
* Fix a style issue on the public profile page for some mobile browsers
Signed-off-by: Cygnan <email@cygnan.com>
* Set padding-bottom to 20px
Signed-off-by: Cygnan <email@cygnan.com>
unarist [Fri, 1 Sep 2017 19:00:43 +0000 (04:00 +0900)]
Deduplicate with local status on Create activity (#4763)
Eugen Rochko [Fri, 1 Sep 2017 18:50:42 +0000 (20:50 +0200)]
Fix NoMethodError (#4762)
Eugen Rochko [Fri, 1 Sep 2017 14:20:16 +0000 (16:20 +0200)]
Make PreviewCard records reuseable between statuses (#4642)
* Make PreviewCard records reuseable between statuses
**Warning!** Migration truncates preview_cards tablec
* Allow a wider thumbnail for link preview, display it in horizontal layout (#4648)
* Delete preview cards files before truncating
* Rename old table instead of truncating it
* Add mastodon:maintenance:remove_deprecated_preview_cards
* Ignore deprecated_preview_cards in schema definition
* Fix null behaviour
Yamagishi Kazutoshi [Fri, 1 Sep 2017 14:13:31 +0000 (23:13 +0900)]
Use system's default font on non web UI pages (#4553)
* Use system's default font on non web UI pages
* Remove import for Redirect
Eugen Rochko [Fri, 1 Sep 2017 14:07:08 +0000 (16:07 +0200)]
Make first use less overwhelming with browser permissions (#4760)
- Ask for desktop notifications after 1 minute of use instead of
instantly
- Ask for protocol handler permission after 5 minutes of use
instead of instantly
Damien Erambert [Fri, 1 Sep 2017 12:09:01 +0000 (05:09 -0700)]
Update FR locales (#4714)
* Make the fr locales up-to-date with the last changes (new profile view, applications)
* Use the same wording for toots in fr.yml and fr.json
* Translate the pin related strings
* Translate pin-related locales on the front-end
* Add missing locales in doorkeeper.fr.yml and remove un-used ones
* Change "posts" back to "status" in the /about/more page in fr.yml
* Fix typos for "status" in fr.yml
* fix typo for "status" in fr.json
* Remove duplicate string
* Non-breaking space before punctuation
* 'Better' translation for "unpin"
* Put back 'pouet' where it was already
* Fix
* Fix
Eugen Rochko [Fri, 1 Sep 2017 11:35:23 +0000 (13:35 +0200)]
Refactor Web::PushSubscription, remove welcome message (#4524)
* Refactor Web::PushSubscription, remove welcome message
* Add missing helper
* Use locale of the receiver on push notifications (#4519)
* Remove unused translations
* Fix dir on notifications
unarist [Fri, 1 Sep 2017 11:34:04 +0000 (20:34 +0900)]
Convert OStatus tag to ActivityPub id on in_reply_to resolution (#4756)
unarist [Fri, 1 Sep 2017 10:33:02 +0000 (19:33 +0900)]
Fallback from perform_via_activitypub on private posts (#4758)
Currently, private / direct posts via OStatus from AP compatible instance will be dropped due to failing to fetch AP version.
So this fallbacks to OStatus handling:
* when failed to fetch ActivityPub version
* when status is neither :public nor :unlisted
Eugen Rochko [Thu, 31 Aug 2017 19:32:09 +0000 (21:32 +0200)]
Remove identity context from output of LinkedDataSignature (#4753)
unarist [Thu, 31 Aug 2017 15:18:49 +0000 (00:18 +0900)]
Don't process ActivityPub payload if signature is invalid (#4752)
* Don't process ActivityPub payload if signature is invalid
* Fix style issue
James [Thu, 31 Aug 2017 13:44:00 +0000 (06:44 -0700)]
Guarantee Subscription service first account has proper URL details (#4732)
* Guarantee Subscription service first account has proper URL details
Subscription Service potentially could break if the first user suspended
themselves, creating a situation where the urls that populate throughout
subscription service's PuSH request would cause the remote API to throw 503 errors.
Guaranteeing that the first account picked is not suspended prevents this problem.
* Fix style issue
Akihiko Odaki [Thu, 31 Aug 2017 09:20:54 +0000 (18:20 +0900)]
Fix the usages of Detect Passive Events (#4749)
Eugen Rochko [Thu, 31 Aug 2017 01:38:35 +0000 (03:38 +0200)]
Embed modal (#4748)
* Embed modal
* Proxy OEmbed requests from web UI
Eugen Rochko [Wed, 30 Aug 2017 22:02:59 +0000 (00:02 +0200)]
Add sharedInbox to actors (#4737)
Wonderfall [Wed, 30 Aug 2017 21:52:19 +0000 (23:52 +0200)]
Update to Alpine 3.6 (#4747)
MitarashiDango [Wed, 30 Aug 2017 15:30:25 +0000 (00:30 +0900)]
error fixed (when loading pages in single column mode.) (#4746)
Eugen Rochko [Wed, 30 Aug 2017 13:37:02 +0000 (15:37 +0200)]
Forward ActivityPub creates that reply to local statuses (#4709)
* Forward ActivityPub creates that reply to local statuses
* Fix test
* Fix wrong signers
Yamagishi Kazutoshi [Wed, 30 Aug 2017 12:03:17 +0000 (21:03 +0900)]
Add close tag of iframe for oEmbed response (#4745)
* Add close tag of iframe for oEmbed response
* add comma
nullkal [Wed, 30 Aug 2017 08:24:30 +0000 (17:24 +0900)]
Use request.remote_ip instead of request.ip (#4744)
Eugen Rochko [Wed, 30 Aug 2017 08:23:43 +0000 (10:23 +0200)]
Update status embeds (#4742)
- Use statuses controller for embeds instead of stream entries controller
- Prefer /@:username/:id/embed URL for embeds
- Use /@:username as author_url in OEmbed
- Add follow link to embeds which opens web intent in new window
- Use redis cache in development
- Cache entire embed
Eugen Rochko [Wed, 30 Aug 2017 03:04:20 +0000 (05:04 +0200)]
Remove unneccesary indices (#4738)
We only look up status_pins by account_id, or account_id and status_id,
never by status_id
Eugen Rochko [Wed, 30 Aug 2017 01:30:13 +0000 (03:30 +0200)]
Update bundler-audit and brakeman (#4740)
abcang [Tue, 29 Aug 2017 15:06:19 +0000 (00:06 +0900)]
Scroll smoothly to the right (#4735)
MitarashiDango [Tue, 29 Aug 2017 14:11:28 +0000 (23:11 +0900)]
fix error when single columns mode. (#4734)
Eugen Rochko [Tue, 29 Aug 2017 14:11:05 +0000 (16:11 +0200)]
Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
Requires moving Atom rendering from DistributionWorker (where
`stream_entry.status` is already nil) to inline (where
`stream_entry.status.destroyed?` is true) and distributing that.
Unfortunately, such XML renderings can no longer be easily chained
together into one payload of n items.
Akihiko Odaki [Tue, 29 Aug 2017 12:16:21 +0000 (21:16 +0900)]
Do not scroll the columns area due to redirection (#4541)
Commit
9d1f8b9d6af1d384a4dd68bc6353a2fde5735b33 scrolls the columns area
when the route changes since the user is likely to want to see the
rightmost column in such cases.
However, redirection is automatic and does not indicate users' intension.
Do not scroll the columns area due to one.
abcang [Mon, 28 Aug 2017 20:23:44 +0000 (05:23 +0900)]
Generalized the infinite scrollable list (#4697)
unarist [Mon, 28 Aug 2017 20:08:11 +0000 (05:08 +0900)]
Fix Delete activity handling when the status has been reblogged (#4729)
unarist [Mon, 28 Aug 2017 19:38:59 +0000 (04:38 +0900)]
Fix deletion of status which has been reblogged (#4728)
abcang [Mon, 28 Aug 2017 17:12:09 +0000 (02:12 +0900)]
rescue HTTP::ConnectionError in RemoteFollowController#create (#4726)
Lynx Kotoura [Sun, 27 Aug 2017 23:16:49 +0000 (08:16 +0900)]
Add japanese translations for shorten display of large numbers (#4722)
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
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;
Eugen Rochko [Sun, 27 Aug 2017 15:04:45 +0000 (17:04 +0200)]
Shorten display of large numbers on public profiles (#4711)
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.
Eugen Rochko [Sun, 27 Aug 2017 11:35:18 +0000 (13:35 +0200)]
Adjust RTL styles (#4712)
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.
Eugen Rochko [Sat, 26 Aug 2017 17:55:10 +0000 (19:55 +0200)]
Add _:inReplyToAtomUri to ActivityPub (#4702)
Eugen Rochko [Sat, 26 Aug 2017 16:52:53 +0000 (18:52 +0200)]
Forward ActivityPub deletes to followers of rebloggers (#4706)
Eugen Rochko [Sat, 26 Aug 2017 14:10:35 +0000 (16:10 +0200)]
Use Tombstone and _:atomUri in Delete activities as fallback (#4704)
Eugen Rochko [Sat, 26 Aug 2017 13:32:40 +0000 (15:32 +0200)]
Add ActivityPub serializer for Undo of Announce (#4703)
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.
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
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
masarakki [Sat, 26 Aug 2017 10:40:03 +0000 (19:40 +0900)]
authorize-follow-requests-after-unlocking (#4658)
Yamagishi Kazutoshi [Sat, 26 Aug 2017 10:39:26 +0000 (19:39 +0900)]
Fix missing at-sign (regression from #4688) (#4705)
Lynx Kotoura [Fri, 25 Aug 2017 18:02:44 +0000 (03:02 +0900)]
Fix ar.json (#4699)
Remove ! from compose_form.publish
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
unarist [Fri, 25 Aug 2017 15:21:16 +0000 (00:21 +0900)]
Apply user timezone for the title attribute of .time-ago (#4693)
Yamagishi Kazutoshi [Fri, 25 Aug 2017 15:21:00 +0000 (00:21 +0900)]
Change timezone of the datetime to what browser specifies (#4688)
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.
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
Yamagishi Kazutoshi [Fri, 25 Aug 2017 12:17:08 +0000 (21:17 +0900)]
Update addressable to version 2.5.2 (#4686)
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
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>
Eugen Rochko [Thu, 24 Aug 2017 23:41:18 +0000 (01:41 +0200)]
Pinned statuses (#4675)
* Pinned statuses
* yarn manage:translations
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)
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
Yamagishi Kazutoshi [Thu, 24 Aug 2017 17:27:52 +0000 (02:27 +0900)]
Disable babel-loader cache when development environment (#4684)
Eugen Rochko [Thu, 24 Aug 2017 15:51:32 +0000 (17:51 +0200)]
Add configuration to disable private status federation over PuSH (#4582)
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
Eugen Rochko [Thu, 24 Aug 2017 11:31:55 +0000 (13:31 +0200)]
Minor performance improvement for test suite (#4678)
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.
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
HIKARU KOBORI [Thu, 24 Aug 2017 02:03:52 +0000 (11:03 +0900)]
Fix typo in admin/status_controller.rb (#4679)
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>
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>
nullkal [Wed, 23 Aug 2017 13:16:20 +0000 (22:16 +0900)]
Use checkboxes for application scope setting (#4671)
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 "あなたの"
unarist [Wed, 23 Aug 2017 11:07:29 +0000 (20:07 +0900)]
Fix Japanese translation (#4669)
unarist [Wed, 23 Aug 2017 10:25:57 +0000 (19:25 +0900)]
Fix accessing to XML attribute in FetchAtomService (#4668)
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
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
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?
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
Yamagishi Kazutoshi [Tue, 22 Aug 2017 16:31:42 +0000 (01:31 +0900)]
Add delete account link for French (#4659)
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
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
Eugen Rochko [Mon, 21 Aug 2017 20:56:33 +0000 (22:56 +0200)]
Periodically remove expired PuSH subscribers (#4654)
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
Eugen Rochko [Mon, 21 Aug 2017 15:59:34 +0000 (17:59 +0200)]
Fix visual line-break glitch with .invisible parts of links (#4655)
Eugen Rochko [Mon, 21 Aug 2017 15:32:41 +0000 (17:32 +0200)]
Do not try to re-subscribe to unsubscribed accounts (#4653)
abcang [Mon, 21 Aug 2017 13:04:34 +0000 (22:04 +0900)]
Refactoring streaming connections (#4645)
Yamagishi Kazutoshi [Mon, 21 Aug 2017 10:42:16 +0000 (19:42 +0900)]
Use URI.join even when S3 enabled (#4652)
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
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