1
0
Gianni Ceccarelli e392d523a7 prepare to import more notes
`recreateChain` converts a list of notes into a forest of notes, using
notes that are not replies as roots, and replies as child nodes,
recursively.

Previously, notes that are replies to notes not included in the
export, and their children, were never put in the forest, and
therefore wheren't imported.

This can be fine when importing from Twitter, since we can't really
link a note to a tweet.

And, for the moment, it's acceptable when importing from *key, because
the export doesn't contain the instance URL, so we can't resolve ids
to remote notes.

It's less fine when importing from Mastodon / Pleroma / Akkoma,
because in those cases we _can_ link to the remote note that the user
was replying to.

This commit makes `recreateChain` optionally return "orphaned" note
trees, so in the (near) future we can use it to properly thread
imported notes from those services.
2023-11-30 13:26:55 +00:00
2023-10-18 09:43:59 +09:00
2022-06-09 00:50:23 +09:00
2023-10-13 17:58:11 +02:00
2023-10-19 20:22:24 +09:00
2023-11-30 13:26:55 +00:00
2023-11-03 15:35:12 +01:00
2023-09-25 01:57:16 +02:00
2022-12-26 16:04:56 +09:00
2023-09-04 13:33:38 +09:00
2018-08-13 00:24:45 +09:00
2023-11-17 18:05:12 +09:00
2023-02-26 14:17:29 +09:00
2022-06-11 15:53:45 +09:00
2023-11-05 21:02:22 +01:00
2023-09-23 04:45:07 +02:00
2018-03-28 22:56:28 +09:00
2023-11-26 17:27:25 +01:00
2019-04-05 18:17:30 +09:00
2023-11-11 01:11:20 +01:00
2023-07-27 19:34:51 +09:00
2023-11-07 15:59:23 +01:00

Sharkey logo

🌎 Sharkey is an open source, decentralized social media platform that's free forever! 🚀


find an instance become a contributor join the community donate Translate Sharkey

Features

  • ActivityPub support
    Not on Sharkey? No problem! Not only can Sharkey instances talk to each other, but you can make friends with people on other networks like Mastodon and Pixelfed!
  • Federated Backgrounds and Music status
    You can add a background to your profile as well as a music status via ListenBrainz, show everyone what music you are currently listening too
  • Mastodon API
    Sharkey implements the Mastodon API unlike normal Misskey
  • UI/UX Improvements
    Sharkey makes some UI/UX improvements to make it easier to navigate
  • Sign-Up Approval
    With Sharkey, you can enable sign-ups, subject to manual moderator approval and mandatory user-provided reasons for joining.
  • Rich Web UI
    Sharkey has a rich and easy to use Web UI! It is highly customizable, from changing the layout and adding widgets to making custom themes. Furthermore, plugins can be created using AiScript, an original programming language.
  • And much more...
S
Description
Mirror of the Pawkey source code
Readme AGPL-3.0 176 MiB
Languages
TypeScript 64.4%
Vue 29.1%
JavaScript 5.9%
SCSS 0.3%
Pug 0.2%