You want to remove the github link and most importantly the freaking version, because it’s no one’s business what version your server runs!
edit
app/javascript/mastodon/features/ui/components/link_footer.js
search for “getting_started.open_source_notice”
There’s a little React component tag
1 2 3 4 5 6 7 |
<p> <FormattedMessage id='getting_started.open_source_notice' defaultMessage='Mastodon is open source software. You can contribute or report issues on GitHub at {github}.' values={{ github: <span><a href="{source_url}" rel="noopener noreferrer" target='_blank'>{repository}</a> (v{version})</span> }} /> </p> |
Delete it. All of it.
After that you’ll have to run the following commands
1 2 3 |
yarn upgrade RAILS_ENV=production bundle exec rails assets:precompile RAILS_ENV=production bin/tootctl cache clear |
and of course restart all of your services.
Now you will get some people saying “but that’s a violation of the licence”.
NO! If you’re stupid enough to add the version that’s used in the damned footer you have to right to remove this nonsense to protect your server’s security.
After all you’re the one providing the hardware and administration effort. They’re just writing the code. They want their software running on your hardware. As a hardware provider it’s your obligation to remove harmful code from your servers. Mastodon is not exempt.