Mastodon (Freak U edition). Fork of https://github.com/glitch-soc/mastodon
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
David Yip 9105b0c954
Introduce html2text for extracting plaintext from statuses. #236.
Unlike strip_tags, html2text will preserve text present in other nodes,
e.g. anchor tags:

    [1] pry(main)> str = '<a href="http://www.example.com">A link</a>'
    => "<a href=\"http://www.example.com\">A link</a>"
    [2] pry(main)> Html2Text.convert(str)
    => "[A link](http://www.example.com)"
    [3] pry(main)> include ActionView::Helpers::SanitizeHelper
    => Object
    [4] pry(main)> strip_tags(str)
    => "A link"

Preserving the href of an anchor allows keyword mutes to also match on
URLs, which is something that the frontend regex filter can currently
do.
2018-02-10 10:36:16 -06:00
.github Move files for GitHub to .github directory (#5989) 2017-12-12 15:10:12 +01:00
app Glitch::FilterHelper -> Glitch::KeywordMuteHelper. #234. 2018-02-10 10:36:15 -06:00
bin
config Merge remote-tracking branch 'origin/master' into merge-upstream 2018-02-04 16:36:19 -06:00
db db/schema.rb: resolve erroneously-unresolved conflict 2018-02-04 17:04:22 -06:00
docs
lib Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2018-02-04 03:17:11 +00:00
log
nanobox
public
spec Glitch::FilterHelper -> Glitch::KeywordMuteHelper. #234. 2018-02-10 10:36:15 -06:00
streaming Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2017-12-13 18:17:16 +00:00
vendor/assets
.babelrc
.buildpacks
.codeclimate.yml Upgrade ESLint to version 4.x (#6276) 2018-01-17 16:57:15 +01:00
.dockerignore
.editorconfig
.env.nanobox
.env.production.sample Merge remote-tracking branch 'origin/master' into merge-upstream 2018-02-04 16:36:19 -06:00
.env.test
.env.vagrant
.eslintignore
.eslintrc.yml Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2018-01-17 16:17:10 +00:00
.foreman
.gitattributes
.gitignore
.gitmodules Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
.haml-lint.yml
.nanoignore
.nvmrc
.postcssrc.yml
.profile
.rspec
.rubocop.yml
.ruby-version Add support Ruby v2.5.0 (#6097) 2018-01-19 20:53:30 +01:00
.scss-lint.yml Enable CodeClimate SCSS Lint checks (#2886) 2017-05-07 20:47:31 +02:00
.slugignore
.travis.yml Merge remote-tracking branch 'origin/master' into gs-master 2018-01-24 23:10:19 -06:00
.yarnclean
Aptfile
CODE_OF_CONDUCT.md update code of conduct email address 2017-11-21 11:01:28 -05:00
CONTRIBUTING.md
Capfile
Dockerfile Merge remote-tracking branch 'origin/master' into merge-upstream 2018-01-19 15:22:10 -06:00
Gemfile Introduce html2text for extracting plaintext from statuses. #236. 2018-02-10 10:36:16 -06:00
Gemfile.lock Introduce html2text for extracting plaintext from statuses. #236. 2018-02-10 10:36:16 -06:00
LICENSE
Procfile
Procfile.dev
README.md
Rakefile
Vagrantfile Merge remote-tracking branch 'origin/master' into merge-upstream 2018-02-04 16:36:19 -06:00
app.json
boxfile.yml
config.ru
docker-compose.yml Isolate internal services from external networks in Docker configuration (#6369) 2018-02-03 18:44:22 +01:00
docker_entrypoint.sh dockerfile: Give more stack space to /sbin/tini. 2018-01-11 04:09:16 -06:00
jest.config.js
package.json Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2018-01-17 16:17:10 +00:00
scalingo.json
stack-fix.c dockerfile: Give more stack space to /sbin/tini. 2018-01-11 04:09:16 -06:00
yarn.lock Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 2018-01-17 16:17:10 +00:00

README.md

Mastodon Glitch Edition

Now with automated deploys!

Build Status

So here's the deal: we all work on this code, and then it runs on dev.glitch.social and anyone who uses that does so absolutely at their own risk. can you dig it?