summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/models/person.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactoringsyuilo2021-11-121-494/+0
| | | | Resolve #7779
* fix: ↵MeiMei2021-10-311-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 削除したノートやユーザーがリモートから参照されると復活することがあるのを修正 (#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>
* fix: truncate image descriptions (#7699)Johann1502021-09-301-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-191-1/+1
|
* fix: mochaが動かないため拡張子なしに戻したsyuilo2021-08-191-25/+25
|
* refactor: refactoring importssyuilo2021-08-191-25/+25
| | | | | | | | 将来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>
* 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-311-4/+4
| | | | | | | | | | | * Supports Array type * Fix * Fix Service to Note * Update type.ts 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-231-5/+5
|
* Fix #7212 (#7215)MeiMei2021-02-171-14/+15
|
* refactor: resolve #7139syuilo2021-02-131-2/+1
|
* 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を検証対象に
* chore: Use kebab-case for file namessyuilo2020-04-261-1/+1
|
* Fix url type of AP object #6231 (#6234)MeiMei2020-04-111-3/+3
|
* refactor: Use ===syuilo2020-04-041-2/+2
|
* APメンションはaudienceじゃなくてtagを参照するなど (#6128)MeiMei2020-04-031-27/+26
| | | | | | | | | | | | | | | | | | | * APメンションはaudienceじゃなくてtagを参照するなど * AP/tag/Mentionではurlじゃなくてuriを提示する * createPersonでaliasが入力された場合に対応 * AP HTMLパースでMention/Hashtag判定にtagを使うように * fix * indent * use hashtag name * fix * URLエンコード不要だったら<>を使わないの条件が消えたたのを修正
* Resolve #1669syuilo2020-02-011-8/+1
|
* 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
* 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が失敗したらとりあえず無視
* Resolve #2716 (#5340)Satsuki Yanagi2019-08-251-2/+2
| | | | | | * Resolve #2716 * Update ja-JP.yml
* updateHashtagを並列で行わないように (#5284)MeiMei2019-08-181-5/+3
|
* Use WHATWG APIsyuilo2019-06-181-1/+0
| | | | > New application code should use the WHATWG API.
* Resolve #365syuilo2019-06-151-3/+5
|
* Fix: ピン留め投稿の表示順がおかしい (#4906)MeiMei2019-05-121-1/+7
| | | | | | * Fix: syuilo#4904 * fix comment
* Fix: ↵MeiMei2019-04-211-12/+7
| | | | | | | | リモートユーザーの修復処理が自動的に実行されない など for v11 (#4764) * Fix #4761 * Fix: updatePersonができない
* Fix bugsyuilo2019-04-191-2/+1
|
* Fix bugsyuilo2019-04-191-2/+2
|
* Better error handlingsyuilo2019-04-141-4/+4
|
* strictNullChecks (#4666)syuilo2019-04-131-39/+42
| | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
* Fix bugsyuilo2019-04-121-1/+1
|
* トランザクションを使うようにしたりsyuilo2019-04-121-34/+37
|
* Fix: AP actor Service のサポートが不完全 (v11) (#4662)MeiMei2019-04-111-1/+2
|
* Fix bugsyuilo2019-04-101-0/+1
|
* テーブル分割syuilo2019-04-101-13/+10
|