425 Commits (634b71ed1d551ee569e5ff5b858ea7eb07c824bd)

Author SHA1 Message Date
Matt Jankowski 3ddd936b03 Refactor exports controller (#1567)
8 years ago
Eugen Rochko 2a7602cad4 Merge branch 'master' of https://github.com/blackle/mastodon into blackle-master
8 years ago
blackle 06444bf050 Allow user to disable the boost confirm dialog in preferences
8 years ago
Eugen 12f72e1740 When avatar/header are GIF, generate static versions (#1428)
8 years ago
Eugen 2810013b93 API param to exclude notification types from response (#1341)
8 years ago
Matt Jankowski 0687ab8ae3 Clean up generation of account webfinger string (#1477)
8 years ago
Eugen c172919745 Fix #1339 - better Atom titles (#1343)
8 years ago
Matt Jankowski 388ec0d5b6 Search cleanup (#1333)
8 years ago
Eugen 9acdb166e8 Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278)
8 years ago
Joël Quenneville d4c94fa004 DRY up reblog vs original status check
8 years ago
Eugen 6d6a429af8 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
8 years ago
Brad Urani 6a1da87cd3 Eliminate unnecessary queries and query clauses with none and all
8 years ago
Samy KACIMI 79ef756f64 fix rubocop issues
8 years ago
Samy KACIMI 81c76fe375 add more tests to models
8 years ago
Eugen Rochko b510a56c0c Only call regeneration worker after first login after a 14 day break
8 years ago
Eugen Rochko 4c53af64f0 Fix ActionController::Parameters in API issue
8 years ago
Eugen Rochko 68f829e11c Add basic logging of who resolved report
8 years ago
Eugen Rochko 808017ff18 Paperclip will complain on its own if this variable is missing
8 years ago
Eugen Rochko e8875c6046 Import feature for following/blocking lists (addresses #62, #177, #201, #454)
8 years ago
Eugen Rochko de22c202f5 Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko 5aa3df017b Fix full-text search query quotation, improve tag search performance with an index,
8 years ago
Eugen Rochko acfee0945c Merge branch 'master' into feature-omnisearch
8 years ago
Eugen Rochko 1b09c3cb17 More efficient single account retrieval (0.9ms vs 50ms before)
8 years ago
Eugen Rochko 05cf086766 New API method: /api/v1/search
8 years ago
Eugen Rochko 2816b1bf8e Federate header images, fix open-uri http->https redirection error
8 years ago
Eugen Rochko ad0d82d3ce Make account search blazing fast and rank followers/followees higher in the results
8 years ago
Eugen Rochko 017350e0ea Add method for retrieving triadic closures
8 years ago
Eugen Rochko 74ae158c2f Add "direct" visibility level in the backend. Web UI is not yet
8 years ago
Eugen Rochko d6cb4bbe99 Performance improvement for profiles
8 years ago
Eugen Rochko 03a857f59a Use more widely supported MP4 format for gifv's
8 years ago
Eugen Rochko 8d93f0ca56 Increase max bitrate of converted webms, slightly optimized counter queries
8 years ago
Eugen Rochko 6382ef2bc6 Add vsync -cfr option when converting gif to webm
8 years ago
Eugen Rochko 79b08c5f0a Higher quality webms? Might improve conversation of some types of gifs
8 years ago
Eugen Rochko 85fce04d1b Detect videos with no sound, handle them like gifv
8 years ago
Eugen Rochko 4fb95c91fb Fix wrongful matching of last period in extended usernames
8 years ago
Eugen Rochko 5f4e402204 Improved /api/v1/accounts/:id/statuses with new params: only_media, exclude_replies
8 years ago
Eugen Rochko caf5b8e975 Fix #431 - convert gif to webm during upload. Web UI treats them like it did
8 years ago
Eugen Rochko 6b81d10030 Add digest e-mails
8 years ago
Eugen Rochko c64a1c25c4 Fix #231 - Muting
8 years ago
Kit Redgrave 442fdbfc53 Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko 175a9b9caa Fix #104 - Style OAuth authorized applications page
8 years ago
Eugen Rochko 53ae431867 Skip remote media URLs that don't have a hostname
8 years ago
Eugen Rochko 4aa5ebe591 Split public timeline into "public timeline" which is local, and
8 years ago
Eugen Rochko 5ddad41245 Do not display non-Status stream entries anymore
8 years ago
Eugen Rochko 24ba7c9762 Adding index overview for reports in admin UI
8 years ago
Eugen Rochko 3b81baaaaf Adding POST /api/v1/reports API, and a UI for submitting reports
8 years ago
Eugen Rochko 0518492158 Stop trying to shoehorn all Salmon updates into the poor database-connected
8 years ago
Eugen Rochko 94d2182717 Resolve issue with rendering authorize/reject Salmon slaps
8 years ago
Eugen Rochko 31c633e528 Fix Status.permitted_for scope query
8 years ago
Eugen Rochko 50660d54e8 Fix semantics of follow requests another slaps
8 years ago
Eugen Rochko 446aad4ce2 Make PuSH only distribute to subscriptions that match follower domains
8 years ago
Eugen Rochko dc851c922e Mentions in private statuses allow mentioned people to see them
8 years ago
Eugen Rochko 149887a0ff Make follow requests federate
8 years ago
Eugen Rochko 0afed995ce Fix the fix
8 years ago
Eugen Rochko 6331ed16e5 Fix #614 - extra reply-boolean on statuses to account for cases when replied-to
8 years ago
Eugen Rochko ac035108aa Add "clear notifications" button, exclude posts from people who have blocked *you* from public/hashtag timelines
8 years ago
Eugen Rochko 347a153b3d Add API modifiers to limit returned toots from public/hashtag timelines
8 years ago
Eugen Rochko 920ba5fc4e Fix #61 - Add list of blocked users to the UI; clean up failed push notifications API
8 years ago
Eugen Rochko 77e13c2bc9 Removing failed push notification API, make context loads use cache
8 years ago
Eugen Rochko d9ca46b464 Cleaning up format of broadcast real-time messages, removing
8 years ago
Eugen Rochko bf60f2898d Fix #529 - Make hashtag timelines show conversations, fix hashtag loading in the UI
8 years ago
Eugen Rochko 3f075c7794 API for apps to register for push notifications
8 years ago
Eugen Rochko ba192f12e3 Added optional two-factor authentication
8 years ago
Eugen Rochko 450ad43180 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
8 years ago
Eugen Rochko cc5c1e5feb Removed accidental n+1 query from notifications, updated some deps,
8 years ago
Eugen Rochko 57f7cf8349 Follow request authorizations faster
8 years ago
Eugen Rochko 999cde94a6 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
8 years ago
blackle bf0f6eb62d Implement a click-to-view spoiler system
8 years ago
Eugen Rochko 6d98a73180 Domain blocks now have varying severity - auto-suspend vs auto-silence
8 years ago
Eugen cea9fb31fe Mitigate inconsistent notifications
8 years ago
Eugen Rochko f0de621e76 Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko f051c2e813 Fix statsd null backend not being initialized properly
8 years ago
Eugen 8b9206f7d9 Try to avoid any potential loops
8 years ago
Eugen Rochko 6cf44ca92c Improve how the list entry Account component looks when target is blocked/follow is requested
8 years ago
Eugen Rochko e9737c2235 Fix tests, add applications to eager loading/cache for statuses, fix
8 years ago
Effy Elden d6bc0e8db4 Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11
8 years ago
Eugen Rochko e25170f960 Add extended about page stub
8 years ago
Eugen Rochko 2939e9898b Extend rails-settings-cached to merge db-saved hash values with defaults
8 years ago
Eugen Rochko b11fdc3ae3 Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
8 years ago
Eugen Rochko 75f80bef10 Persist UI settings, add missing localizations for German
8 years ago
Eugen Rochko 2e71bb031b Fix Paperclip timeout setting. Fix bug introduced in #437
8 years ago
Eugen 69643338f6 Merge pull request #437 from krainboltgreene/patch-1
8 years ago
Kurtis Rainbolt-Greene abe3ae1cc2 Simplifying followers mappings
8 years ago
Kurtis Rainbolt-Greene 4a7e3e5082 Less complicated determination
8 years ago
Kurtis Rainbolt-Greene e5d9009d71 Using "rails style" order arguments
8 years ago
Eugen Rochko 7b9f8766e8 Fix #416 - Generate random unique 14-byte (19 characters) shortcodes
8 years ago
Eugen Rochko 8f47f6a7ec Adding remote follow button
8 years ago
Eugen Rochko 8d44281677 Set in_reply_to_account on statuses to non-self value when possible, thus
8 years ago
Eugen Rochko 49834a6e7f Add API for retrieving blocked accounts
8 years ago
Eugen Rochko 8b94d283fb Fix wrong person being notified after nested reblog call, fix favourites leaking private toots in Atom feeds
8 years ago
Eugen Rochko 2146ac91a0 Follow requests send e-mail notifications, but are excluded from notifications API
8 years ago
Eugen Rochko 004382e4d0 Adding follow requests API
8 years ago
Eugen Rochko 7376af90f7 Don't show statuses to blocked users
8 years ago
Eugen Rochko 6e064cf715 Fix account timelines bug
8 years ago
Eugen Rochko 9d42bff285 Hide follow/unfollow button from public page if follow already requested
8 years ago
Eugen Rochko b891a81008 Follow call on locked account creates follow request instead
8 years ago
Eugen Rochko f91b6fa9e1 Merge branch 'master' into development
8 years ago
Eugen Rochko 3caf0cfb03 Ensure that reblogs and favs always refer to the original status rather than a reblog wrapper
8 years ago
Eugen Rochko 80e02b90e4 Private visibility on statuses prevents non-followers from seeing those
8 years ago
Eugen Rochko aed25932b5 Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
8 years ago
Eugen Rochko 6de079a5af Removing external hub completely, fix #333 fixing digit-only hashtags,
8 years ago
Eugen Rochko 06dd359239 Downsize attachment previews, but improve quality from 80 to 90
8 years ago
Eugen Rochko f978b06dd1 Add suspend account functionality to admin UI
8 years ago
Eugen Rochko 84d2371d6a Fix
8 years ago
Eugen Rochko 39cc9fde8a Add account suspension
8 years ago
Eugen Rochko 64d109dc0e Downsize originals in media attachments, small fixes
8 years ago
Eugen Rochko b362de2232 Adding configurable e-mail blacklist
8 years ago
Eugen Rochko 80c44ed9c1 Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals
8 years ago
Eugen Rochko b14b5e3b44 Improve notification model
8 years ago
Eugen Rochko 816284d739 Fix #248 - Reload all accounts when fetching from cache
8 years ago
Eugen Rochko 3114e55c7a Fix #323 - self-replies to appear in public timelines again
8 years ago
Eugen Rochko 58b3f4fd67 Fix #329 - avatar errors no longer prevent remote accounts from being saved
8 years ago
Eugen Rochko 14bd46946d Per-status control for unlisted mode, also federation for unlisted mode
8 years ago
Eugen Rochko a21bcac9e1 Further abstract caching for includes
8 years ago
Eugen Rochko 7e90772c92 Unify collection caching code
8 years ago
Eugen Rochko 5973ca3d11 Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
8 years ago
Eugen Rochko 4eba76711b Adding backtracing to Salmon/Processing workers
8 years ago
Eugen Rochko f860d15d39 Fix order of attachments (see #269)
8 years ago
Eugen Rochko 2d2c81765b Adding embedded PuSH server
8 years ago
Eugen Rochko 8a4913fde0 Public and hashtag timelines now exclude reblogs and replies
8 years ago
Eugen Rochko 71401659b8 Fix #65 - Options to block notifications from people you don't follow/who don't follow you
8 years ago
Eugen Rochko e3ed212b85 Filter statuses that mention blocked users
8 years ago
Eugen Rochko 8efa081f21 Remove Neo4J
8 years ago
Alyssa Ross cefef2c571 Extract filename obfuscation into module
8 years ago
Eugen Rochko 9b53c7d353 Fix #168 - Turn off e-mail notifications by default
8 years ago
Eugen Rochko cf912e01fd Implement includes caching for timelines APIs
8 years ago
Eugen Rochko 5c78547198 More query optimizations
8 years ago
Eugen Rochko fc90d38893 Moving some counter queries out of subqueries in the API
8 years ago
Eugen Rochko 45c7ee39b3 Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously
8 years ago
Eugen Rochko 52119104b9 Remove some n+1 queries from notifications API
8 years ago
Eugen Rochko e8c27767aa Remove orphaned notifications, add scopes param to app create API
8 years ago
Eugen Rochko da2ef4d676 Adding unified streamable notifications
8 years ago
Eugen Rochko e4f56fa942 Don't create attachments if remote file cannot be fetched
8 years ago
Eugen Rochko 882de42bab Validate presence of text even for remote statuses
8 years ago
Eugen Rochko 2c766bd4b4 Add user locale setting
8 years ago
Eugen Rochko 4f07fb1f0a Fix #144 - Filter statuses from blocked users out of ancestors/descendants results
8 years ago
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko 8152584cf5 Fix #142 - Escape ILIKE special characters from Account.find_remote
8 years ago
Eugen Rochko 20aa777c58 Weigh username matches higher than domain matches in account search
8 years ago
Eugen Rochko 09218d4c01 Use full-text search for autosuggestions
8 years ago
Eugen Rochko 0320ea4b85 Fix public timeline query
8 years ago
Eugen Rochko aabf884c5f Discard misattributed remote statuses, improve timelines filter
8 years ago
Eugen Rochko 17903c6dae Improve filtering of public/hashtag timelines, both in backlog and real-time
8 years ago
Eugen Rochko b13e7dda1f API pagination for all collections using Link header
8 years ago
Eugen Rochko 9aecc0f48a Move timelines API from statuses to its own controller, add a check for
8 years ago
Eugen Rochko bb4d1eb2e8 Improve feed regeneration
8 years ago
Eugen Rochko f5c6baf29d Fix account and hashtag regex
8 years ago
Eugen Rochko 23fc424b7a Account notes (bios) can now contain links. Character limit upped to 160
8 years ago
Eugen Rochko 7bb28bf780 Improve @mention regex
8 years ago
Eugen Rochko 48b9619439 Adding hashtags
8 years ago
Eugen Rochko 62292797ec Adding hashtag model
8 years ago
Eugen Rochko 0160d1d9b5 Enable caching for some rabl views
8 years ago
Eugen Rochko 57304ac375 Catch 404 errors when downloading remote media, add screenshot to landing page
8 years ago
Eugen Rochko fa1cc2d05a Limit returned followees/followers by API to 40 for now
8 years ago
Eugen Rochko f10feb2e70 Fix common followers API
8 years ago
Eugen Rochko e0a197650a Adding common followers API, fixing fallback query again
8 years ago
Eugen Rochko c913bdfc98 Fix follow suggestion fallback to exclude already followed users
8 years ago
Eugen Rochko bfb6cc5f2c Make suggestions box also use user list components
8 years ago
Eugen Rochko 909d0d5e88 Adding public timeline silencing
8 years ago
Eugen Rochko e5565a7e4a Fix suggestions fallback query
8 years ago
Eugen Rochko abb8f5837e Fix public channel
8 years ago
Eugen Rochko a9e40a3d80 Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
8 years ago
Eugen Rochko 04bbc57690 Fix #100 - Add "back" button to certain views
8 years ago
Eugen Rochko 1d2175f73c Do not force-transcode uploaded videos to webm (leave mp4 as-is)
8 years ago
Eugen Rochko a782e3b39d Actually fix public timeline
8 years ago
Eugen Rochko b5c6d00afa Fix #99 - public timeline not just reblogs, fix #98 infinite scrolling issues
8 years ago
Eugen Rochko 13ee88926d Increase default number of loaded suggestions to 10
8 years ago
Eugen Rochko de1f3aab86 Fix #16 - Optimize n+1 queries when checking reblogged/favourited values for status lists in API
8 years ago
Eugen Rochko 1de2833f30 Filter out reblogs of blocked users from public timeline (the not real-time variant)
8 years ago
Eugen Rochko 4470330385 Backfill follow suggestions with fallback when not enough results. Cycling
8 years ago
Eugen Rochko db4671fd3f Fix suggestions fallback
8 years ago
Eugen Rochko 6e0b3ddb0d Fix follow suggestions order
8 years ago
Eugen Rochko 04bfd4262f Fix follow suggestions ranking
8 years ago
Eugen Rochko 7075cef8f9 Adding sort by node rank to follow suggestions and fallback to most influential users
8 years ago
Eugen Rochko 67b35a601a Exclude blocked users from follow suggestions, fix tests
8 years ago
Eugen Rochko edefd87adf Fix multiple results return from FollowSuggestion.get
8 years ago
Eugen Rochko 4d336cefac Add sync command for neo4j, fix configuration, add neo4j to docker-compose, fix seed
8 years ago
Eugen Rochko 20f581f796 Display follow suggestions
8 years ago
Eugen Rochko e21a3fe0cd Adding sync of follow relationships to Neo4J, accounts/suggestions API
8 years ago
Eugen Rochko 2ddf4e09f9 Change how convert options are escaped
8 years ago
Eugen Rochko cdc49c6b4b Allow mp4 uploads, convert to WebM
8 years ago
Eugen Rochko aec51e40ee Make account domains case-insensitive, downcase before checking against local
8 years ago
Eugen Rochko 5f737c7228 Fix default assumed object type (note->activity), make stream entry threaded? check aware of orphaned replies
8 years ago
Eugen Rochko 427ba27641 Public timeline to exclude users you blocked
8 years ago
Eugen Rochko 22a8801dbc Adding domain blocks
8 years ago
Yann Vaillant 35de03fbe3
Strip exif data from uploaded images
8 years ago
Eugen Rochko 06016453bd Adding user settings (model and mailer), no form yet
8 years ago
Eugen Rochko 2c9e672ee2 Integrating block relationships into the API (read-only for now)
8 years ago
Eugen Rochko 9d59d7b463 Adding a block model and filter mentions from blocked users (fix #60)
8 years ago
Eugen Rochko fc198a8b4c Adding e-mail confirmations
8 years ago
Eugen Rochko b3c7c8700d Fix most pages on small screens
8 years ago
Eugen Rochko 188c6f326b Making public pages responsive, removing reblogs/favs counts from them
8 years ago
Eugen Rochko 9fd3d7b6cd Add since_id param to feeds
8 years ago
Eugen Rochko 2d4f9ecebf Validate against multiple reblogs of same status by same account
8 years ago
Eugen Rochko a4f7eca5fa Fix #25 - Only latest reblog of status kept on feed as zset value is set to "true" status ID
8 years ago
Eugen Rochko 927333f4f8 Improve code style
8 years ago
Eugen Rochko e9bc4a4a08 Limit usernames to 30 chars, statuses to 500, open account after follow form success
8 years ago
Eugen Rochko 15f51dbf8c Better styling for selected status in detailed view
8 years ago
Eugen Rochko 1215ab57ff Some extra scopes for user sorting
8 years ago
Eugen Rochko a706f1af04 Don't generate stream entries for streamables of remote accounts
8 years ago