summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/models (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactoringsyuilo2021-11-128-1047/+0
| | | | Resolve #7779
* fix: ↵MeiMei2021-10-312-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 削除したノートやユーザーがリモートから参照されると復活することがあるのを修正 (#7918) * Fix #7557 * CHANGELOG * Fix user * CHANGELOG * Tune CHANGELOG * Tune CHANGELOG * resolver * Remove check * Remove import * CHANGELOG * Tune Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Refactor request (#7814)MeiMei2021-10-161-1/+2
| | | | | | | | | * status code * Test ap-request.ts https://github.com/mei23/crytest/blob/4397fc5e70536e4175fe56e974ca83b8047bef3a/test/ap-request.ts * tune
* fix bugsyuilo2021-10-031-1/+1
|
* fix: truncate image descriptions (#7699)Johann1502021-09-302-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move truncate function to separate file to reuse it * truncate image descriptions * show image description limit in UI * correctly treat null Co-authored-by: nullobsi <me@nullob.si> * make truncate Unicode-aware The strings that truncate returns should now be valid Unicode. PostgreSQL also counts Unicode Code Points instead of bytes so this should be correct. * move truncate to internal, validate in API Truncating could also be done in src/services/drive/add-file.ts or src/services/drive/upload-from-url.ts but those would also affect local images. But local images should result in a hard error if the image comment is too long. * avoid overwriting Co-authored-by: nullobsi <me@nullob.si>
* refactor: use path alias to improve readabilitysyuilo2021-08-194-4/+4
|
* fix: mochaが動かないため拡張子なしに戻したsyuilo2021-08-196-71/+71
|
* refactor: refactoring importssyuilo2021-08-196-71/+71
| | | | | | | | 将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
* Fix truncate (#7642)MeiMei2021-08-171-12/+14
|
* fix: truncate user information if it is too long (#7629)Johann1502021-08-141-2/+17
| | | | | | | | | | | | | | | | | * truncate user information if it is too long Some AP software allows for user names or summaries to be very long. Misskey can not handle this and the profile page can not be opened and no activities from such users can be seen. Instead, the user name and summary are cut off after the maximum length so misskey can still process the activities of the profile. Co-authored-by: Toast <toast@toast.cafe> * fix code style Co-authored-by: Toast <toast@toast.cafe> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Clean upsyuilo2021-08-071-9/+0
|
* AP Actorの修正 (#7573)MeiMei2021-07-101-60/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * AP Actorの修正 * Add ActivityPub test * Fix person * Test * ap test * Revert "Test" This reverts commit 3c493eff4e89f94fd33f25189ba3bc96ef4366b3. * Test comment * fix * fix * Update inbox * indent * nl * indent * TODO * Fix inbox * Update test
* Supports Array ActivityStreams type (#7536)MeiMei2021-05-312-7/+7
| | | | | | | | | | | * Supports Array type * Fix * Fix Service to Note * Update type.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Add image description support (#7518)nullobsi2021-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * recieve image descriptions under the name property * fix other components * use comment for alt and title * allow editing of file comment * allow editing of file comment in note dialog * federate note comments * use file instead of this * backend should accept comment on update * update now actually accepts comment * allow multiline descriptions * image should also have description attached * Update locales/ja-JP.yml Co-authored-by: rinsuki <428rinsuki+git@gmail.com> * Use custom component with side-by-side image * improve usability on mobile devices * revert changes * Update post-form-attaches.vue * Update drive.file.vue * Update media-caption.vue Co-authored-by: rinsuki <428rinsuki+git@gmail.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Refactor (#7394)syuilo2021-03-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * Update define.ts * Update update.ts * Update user.ts * wip * wip * Update request.ts * URL * wip * wip * wip * wip * Update invite.ts * Update create.ts
* refactor: Use path aliassyuilo2021-03-234-12/+12
|
* Fix #7212 (#7215)MeiMei2021-02-171-14/+15
|
* refactor: resolve #7139syuilo2021-02-133-6/+3
|
* Resolve #7149syuilo2021-02-071-2/+3
|
* Parse followers audience from followers URI (#7112)InspectorCaracal2021-02-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add followersUri * add followersUri to audience parse * fetch followersUri * followersUri db migration * update followersUri * Rename 1611354329133-followersUri to 1611354329133-followersUri.ts * typo * Update person.ts * create/update person consistency * Update audience.ts * missing paren * tabs * use strict equality * Update audience.ts
* Resolve #6806 (#6935)syuilo2020-12-111-0/+2
| | | | | | | * :v: * :v: * Update privacy.vue
* Channel (#6621)syuilo2020-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * wip * wop * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * add notes * wip * wip * wip * wip * sound * wip * add kick_gaba2 * wip
* feat(server): Fetch icon url of an instance (#6591)syuilo2020-07-261-2/+2
| | | | | | | * feat(server): Fetch icon url of an instance Resolve #6589 * chore: Rename the function
* feat: Blurhash integrationsyuilo2020-07-191-8/+8
| | | | Resolve #6559
* プロフィールの「場所」「誕生日」を連合するように ↵MeiMei2020-06-211-0/+8
| | | | | | | | | Resove #6461 (#6463) * AP birthday, location * unset is null * isCatを検証対象に
* APリファクタとLD-Signatureの検証に対応 (#6300)MeiMei2020-05-091-19/+5
| | | | | | | | | | | | | | | * DbResolver * inbox types * 認証順を変更 * User/Keyあたりをまとめる * LD-Signatue * Validate contexts url * LD-Signature DocumentLoaderにProxyとTimeout
* chore: Use kebab-case for file namessyuilo2020-04-261-1/+1
|
* Fix url type of AP object #6231 (#6234)MeiMei2020-04-112-5/+5
|
* refactor: Use ===syuilo2020-04-043-4/+4
|
* APメンションはaudienceじゃなくてtagを参照するなど (#6128)MeiMei2020-04-034-55/+72
| | | | | | | | | | | | | | | | | | | * APメンションはaudienceじゃなくてtagを参照するなど * AP/tag/Mentionではurlじゃなくてuriを提示する * createPersonでaliasが入力された場合に対応 * AP HTMLパースでMention/Hashtag判定にtagを使うように * fix * indent * use hashtag name * fix * URLエンコード不要だったら<>を使わないの条件が消えたたのを修正
* Use url if available (#6214)MeiMei2020-04-021-1/+2
| | | | | | | * Fix #6213 * other link * fix
* Create ↵MeiMei2020-02-081-11/+5
| | | | | | | | | | | | | | ActivityでattributedToの補完とaudienceのコピーを行うように (#5873) * attributedTo * Create * copy audiences between activity <=> object * やっぱり匿名GETのpublicは必要 * fix
* Fix #5848 (#5853)MeiMei2020-02-061-3/+16
|
* Resolve #1669syuilo2020-02-011-8/+1
|
* Fixsyuilo2020-01-301-1/+1
|
* AP audience (visibility) パースの修正 (#5783)MeiMei2020-01-301-32/+20
| | | | | | | | | | | | | | | | | | | * Refactor audience * audienceのないAP Object 対応 * fix * Update src/remote/activitypub/audience.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update src/remote/activitypub/audience.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* v12 (#5712)syuilo2020-01-301-1/+0
| | | | | Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com> Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
* Add Event activity-type support (#5785)MeiMei2020-01-301-2/+2
|
* AP引用でquoteUrlに対応 (#5632)MeiMei2019-12-151-9/+35
| | | | | | | | | | | | | | | | | | | | | | * Supports quoteUrl * Quote resolveをリトライする * Update src/remote/activitypub/models/note.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update src/remote/activitypub/models/note.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update src/remote/activitypub/models/note.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update src/remote/activitypub/models/note.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* Implement Talk has read federation (#5636)MeiMei2019-12-151-1/+1
| | | | | | | | | | * Talk read * fix * 複数のRead ActivityはCollectionとして送るように * あ
* Remove unused importsyuilo2019-11-181-1/+0
|
* Fix bugsyuilo2019-11-181-2/+2
|
* Refactorsyuilo2019-11-181-4/+4
|
* Store nodeinfo per federated instances (#5578)syuilo2019-11-051-0/+2
| | | | | | | | | | * Store nodeinfo per federated instances * Update fetch-nodeinfo.ts * Update fetch-nodeinfo.ts * update
* Talk federation (#5534)MeiMei2019-10-291-0/+8
|
* Fix #5539 (#5542)MeiMei2019-10-281-3/+3
|
* Fix #5508 (#5509)MeiMei2019-10-161-2/+2
|
* Decrease tag limitsyuilo2019-09-271-2/+2
|
* Limit the tag counts to 100 (#5263)Acid Chicken (硫酸鶏)2019-09-271-2/+2
| | | | | | | | | | | | * Limit the tag counts to 256 * Update create.ts * Update create.ts * Update create.ts * Limit the user tag
* AP featured collectionの修正 / Collection Activityの対応 / ↵MeiMei2019-09-271-2/+3
| | | | | | | | | | | | | | typeの修正など (#5460) * resolver type / fix updateFeatured * type ApObject * fix strange type * AP Activity * Collection Activityが失敗したらとりあえず無視