]> cat aescling's git repositories - mastodon.git/commit
Make the streaming API also handle websockets (because trying to get the browser...
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 3 Feb 2017 23:34:31 +0000 (00:34 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 3 Feb 2017 23:34:31 +0000 (00:34 +0100)
commitccb8ac857330e1ad3aee37b340e5c6e242ac1dd6
tree38c2bd062cd619f12d31836a1dc4ad2e2f70468d
parent8c0bc1309fd40807cf5895b492fc7d1a2c9d7b83
Make the streaming API also handle websockets (because trying to get the browser EventSource interface to
work flawlessly was a nightmare). WARNING: This commit makes the web UI connect to the streaming API instead
of ActionCable like before. This means that if you are upgrading, you should set that up beforehand.
14 files changed:
.env.production.sample
app/assets/javascripts/application.js
app/assets/javascripts/cable.js [deleted file]
app/assets/javascripts/components/containers/mastodon.jsx
app/assets/javascripts/components/features/hashtag_timeline/index.jsx
app/assets/javascripts/components/features/public_timeline/index.jsx
app/assets/javascripts/components/stream.jsx [new file with mode: 0644]
app/views/home/index.html.haml
config/initializers/ostatus.rb
docker-compose.yml
docs/Running-Mastodon/Production-guide.md
package.json
streaming/index.js
yarn.lock