Commit Graph

220 Commits (c424df5192f346dba5332a4b3a2de43b2f028e0c)

Author SHA1 Message Date
Eugen Rochko e0a197650a Adding common followers API, fixing fallback query again
Eugen Rochko c913bdfc98 Fix follow suggestion fallback to exclude already followed users
Eugen Rochko bfb6cc5f2c Make suggestions box also use user list components
Eugen Rochko 909d0d5e88 Adding public timeline silencing
Eugen Rochko e5565a7e4a Fix suggestions fallback query
Eugen Rochko abb8f5837e Fix public channel
Eugen Rochko a9e40a3d80 Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
to the API
Eugen Rochko 04bbc57690 Fix - Add "back" button to certain views
Also fix reloading of timelines after merge-type events
Eugen Rochko 1d2175f73c Do not force-transcode uploaded videos to webm (leave mp4 as-is)
Eugen Rochko a782e3b39d Actually fix public timeline
Eugen Rochko b5c6d00afa Fix - public timeline not just reblogs, fix infinite scrolling issues
Eugen Rochko 13ee88926d Increase default number of loaded suggestions to 10
Eugen Rochko de1f3aab86 Fix - Optimize n+1 queries when checking reblogged/favourited values for status lists in API
Eugen Rochko 1de2833f30 Filter out reblogs of blocked users from public timeline (the not real-time variant)
Eugen Rochko 4470330385 Backfill follow suggestions with fallback when not enough results. Cycling
through suggestions in UI
Eugen Rochko db4671fd3f Fix suggestions fallback
Eugen Rochko 6e0b3ddb0d Fix follow suggestions order
Eugen Rochko 04bfd4262f Fix follow suggestions ranking
Eugen Rochko 7075cef8f9 Adding sort by node rank to follow suggestions and fallback to most influential users
Eugen Rochko 67b35a601a Exclude blocked users from follow suggestions, fix tests
Eugen Rochko edefd87adf Fix multiple results return from FollowSuggestion.get
Eugen Rochko 4d336cefac Add sync command for neo4j, fix configuration, add neo4j to docker-compose, fix seed
Eugen Rochko 20f581f796 Display follow suggestions
Eugen Rochko e21a3fe0cd Adding sync of follow relationships to Neo4J, accounts/suggestions API
Eugen Rochko 2ddf4e09f9 Change how convert options are escaped
Eugen Rochko cdc49c6b4b Allow mp4 uploads, convert to WebM
Eugen Rochko aec51e40ee Make account domains case-insensitive, downcase before checking against local
Eugen Rochko 5f737c7228 Fix default assumed object type (note->activity), make stream entry threaded? check aware of orphaned replies
Eugen Rochko 427ba27641 Public timeline to exclude users you blocked
Eugen Rochko 22a8801dbc Adding domain blocks
Yann Vaillant 35de03fbe3
Strip exif data from uploaded images
Using `-strip` cli options from ImageMagick

http://www.imagemagick.org/script/command-line-options.php#strip

fix 
Eugen Rochko 06016453bd Adding user settings (model and mailer), no form yet
Eugen Rochko 2c9e672ee2 Integrating block relationships into the API (read-only for now)
Eugen Rochko 9d59d7b463 Adding a block model and filter mentions from blocked users (fix )
Eugen Rochko fc198a8b4c Adding e-mail confirmations
Eugen Rochko b3c7c8700d Fix most pages on small screens
Eugen Rochko 188c6f326b Making public pages responsive, removing reblogs/favs counts from them
Eugen Rochko 9fd3d7b6cd Add since_id param to feeds
Eugen Rochko 2d4f9ecebf Validate against multiple reblogs of same status by same account
Eugen Rochko a4f7eca5fa Fix - Only latest reblog of status kept on feed as zset value is set to "true" status ID
Eugen Rochko 927333f4f8 Improve code style
Eugen Rochko e9bc4a4a08 Limit usernames to 30 chars, statuses to 500, open account after follow form success
Eugen Rochko 15f51dbf8c Better styling for selected status in detailed view
Eugen Rochko 1215ab57ff Some extra scopes for user sorting
Eugen Rochko a706f1af04 Don't generate stream entries for streamables of remote accounts
Eugen Rochko c6d893a71d Uploading/undoing media modifies status text. Also: status text trimmed before validation
Eugen Rochko c0e9603c92 Fix - Order ancestors/descendants by tree path
Eugen Rochko e46abc71ca Fix notifications in UI, added new API for fetching account relationships
Eugen Rochko 608a2bfffc Upgrade to PubSubHubbub 0.4 (removing verify_token)
Eugen Rochko 1cfc9aa20e OStatus2 and Goldfinger gems now have timeouts for requests
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