diff options
| -rw-r--r-- | TODO.md | 6 | ||||
| -rw-r--r-- | html.c | 4 | ||||
| -rw-r--r-- | snac.h | 2 |
3 files changed, 9 insertions, 3 deletions
| @@ -16,6 +16,10 @@ The Mastodon official app crashes (or gives a ownVotes is null error) when tryin | |||
| 16 | 16 | ||
| 17 | ## Wishlist | 17 | ## Wishlist |
| 18 | 18 | ||
| 19 | Implement account migration from Mastodon to snac. | ||
| 20 | |||
| 21 | Implement account migration from snac to Mastodon. | ||
| 22 | |||
| 19 | Track 'Event' data types standardization; how to add plan-to-attend and similar activities (more info: https://event-federation.eu/) | 23 | Track 'Event' data types standardization; how to add plan-to-attend and similar activities (more info: https://event-federation.eu/) |
| 20 | 24 | ||
| 21 | Implement "FEP-3b86: Activity Intents" https://codeberg.org/fediverse/fep/src/branch/main/fep/3b86/fep-3b86.md | 25 | Implement "FEP-3b86: Activity Intents" https://codeberg.org/fediverse/fep/src/branch/main/fep/3b86/fep-3b86.md |
| @@ -24,8 +28,6 @@ Track "FEP-ef61: Portable Objects" https://codeberg.org/fediverse/fep/src/branch | |||
| 24 | 28 | ||
| 25 | Integrate "Added handling for International Domain Names" PR https://codeberg.org/grunfink/snac2/pulls/104 | 29 | Integrate "Added handling for International Domain Names" PR https://codeberg.org/grunfink/snac2/pulls/104 |
| 26 | 30 | ||
| 27 | Consider adding Mastodon import functionality (for following_accounts.csv and outbox.json). | ||
| 28 | |||
| 29 | Do something about Akkoma and Misskey's quoted replies (they use the `quoteUrl` field instead of `inReplyTo`). | 31 | Do something about Akkoma and Misskey's quoted replies (they use the `quoteUrl` field instead of `inReplyTo`). |
| 30 | 32 | ||
| 31 | Add support for /share?text=tt&website=url (whatever it is, see https://mastodonshare.com/ for details). | 33 | Add support for /share?text=tt&website=url (whatever it is, see https://mastodonshare.com/ for details). |
| @@ -1726,6 +1726,10 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, | |||
| 1726 | content = ""; | 1726 | content = ""; |
| 1727 | } | 1727 | } |
| 1728 | 1728 | ||
| 1729 | /* skip ugly line breaks at the beginning */ | ||
| 1730 | while (xs_startswith(content, "<br>")) | ||
| 1731 | content += 4; | ||
| 1732 | |||
| 1729 | xs *c = sanitize(content); | 1733 | xs *c = sanitize(content); |
| 1730 | 1734 | ||
| 1731 | /* do some tweaks to the content */ | 1735 | /* do some tweaks to the content */ |
| @@ -1,7 +1,7 @@ | |||
| 1 | /* snac - A simple, minimalistic ActivityPub instance */ | 1 | /* snac - A simple, minimalistic ActivityPub instance */ |
| 2 | /* copyright (c) 2022 - 2024 grunfink et al. / MIT license */ | 2 | /* copyright (c) 2022 - 2024 grunfink et al. / MIT license */ |
| 3 | 3 | ||
| 4 | #define VERSION "2.59-dev" | 4 | #define VERSION "2.59" |
| 5 | 5 | ||
| 6 | #define USER_AGENT "snac/" VERSION | 6 | #define USER_AGENT "snac/" VERSION |
| 7 | 7 | ||