cd26e3a35c
fixup: missing parenthesis
2023-01-08 19:34:03 +01:00
8772181b6f
server: refactor remote host check to validateActor
...
Instead of checking that an actor is not from the local host separately,
it seems like a good idea to do it in the central place that is supposed
to validate an actor.
2023-01-07 19:46:05 +01:00
0c8a3cfeec
server: fix lints
2023-01-03 03:51:38 +01:00
8c759dde6c
server: fix error about duplicate resolve
2022-12-15 19:44:55 +01:00
16d091497a
server: use extractDbHost instead of toPuny, translate comments
...
Also swapped logical or for nullish coalescing operator in some places.
2022-12-15 00:32:15 +01:00
ef53ec276a
activitypub: simplify some URI/id related checks
...
followup on previous commit
2022-12-15 00:31:23 +01:00
3ef1a4b0f9
refactor: remove default export for Resolver
2022-12-11 18:23:07 +01:00
e2ce599aca
fix: properly supply resolver
2022-12-08 18:12:05 +01:00
b66f7550ab
server: auto-fix lints
2022-12-07 13:39:21 -05:00
1aa3898db5
server: remove unused import
2022-12-06 23:12:45 +01:00
4cc5b734e7
activitypub: remove integration fields from person and nodeinfo
2022-12-06 21:49:19 +01:00
a421dd401c
activitypub: refactor to always apply recursion limit
...
Refactor to remove as many "new Resolver" as possible.
2022-12-04 21:11:44 +01:00
194fff3603
activitypub: hashtags no longer displaying as links
...
Some hashtags sent from Mastodon were erroneously displayed as links.
This is because Mastodon seems to mangle hashtags containing non-ASCII
codepoints (such as e.g. umlauts). This lead to the previous code which
depended on the list of hashtags to not recognize a hashtag. Instead,
the `rel="tag"` microformat is recognized instead.
This makes the `htmlToMfm` wrapper function unnecessary so it was removed.
Changelog: Fixed
2022-12-02 19:31:57 +01:00
e49b8d0ef3
server: remove unnecessary apLogger aliases
2022-12-02 18:58:19 +01:00
Derek Schmidt
11a6e706f4
server: Use shared resolver in featured and question accept
2022-12-01 04:40:14 -05:00
36a0e48e49
bacakend: prefer absolute over relative imports
...
There are still many places where import paths with `..` are used and
maybe should use absolute paths also.
2022-10-01 14:40:30 +02:00
57f4312a27
chore: Change Misskey references to Foundkey
...
Also remove the contributors list from about-foundkey (renamed from
about-misskey).
Some comments that referenced Misskey were also translated to English.
Closes: FoundKeyGang/FoundKey#141
2022-09-13 13:19:36 -04:00
7a80015225
fix lint "no-param-reassign"
2022-08-10 16:36:54 +02:00
ba0236700d
chore: remove unused imports
2022-07-12 14:41:10 +02:00
syuilo
31e5c5f69a
refactor
...
Resolve #8467
2022-04-17 20:58:37 +09:00
syuilo
02bb36cdc4
refactor: fix type
2022-04-17 20:44:21 +09:00
syuilo
4907dc91f7
lint
2022-04-16 17:18:51 +09:00
syuilo
1c67c26bd8
refactor: migrate to typeorm 3.0 ( #8443 )
...
* wip
* wip
* wip
* Update following.ts
* wip
* wip
* wip
* Update resolve-user.ts
* maxQueryExecutionTime
* wip
* wip
2022-03-26 15:34:00 +09:00
syuilo
ac8c66f5ab
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
51517cf96c
fix esm
2022-03-01 01:26:32 +09:00
syuilo
4701127946
fix esm
2022-03-01 01:24:50 +09:00
tamaina
e314be5b59
Fix avatar/banner proxy ( #8346 )
...
* Fix avatar/banner proxy
Co-authored-by: mei23 <m@m544.net>
* use getAvatarUrl
* fix
* join avatar and banner to improve performance
* join
* Update hybrid-timeline.ts
* fix
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +09:00
syuilo
d071d18dd7
refactor: Use ESM ( #8358 )
...
* wip
* wip
* fix
* clean up
* Update tsconfig.json
* Update activitypub.ts
* wip
2022-02-27 11:07:39 +09:00
syuilo
b6db709e02
refacator: fix typw
2022-02-19 14:53:33 +09:00
3ff89fa7ec
feat: Option to show replies in timeline (rebase #7685 ) ( #8202 )
...
* Add an option for timeline replies. Credit to Emilis (puffaboo)
* update db on request
2022-02-06 16:02:48 +09:00
syuilo
c69b72e199
fix lint
2021-12-09 23:58:30 +09:00
syuilo
8b7f5be878
fix for lint
2021-11-13 19:10:14 +09:00
syuilo
b9eaf906e7
fix lint errors
2021-11-12 10:52:10 +09:00
syuilo
0e4a111f81
refactoring
...
Resolve #7779
2021-11-12 02:02:25 +09:00