529 Commits (7a93acd803f3c0853d6beeb046eac7c1a597a827)

Author SHA1 Message Date
Eugen Rochko 177dd8bb53 Fix regression from #3592 - validation condition nesting (#3644)
8 years ago
Eugen Rochko c207b4bb33 Fix db:seed - only run some validations when the field was changed (#3592)
8 years ago
Yamagishi Kazutoshi 0a0b9a271a Improve RuboCop rules (compatibility to Code Climate) (#3636)
8 years ago
unarist 004672aa6c Fix tag search order and not to use tsvector (#3611)
8 years ago
Matt Jankowski 6201f96b8a Introduce StatusThreadingConcern (#3490)
8 years ago
Eugen Rochko f7a30e2fae Added support for configurable reserved usernames (fix of #1382) (#3566)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 19084d3c6c Remove Targetable (#3548)
8 years ago
Matt Jankowski 2212dc4aaa Update Rails to version 5.1.1 (#3121)
8 years ago
Matt Jankowski d1e08bd38c Handle nil and blank cases in Account finders (#3500)
8 years ago
Matt Jankowski a132332b86 Add Instance class to list admin records (#3443)
8 years ago
Matt Jankowski b25e42a77f Misc tidying and clean ups (#3445)
8 years ago
Matt Jankowski 2cc3111a77 Expand spec coverage and refactor the `Account.find_` methods (#3485)
8 years ago
alpaca-tc 3652a39de0 Account.find_remote should be raise ActiveRecord::RecordNotFound (#3476)
8 years ago
Akihiko Odaki 7db98aa70e Refactor User and spec (#3431)
8 years ago
Jack Jennings 3a2003ba86 Extract authorization policy for viewing statuses (#3150)
8 years ago
Atsushi Yamamoto 402c19a924 Add preference setting for delete toot modal (#3368)
8 years ago
Yamagishi Kazutoshi bca334cd28 Remove arguments in association reader (#3305)
8 years ago
alpaca-tc 08dce5e607 Refactor Setting (#3302)
8 years ago
masarakki 3b59f9c6c2 fix-cache-returns-nil (#3213)
8 years ago
Akihiko Odaki bf575a1f5e Introduce recent to Follow (#3247)
8 years ago
Akihiko Odaki 8fd174298d Cover AccountsController more in spec (#3229)
8 years ago
Matt Jankowski e1b42e9aa0 Add coverage for ReportFilter and AccountFilter (#3236)
8 years ago
Matt Jankowski ec34ec63b1 Specs for cleanup workers (#3235)
8 years ago
Akihiko Odaki 2af5cd96fe Fix mutes_controller error and incorrect statuses_controller report (#3202)
8 years ago
Matt Jankowski 8f4b7c1820 Filter languages with opt out (#3175)
8 years ago
beatrix 724fc3cbdf guard against empty domain block list in status scope (#3161)
8 years ago
Eugen Rochko f8ee136c29 Fix federated timeline excluding local toots when any domain blocks are set (#3151)
8 years ago
Eugen Rochko f1ab70649b Add buttons to block and unblock domain (#3127)
8 years ago
alpaca-tc 198ae3e366 Define instance method outside #included (#3128)
8 years ago
Matt Jankowski 6e4c7d6211 Conditional validations no longer accept strings for if/unless (#3124)
8 years ago
Eugen Rochko 620d0d8029 Account domain blocks (#2381)
8 years ago
Yamagishi Kazutoshi 79ef8b3653 Fetch remote image using http.rb (#3114)
8 years ago
alpaca-tc 59ceeae8ea Refactor Status#ancestors/descendants (#3092)
8 years ago
alpaca-tc e89e4355eb Add filter to AccountFilter (#2968)
8 years ago
alpaca-tc 682b68438e Improve Account#triadic_closures (#3079)
8 years ago
alpaca-tc 09ec6e504b Order by symbol value (#3077)
8 years ago
alpaca-tc a2a2af244c Optimize Status#permitted_for 24x (#3069)
8 years ago
Eugen Rochko af706583bd Fix change of status callbacks not setting in_reply_to_account_id and (#3072)
8 years ago
Eugen Rochko d0dd9eb5b5 Feature conversations muting (#3017)
8 years ago
alpaca-tc e9810cbad6 Fixes NoMethodError: undefined method 'first' for nil:NilClass (#3036)
8 years ago
Eugen Rochko 5abdc77c80 Add conversation model, <ostatus:conversation /> (#3016)
8 years ago
Eugen Rochko 58bcd50f7f Fix #1426 - Trim long usernames in public follower/following lists (#2993)
8 years ago
Eugen Rochko 65f9db73b0 Fix #2027 - Accept own ID for remote follow with and without preceding @ (#2991)
8 years ago
Go Shoemake 9cd3a6836b Fixed mention regex to support unicode (#2420)
8 years ago
Matt Jankowski 7a7d12d27f Delegate Account#user_locale method and allow nil (#2927)
8 years ago
Matt Jankowski bba537a7be Improve allowed language handling (#2897)
8 years ago
alpaca-tc ca05bfaac7 Refactor account.rb (#2881)
8 years ago
alpaca-tc 05b72368ed Fixes slow query in notifications api (#2851)
8 years ago
Matt Jankowski 3f5b994ff0 Stream entry specs and refactor to use delegate (#2827)
8 years ago
Matt Jankowski 4e05751346 Move account header and avatar methods to a concern (#2825)
8 years ago
alpaca-tc ee3e0a93f4 Fixes unknown mime type (#2822)
8 years ago
Matt Jankowski 484c9709b6 Misc spec coverage improvements (#2821)
8 years ago
Eugen Rochko 81584779cb More robust PuSH subscription refreshes (#2799)
8 years ago
Tomohiro Suwa aa6a26a2d5 Correct Account model for rubocop (#2587)
8 years ago
Kaylee 7880671f35 Add option to disable two factor auth in admin accounts panel. (#2584)
8 years ago
Yamagishi Kazutoshi 6f75c8451d Fix subscription expiration condition (#2715)
8 years ago
yhirano 298796cc7b annotate models (#2697)
8 years ago
Matt Jankowski a4859446ab Coverage for remote follows (#2694)
8 years ago
Matt Jankowski f025cc6782 Filter on allowed user language preferences (#2361)
8 years ago
yhirano 3988f2dade Fix Rubocop offences (#2630)
8 years ago
Yamagishi Kazutoshi 1899cf5f04 Detect extension for preview card (#2679)
8 years ago
Matt Jankowski 5259319cf5 Reports spec for media attachments, clean up method (#2660)
8 years ago
Akihiko Odaki a6788662b0 Revert "Use PostgreSQL inheritance for blocks and mutes (#2520)" (#2634)
8 years ago
Akihiko Odaki 5135d609b7 Use PostgreSQL inheritance for blocks and mutes (#2520)
8 years ago
Patrick Figel 8ac7fca5d0 Set correct attachment type for rejected media (#2599)
8 years ago
Matt Jankowski 9566893cc9 More controller specs (#2561)
8 years ago
Matt Jankowski effb08edbb More status specs (#2564)
8 years ago
Eugen Rochko d4fedf84e0 Cache Status#ancestors recursive query results (#2527)
8 years ago
Eugen Rochko 88725d6ce8 OEmbed support for PreviewCard (#2337)
8 years ago
Tomohiro Suwa 1f805a6377 Don't need to include ActiveModel::Validations (#2521)
8 years ago
Francis Chong 193dddb433 Add media dimensions (#2448)
8 years ago
Eugen 17c591ffba Punycode URI normalization (#2370)
8 years ago
Effy Elden 1801a36414 Report processing improvements (#2349)
8 years ago
Eugen 501514960a Followers-only post federation (#2111)
8 years ago
Evan Minto 66fd8e7821 ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197)
8 years ago
Ash Furrow 723f25a999 Admin UI for confirming users (#2245)
8 years ago
codl 8565ba68f7 strip leading & trailing spaces from remote follow acct (#997) (#2321)
8 years ago
Eugen 2e4afccd9d Fix #2108 - Fix gif uploads (#2171)
8 years ago
alpaca-tc 2c0d756ad9 Extract error messages to locale file (#2162)
8 years ago
Eugen bfbc2ca0d8 Attachment list for uncached attachments (#2110)
8 years ago
Eugen e09ab2c0bd Fix #1642, fix #1912 - Dictate content-type file extension (#2078)
8 years ago
Matt Jankowski 55e1503522 Instances list in admin (#2095)
8 years ago
Matt Jankowski 66d8f99a30 Admin reports with accounts (#2092)
8 years ago
839 e2a1b574ab Avoid dynamic methods due to processing speed (#2080)
8 years ago
Eugen Rochko 57d784f1e4 Merge branch 'pause-gif' of git://github.com/patf/mastodon into patf-pause-gif
8 years ago
Matt Jankowski 16d50f60d1 Remove unused methods (#1730)
8 years ago
Eugen Rochko f5cd0b4956 Rename cache key to exclude_account_ids_for:id, adjust formatting
8 years ago
Eugen Rochko 2fd0473aa1 Merge branch 'fix/cache_blocking' of git://github.com/pixiv/mastodon into pixiv-fix/cache_blocking
8 years ago
Matt Jankowski cc1361c149 Media controller specs (#2022)
8 years ago
alpaca-tc 630de52fdd Required foreign keys (#2003)
8 years ago
Patrick Figel ffb99325ca Add gif auto-play/pause preference
8 years ago
Matt Jankowski f87b51fda8 I18n health warnings (#1949)
8 years ago
Effy Elden acd33101c5 Merge branch 'master' into fix/cache_blocking
8 years ago
Matt Jankowski 73b0af5c93 Simplify the og:image and og:description code in stream_entries/show (#1934)
8 years ago
tackeyy fc34e0e191 Remove .keep in models (#1892)
8 years ago
alpaca-tc de72db99fa Add presence validation to Import (#1928)
8 years ago
Eugen 5d710b1139 Make file attachment on MediaAttachment optional (#1865)
8 years ago
Keiji Yoshimi fd81916e86 cache blockings for reducing queries.
8 years ago
Patrick Figel df4ff9a8e1 Add recovery code support for two-factor auth (#1773)
8 years ago
西小倉宏信 290e8ef854 Remove .keep in models (#1748)
8 years ago
Matt Jankowski 8b74aa4217 Admin reports controller improvements (#1714)
8 years ago
Matt Jankowski 3a9eb81a80 Admin accounts controller cleanup (#1664)
8 years ago
Matt Jankowski 0e39cc6a35 Settings export refactor (#1646)
8 years ago
Matt Jankowski 7f0a865b05 Allow import/export of mutes list (#1541)
8 years ago
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