summaryrefslogtreecommitdiff
path: root/packages/backend/src/services/fetch-instance-metadata.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* なんかもうめっちゃ変えたsyuilo2022-09-181-268/+0
|
* enhance: read theme color nodeinfo (#8977)Johann1502022-07-131-3/+3
| | | | | | | | * provide theme color in nodeinfo metadata * read theme color from nodeinfo Prefer to read the theme color from the nodeinfo since it is more performant than performing selector search on a DOM.
* enhance: uniform theme color (#8702)Johann1502022-05-191-9/+5
| | | | | | | | | | | | | | | | | | * enhance: make theme color format uniform All newly fetched instance theme colors will be uniformely formatted as hashtag followed by 6 hexadecimal digits. Colors are checked for validity and invalid colors are not handled. * better input validation for own theme color * migration to unify theme color formats Fixes theme colors of other instances as well as the local instance. * add changelog entry Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix typessyuilo2022-04-031-5/+6
|
* refactor: migrate to typeorm 3.0 (#8443)syuilo2022-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * Update following.ts * wip * wip * wip * Update resolve-user.ts * maxQueryExecutionTime * wip * wip
* refactor: Use ESM (#8358)syuilo2022-02-271-6/+6
| | | | | | | | | | | | | | | * wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
* fix: also recognize "shortcut icon" favicon (#8220)Johann1502022-02-231-6/+12
| | | | | | | | | | | | | | | | | | | | | | | * also recognize "shortcut icon" favicon Not using querySelector for this because it uses jsdom which might be slower. Reversing the order because WHATWG says the last appropriate link should be used. * also fetchIconUrl * br * improve readability * fix * フォールバックにhrefの評価を含める * fix val name * 将来的な拡張を考えたコードにした Co-authored-by: tamaina <tamaina@hotmail.co.jp> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactoringsyuilo2021-11-121-0/+265
Resolve #7779