Commit graph

1216 commits

Author SHA1 Message Date
Eugen Rochko
9bd2b6be86 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.
2017-02-04 00:34:31 +01:00
Eugen Rochko
c6f0dfadf7 Add CORS to the streaming API 2017-02-03 18:27:42 +01:00
hoodie
b86d1739a3 easier comprehension of toot settings and properties (#595)
sounds complex, but really it just reorganizes the posting options and
adds a seperator line
2017-02-03 15:54:23 +01:00
James
702623b347 fix extraneous text in 2fa readme (#592) 2017-02-03 00:10:22 +01:00
Eugen
0a19f0b2c8 Add tootyfruity 2017-02-02 20:27:53 +01:00
Eugen
d693e338b8 Update Sponsors.md 2017-02-02 20:14:02 +01:00
Eugen
11496d174a Update Sponsors.md 2017-02-02 19:43:21 +01:00
Eugen
603c00684d Updated list of top sponsors 2017-02-02 19:40:15 +01:00
Eugen Rochko
c51f8dd4e4 Fix streaming API queries 2017-02-02 17:10:59 +01:00
Eugen Rochko
e1699dcf56 Fix bug 2017-02-02 16:57:09 +01:00
Eugen Rochko
b860cbcbdf Adding documentation for streaming API. Fixing filtering bug 2017-02-02 16:35:06 +01:00
Eugen Rochko
2db5a5a981 Make node read the right .env file 2017-02-02 16:11:36 +01:00
Eugen Rochko
d10d56275b Add redis configuration to streaming API 2017-02-02 15:29:41 +01:00
Eugen Rochko
8f7aac3076 Fix potential resource leaks in streaming server 2017-02-02 15:20:31 +01:00
Eugen Rochko
999ecc9d69 Add logging and filtering to the node.js streaming API 2017-02-02 13:56:14 +01:00
Eugen Rochko
d4601c094f Add streaming API in Node.js 2017-02-02 01:31:09 +01:00
Eugen Rochko
58c509d3a8 Prevent potential issue with public/hashtag statuses arriving after
they have been loaded and favourited/reblogged from another source

Since the status JSON returned from public/hashtag streams does not
contain favourited/reblogged attributes, merging them should not
override existing ones.
2017-02-02 00:49:25 +01:00
Eugen Rochko
00261b46ec Move rendering of JSON payloads for public/hashtag timelines to
FanOutOnWriteService. The only recipient-specific part on them
is reblogged/favourited. But since only newly created statuses
appear on them, it is safe to assume that both attributes would
be false
2017-02-02 00:39:17 +01:00
Eugen Rochko
727d236fcc Cleaning up format of broadcast real-time messages, removing
redis-backed "mentions" timeline as redundant (given notifications)
2017-02-02 00:03:31 +01:00
Eugen Rochko
1e89e8e74d Looks like log level :debug is required for activerecord times to be tracked 2017-02-01 12:13:16 +01:00
Eugen Rochko
8f9729ec2d Fix activerecord logging in production 2017-02-01 11:34:50 +01:00
Eugen Rochko
edcfbee9f5 Fix #529 - Make hashtag timelines show conversations, fix hashtag loading in the UI 2017-01-31 22:35:38 +01:00
Eugen Rochko
0197a0b7f2 Revert to animating avatars by default 2017-01-31 19:16:35 +01:00
Eugen Rochko
e73fbf8e03 Fix elephant friend 2017-01-31 19:08:24 +01:00
Eugen Rochko
d980ca2514 Fix CORS issue on avatars resampling 2017-01-31 19:06:13 +01:00
tom
7707d41baa Fix text overlapping image in Edge and on mobile (#582)
Changing the way the background image is positioned and the box is sized should fix problems with the text overlapping the image on mobile browsers and Edge.
2017-01-31 19:06:03 +01:00
Eugen Rochko
38b7551359 Add "open in web" link to detailed public status pages 2017-01-30 23:01:37 +01:00
Eugen Rochko
faef108904 Fix not reloading account/fetching relationship on newly independent components 2017-01-30 22:35:36 +01:00
Eugen Rochko
b9ec5973eb Make profile header scroll along with contents. AccountTimeline, Followers and Following are no longer
nested inside a common parent (<Account>), instead they all embed <HeaderContainer />
2017-01-30 21:44:11 +01:00
Eugen Rochko
28e528bfcb Add capistrano to development environment 2017-01-30 20:03:17 +01:00
Eugen Rochko
ba7434582f Add explicit "load more" link to the bottom of StatusList and notifications 2017-01-30 18:07:17 +01:00
Eugen Rochko
c550b65d60 Improve avatar resampling of non-animated canvas 2017-01-30 15:43:48 +01:00
Eugen Rochko
e5e32993e7 Merge branch 'PurpleBooth-add-missing-back-on-follow' 2017-01-30 15:22:31 +01:00
Eugen Rochko
7444036a57 Resolve confusion between ColumnBackButton and the slim version that
the public timeline has been using
2017-01-30 15:22:04 +01:00
Billie Thompson
8370a72ee9 Add missing back button to "Follow Requests"
Currently we have the problem where the follow request button is missing
from the Follow request tab. This means that when you visit that tab you
either have to press the back button in the browser or re-enter the home
page, which breaks the app flow.

This will resolve that issue by adding a new back button to that tab,
in the same way that the public timeline, and favourites have.
2017-01-29 18:53:51 +00:00
James
32ff6edba1 Add 2-FA instructions for non-technical users (#580) 2017-01-29 19:26:27 +01:00
Eugen
e05d1b9b7c Update some API docs 2017-01-29 14:40:57 +01:00
Misty De Meo
f4fbed2aab Fix avatar scaling on high-DPI displays (#573) 2017-01-29 14:26:50 +01:00
Eugen Rochko
e2f30cb2ff Update sample .env 2017-01-29 13:06:58 +01:00
Eugen Rochko
e04c691737 Add more links to main docs page 2017-01-29 12:59:02 +01:00
Eugen Rochko
0cbb2535e4 Fix JSON formatting in docs 2017-01-29 12:55:12 +01:00
Eugen Rochko
e149b2b779 Update docs with information about push notifications 2017-01-29 12:53:50 +01:00
Eugen Rochko
546423df0f Add tests for new API 2017-01-29 12:35:55 +01:00
Eugen Rochko
d5a3d0aca2 Fix tests 2017-01-29 12:25:10 +01:00
Eugen Rochko
9327d05bf7 API for apps to register for push notifications 2017-01-29 01:30:32 +01:00
Eugen Rochko
bcfa0d4d64 Fix #569 - seeds.rb 2017-01-29 00:12:27 +01:00
Eugen Rochko
dc7659c938 Fix settings design on mobile 2017-01-28 21:57:03 +01:00
Eugen Rochko
c58da52e9f Split 2FA login into two prompts 2017-01-28 20:43:38 +01:00
Eugen Rochko
550005f40d Add pixel background to modal images 2017-01-28 04:04:09 +01:00
Eugen Rochko
557de8e24c Update settings to re-use admin layout, one big navigation tree, improve settings forms 2017-01-28 03:56:10 +01:00