Commit Graph

220 Commits (c424df5192f346dba5332a4b3a2de43b2f028e0c)

Author SHA1 Message Date
Eugen Rochko 059ebbf48d Separate PuSH subscriptions from following, add mastodon:push:refresh task,
respect hub.lease_seconds (fix )
Eugen Rochko bd5ad304ba Adding media controller, 1 webm/compose form allowed, previews generated
Eugen Rochko ce29624c6d Fixing image upload limits, allowing webm, merge/unmerge events trigger
timeline reload in UI, other small fixes
Eugen Rochko 7d45a4e692 Fix local mention regex so it works on newlines in HTML (with a preceding tag)
Eugen Rochko d6b3113304 Validates local username, max sizes for uploads. Fixes
Eugen Rochko 3cc47beb6e Refactored generation of unique tags, URIs and object URLs into own classes,
as well as formatting of content
Eugen Rochko 762157ee4e Fix for single status pages
Eugen Rochko 85d89b472d Optimized n+1 queries in accounts Atom and HTML views
Added stack trace for SQL queries in development
Removed badly thought out accounts/lookup API
Eugen Rochko a4cc966476 Removing default avatars
Eugen Rochko 14fb0ab4a2 Improve JSON output for media attachments, generate :small preview for them
Eugen Rochko ed94e998bc Fix for media attachments remote URL download
Eugen Rochko 1d9c886518 Adding enclosures to Atom and statuses JSON
Eugen Rochko eec0dc46a6 PostStatusService can attach media to status, ProcessFeedService likewise
Eugen Rochko ae1fac0062 Add API to upload media attachments
Eugen Rochko 54ea7f5dfe Case-insensitive search by usernames
Eugen Rochko d0e2733f63 Fix reblogs of reblogs in UI, add follow form in UI
Eugen Rochko 595c8dda60 Favouriting works, reblogging is a little broken because of <Status>
Eugen Rochko 49520d6e62 Adding React.js, Redux, revamping dashboard
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1
Eugen Rochko ff2cbc0753 Remember me enabled by default
Eugen Rochko c38ad208c3 Fix mentions regex to exclude usernames in Medium URLs
Eugen Rochko 85b00d19b8 Moving Salmon notifications to background processing, fixing mini-profiler
behaviour with Turbolinks enabled, optimizing Rabl for production
Eugen Rochko da4b675aca Fix favourite handling in ProcessInteractionService
Eugen Rochko 318886287b Fixing some stuff for Turbolinks, adding gzip on top, fixing a n+1 query
Eugen Rochko e24bfbde1a Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections
in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding
admin status to users
Eugen Rochko a08e724476 Fix subscriptions:clear task, refactor feeds, refactor streamable activites
and atom feed generation to some extent, as well as the way mentions are
stored
Eugen Rochko 0f5bbb999c Pre-loading polymorphic associations for Atom feeds
Eugen Rochko 7e58303a8d Limit Atom feeds to 20 items by default, add pagination by max_id
(But there are no Atom feed pagination elements yet)
Eugen Rochko c8999a116e Sanitize remote html in atom feeds, API (not just UI), use cached mention
relations on Status#mentions
Eugen Rochko 7cd3de3494 Do display top-level content on remote shared notices
Eugen Rochko 082e1cbe5a Fix default max_id query in paginate_by_max_id
Eugen Rochko 12559b01ea Add pagination by max_id instead of offset/limit
Eugen Rochko 02e4fb2e06 Only re-download avatar if URL changed (fix )
Eugen Rochko f14f462eaf Adding Turbolinks, adding status posting form on homepage
Eugen Rochko 35aafdba96 Ancestors and descendants of statuses
Eugen Rochko 7e00a21ea6 Small optimizations in Atom feeds
Eugen Rochko f97fc9744f Use FanOutOnWriteService AFTER processing mentions
Eugen Rochko 9a7485d034 Fix typo on /api/accounts/:id/statuses, fix potential case-sensitivity issue
when registering incoming status mentions, add Travis CI file
Eugen Rochko 323474c97e Fix , add rake task for PuSH-unsubscribing from remote users who have no
local followers. Remote users' usernames SHOULD be case-sensitive
Eugen Rochko e239fc3050 Fix error when unfollowing somebody who wasn't followed in the first place
Eugen Rochko 086d487145 Fix unfollows
Eugen Rochko 9cb690c706 Access tokens no longer expire, case-insensitive local username validation, as well as case-insensitive Webfinger look-up
Eugen Rochko a9db42a956 Validations for local profiles
Eugen Rochko 5c99e304e5 Deleting statuses, deletion propagation
Eugen Rochko 75b3339a99 Respect "delete" verb on remote feeds
Eugen Rochko 6fec8afc3f Bind oauth applications to users
Eugen Rochko 3441361568 Adding simple_form, adding profile settings, header image
Eugen Rochko aab9f57e36 Adding config for puma, dashboard layout, fixing some queries
Eugen Rochko 447cfef62d Improving feed queries, switching API to doorkeeper authentication
Eugen Rochko 6c4c84b161 Distrubute statuses as a fan-out-on-write system, with optional precomputing
Eugen Rochko ab6696e855 Adding doorkeeper, adding a REST API
POST /api/statuses                  Params: status (text contents), in_reply_to_id (optional)
GET  /api/statuses/:id
POST /api/statuses/:id/reblog

GET  /api/accounts/:id
GET  /api/accounts/:id/following
GET  /api/accounts/:id/followers
POST /api/accounts/:id/follow
POST /api/accounts/:id/unfollow

POST /api/follows                  Params: uri (e.g. user@domain)

OAuth authentication is currently disabled, but the API can be used with HTTP Auth.
Eugen Rochko aab330eb2d Adjusting design of public pages, optimizing account page queries
Eugen Rochko 6045b6cb18 Customizing devise views and controllers
Eugen Rochko 7e93da3f8d Removing grape and adding devise
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things
Eugen Rochko 11ff92c9d7 Adding a test for ReblogService, fixing mentions for remote statuses
Eugen Rochko 8fada4fae2 When posting a status or reblogging one, ping hubs about the feed update
Eugen Rochko 5ae54f9e36 Adding avatars to profile page and statuses
Eugen Rochko 2c70f0ecaa Adding paperclip for avatars, fixing design of the public pages
Eugen Rochko 24646d5769 Adding views for the profile and entry pages
Eugen Rochko f16b31f077 Adding a bunch of tests
Eugen Rochko 71fe24096c Adding a Mention model, test stubs
Eugen Rochko 79609d6270 Add service for posting statuses (normal and replies), mention regex to
fetch webfinger information of mentioned accounts
Eugen Rochko fa7868675d Send Salmon interactions
Eugen Rochko 79baf2fd99 Process favourites, reblogs and replies from Salmon
Eugen Rochko fa33750105 Adding reblogs, favourites, improving atom generation
Eugen Rochko 2bc48e9064 Individual atom entries
Eugen Rochko 1dad72bf13 Fixes and general progress
Eugen Rochko 709c6685a9 Made some progress
Eugen Rochko 9c4856bdb1 Initial commit