ABDL-link / bottle

ABDL.link fork of the Mastodon project
https://abdl.link
GNU Affero General Public License v3.0
4 stars 2 forks source link

Increase character limit with enforced CW over 1K #6

Open ghost opened 5 years ago

ghost commented 5 years ago

Pitch

We have the default 500 character limit currently, we have talked about increasing it but rejected the idea as users might misuse it.

But after seeing https://github.com/tootsuite/mastodon/pull/10629#issuecomment-486259998

imaginair.es allows for posts up to 10k characters (with a forced CW when it gets over 1k)

I think we should implement it like this with enforced CW after 1K characters.

Motivation

Lots of users that came over from Tumblr want to post short stories, this might allow them to without massive threads.

wxcafe commented 5 years ago

want the diff?

ghost commented 5 years ago

@wxcafe that would be super helpful!

wxcafe commented 5 years ago

Oh sorry I just saw your DM so yeah it's glitch-soc only but it's not an admin option, I modified the code. I can give you a diff that you can merge into your repo, though you'll have to keep it working with up-to-date versions

ghost commented 5 years ago

@wxcafe cool, we should be able to manage that.

wxcafe commented 5 years ago

okay this https://gist.github.com/wxcafe/f7ddf0f93138f813885f3eb128302f0b should work against glitch-soc master, but if it doesn't it's not too much change, you can probably apply the diff manually

wxcafe commented 5 years ago

hey btw I fixed the way this counted text length to make it correctly count URLs and stuff like that, you might want to apply this commit too https://github.com/wxcafe/mastodon/commit/5a93c6e6ae104775d4d917cb9fb5a35abdadf172