953 Commits (635812f9ea4626ac811c2aaefeb08d70ed2b24b4)

Author SHA1 Message Date
Ghislain Loaec d1806f5dc4 New variable OAUTH_REDIRECT_AT_SIGN_IN + Ref #6538 (not only SAML strategies) (#6540)
7 years ago
Ghislain Loaec deea524052 New env variable: SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED + fixes #6533 (#6538)
7 years ago
Eugen Rochko 865c7e7178 Focal points (#6520)
7 years ago
Eugen Rochko c9ed272a4a Fix #6525: Make sure file is opened in LazyThumbnail processor (#6529)
7 years ago
Eugen Rochko f6884555d7 Account archive download (#6460)
7 years ago
Eugen Rochko c34ff9fb82 Fix avatar and header issues by using custom geometry detector (#6515)
7 years ago
Eugen Rochko f759ec9d8d Don't resize avatars/headers if their dimensions are already right (#6508)
7 years ago
Eugen Rochko 750f3e64c9 Cache relationships in API (#6482)
7 years ago
Eugen Rochko 3f2a113d32 Push discovered status through streaming API within a time window (#6484)
7 years ago
Eugen Rochko 9b7490cede Save video metadata and improve video OpenGraph tags (#6481)
7 years ago
Eugen Rochko 7ca5a06505 Full-text search for authorized statuses (#6423)
7 years ago
Eugen Rochko 219b28e172 Add preference to always display sensitive media (#6448)
7 years ago
abcang c1263f5db5 Clear account cache of notification target_status (#6442)
7 years ago
Akihiko Odaki 72e284028f Change user_id column non-nullable (#6435)
7 years ago
Eugen Rochko 555e7205da Make PAM gem optional, allow configuration over environment (#6415)
7 years ago
Renato "Lond" Cerqueira 6528c0c101 Add option to show only local toots in timeline preview (#6292)
7 years ago
Eugen Rochko 5322013f25 CAS + SAML authentication feature (#6425)
7 years ago
Alexander 23ce0c86da pam authentication (#5303)
7 years ago
Eugen Rochko f378280e49 Fix #6331 (#6341)
7 years ago
Akihiko Odaki b5162e2aff Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
Yamagishi Kazutoshi 49b76b3025 Change belongs_to_required_by_default to true (#5888)
7 years ago
Eugen Rochko b0f2bff481 Replace tutorial modal with welcome e-mail (#6273)
7 years ago
Eugen Rochko 67ee638c28 Move e-mail digest task to sidekiq, reduce workload, improve hint (#6252)
7 years ago
Eugen Rochko c8f0be1d6d Revert #5772 (#6221)
7 years ago
Patrick Figel bc5487a1c2 Fix email confirmation link not updating email (#6187)
7 years ago
Akihiko Odaki 7a0479c830 Allow to dereference Follow object for ActivityPub (#5772)
7 years ago
Patrick Figel 3c20cfd734 Add confirmation step for email changes (#6071)
7 years ago
Eugen Rochko 9427823d5c Add more instance stats APIs (#6125)
7 years ago
Eugen Rochko d6088c5308 Add filters to admin UI for custom emojis (#6003)
7 years ago
Eugen Rochko aea3d0814b Clean up admin UI for accounts (#6004)
7 years ago
Akihiko Odaki a90fa13235 Change account_id non-nullable in lists (#5979)
7 years ago
Eugen Rochko 3b69e9b99c Exclude moved accounts from search results (#5984)
7 years ago
Andrea Scarpino e8198cd298 Fix account and tag searches with leading/trailing spaces (#5965)
7 years ago
Eugen Rochko f16141ebac Limit users to 50 lists, remove pagination from lists API (#5933)
7 years ago
Eugen Rochko 46cce9ee4b Ensure link thumbnails are not stretched to super low quality (#5932)
7 years ago
Yamagishi Kazutoshi a7f20ed185 Remove duplicate annotate (#5910)
7 years ago
Akihiko Odaki ce3989fc6a Add embed_url to preview cards (#5775)
7 years ago
Yamagishi Kazutoshi fba46b6072 Using double splat operator (#5859)
7 years ago
Eugen Rochko b037fbf9f4 Remove rabl dependency (#5894)
7 years ago
Eugen Rochko ff4c28a305 Lists redis clean-up (#5886)
7 years ago
Eugen Rochko 1e7f022fa2 Add list of lists component to web UI (#5811)
7 years ago
Yamagishi Kazutoshi 1447ef1d44 Add invite filter (#5862)
7 years ago
Eugen Rochko 2421fd745a Fix too many forwards (#5854)
7 years ago
Yamagishi Kazutoshi d6846dce20 Show "expired" in invite index (#5838)
7 years ago
aschmitz ce341c7cf6 Allow hiding of reblogs from followed users (#5762)
7 years ago
nullkal 35e3791ba4 Fix account migration feature (#5837)
7 years ago
Eugen Rochko 55d9abcceb Add UI for setting up account migration (#5832)
7 years ago
Eugen Rochko bc8c951083 Add consumable invites (#5814)
7 years ago
William Pitcock a4bb95d8b3 status: preserve visibility attribute when reblogging (infoleak fix) (#5789)
7 years ago
abcang 3db3ca1258 Fix unnecessary order (#5807)
7 years ago
Eugen Rochko efc97d404c Add logging of admin actions (#5757)
7 years ago
abcang defb2fd0b0 Fix N+1 at notification (#5752)
7 years ago
Yamagishi Kazutoshi bffc1b880b Add “staff” badge to admin user pages (#5735)
7 years ago
Eugen Rochko b89f614bd7 Profile redirect notes (#5746)
7 years ago
Eugen Rochko e149067561 Lists (#5703)
7 years ago
Eugen Rochko 3df46ce5a8 Fix some rubocop style issues (#5730)
7 years ago
Eugen Rochko 21d01d5809 Display moderator badge (green), admin badge changed to red (#5728)
7 years ago
ysksn bf1d4a2cb9 Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)
7 years ago
ysksn 475b7cecb5 Delegate some methods of User to @settings (#5706)
7 years ago
Surinna Curtis 582dd1b7c7 Optional notification muting (#5087)
7 years ago
Yamagishi Kazutoshi 3a51544e9a Add uniqueness to block email domains (#5692)
7 years ago
Daniel Hunsaker 96504fd1ec Update model annotations to use BIGINT for IDs (#5461)
7 years ago
Eugen Rochko 97178b6d86 Add moderator role and add pundit policies for admin actions (#5635)
7 years ago
ysksn 26f52a2551 Add and Remove tests for FollowRequest (#5622)
7 years ago
ThibG 4912f539c3 Twidere mention workaround (#5552)
7 years ago
Eugen Rochko 7f1a0241c1 Add ability to disable login and mark accounts as memorial (#5615)
7 years ago
nullkal 19f82492ab Show the local couterpart of emoji when it exists in /admin/custom_emojis (#5467)
7 years ago
nullkal 0a9cc96cdc Feature: Unlisted custom emojis (#5485)
7 years ago
Nolan Lawson a54c272a1f Add option to reduce motion (#5393)
7 years ago
unarist 490f3146f2 Optimize Status#permitted_for 500x (account timeline) (#5373)
7 years ago
Eugen Rochko 7ccc1c5748 Fix UserTrackingConcern firing on every request, optimize some queries (#5368)
7 years ago
Lex Alexander 526b66e871 Retoot count increases without reason (#5363)
7 years ago
nullkal 4a45cc7566 foreign_key, non-nullable, dependent: destroy in account_moderation_notes (#5294)
7 years ago
Eugen Rochko 007fce8c10 Set snowflake IDs for backdated statuses (#5260)
7 years ago
nullkal 81489970fb Add moderation note (#5240)
7 years ago
Eugen Rochko 60925ce0ae Encode custom emojis as resolveable objects in ActivityPub (#5243)
7 years ago
Eugen Rochko b4af50c521 Improve admin UI for custom emojis, add copy/disable/enable (#5231)
7 years ago
Eugen Rochko f37350c08f When processing custom emoji, ensure a non-animated version exists (#5230)
7 years ago
utam0k 51f8cbfbeb Implement EmailBlackList (#5109)
7 years ago
aschmitz 5b2d855d86 Non-Serial ("Snowflake") IDs (#4801)
7 years ago
aschmitz 04fde500e6 Make IdsToBigints (mostly!) non-blocking (#5088)
7 years ago
Eugen Rochko cb8ecac1ce After 7 days of repeated delivery failures, give up on inbox (#5131)
7 years ago
Eugen Rochko 5f137e7ec3 Increase attachment descriptions to 420 characters (#5139)
7 years ago
Eugen Rochko c35e6234ab If HTTP signature is wrong and webfinger cache is stale, retry with resolve (#5129)
7 years ago
Eugen Rochko 795e624d5d Add ability to specify alternative text for media attachments (#5123)
7 years ago
Eugen Rochko e8871341bf Fix empty query sent to postgres for custom emojis (#5121)
7 years ago
unarist df27f599d2 Increase max height of preview card image (#5092)
7 years ago
Eugen Rochko da257754b5 Add emoji autosuggest (#5053)
7 years ago
Eugen Rochko f621e05356 New API: GET /api/v1/custom_emojis to get a server's custom emojis (#5051)
7 years ago
Eugen Rochko d2aeb45461 Fix custom emojis not detected when used in content warning (#5049)
7 years ago
Akihiko Odaki f9dd41621f Do not filter statuses with unknown languages (#5045)
7 years ago
unarist ca502e7b15 Use file extensions in addition to MIME types for file picker (#5029)
7 years ago
Akihiko Odaki b1ba673029 Introduce OStatus::TagManager (#5008)
7 years ago
Andrew b4842ef0b9 Add support for multiple themes (#4959)
7 years ago
Eugen Rochko eb345f8e8b Custom emoji (#4988)
7 years ago
unarist 3978894d05 Validate uri presence for remote status (#4985)
7 years ago
Akihiko Odaki 8c96e0d496 Remove local_only scope in Status (#4977)
7 years ago
Eugen Rochko 26c797bf0d When accessing uncached media attachment, redownload it (#4955)
7 years ago
Eugen Rochko 74626108b6 Fix #4908 - Do not keep remote file names, generate random (#4934)
7 years ago
Eugen Rochko 9ff429aa6d Uploads for admin site settings (#4913)
7 years ago
nullkal 7f432a97a0 Add instance search feature (#4925)
7 years ago
Eugen Rochko 703fd425ff Fix count numbers from ActivityPub not being saved (#4899)
7 years ago
Eugen Rochko 6628ea4a82 Default follows for new users (#4871)
7 years ago
Eugen Rochko 8bb036350a Fix #4834 - Adjust Status#local and Status#remote scopes (#4839)
7 years ago
voidSatisfaction ac63da7732 Feat add validation for report comment: characters under 1000 valid (#4833)
7 years ago
Eugen Rochko 5ad3153b0b Fix locking migration on statuses table. Nullable column and NO default value (#4825)
7 years ago
Eugen Rochko 73c613dcfc Switch to static URIs, new URI format in both protocols for new statuses (#4815)
7 years ago
abcang d73174b629 Validate data of Imports (#4782)
7 years ago
unarist 11a09cdc59 Fix WebPush (regression from #4524) (#4778)
7 years ago
Eugen Rochko e9e271878e Make PreviewCard records reuseable between statuses (#4642)
7 years ago
Eugen Rochko 2bbb10a186 Refactor Web::PushSubscription, remove welcome message (#4524)
7 years ago
nullkal fe417663d9 Use request.remote_ip instead of request.ip (#4744)
7 years ago
Eugen Rochko 3135d20283 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
abcang 4fb007764b rescue HTTP::ConnectionError in RemoteFollowController#create (#4726)
7 years ago
nullkal f9ebff4b13 Allow multiple pinned statuses to be shown and make them be ordered b… (#4690)
7 years ago
Eugen Rochko 3e20cb7025 Pinned statuses (#4675)
7 years ago
Eugen Rochko d44b84bebd Minor performance improvement for test suite (#4678)
7 years ago
Colin Mitchell 63b98318c5 Application prefs section (#2758)
7 years ago
Eugen Rochko 0268b334ae Periodically remove expired PuSH subscribers (#4654)
7 years ago
Eugen Rochko d76bd63226 Do not try to re-subscribe to unsubscribed accounts (#4653)
7 years ago
Eugen Rochko 2dba0368f8 Redesign public profiles (#4608)
7 years ago
Eugen Rochko 5516767c75 ActivityPub delivery (#4566)
7 years ago
Eugen Rochko f18739fd60 Add ActivityPub inbox (#4216)
7 years ago
Yamagishi Kazutoshi 2c729c9376 Add coalesce option to avatar and header convert processor (#4552)
7 years ago
Yamagishi Kazutoshi bd6676b176 Revert "Set false to animated options for thumbnail processor" (#4550)
7 years ago
Yamagishi Kazutoshi 730fa0a06b Set false to animated options for thumbnail processor (#4547)
7 years ago
Sorin Davidoi d8f78827a4 fix(web_push_notifications): Send message with welcome notifications (#4471)
7 years ago
Eugen Rochko 39b0588256 Count all URLs in text as 23 characters flat, do not count domain part of usernames (#4427)
7 years ago
Eugen Rochko ed3d301791 Fix web push notifications "boost" icon not being loaded (regression from #4426) (#4431)
7 years ago
Eugen Rochko 2e32794a12 Use consistent icons for web push notifications, same as web UI (#4426)
7 years ago
Sorin Davidoi 56c021c349 feat(web_push_notifications): Group notifications (#4388)
7 years ago
Sorin Davidoi 097fb21522 fix(push_subscription): Use star icon for favourite action (#4396)
7 years ago
sdukhovni 961f103c35 Allow domain blocks that only reject media without silencing or suspending (#4325)
7 years ago
Eugen Rochko a09a4a5899 Add rake task mastodon:feeds:build to regenerate all active users' feeds (#4303)
7 years ago
Sorin Davidoi 04ec8a8f38 fix(push_subscription): Guard against malformed favourite notification (#4271)
7 years ago
Eugen Rochko 81ebd4025a Add ActivityPub attributes to accounts (#4273)
7 years ago
Eugen Rochko 7b610bea1b Fix deprecation warning for non-pipeline assets (#4267)
7 years ago
Yamagishi Kazutoshi 87bb16a236 Add unfollow modal (optional) (#4246)
7 years ago
abcang e3251e74c1 Improve admin page (#4121)
7 years ago
Sorin Davidoi 3d4ae604b8 fix(push-subscriptions): Refactor how Sidekiq jobs are handled (#4226)
7 years ago
Eugen Rochko c6e46f7421 Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
7 years ago
Eugen Rochko c5fa4aba91 HTTP signatures (#4146)
7 years ago
Eugen Rochko 5138dde794 Fix #4149, fix #1199 - Store emojis as unicode (#4189)
7 years ago
Eugen Rochko 7d8fd050eb Add option to opt out of search engines on public profile/status pages (#4199)
7 years ago
masarakki d0a037ae79 add validation to tag name (#4194)
7 years ago
Sorin Davidoi ecab38fd66 Web Push Notifications (#3243)
7 years ago
unarist ae26d7b557 Make tag search case insensitive again (#4184)
7 years ago
Eugen Rochko 4e7288d18a Fix boolean columns sometimes having a null value (#4162)
7 years ago
Eugen Rochko 348de9dbc3 Fix #1010 - When spoiler text is set, enforce sensitivity too (#4176)
7 years ago
Eugen Rochko 8abeec1f4f Improve UI of admin site settings (#4163)
7 years ago
Eugen Rochko 903b34fa94 Fix #2848 - Rake task to redownload avatars/headers (#4156)
7 years ago
Yamagishi Kazutoshi 865f5170a8 Add setting a always mark media as sensitive (#4136)
7 years ago
Eugen Rochko 20e15ecfb3 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
Damien Erambert 387de88e2f Add a setting allowing the use of system's default font in Web UI (#4033)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 4a041cde77 Explicitly require MIME::Types (#4083)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) d5586563c7 Remove sort in Feed (#4050)
7 years ago
abcang 43d97dea48 Rescue exceptions caused by FetchLinkCardService (#4045)
7 years ago
abcang 41856d021b Rescue Addressable::URI::InvalidURIError at Remotable (#4017)
7 years ago
Eugen Rochko e49dd75db7 Do not fail to create access token if superapp was never created (#3986)
7 years ago
Eugen Rochko ad531f90b1 Bind web UI access tokens to sessions (#3940)
7 years ago
Eugen Rochko c465c5b3a8 Add overview of active sessions (#3929)
7 years ago
Sorin Davidoi 1280559503 Revocable sessions (#3616)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 561ca10d86 Some minor change and spec for Account (#3813)
7 years ago
Eugen Rochko e7810e4031 Fix regression from #3842 (#3892)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 77dcf442e7 Filter direct statuses in Status.as_home_timeline (#3842)
7 years ago
unarist 1d2eba7a84 Fix RemoteFollow behavior (#3868)
7 years ago
Eugen Rochko 1c7e2ddd65 Account deletion (#3728)
7 years ago
Eugen Rochko 973d6ef93a Fix #2619 - When redis feed is empty, fall back to database (#3721)
7 years ago
Eugen Rochko 46af0c66b6 Fix #3675 - Adjust quality settings of converted GIFs to reduce filesize (#3723)
7 years ago
René Klačan 042d4c1663 Fix Account model deprecation warnings (#3689)
7 years ago
Yamagishi Kazutoshi d3279a6702 Refactor UpdateRemoteProfileService (#3690)
7 years ago
Eugen Rochko 9ea895f05f Correct validators so that existing error messages would look correct (#3668)
7 years ago
Matt Jankowski b439018342 Language detection defaults to nil (#3666)
7 years ago
Yamagishi Kazutoshi 69dc56b5d0 Add includes to Report#statuses (#3655)
7 years ago
Eugen Rochko 67330ceec7 Fix regression from #3592 - validation condition nesting (#3644)
7 years ago
Eugen Rochko 006594e181 Fix db:seed - only run some validations when the field was changed (#3592)
7 years ago
Yamagishi Kazutoshi 5da41e0cae Improve RuboCop rules (compatibility to Code Climate) (#3636)
7 years ago
unarist 117d333a84 Fix tag search order and not to use tsvector (#3611)
7 years ago
Matt Jankowski d339ac2c76 Introduce StatusThreadingConcern (#3490)
7 years ago
Eugen Rochko 4a6ceb24c9 Added support for configurable reserved usernames (fix of #1382) (#3566)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 664686b1dc Remove Targetable (#3548)
7 years ago
Matt Jankowski eea027c5c2 Update Rails to version 5.1.1 (#3121)
7 years ago
Matt Jankowski 25990c77c0 Handle nil and blank cases in Account finders (#3500)
7 years ago
Matt Jankowski deb4ae7392 Add Instance class to list admin records (#3443)
7 years ago
Matt Jankowski 533a8cc68b Misc tidying and clean ups (#3445)
7 years ago
Matt Jankowski ff4d3f11b5 Expand spec coverage and refactor the `Account.find_` methods (#3485)
7 years ago
alpaca-tc d04c02ac37 Account.find_remote should be raise ActiveRecord::RecordNotFound (#3476)
7 years ago
Akihiko Odaki 20d016f430 Refactor User and spec (#3431)
7 years ago
Jack Jennings faf53a5a3e Extract authorization policy for viewing statuses (#3150)
7 years ago
Atsushi Yamamoto 4547e3585a Add preference setting for delete toot modal (#3368)
7 years ago
Yamagishi Kazutoshi 153e96eb02 Remove arguments in association reader (#3305)
7 years ago
alpaca-tc 0931218b3f Refactor Setting (#3302)
7 years ago
masarakki 0949d86d83 fix-cache-returns-nil (#3213)
7 years ago
Akihiko Odaki 4f023cb001 Introduce recent to Follow (#3247)
7 years ago
Akihiko Odaki 9cc7a3c209 Cover AccountsController more in spec (#3229)
7 years ago
Matt Jankowski 8c11626321 Add coverage for ReportFilter and AccountFilter (#3236)
7 years ago
Matt Jankowski 0eb8b00cc9 Specs for cleanup workers (#3235)
7 years ago
Akihiko Odaki 90c8175cb0 Fix mutes_controller error and incorrect statuses_controller report (#3202)
7 years ago
Matt Jankowski 1122249e51 Filter languages with opt out (#3175)
7 years ago
beatrix 4f3b6cc3be guard against empty domain block list in status scope (#3161)
7 years ago
Eugen Rochko de5e67238b Fix federated timeline excluding local toots when any domain blocks are set (#3151)
7 years ago
Eugen Rochko 5695449335 Add buttons to block and unblock domain (#3127)
7 years ago
alpaca-tc b0979ed58e Define instance method outside #included (#3128)
7 years ago
Matt Jankowski 6619cfe934 Conditional validations no longer accept strings for if/unless (#3124)
7 years ago
Eugen Rochko 0cafe62561 Account domain blocks (#2381)
7 years ago
Yamagishi Kazutoshi bd1f7d0b9c Fetch remote image using http.rb (#3114)
7 years ago
alpaca-tc 5523fd6efb Refactor Status#ancestors/descendants (#3092)
7 years ago
alpaca-tc c0791aa647 Add filter to AccountFilter (#2968)
7 years ago
alpaca-tc b8b7be1e4a Improve Account#triadic_closures (#3079)
7 years ago
alpaca-tc 41295c0bbd Order by symbol value (#3077)
7 years ago
alpaca-tc 0d7dc192c3 Optimize Status#permitted_for 24x (#3069)
7 years ago
Eugen Rochko bd7dc50186 Fix change of status callbacks not setting in_reply_to_account_id and (#3072)
7 years ago
Eugen Rochko 5039bc93d5 Feature conversations muting (#3017)
7 years ago
alpaca-tc 4b5edb0d16 Fixes NoMethodError: undefined method 'first' for nil:NilClass (#3036)
7 years ago
Eugen Rochko 12ef99556e Add conversation model, <ostatus:conversation /> (#3016)
7 years ago
Eugen Rochko db707c7af3 Fix #1426 - Trim long usernames in public follower/following lists (#2993)
7 years ago
Eugen Rochko 7c20c80ed7 Fix #2027 - Accept own ID for remote follow with and without preceding @ (#2991)
7 years ago
Go Shoemake f87af43ee7 Fixed mention regex to support unicode (#2420)
7 years ago
Matt Jankowski 23f6ec856f Delegate Account#user_locale method and allow nil (#2927)
7 years ago
Matt Jankowski bddb03a089 Improve allowed language handling (#2897)
7 years ago
alpaca-tc 2745fc5268 Refactor account.rb (#2881)
7 years ago
alpaca-tc de0f63e0ac Fixes slow query in notifications api (#2851)
7 years ago
Matt Jankowski 05b8a950c6 Stream entry specs and refactor to use delegate (#2827)
7 years ago
Matt Jankowski b6b297a297 Move account header and avatar methods to a concern (#2825)
7 years ago
alpaca-tc 3ceb700ea2 Fixes unknown mime type (#2822)
7 years ago
Matt Jankowski 5393dbf4a2 Misc spec coverage improvements (#2821)
7 years ago
Eugen Rochko c32e312061 More robust PuSH subscription refreshes (#2799)
7 years ago
Tomohiro Suwa 89550de8cf Correct Account model for rubocop (#2587)
7 years ago
Kaylee fae1ed48e3 Add option to disable two factor auth in admin accounts panel. (#2584)
7 years ago
Yamagishi Kazutoshi 70f9858e6f Fix subscription expiration condition (#2715)
7 years ago
yhirano e5eb070430 annotate models (#2697)
7 years ago
Matt Jankowski fdd7ee1cc7 Coverage for remote follows (#2694)
7 years ago
Matt Jankowski c44ef23e50 Filter on allowed user language preferences (#2361)
7 years ago
yhirano 18e4933432 Fix Rubocop offences (#2630)
7 years ago
Yamagishi Kazutoshi 9f6363a319 Detect extension for preview card (#2679)
7 years ago
Matt Jankowski 4f155a3c86 Reports spec for media attachments, clean up method (#2660)
8 years ago
Akihiko Odaki a28863bf95 Revert "Use PostgreSQL inheritance for blocks and mutes (#2520)" (#2634)
8 years ago
Akihiko Odaki 7cd8e61b5a Use PostgreSQL inheritance for blocks and mutes (#2520)
8 years ago
Patrick Figel ef6f02c173 Set correct attachment type for rejected media (#2599)
8 years ago
Matt Jankowski 442d4cfb4a More controller specs (#2561)
8 years ago
Matt Jankowski 3e819257ab More status specs (#2564)
8 years ago
Eugen Rochko 886aa14cfc Cache Status#ancestors recursive query results (#2527)
8 years ago
Eugen Rochko 4a7dc4fadc OEmbed support for PreviewCard (#2337)
8 years ago
Tomohiro Suwa 7bb45d9ed5 Don't need to include ActiveModel::Validations (#2521)
8 years ago
Francis Chong 395608442d Add media dimensions (#2448)
8 years ago
Eugen 87f7a3922c Punycode URI normalization (#2370)
8 years ago
Effy Elden 6b031c8fc6 Report processing improvements (#2349)
8 years ago
Eugen f89e26bdd5 Followers-only post federation (#2111)
8 years ago
Evan Minto 227f45402d ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197)
8 years ago
Ash Furrow eb7db6f8da Admin UI for confirming users (#2245)
8 years ago
codl 064101f8c6 strip leading & trailing spaces from remote follow acct (#997) (#2321)
8 years ago
Eugen 5849eac93e Fix #2108 - Fix gif uploads (#2171)
8 years ago
alpaca-tc e40ea6cd9d Extract error messages to locale file (#2162)
8 years ago
Eugen 48d8e5a82f Attachment list for uncached attachments (#2110)
8 years ago
Eugen 21816d08ec Fix #1642, fix #1912 - Dictate content-type file extension (#2078)
8 years ago
Matt Jankowski ce5cb2b81c Instances list in admin (#2095)
8 years ago
Matt Jankowski 4b6be67e85 Admin reports with accounts (#2092)
8 years ago
839 95e8ab21a1 Avoid dynamic methods due to processing speed (#2080)
8 years ago
Eugen Rochko 336fd904db Merge branch 'pause-gif' of git://github.com/patf/mastodon into patf-pause-gif
8 years ago
Matt Jankowski 7a7a2d591f Remove unused methods (#1730)
8 years ago
Eugen Rochko 8867792e53 Rename cache key to exclude_account_ids_for:id, adjust formatting
8 years ago
Eugen Rochko 8af5ceb661 Merge branch 'fix/cache_blocking' of git://github.com/pixiv/mastodon into pixiv-fix/cache_blocking
8 years ago
Matt Jankowski 47cc8462e3 Media controller specs (#2022)
8 years ago
alpaca-tc 4f0d96aa5e Required foreign keys (#2003)
8 years ago
Patrick Figel 2fb1f07888 Add gif auto-play/pause preference
8 years ago
Matt Jankowski fff8d92577 I18n health warnings (#1949)
8 years ago
Effy Elden d52abe1cc7 Merge branch 'master' into fix/cache_blocking
8 years ago
Matt Jankowski a3a4fe2163 Simplify the og:image and og:description code in stream_entries/show (#1934)
8 years ago
tackeyy 813ee3cde6 Remove .keep in models (#1892)
8 years ago
alpaca-tc 30ef109bc5 Add presence validation to Import (#1928)
8 years ago
Eugen ba6b4c6e62 Make file attachment on MediaAttachment optional (#1865)
8 years ago
Keiji Yoshimi 6ca3a6c9f4 cache blockings for reducing queries.
8 years ago
Patrick Figel 15b393201e Add recovery code support for two-factor auth (#1773)
8 years ago
西小倉宏信 d91b462aa1 Remove .keep in models (#1748)
8 years ago
Matt Jankowski 22f1d9099a Admin reports controller improvements (#1714)
8 years ago
Matt Jankowski 26ea2f70bd Admin accounts controller cleanup (#1664)
8 years ago
Matt Jankowski 0a6cfca260 Settings export refactor (#1646)
8 years ago
Matt Jankowski bf7306636e Allow import/export of mutes list (#1541)
8 years ago
Matt Jankowski 63e46e27f0 Refactor exports controller (#1567)
8 years ago
Eugen Rochko b440b2a9ee Merge branch 'master' of https://github.com/blackle/mastodon into blackle-master
8 years ago
blackle e7d77f4e13 Allow user to disable the boost confirm dialog in preferences
8 years ago
Eugen e0977567e7 When avatar/header are GIF, generate static versions (#1428)
8 years ago
Eugen 68f3ce7d0c API param to exclude notification types from response (#1341)
8 years ago
Matt Jankowski 874a240a58 Clean up generation of account webfinger string (#1477)
8 years ago
Eugen d30a82a22f Fix #1339 - better Atom titles (#1343)
8 years ago
Matt Jankowski 641e809eaf Search cleanup (#1333)
8 years ago
Eugen b532134503 Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278)
8 years ago
Joël Quenneville 8a67fb5eca DRY up reblog vs original status check
8 years ago
Eugen 24c77e57b2 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
8 years ago
Brad Urani 522410589e Eliminate unnecessary queries and query clauses with none and all
8 years ago
Samy KACIMI 06424fd912 fix rubocop issues
8 years ago
Samy KACIMI 9f80b2dd4e add more tests to models
8 years ago
Eugen Rochko 7a56845060 Only call regeneration worker after first login after a 14 day break
8 years ago
Eugen Rochko 24793cdbaa Fix ActionController::Parameters in API issue
8 years ago
Eugen Rochko c9ffa7ab1d Add basic logging of who resolved report
8 years ago
Eugen Rochko d1f8bd2673 Paperclip will complain on its own if this variable is missing
8 years ago
Eugen Rochko 244da78105 Import feature for following/blocking lists (addresses #62, #177, #201, #454)
8 years ago
Eugen Rochko 96e58cf289 Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko 1b4583ca91 Fix full-text search query quotation, improve tag search performance with an index,
8 years ago
Eugen Rochko bee385a81f Merge branch 'master' into feature-omnisearch
8 years ago
Eugen Rochko afd53467eb More efficient single account retrieval (0.9ms vs 50ms before)
8 years ago
Eugen Rochko 3893f75a51 New API method: /api/v1/search
8 years ago
Eugen Rochko a19062b726 Federate header images, fix open-uri http->https redirection error
8 years ago
Eugen Rochko 64be072702 Make account search blazing fast and rank followers/followees higher in the results
8 years ago
Eugen Rochko 8e2146ab50 Add method for retrieving triadic closures
8 years ago
Eugen Rochko f1b9644cfd Add "direct" visibility level in the backend. Web UI is not yet
8 years ago
Eugen Rochko dea8e95d14 Performance improvement for profiles
8 years ago
Eugen Rochko 8bc70e6a16 Use more widely supported MP4 format for gifv's
8 years ago
Eugen Rochko 42b6d5aca5 Increase max bitrate of converted webms, slightly optimized counter queries
8 years ago
Eugen Rochko 354eb3b757 Add vsync -cfr option when converting gif to webm
8 years ago
Eugen Rochko 671d1d8a26 Higher quality webms? Might improve conversation of some types of gifs
8 years ago
Eugen Rochko c911ade272 Detect videos with no sound, handle them like gifv
8 years ago
Eugen Rochko 9adf6e8736 Fix wrongful matching of last period in extended usernames
8 years ago
Eugen Rochko d1e1f26878 Improved /api/v1/accounts/:id/statuses with new params: only_media, exclude_replies
8 years ago
Eugen Rochko 4b93cf88e5 Fix #431 - convert gif to webm during upload. Web UI treats them like it did
8 years ago
Eugen Rochko 0cb5a2a0a7 Add digest e-mails
8 years ago
Eugen Rochko 9989890e2e Fix #231 - Muting
8 years ago
Kit Redgrave 4554ccd5d0 Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko a741049a77 Fix #104 - Style OAuth authorized applications page
8 years ago
Eugen Rochko b734ae3029 Skip remote media URLs that don't have a hostname
8 years ago
Eugen Rochko c7427bf3c9 Split public timeline into "public timeline" which is local, and
8 years ago
Eugen Rochko 3d291bcc55 Do not display non-Status stream entries anymore
8 years ago
Eugen Rochko 6917e53fe0 Adding index overview for reports in admin UI
8 years ago
Eugen Rochko 2cc31b3194 Adding POST /api/v1/reports API, and a UI for submitting reports
8 years ago
Eugen Rochko f9f8f52fe9 Stop trying to shoehorn all Salmon updates into the poor database-connected
8 years ago
Eugen Rochko 12ed6f5712 Resolve issue with rendering authorize/reject Salmon slaps
8 years ago
Eugen Rochko c001ef3df6 Fix Status.permitted_for scope query
8 years ago
Eugen Rochko db53bfd30e Fix semantics of follow requests another slaps
8 years ago
Eugen Rochko ffd58aad9d Make PuSH only distribute to subscriptions that match follower domains
8 years ago
Eugen Rochko ce193afa4f Mentions in private statuses allow mentioned people to see them
8 years ago
Eugen Rochko 59c8c2b28a Make follow requests federate
8 years ago
Eugen Rochko f0d4a2c9b7 Fix the fix
8 years ago
Eugen Rochko 81be690f95 Fix #614 - extra reply-boolean on statuses to account for cases when replied-to
8 years ago
Eugen Rochko 94cda4cfb9 Add "clear notifications" button, exclude posts from people who have blocked *you* from public/hashtag timelines
8 years ago
Eugen Rochko b1f2683ecc Add API modifiers to limit returned toots from public/hashtag timelines
8 years ago
Eugen Rochko d384845469 Fix #61 - Add list of blocked users to the UI; clean up failed push notifications API
8 years ago
Eugen Rochko 2f126b1225 Removing failed push notification API, make context loads use cache
8 years ago
Eugen Rochko 727d236fcc Cleaning up format of broadcast real-time messages, removing
8 years ago
Eugen Rochko edcfbee9f5 Fix #529 - Make hashtag timelines show conversations, fix hashtag loading in the UI
8 years ago
Eugen Rochko 9327d05bf7 API for apps to register for push notifications
8 years ago
Eugen Rochko 9b8670c939 Added optional two-factor authentication
8 years ago
Eugen Rochko 27ad4ce9e8 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
8 years ago
Eugen Rochko 096ff9ba38 Removed accidental n+1 query from notifications, updated some deps,
8 years ago
Eugen Rochko 803652ff75 Follow request authorizations faster
8 years ago
Eugen Rochko 959e064186 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
8 years ago
blackle e25fc71c2c Implement a click-to-view spoiler system
8 years ago
Eugen Rochko 77a76d5171 Domain blocks now have varying severity - auto-suspend vs auto-silence
8 years ago
Eugen 9a2a6b476b Mitigate inconsistent notifications
8 years ago
Eugen Rochko f748a91ec7 Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko 31d48af0d1 Fix statsd null backend not being initialized properly
8 years ago
Eugen 788e884690 Try to avoid any potential loops
8 years ago
Eugen Rochko 3f30e91462 Improve how the list entry Account component looks when target is blocked/follow is requested
8 years ago
Eugen Rochko 5d88ef90c9 Fix tests, add applications to eager loading/cache for statuses, fix
8 years ago
Effy Elden 8e0c1914fb 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 533448be42 Add extended about page stub
8 years ago
Eugen Rochko 6d98465db2 Extend rails-settings-cached to merge db-saved hash values with defaults
8 years ago
Eugen Rochko 7e7c2bbb0f Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
8 years ago
Eugen Rochko 4293e132d1 Persist UI settings, add missing localizations for German
8 years ago
Eugen Rochko f29df16eea Fix Paperclip timeout setting. Fix bug introduced in #437
8 years ago
Eugen 72843ea705 Merge pull request #437 from krainboltgreene/patch-1
8 years ago
Kurtis Rainbolt-Greene 5cecff7f2a Simplifying followers mappings
8 years ago
Kurtis Rainbolt-Greene ff835f3377 Less complicated determination
8 years ago
Kurtis Rainbolt-Greene 82b0eb2ae4 Using "rails style" order arguments
8 years ago
Eugen Rochko 0df070596e Fix #416 - Generate random unique 14-byte (19 characters) shortcodes
8 years ago
Eugen Rochko df2f14d2dd Adding remote follow button
8 years ago
Eugen Rochko d7bc0d8a33 Set in_reply_to_account on statuses to non-self value when possible, thus
8 years ago
Eugen Rochko 2bc6e7c96e Add API for retrieving blocked accounts
8 years ago
Eugen Rochko 34febf75be Fix wrong person being notified after nested reblog call, fix favourites leaking private toots in Atom feeds
8 years ago
Eugen Rochko cef68b9b1c Follow requests send e-mail notifications, but are excluded from notifications API
8 years ago
Eugen Rochko ef9e827c54 Adding follow requests API
8 years ago
Eugen Rochko 1ed3bb3a02 Don't show statuses to blocked users
8 years ago
Eugen Rochko 9e0bd72434 Fix account timelines bug
8 years ago
Eugen Rochko a3680345b7 Hide follow/unfollow button from public page if follow already requested
8 years ago
Eugen Rochko 238233440f Follow call on locked account creates follow request instead
8 years ago
Eugen Rochko 11e2159859 Merge branch 'master' into development
8 years ago
Eugen Rochko 8038c663b0 Ensure that reblogs and favs always refer to the original status rather than a reblog wrapper
8 years ago
Eugen Rochko d417da7d3a Private visibility on statuses prevents non-followers from seeing those
8 years ago
Eugen Rochko 6d7f3be2f6 Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
8 years ago
Eugen Rochko 9d4f96f440 Removing external hub completely, fix #333 fixing digit-only hashtags,
8 years ago
Eugen Rochko ebfe460e82 Downsize attachment previews, but improve quality from 80 to 90
8 years ago
Eugen Rochko 88218c83d5 Add suspend account functionality to admin UI
8 years ago
Eugen Rochko a4d3947c88 Fix
8 years ago
Eugen Rochko ca0757a6cf Add account suspension
8 years ago
Eugen Rochko 303044f899 Downsize originals in media attachments, small fixes
8 years ago
Eugen Rochko e5e702a976 Adding configurable e-mail blacklist
8 years ago
Eugen Rochko 595f592304 Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals
8 years ago
Eugen Rochko 047bdf6fe0 Improve notification model
8 years ago
Eugen Rochko 2d4ce8a867 Fix #248 - Reload all accounts when fetching from cache
8 years ago
Eugen Rochko 23a4f93345 Fix #323 - self-replies to appear in public timelines again
8 years ago
Eugen Rochko 211049ae59 Fix #329 - avatar errors no longer prevent remote accounts from being saved
8 years ago
Eugen Rochko 8d4ef0b6c3 Per-status control for unlisted mode, also federation for unlisted mode
8 years ago
Eugen Rochko 1bb1ec3b8d Further abstract caching for includes
8 years ago
Eugen Rochko bee7aeaea5 Unify collection caching code
8 years ago
Eugen Rochko 67db2cd871 Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
8 years ago
Eugen Rochko 0cc5410e03 Adding backtracing to Salmon/Processing workers
8 years ago
Eugen Rochko b344f157cc Fix order of attachments (see #269)
8 years ago
Eugen Rochko b5ad0eb4ea Adding embedded PuSH server
8 years ago
Eugen Rochko 31108d4659 Public and hashtag timelines now exclude reblogs and replies
8 years ago
Eugen Rochko ea0846645a Fix #65 - Options to block notifications from people you don't follow/who don't follow you
8 years ago
Eugen Rochko 3b3bf2dd59 Filter statuses that mention blocked users
8 years ago
Eugen Rochko 30f9e9e624 Remove Neo4J
8 years ago
Alyssa Ross cb06801b21 Extract filename obfuscation into module
8 years ago
Eugen Rochko 59d7fe4c05 Fix #168 - Turn off e-mail notifications by default
8 years ago
Eugen Rochko dda6354c76 Implement includes caching for timelines APIs
8 years ago
Eugen Rochko f6a975af8b More query optimizations
8 years ago
Eugen Rochko 30010a6dbd Moving some counter queries out of subqueries in the API
8 years ago
Eugen Rochko f07b0dc82f 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 4d100a1b36 Remove some n+1 queries from notifications API
8 years ago
Eugen Rochko 83cdfefa7d Remove orphaned notifications, add scopes param to app create API
8 years ago
Eugen Rochko 38025dfea3 Adding unified streamable notifications
8 years ago
Eugen Rochko d2029a8845 Don't create attachments if remote file cannot be fetched
8 years ago
Eugen Rochko 8d767b477f Validate presence of text even for remote statuses
8 years ago
Eugen Rochko b8e6ca45e5 Add user locale setting
8 years ago
Eugen Rochko c6f5eb8aa7 Fix #144 - Filter statuses from blocked users out of ancestors/descendants results
8 years ago
Eugen Rochko e71b152d89 Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko 733b5415be Fix #142 - Escape ILIKE special characters from Account.find_remote
8 years ago
Eugen Rochko 6b7fdf3b5f Weigh username matches higher than domain matches in account search
8 years ago
Eugen Rochko cbfa28b9cc Use full-text search for autosuggestions
8 years ago
Eugen Rochko d8c2044e65 Fix public timeline query
8 years ago
Eugen Rochko 0b03bbad67 Discard misattributed remote statuses, improve timelines filter
8 years ago
Eugen Rochko 6d9f8ee11e Improve filtering of public/hashtag timelines, both in backlog and real-time
8 years ago
Eugen Rochko beb36e24fe API pagination for all collections using Link header
8 years ago
Eugen Rochko d98b43cf56 Move timelines API from statuses to its own controller, add a check for
8 years ago
Eugen Rochko f1d2c46ded Improve feed regeneration
8 years ago
Eugen Rochko b225b8d32e Fix account and hashtag regex
8 years ago
Eugen Rochko 6d948a809e Account notes (bios) can now contain links. Character limit upped to 160
8 years ago
Eugen Rochko f0956d434c Improve @mention regex
8 years ago
Eugen Rochko cb22dce970 Adding hashtags
8 years ago
Eugen Rochko 082e57fc13 Adding hashtag model
8 years ago
Eugen Rochko 71836838dd Enable caching for some rabl views
8 years ago
Eugen Rochko 02a90979c5 Catch 404 errors when downloading remote media, add screenshot to landing page
8 years ago
Eugen Rochko 95e65d883a Limit returned followees/followers by API to 40 for now
8 years ago
Eugen Rochko e5c0f979cf Fix common followers API
8 years ago
Eugen Rochko 38cacac4b0 Adding common followers API, fixing fallback query again
8 years ago
Eugen Rochko 2917bca72b Fix follow suggestion fallback to exclude already followed users
8 years ago
Eugen Rochko f9e06eb819 Make suggestions box also use user list components
8 years ago
Eugen Rochko 1eac265f35 Adding public timeline silencing
8 years ago
Eugen Rochko d8a66ab492 Fix suggestions fallback query
8 years ago
Eugen Rochko d63f0295b9 Fix public channel
8 years ago
Eugen Rochko 6657414266 Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
8 years ago
Eugen Rochko 4470966cd9 Fix #100 - Add "back" button to certain views
8 years ago
Eugen Rochko 39aa7caaa5 Do not force-transcode uploaded videos to webm (leave mp4 as-is)
8 years ago
Eugen Rochko 39d6f837db Actually fix public timeline
8 years ago
Eugen Rochko b1dee1b6d1 Fix #99 - public timeline not just reblogs, fix #98 infinite scrolling issues
8 years ago
Eugen Rochko 1df4d2e3aa Increase default number of loaded suggestions to 10
8 years ago
Eugen Rochko 41aae40927 Fix #16 - Optimize n+1 queries when checking reblogged/favourited values for status lists in API
8 years ago
Eugen Rochko 19b6f7a013 Filter out reblogs of blocked users from public timeline (the not real-time variant)
8 years ago
Eugen Rochko 916907580e Backfill follow suggestions with fallback when not enough results. Cycling
8 years ago
Eugen Rochko 395d15e5fd Fix suggestions fallback
8 years ago
Eugen Rochko 8497dfc98e Fix follow suggestions order
8 years ago