Commit Graph

21815 Commits

Author SHA1 Message Date
Johann150 17324e1e94
server: add unique constraint for registry items
fixes FoundKeyGang/FoundKey#335
2023-02-03 00:27:33 +01:00
Johann150 8b98c9f2f4
server: remove unused 'domain' column 2023-02-02 23:29:24 +01:00
Johann150 be30e70344
server: add more OpenGraph data, remove custom misskey meta tags
Changelog: Changed
2023-02-01 23:18:10 +01:00
Johann150 39fb7e5946
server: improve OpenGraph data for note attachments
With this change, not all files will be proclaimed to be image files. Only
images, videos and audio files will be represented with OpenGraph data.

More properties for these files will also be represented, e.g. image alt text.

However, if the note has a CW or any of the files are marked sensitive, none
of the files will be used.

The users profile picture will not be used any more.

Changelog: Changed
2023-02-01 22:53:32 +01:00
Johann150 75b14124f2
server: improve variable naming 2023-02-01 11:30:53 +01:00
Johann150 7480e27c0c
server: remove twitter links from HTML templates
Since the twitter integration has been removed, this will never be true
and can therefore be removed.
2023-02-01 11:27:27 +01:00
Johann150 953de3e4b2
adjust mailmap 2023-01-30 19:36:22 +01:00
Johann150 2d32bc33d7
server: fix error for invalid URLs in profile fields
Co-authored-by: Chloe Kudryavtsev <code@code.bunkerlabs.net>
2023-01-30 19:24:15 +01:00
Chloe Kudryavtsev bb3ec8bafe Revert "server: fix user deletion race condition"
This reverts commit cc83cbe523, reversing
changes made to 8abd3ebec7.

This changeset contains:
* multiple type errors
* a foreign key incompatibility
* breaks outgoing note federation (in at least two ways)
2023-01-30 14:59:24 +01:00
Johann150 6fd80816fa
client: remove unused property from MFM component 2023-01-29 14:29:58 +01:00
Johann150 cc83cbe523
server: fix user deletion race condition
Changelog: Fixed
Ref: https://github.com/misskey-dev/misskey/issues/7506
2023-01-29 12:53:29 +01:00
Johann150 8abd3ebec7
client: remove notification forwarding to service worker
This was an interim measure, but now that push notifications are always enabled,
this should not be necessary any more and the service worker should receive
all notifications automatically.
2023-01-29 12:39:26 +01:00
Johann150 36031c083a
docs: adjust parameters for v2 methods other than POST 2023-01-26 13:34:13 +01:00
Johann150 05f8172ce9
docs: describe /ap/ endpoints 2023-01-26 13:25:50 +01:00
Johann150 151053897d
server: lower rate limit for deletion activities
Changelog: Changed
2023-01-26 13:25:50 +01:00
Johann150 95a9027a66
docs: show rate limit information
Changelog: Added
2023-01-26 13:25:49 +01:00
Johann150 57cf6c7163
server: indicate Retry-After when rate limiting
This refactors the rate limiting code to throw an ApiError directly.

Changelog: Added
2023-01-26 08:37:07 +01:00
Johann150 9b76c805ec
fix: DriveFile folder & user undefined instead of null when unrequested 2023-01-25 22:14:53 +01:00
Johann150 21b20920c2
docs: use endpoint stability to mark endpoints deprecated 2023-01-23 20:13:17 +01:00
Johann150 e7644eb757
server: add index to human readable URL 2023-01-23 19:58:07 +01:00
Johann150 66ec875624
server: also search human readable URL
Changelog: Fixed
2023-01-23 18:09:04 +01:00
Johann150 78f5ca3792
server: fix empty array in quote detection 2023-01-22 21:47:02 +01:00
Johann150 c792e4199c
server: add missing return in extractQuoteUrl 2023-01-22 21:42:49 +01:00
Johann150 afa4094050
BREAKING: Remove galleries
Existing gallery posts will be made into normal notes.
If a user has gallery posts, a clip with all gallery posts will be created.

Changelog: Removed
2023-01-22 20:18:57 +01:00
Johann150 c4b5952788
migrate galleries to notes/clips 2023-01-22 19:44:39 +01:00
Johann150 e3fd371f4a
Implement FEP-e232 qoutes
Changelog: Added
2023-01-17 21:49:27 +01:00
Johann150 5893a44ff5
server: parse quote tag syntax
Ref: FEP-e232
2023-01-17 21:45:57 +01:00
Johann150 9bdf24d3a5
enhance: add tag for quotes
Ref: FEP-e232
2023-01-17 21:45:49 +01:00
Johann150 2bbb85b472
backend: remove galleries 2023-01-16 18:53:57 +01:00
Johann150 70fb1e9a5c
foundkey-js: remove galleries 2023-01-16 18:47:29 +01:00
Johann150 48163872ed
client: remove galleries 2023-01-16 18:39:50 +01:00
Johann150 7170b86724
fixup: websocket data parsing + logger 2023-01-14 13:22:09 +01:00
Johann150 96e6187e83
docs: admin password reset 2023-01-14 12:03:50 +01:00
Johann150 3d2cfc075a
fixup: actually check whether the group joining is from the user 2023-01-13 21:55:14 +01:00
Norm 83373e0c51
split build task into parallel and non-parallel versions
This allows FoundKey to be built on systems with 2GB or less RAM without swapping or running out of memory.
2023-01-12 17:08:50 -05:00
Johann150 11518d2f26
add documentation about moderation 2023-01-12 20:53:39 +01:00
Johann150 f9c360d59f
client: remove duplicated check
Since the enclosing block already checks for moderator, this check is unnecessary.
2023-01-12 20:09:24 +01:00
Johann150 2a8792fe07
client: add button to delete all files for moderators
The functionality was already there, there was just no button to access it
for some reason.

closes FoundKeyGang/FoundKey#243

Changelog: Added
2023-01-12 19:42:57 +01:00
Johann150 b8963a0119
update yarn.lock 2023-01-12 19:27:16 +01:00
Johann150 1319dc93d9
server: switch websocket to ws 2023-01-11 23:57:37 +01:00
Johann150 80e2851378
fixup: remove trailing comma in JSON 2023-01-11 20:58:38 +01:00
Johann150 14b48fb07c
client: remove unused dependencies 2023-01-11 20:32:51 +01:00
Johann150 5e2a9224f3
add "fungus" as alias to emoji list 2023-01-11 19:50:29 +01:00
Johann150 624628d582
client: remove unused websocket libraries
The websocket functionality is provided by foundkey-js so there is no need to import
any websocket libraries.
2023-01-11 19:45:18 +01:00
Johann150 e68eeba7a6
fixup: remove admin/delete-account endpoint from foundkey-js
This is a fixup for commit c7ab8839dc.
2023-01-11 19:12:58 +01:00
Johann150 ee2fa2e0be
fixup: import 2023-01-10 20:35:03 +01:00
Johann150 57d1af1117
remove default export in streaming API 2023-01-10 20:30:47 +01:00
Johann150 8c2b7e20b2
translating comments, cleanup 2023-01-09 20:44:01 +01:00
Johann150 fdf30f60e6
server: remove SQL boolean comparisons 2023-01-09 20:43:12 +01:00
Johann150 b245d39b6e
server: delete records of fully deleted users 2023-01-08 21:22:03 +01:00