Commit Graph

202 Commits (c468446f4c52b089cfe1507d2ca79f36f39614ef)

Author SHA1 Message Date
Alyssa Ross cefef2c571 Extract filename obfuscation into module
Eugen Rochko 9b53c7d353 Fix - Turn off e-mail notifications by default
Eugen Rochko cf912e01fd Implement includes caching for timelines APIs
Eugen Rochko 5c78547198 More query optimizations
Eugen Rochko fc90d38893 Moving some counter queries out of subqueries in the API
Eugen Rochko 45c7ee39b3 Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously
Eugen Rochko 52119104b9 Remove some n+1 queries from notifications API
Eugen Rochko e8c27767aa Remove orphaned notifications, add scopes param to app create API
Eugen Rochko da2ef4d676 Adding unified streamable notifications
Eugen Rochko e4f56fa942 Don't create attachments if remote file cannot be fetched
Eugen Rochko 882de42bab Validate presence of text even for remote statuses
Eugen Rochko 2c766bd4b4 Add user locale setting
Eugen Rochko 4f07fb1f0a Fix - Filter statuses from blocked users out of ancestors/descendants results
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko 8152584cf5 Fix - Escape ILIKE special characters from Account.find_remote
Eugen Rochko 20aa777c58 Weigh username matches higher than domain matches in account search
Eugen Rochko 09218d4c01 Use full-text search for autosuggestions
Eugen Rochko 0320ea4b85 Fix public timeline query
Eugen Rochko aabf884c5f Discard misattributed remote statuses, improve timelines filter
Eugen Rochko 17903c6dae Improve filtering of public/hashtag timelines, both in backlog and real-time
Eugen Rochko b13e7dda1f API pagination for all collections using Link header
Eugen Rochko 9aecc0f48a Move timelines API from statuses to its own controller, add a check for
resources that require a user context vs those that don't (such as public timeline)

/api/v1/statuses/public   -> /api/v1/timelines/public
/api/v1/statuses/home     -> /api/v1/timelines/home
/api/v1/statuses/mentions -> /api/v1/timelines/mentions
/api/v1/statuses/tag/:tag -> /api/v1/timelines/tag/:tag
Eugen Rochko bb4d1eb2e8 Improve feed regeneration
Eugen Rochko f5c6baf29d Fix account and hashtag regex
Eugen Rochko 23fc424b7a Account notes (bios) can now contain links. Character limit upped to 160
Eugen Rochko 7bb28bf780 Improve @mention regex
Eugen Rochko 48b9619439 Adding hashtags
Eugen Rochko 62292797ec Adding hashtag model
Eugen Rochko 0160d1d9b5 Enable caching for some rabl views
Eugen Rochko 57304ac375 Catch 404 errors when downloading remote media, add screenshot to landing page
Eugen Rochko fa1cc2d05a Limit returned followees/followers by API to 40 for now
Eugen Rochko f10feb2e70 Fix common followers API
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