797 Commits (780d99c204df824fe959a3db00999f973a29c351)

Author SHA1 Message Date
Eugen Rochko aff6a15061
When follow is removed, remove endorsement (#8149)
6 years ago
Eugen Rochko f2404de871
Public profile endorsements (accounts picked by profile owner) (#8146)
6 years ago
Eugen Rochko cc56f2230a
Add separate setting for sidebar text (site_short_description) (#8107)
6 years ago
Eugen Rochko e7e577dd6e
Enforce username format for remote users, too (#8102)
6 years ago
Eugen Rochko 1656663598
Convert MOV and WEBM to MP4, raise maximum limit to 40MB (#8101)
6 years ago
Eugen Rochko bb71538bb5
Redesign public profiles and toots (#8068)
6 years ago
Eugen Rochko 0fb0037ca7
Resize images by area instead of fixed dimensions (#8083)
6 years ago
Eugen Rochko 69c34f3438
Fix number of results returned from TrendingTags.get
6 years ago
Eugen Rochko 0d13e30ad2
Display trending hashtags on admin dashboard (#8038)
6 years ago
Eugen Rochko e55dce3176
Add federation relay support (#7998)
6 years ago
ThibG 1ca4e51eb3 Add option to not consider word boundaries when processing keyword filtering (#7975)
6 years ago
Eugen Rochko 6b9e03e002
Add API method to remove a suggestion (#7978)
6 years ago
Eugen Rochko f89c595ea0
Add admin setting to enable OG previews for sensitive media (#7962)
6 years ago
Renato "Lond" Cerqueira 4045b50bd6 Restore support to ruby 2.3, add ruby 2.3 to circle ci (#7935)
6 years ago
Eugen Rochko da8fe8079e
Re-add follow recommendations API (#7918)
6 years ago
Eugen Rochko cdb101340a
Keyword/phrase filtering (#7905)
6 years ago
ThibG 50a2854f92 Fix jpeg files sometimes being returned with a .jpe extension (#7881)
6 years ago
Eugen Rochko 50689f0d41
Create special case to prefer "jpeg" over "jpe" file extension (#7841)
6 years ago
Eugen Rochko a58ec29631
Allow selecting default posting language instead of auto-detect (#7828)
6 years ago
Eugen Rochko 7eec279c7f
Change language opt-out to language opt-in (#7823)
6 years ago
Eugen Rochko ca85658975
Add autofollow option to invites (#7805)
6 years ago
Eugen Rochko 17dc07f667
Fix has_one association on Web::PushSubscription (#7767)
6 years ago
Eugen Rochko 59b42188a7
Filter out blocked/muted people from profile timelines (#7747)
6 years ago
Yamagishi Kazutoshi 683707839f Fix fetch of remote image with multiple Content-Type headers (#7749)
6 years ago
Yamagishi Kazutoshi b7b331ad0d Add missing dot for remote image (#7751)
6 years ago
Eugen Rochko bd0791d800
Add redraft function (#7735)
6 years ago
nightpool 5fb013878f Fix context performance by partially reverting #7083 (#7734)
6 years ago
Yamagishi Kazutoshi dc73241bd9 Detect extname from Content-Type (#7733)
6 years ago
Akihiko Odaki 5bf5003384 Do not mark remote status sensitive even if spoiler text is present (#7395)
6 years ago
Eugen Rochko 0deb9fa6b9
Remove trending hashtags (#7711)
6 years ago
Eugen Rochko 6e6c0e9613
Use different algorithm for trending tags (#7697)
6 years ago
Eugen Rochko a7d726c383
Improve counter caches on Status and Account (#7644)
6 years ago
Eugen Rochko 461542784b
Reduce wasted work in RemoveStatusService due to inactive followers (#7672)
6 years ago
Eugen Rochko e599d7caf2 Rescue Mastodon::DimensionsValidationError in Remoteable (#7662)
6 years ago
tateisu b87a1229c7 optimize direct timeline (#7614)
6 years ago
Eugen Rochko 9bd23dc4e5
Track trending tags (#7638)
6 years ago
Eugen Rochko 63c7b91572 Validate that e-mail resolves with MX and it's not blacklisted (#7631)
6 years ago
Eugen Rochko 8378b72eba
Ensure push subscription is immediately removed when application is revoked (#7548)
6 years ago
Eugen Rochko 4b94e9c65e
Improve payload format of Web Push API now that it's open (#7521)
6 years ago
Eugen Rochko 1e02dc8715
Add preference to hide following/followers lists (#7532)
6 years ago
Eugen Rochko f31e58af9e
Fix nil error in StatusFilter (#7470)
6 years ago
ThibG be7eeb7856 Catch Paperclip processing failures (fixes #6378) (#7439)
6 years ago
Eugen Rochko b4fb766b23
Add REST API for Web Push Notifications subscriptions (#7445)
6 years ago
Eugen Rochko 42cd363542
Bot nameplates (#7391)
6 years ago
Eugen Rochko 61a9018607
Enable custom emojis in profiles (notes, field values, display names) (#7374)
6 years ago
Eugen Rochko 8da4bf0f90
4 profile fields max, store only 255 characters per name/value (#7348)
6 years ago
Eugen Rochko c73ce7b695
Store home feeds for 7 days instead of 14 (#7354)
6 years ago
Eugen Rochko 6793bec4c6
Store URIs of follows, follow requests and blocks for ActivityPub (#7160)
6 years ago
ThibG a24605961a Fixes/do not override timestamps (#7336)
6 years ago
Eugen Rochko a5293fdf61
Fix n+1 queries in StatusThreadingConcern (#7321)
6 years ago
Eugen Rochko a3d84e705a
Fix cache_associated no longer working (#7320)
6 years ago
abcang 71a7cea73f Keep notification when muting_notifications is true (#7311)
6 years ago
Eugen Rochko cae933510c
Allow updating bio fields via PUT /api/v1/accounts/update_credentials (#7288)
6 years ago
Eugen Rochko c5dcd7d836
Speed up test suite by not generating RSA keys in test environment (#7296)
6 years ago
Eugen Rochko a872392cd9
Add entity cache (#7271)
6 years ago
Emelia Smith 60b871d56c Implement the ability for instances to define a list of disallowed hashtags (#7176)
7 years ago
Emelia Smith 495303d9b8 Prevent suspended accounts from appearing in AccountSearchService (#7246)
7 years ago
Akihiko Odaki 1258efa882 Paginate descendant statuses in public page (#7148)
7 years ago
Yamagishi Kazutoshi 9613a53cb3 Update dependencies for Ruby (2018-04-23) (#7237)
7 years ago
Eugen Rochko 7db7d68136
Detect and prevent image bombs, max. processable dimension 4096^2 (#7229)
7 years ago
Eugen Rochko 4ca2f73b12
Rescue Mastodon::LengthValidationError in Remoteable (#7228)
7 years ago
Eugen Rochko bfe26ef67b
Force convert to JPG for preview card thumbnails to avoid animations (#7109)
7 years ago
Kaito Sinclaire 156b916caf Direct messages column (#4514)
7 years ago
Eugen Rochko bb58fc003b
Fix warning about using SQL in order for Account#partitioned (#7159)
7 years ago
Eugen Rochko 78ed4ab75f
Add bio fields (#6645)
7 years ago
Yamagishi Kazutoshi 50529cbceb Upgrade Rails to version 5.2.0 (#5898)
7 years ago
Akihiko Odaki 519119f657 Paginate ancestor statuses in public page (#7102)
7 years ago
Emelia Smith d9b62e34da Feature: Improve reports ui (#7032)
7 years ago
Paul Woolcock 8f800ad691 Change custom emoji search to `ILIKE` instead of `=` (#7099)
7 years ago
Emelia Smith 219a4423d8 Feature: Allow staff to change user emails (#7074)
7 years ago
MIYAGI Hikaru e6e93ecd8a Fix GIFV encoding params (#7098)
7 years ago
Akihiko Odaki 498327b2e3 Exclude status itself from context query (#7083)
7 years ago
Emelia Smith e85cffb236 Feature: Report improvements (#6967) (#7000)
7 years ago
David Underwood 123a343d11 [WIP] Enable custom emoji on account pages and in the sidebar (#6124)
7 years ago
Eugen Rochko 2a90da1837
Fix UniqueUsernameValidator comparison (#6926)
7 years ago
Akihiko Odaki 40e5d2303b Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki b2a4ffd3a9 Change columns in notifications nonnullable (#6764)
7 years ago
Akihiko Odaki 54b273bf99 Close http connection in perform method of Request class (#6889)
7 years ago
Eugen Rochko da70aca28e
Restore username validation to disallow dots, for now (#6863)
7 years ago
ThibG 6f531d140b Fix MENTION_RE to not match nil usernames (#6862)
7 years ago
Eugen Rochko 93897134ca
Permit dots in usernames with conditions (#6844)
7 years ago
Alexander 0306e3e9be bugfixes and gem update (#6831)
7 years ago
Daniel Hunsaker 4a0a19fe54 Handle Mastodon::HostValidationError when pulling remoteable assets (#6782)
7 years ago
Eugen Rochko 1aaec701bb
Fix #6715: Make catalan words with the L geminate letter work in hashtags (#6741)
7 years ago
Renato "Lond" Cerqueira 9aba44ea79 Rescue when there's no extension in the remotable (#6358)
7 years ago
Eugen Rochko cfa9b6e13a
Remove text requirement when media attached from statuses (#6672)
7 years ago
Effy Elden dd9d00d293 Add additional first_name and last_name SAML attribute statement options, and modify Omniauthable concern to use full_name or first_name + last_name if not available (#6669)
7 years ago
Eugen Rochko 78d772af86
Fix #3807: Increase avatars to 400x400 max (#6651)
7 years ago
Akihiko Odaki c110fa62ac Provide default OTP_SECRET value for development environment (#6617)
7 years ago
Eugen Rochko 9110db41c5
Federate pinned statuses over ActivityPub (#6610)
7 years ago
Eugen Rochko 47bdb9b33b
Fix #942: Seamless LDAP login (#6556)
7 years ago
Eugen Rochko 41a01bec23
Federated reports (#6570)
7 years ago
Ian McCowan c33931b613 Fix prev/next links on public profile page (#6497)
7 years ago
Eugen Rochko 5cc716688a
Ensure the app does not even start if OTP_SECRET is not set (#6557)
7 years ago
Ghislain Loaec e668180044 New variable OAUTH_REDIRECT_AT_SIGN_IN + Ref #6538 (not only SAML strategies) (#6540)
7 years ago
Ghislain Loaec 3084fe4959 New env variable: SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED + fixes #6533 (#6538)
7 years ago
Eugen Rochko 90f12f2e5a
Focal points (#6520)
7 years ago
Eugen Rochko d3a62d2637
Fix #6525: Make sure file is opened in LazyThumbnail processor (#6529)
7 years ago
Eugen Rochko 61ed133fea
Account archive download (#6460)
7 years ago
Eugen Rochko a7171af0a3
Fix avatar and header issues by using custom geometry detector (#6515)
7 years ago
Eugen Rochko 66105929e0
Don't resize avatars/headers if their dimensions are already right (#6508)
7 years ago
Eugen Rochko cba2897108
Cache relationships in API (#6482)
7 years ago
Eugen Rochko a71af98401
Push discovered status through streaming API within a time window (#6484)
7 years ago
Eugen Rochko 9dbae6e8a1
Save video metadata and improve video OpenGraph tags (#6481)
7 years ago
Eugen Rochko 3ebc0ad4d3
Full-text search for authorized statuses (#6423)
7 years ago
Eugen Rochko 76f3d5d16b
Add preference to always display sensitive media (#6448)
7 years ago
abcang 298c81c00f Clear account cache of notification target_status (#6442)
7 years ago
Akihiko Odaki 67f7ffa792 Change user_id column non-nullable (#6435)
7 years ago
Eugen Rochko 38e0133e1b
Make PAM gem optional, allow configuration over environment (#6415)
7 years ago
Renato "Lond" Cerqueira 4e4f1b0dcb Add option to show only local toots in timeline preview (#6292)
7 years ago
Eugen Rochko 26f21fd5a0
CAS + SAML authentication feature (#6425)
7 years ago
Alexander 04fef7b888 pam authentication (#5303)
7 years ago
Eugen Rochko 1cc44cba81
Fix #6331 (#6341)
7 years ago
Akihiko Odaki 613e7c7521 Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
Yamagishi Kazutoshi 238de58e65 Change belongs_to_required_by_default to true (#5888)
7 years ago
Eugen Rochko d799921c75
Replace tutorial modal with welcome e-mail (#6273)
7 years ago
Eugen Rochko ed867eca9d
Move e-mail digest task to sidekiq, reduce workload, improve hint (#6252)
7 years ago
Eugen Rochko dbda87c31f
Revert #5772 (#6221)
7 years ago
Patrick Figel 5ec25ff3e1 Fix email confirmation link not updating email (#6187)
7 years ago
Akihiko Odaki 161c72d66d Allow to dereference Follow object for ActivityPub (#5772)
7 years ago
Patrick Figel 04ecf44c2f Add confirmation step for email changes (#6071)
7 years ago
Eugen Rochko 38fc1b498d
Add more instance stats APIs (#6125)
7 years ago
Eugen Rochko ad75ec8b5b
Add filters to admin UI for custom emojis (#6003)
7 years ago
Eugen Rochko 20a6584d2d
Clean up admin UI for accounts (#6004)
7 years ago
Akihiko Odaki 14c4a33cd9 Change account_id non-nullable in lists (#5979)
7 years ago
Eugen Rochko 481fac7c84
Exclude moved accounts from search results (#5984)
7 years ago
Andrea Scarpino 6a82939adb Fix account and tag searches with leading/trailing spaces (#5965)
7 years ago
Eugen Rochko 2f4c5f504f
Limit users to 50 lists, remove pagination from lists API (#5933)
7 years ago
Eugen Rochko c36b9cc5a6
Ensure link thumbnails are not stretched to super low quality (#5932)
7 years ago
Yamagishi Kazutoshi 0c4ca3e549 Remove duplicate annotate (#5910)
7 years ago
Akihiko Odaki c083816c24 Add embed_url to preview cards (#5775)
7 years ago
Yamagishi Kazutoshi b21db9bbde Using double splat operator (#5859)
7 years ago
Eugen Rochko 42bcbd36b7 Remove rabl dependency (#5894)
7 years ago
Eugen Rochko d68868ca14
Lists redis clean-up (#5886)
7 years ago
Eugen Rochko e20895f251
Add list of lists component to web UI (#5811)
7 years ago
Yamagishi Kazutoshi 74320971e2 Add invite filter (#5862)
7 years ago
Eugen Rochko 85e97ecab6
Fix too many forwards (#5854)
7 years ago
Yamagishi Kazutoshi 15fab79cfa Show "expired" in invite index (#5838)
7 years ago
aschmitz eeaec39888 Allow hiding of reblogs from followed users (#5762)
7 years ago
nullkal 1b57d4dd3a Fix account migration feature (#5837)
7 years ago
Eugen Rochko 706e534455
Add UI for setting up account migration (#5832)
7 years ago
Eugen Rochko 740f8a95a9
Add consumable invites (#5814)
7 years ago
William Pitcock 32987004c9 status: preserve visibility attribute when reblogging (infoleak fix) (#5789)
7 years ago
abcang 269a445c0b Fix unnecessary order (#5807)
7 years ago
Eugen Rochko e84fecb7e9
Add logging of admin actions (#5757)
7 years ago
abcang 53e95c4efc Fix N+1 at notification (#5752)
7 years ago
Yamagishi Kazutoshi bfdcf76a64 Add “staff” badge to admin user pages (#5735)
7 years ago
Eugen Rochko 58cede4808
Profile redirect notes (#5746)
7 years ago
Eugen Rochko 24cafd73a2
Lists (#5703)
7 years ago
Eugen Rochko 3e90987c8b Fix some rubocop style issues (#5730)
7 years ago
Eugen Rochko 2151fd3150
Display moderator badge (green), admin badge changed to red (#5728)
7 years ago
ysksn 9e3d24a150 Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)
7 years ago
ysksn 19e8b861a2 Delegate some methods of User to @settings (#5706)
7 years ago
Surinna Curtis 031a5a8f92 Optional notification muting (#5087)
7 years ago
Yamagishi Kazutoshi 20150659e6 Add uniqueness to block email domains (#5692)
7 years ago
Daniel Hunsaker cf7e840990 Update model annotations to use BIGINT for IDs (#5461)
7 years ago
Eugen Rochko 7bb8b0b2fc
Add moderator role and add pundit policies for admin actions (#5635)
7 years ago
ysksn 54b42901df Add and Remove tests for FollowRequest (#5622)
7 years ago
ThibG 5d5c0f4f43 Twidere mention workaround (#5552)
7 years ago
Eugen Rochko 1032f3994f
Add ability to disable login and mark accounts as memorial (#5615)
7 years ago
nullkal b6e2e999bd Show the local couterpart of emoji when it exists in /admin/custom_emojis (#5467)
7 years ago
nullkal 781105293c Feature: Unlisted custom emojis (#5485)
7 years ago
Nolan Lawson fa0be3f834 Add option to reduce motion (#5393)
7 years ago
unarist a1c54220e8 Optimize Status#permitted_for 500x (account timeline) (#5373)
7 years ago
Eugen Rochko b8db386e05 Fix UserTrackingConcern firing on every request, optimize some queries (#5368)
7 years ago
Lex Alexander b8bae96647 Retoot count increases without reason (#5363)
7 years ago
nullkal 6c54d2e583 foreign_key, non-nullable, dependent: destroy in account_moderation_notes (#5294)
7 years ago
Eugen Rochko 0717d9b3e6 Set snowflake IDs for backdated statuses (#5260)
7 years ago
nullkal 633426b261 Add moderation note (#5240)
7 years ago
Eugen Rochko 3a3475450e Encode custom emojis as resolveable objects in ActivityPub (#5243)
7 years ago
Eugen Rochko 49cc0eb3e7 Improve admin UI for custom emojis, add copy/disable/enable (#5231)
7 years ago
Eugen Rochko b9c76e2edb When processing custom emoji, ensure a non-animated version exists (#5230)
7 years ago
utam0k b3af3f9f8c Implement EmailBlackList (#5109)
7 years ago
aschmitz 468523f4ad Non-Serial ("Snowflake") IDs (#4801)
7 years ago
aschmitz 97c02c3389 Make IdsToBigints (mostly!) non-blocking (#5088)
7 years ago
Eugen Rochko f4ca116ea8 After 7 days of repeated delivery failures, give up on inbox (#5131)
7 years ago
Eugen Rochko 887cd94e96 Increase attachment descriptions to 420 characters (#5139)
7 years ago
Eugen Rochko 76f360c625 If HTTP signature is wrong and webfinger cache is stale, retry with resolve (#5129)
7 years ago
Eugen Rochko 4ec1771165 Add ability to specify alternative text for media attachments (#5123)
7 years ago
Eugen Rochko 3caf0ba923 Fix empty query sent to postgres for custom emojis (#5121)
7 years ago
unarist 5c82c2b75f Increase max height of preview card image (#5092)
7 years ago
Eugen Rochko 1e02ba111a Add emoji autosuggest (#5053)
7 years ago
Eugen Rochko 293972f716 New API: GET /api/v1/custom_emojis to get a server's custom emojis (#5051)
7 years ago
Eugen Rochko 9c8e602163 Fix custom emojis not detected when used in content warning (#5049)
7 years ago
Akihiko Odaki 0de82dd316 Do not filter statuses with unknown languages (#5045)
7 years ago
unarist c8580eb806 Use file extensions in addition to MIME types for file picker (#5029)
7 years ago
Akihiko Odaki bb4d005a83 Introduce OStatus::TagManager (#5008)
7 years ago
Andrew 0401a24558 Add support for multiple themes (#4959)
7 years ago
Eugen Rochko 81cec35dbf Custom emoji (#4988)
7 years ago
unarist dd6f9a1b82 Validate uri presence for remote status (#4985)
7 years ago
Akihiko Odaki 198a9a4fa4 Remove local_only scope in Status (#4977)
7 years ago
Eugen Rochko 54edb4b853 When accessing uncached media attachment, redownload it (#4955)
7 years ago
Eugen Rochko 04046a4983 Fix #4908 - Do not keep remote file names, generate random (#4934)
7 years ago
Eugen Rochko 9239e4ce4d Uploads for admin site settings (#4913)
7 years ago
nullkal da77f65c46 Add instance search feature (#4925)
7 years ago
Eugen Rochko 0a6b098668 Fix count numbers from ActivityPub not being saved (#4899)
7 years ago
Eugen Rochko 7d7844a47f Default follows for new users (#4871)
7 years ago
Eugen Rochko dd6ede554f Fix #4834 - Adjust Status#local and Status#remote scopes (#4839)
7 years ago
voidSatisfaction 8185f98872 Feat add validation for report comment: characters under 1000 valid (#4833)
7 years ago
Eugen Rochko 11bddd31ce Fix locking migration on statuses table. Nullable column and NO default value (#4825)
7 years ago