Colin Mitchell
63b98318c5
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
7 years ago
Yamagishi Kazutoshi
9f95da9393
Add delete account link for French ( #4659 )
7 years ago
unarist
1cb7c1a273
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
7 years ago
Eugen Rochko
dccc1a74ad
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
7 years ago
Eugen Rochko
0268b334ae
Periodically remove expired PuSH subscribers ( #4654 )
7 years ago
Lynx Kotoura
4730977e1a
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
7 years ago
Eugen Rochko
672ee8219c
Fix visual line-break glitch with .invisible parts of links ( #4655 )
7 years ago
Eugen Rochko
d76bd63226
Do not try to re-subscribe to unsubscribed accounts ( #4653 )
7 years ago
abcang
8a4ac3f71c
Refactoring streaming connections ( #4645 )
7 years ago
Yamagishi Kazutoshi
7503ada9b5
Use URI.join even when S3 enabled ( #4652 )
7 years ago
Eugen Rochko
1a19358b24
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
7 years ago
m4sk1n
cbc3b13ef6
i18n: Minor changes in Polish translation ( #4649 )
...
* i18n: Minor changes in Polish translation
* i18n: pl
7 years ago
Eugen Rochko
39b76d47a5
Fix #4637 - Re-add missing doorkeeper_authorize for /api/v1/verify_credentials ( #4650 )
7 years ago
Yamagishi Kazutoshi
feb63b672e
Remove status from favorites list when unfavorited ( #4597 )
7 years ago
unarist
fe3240a160
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
7 years ago
abcang
614ba8542c
Fix hasUnread on HashtagTimeline ( #4644 )
7 years ago
Eugen Rochko
44b5084f1d
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
7 years ago
Quent-in
8aa84cc69e
l10n update OC : Redesign public profiles ( #4608 ) ( #4646 )
...
New strings added to be shown on the new profile page
7 years ago
takayamaki
b6acec13d4
Improve about ja translation standalone.public_title ( #4641 )
7 years ago
Eugen Rochko
aee1db8fa1
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
7 years ago
Eugen Rochko
1bf68ba7dd
Revert #4616 ( #4638 )
7 years ago
Eugen Rochko
e96d64397e
Parse OStatus tag URIs in ActivityPub handlers when those are local ( #4631 )
7 years ago
Yamagishi Kazutoshi
c0642a0042
Don't send Link header when don't know prev and next links ( #4633 )
7 years ago
Eugen Rochko
0afaecf61f
Make ActivityPub::TagManager#local_uri? recognize local URIs with ports ( #4628 )
7 years ago
Eugen Rochko
75afe35f09
If url attribute not present in Note, fallback to id attribute ( #4629 )
7 years ago
Eugen Rochko
ce7e12bd72
Put ActivityPub alternate link into Atom, prefer it when processing Atom ( #4623 )
7 years ago
nightpool
6cce0bb080
use existing inflections instead of custom helper ( #4624 )
...
* use existing inflections instead of custom helper
* use ActiveSupport versions
7 years ago
Eugen Rochko
bd6f0fba35
Fix #4607 - Accept/reject activities use FollowRequest, which has inverse relations ( #4616 )
7 years ago
Eugen Rochko
c2101d3ad7
Add _:atomUri property for deduplicating OStatus/ActivityPub legacy records ( #4593 )
7 years ago
nullkal
a90b5796a1
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
7 years ago
nullkal
e3eb31818f
Update charlock_holmes to 0.7.5 ( #4620 )
7 years ago
Naoki Kosaka
8308a51654
Update Japanese Translation. (Redesign public profiles) ( #4612 )
7 years ago
m4sk1n
cf1d082be0
i18n: Update Polish translation ( #4613 )
...
* i18n: Update Polish translation
* Update pl.json
7 years ago
Eugen Rochko
2dba0368f8
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
7 years ago
Clworld
39b3080d51
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.
7 years ago
Quent-in
8e5ac13996
Update ActivityPub ( #4600 ) ( #4609 )
...
Update: new string + more translations for the time in words
7 years ago
abcang
efd907e32e
Fix require_user! behavior when not logged in ( #4604 )
7 years ago
Eugen Rochko
5bd2dcd436
Re-add missing transaction around status-from-OStatus creation ( #4603 )
7 years ago
unarist
83b48812e4
Fix ActivityPub follow interaction and add more specs ( #4601 )
7 years ago
unarist
40ec0f45fb
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
7 years ago
Yamagishi Kazutoshi
ac7fb7c820
Add support for searching AP users ( #4599 )
...
* Add support for searching AP users
* use JsonLdHelper
7 years ago
Eugen Rochko
5bc37d814f
Require "inbox" to be set on actor to be ActivityPub-ready ( #4595 )
7 years ago
Eugen Rochko
0e5c8372e7
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
7 years ago
Yamagishi Kazutoshi
ffc125c953
Fix search (regression from #4589 ) ( #4594 )
7 years ago
Eugen Rochko
1c7cbbcb8c
Set correct content-type for ActivityPub JSON ( #4592 )
7 years ago
Eugen Rochko
3473aac8d8
Hook up URL-based resource look-up to ActivityPub ( #4589 )
7 years ago
Eugen Rochko
34962d9f9d
Add alternate links to ActivityPub resources from HTML/HEAD variants ( #4586 )
7 years ago
Eugen Rochko
5516767c75
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
7 years ago
Eugen Rochko
0e2a3049e7
Add serializing/unserializing of "locked" actor attribute ( #4585 )
7 years ago
Eugen Rochko
506508f30c
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
7 years ago