1183 Commits (6da648227ef59e5c77dc9d2c89a39eb5496a153e)

Author SHA1 Message Date
Eugen Rochko e1d0390e29
Add batch actions for approving and rejecting pending accounts (#10469)
6 years ago
Eugen Rochko 2c63e0292a
Fix admin validation being too strict about usernames (#10449)
6 years ago
ThibG d4882aa64a Export and import `hide_notifications` alongside user mutes (#10335)
6 years ago
ThibG 120544067f Fix filtering of favourited_by, reblogged_by, followers and following (#10447)
6 years ago
ThibG 62bafa20a1 Hide blocking accounts from blocked users (#10442)
6 years ago
slice 85973f4f37 Improvements to image upload validation and creation (#10431)
6 years ago
slice 59cce07601 Add thumbnail, hero, and mascot back to Form::AdminSettings::KEYS (#10430)
6 years ago
Alex Gessner 69141dca26 squashed identity proof updates (#10375)
6 years ago
Eugen Rochko f1bc90ab50
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)
6 years ago
Eugen Rochko e117964325
Change icons of features on admin dashboard to remove bias (#10366)
6 years ago
Eugen Rochko 94e5e834f2
Improve performance of list of blocked domains by caching counts (#10374)
6 years ago
Eugen Rochko 45b849bad9
Fix MergeWorker being queued for remote users (#10355)
6 years ago
Eugen Rochko 555c4e11ba
Add validations to admin settings (#10348)
6 years ago
Eugen Rochko 00d988955f
If registrations have been re-opened when user confirms account, approve (#10349)
6 years ago
ThibG 80f0910e21 Add support for custom emojis in poll options (#10322)
6 years ago
Eugen Rochko 9c4cbdbafb
Add Keybase integration (#10297)
6 years ago
ThibG a20354a20b Set and store report URIs (#10303)
6 years ago
ThibG 5e38ef87a7 Fix reblogs privacy (#10302)
6 years ago
Eugen Rochko 1c113fd72d
Add relationship manager UI (#10268)
6 years ago
Eugen Rochko 3ad3223b46
Fix detailed poll validation errors not being returned in the API (#10261)
6 years ago
Eugen Rochko ba84b6d4d7
Add `visibility` param to reblog REST API (#9851)
6 years ago
Eugen Rochko 51e154f5e8
Admission-based registrations mode (#10250)
6 years ago
Eugen Rochko 9e33174604
Refactor User model, extract PamAuthenticable, LdapAuthenticable (#10217)
6 years ago
ThibG 65d9004ac9 Add UI for enabling/disabling poll notifications (#10255)
6 years ago
Eugen Rochko 06663fcf87
Fix `tagged` param not being normalized before querying tags (#10249)
6 years ago
Eugen Rochko 9f5b55ad4f
Fix poll update handler calling method was that was not available (#10246)
6 years ago
Aurélien Reeves 85537b0069 Squish username before validation (#10239)
6 years ago
ThibG 3a92885a86 Support pushing and receiving updates to poll tallies (#10209)
6 years ago
ThibG 3f4a6d44fe Fix setting up fields of a previously suspended account (#10222)
6 years ago
ThibG 3aaac4f134 Do not allow adding votes to expired polls (#10214)
6 years ago
Eugen Rochko 054bbb3da2
Immediately display poll results to poll author (#10187)
6 years ago
ThibG 96f905f409 Add optimistic lock to avoid race conditions when handling votes (#10196)
6 years ago
Eugen Rochko 0c43c320db
Fix status creation API silently discarding invalid poll (#10171)
6 years ago
ThibG d785497ba5 Fix suspended account's fields being set as empty dict instead of list (#10178)
6 years ago
Eugen Rochko a198add83b
Fix various issues in polls (#10165)
6 years ago
Eugen Rochko 5d3e7cee99
Fix featured tag form not failing on failed tag validations (#10167)
6 years ago
Eugen Rochko 05dfd632c7
Fix poll options not being stripped of surrounding whitespace on save (#10168)
6 years ago
ThibG 833ffce2df Store remote votes URI (#10158)
6 years ago
ThibG e13d3792f3 Make sure the poll is created before storing its id (#10142)
6 years ago
Eugen Rochko 230a012f00
Add polls (#10111)
6 years ago
ThibG 99dc212ae5 Fix lists export (#10136)
6 years ago
ThibG 9d3c6f1849 Improved remote thread fetching (#10106)
6 years ago
Eugen Rochko e7f20cc43f
Add type, limit, offset, min_id, max_id, account_id to search API (#10091)
6 years ago
Hinaloe 4340d338fd correct opt-out showing application (#10086)
6 years ago
ThibG 8e7fc7ec73 Fix crash when conversations have no valid participants (#10078)
6 years ago
ThibG 6840a77711 Add domain search/filter to the "Federation" (/admin/instances) page (#10071)
6 years ago
Eugen Rochko 8ef50706a1
Fix relay enabling/disabling not resetting inbox availability status (#10048)
6 years ago
rinsuki c78d64d9c3 Use video filesize limit with gifv (#9924)
6 years ago
Eugen Rochko 364f2ff9aa
Add featured hashtags to profiles (#9755)
6 years ago
Eugen Rochko d14c276e58
Add option to overwrite imported data (#9962)
6 years ago
ThibG ed30110618 Make displaying application used to toot opt-in (#9897)
6 years ago
ysksn bcfff65195 Create Redisable#redis (#9633)
6 years ago
Acid Chicken (硫酸鶏) 5092d17f29 Add WebP support (#9879)
6 years ago
Eugen Rochko 9519d55332
Fix SSO authentication not working due to missing agreement boolean (#9915)
6 years ago
Eugen Rochko 80768e2840
Fix missing account association in tombstone model (#9857)
6 years ago
ThibG 75b1488cf4 Add tombstones for remote statuses (#9830)
6 years ago
Eugen Rochko 31f396b57d
Add support for non-public reblogs from ActivityPub (#9841)
6 years ago
Eugen Rochko 69f782b54d
Fix code style of regeneration-related code (#9843)
6 years ago
Eugen Rochko 1c6588accc
Redesign admin instances area (#9645)
6 years ago
Eugen Rochko 86f27b178c
Fix deleting a scheduled status immediately deleting media attachments (#9728)
6 years ago
Eugen Rochko a49d43d112
Add scheduled statuses (#9706)
6 years ago
Naoki Kosaka fae32634b1 Use Contact User as Relay, Report, Subscribe. (#9661)
6 years ago
Eugen Rochko 45899cfa69
Change note length validation to ignore mention domains and URLs (#9717)
6 years ago
Eugen Rochko 66436d0895
Improve e-mail digest (#9689)
6 years ago
Eugen Rochko 7fc7437d05
Add CSV export for lists and domain blocks (#9677)
6 years ago
Eugen Rochko 0f938ff29c
Add handler for Move activity (#9629)
6 years ago
Eugen Rochko 6e49907ecf
Improve admin UI for account view (#9643)
6 years ago
chr v1.x c3465f699e Add local followers page to admin account UI (#9610)
6 years ago
ysksn a8ba291beb Fix scope latest of ReportNote (#9630)
6 years ago
ysksn 0c1e4bb969 Create DomainNormalizable#normalize_domain (#9631)
6 years ago
ysksn 6641a1cac9 Remove Form::StatusBatch::ACTION_TYPE unused (#9623)
6 years ago
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572)
6 years ago
Eugen Rochko 3c033c4352
Add moderation warnings (#9519)
6 years ago
Eugen Rochko adaf249700
Fix regression in #9539 (#9541)
6 years ago
Eugen Rochko 087e118971
Remove "most popular" tab from profile directory, add responsive design (#9539)
6 years ago
Eugen Rochko 628da11e38
Do no retry web push workers if the server returns a 4xx response (#9434)
6 years ago
ThibG 720daa8143 Add instance-wide setting to disable profile directory (#9497)
6 years ago
Adam Copp 7d00e4edbd Make custom emoji domains case insensitive #9351 (#9474)
6 years ago
Eugen Rochko dbb1ee269f
Improve e-mail MX validator and add tests (#9489)
6 years ago
ThibG 81bda7d67c Add setting to not aggregate reblogs (#9248)
6 years ago
Eugen Rochko 6b78e5b5ab
Cache hashtag sample accounts, and exclude ineligible ones (#9465)
6 years ago
Eugen Rochko ecd303c097
Fix various things in the directory (#9449)
6 years ago
Takeshi Umeda c1c0f7c516 Fix tag mb_chars comparison of profile directory (#9448)
6 years ago
Eugen Rochko 73be8f38c1
Add profile directory (#9427)
6 years ago
ThibG 1a22eff1e0 Attempt fixing deadlocks by moving account stats update outside transaction (#9437)
6 years ago
Eugen Rochko 6ddf0432e7
Improve account suspension speed and completeness (#9290)
6 years ago
Eugen Rochko 4afda5444a
Change identities id column to a bigint (#9371)
6 years ago
ThibG 395615d9f3 Allow hyphens in the middle of remote user names (#9345)
6 years ago
Hugo Gameiro b6681d21ad add loglevel to ffmpeg in gif upload (#9368)
6 years ago
Eugen Rochko 73faadad28
Redesign admin accounts index (#9340)
6 years ago
valerauko db9aea34de Ensure replied-to is a status not a boost (#9129)
6 years ago
Eugen Rochko 0eaf6d7693
Sort self-replies to the top of descendants (#9320)
6 years ago
Eugen Rochko 87a43274f1
Revert "Sort self-replies to the top of the thread (#9296)" (#9335)
6 years ago
Eugen Rochko d6b9a62e0a
Extract counters from accounts table to account_stats table (#9295)
6 years ago
Eugen Rochko 074960bb0f
Sort self-replies to the top of the thread (#9296)
6 years ago
Eugen Rochko 8069fd636b
Remove intermediary arrays when creating hash maps from results (#9291)
6 years ago
James Kiesel 4c03e05a4e Allow joining several hashtags in a single column (#8904)
6 years ago
Eugen Rochko 11b3ee4f4c
Reset status cache when status_stat or media_attachment updates (#9119)
6 years ago
Eugen Rochko 795f0107d2
Include preview cards in status entity in REST API (#9120)
6 years ago
Eugen Rochko 4ea718ef18
Migrate all old direct messages to new conversations schema (#9085)
6 years ago
Eugen Rochko fd5285658f
Add option to block reports from domain (#8830)
6 years ago
Eugen Rochko a38a452481
Add unread indicator to conversations (#9009)
6 years ago
Eugen Rochko 72d7d3003b
Do not show "limited" visibility in default visibility preference (#8999)
6 years ago
Eugen Rochko ddd30f331c
Improve support for aspects/circles (#8950)
6 years ago
ashleyhull-versent f194857ac9 rubocop issues - Cleaning up (#8912)
6 years ago
Eugen Rochko 774ac47373
Add conversations API (#8832)
6 years ago
Eugen Rochko a46ab86adf
Limit the number of people that can be followed from one account (#8807)
6 years ago
Eugen Rochko e645ae9561
Change admin accounts default sort to most recent (#8813)
6 years ago
Eugen Rochko 7fe137d2f7
Fix link verification for remote accounts (#8868)
6 years ago
Eugen Rochko 6c835085a3
Fix timeline pagination (#8827)
6 years ago
Eugen Rochko f0fff3eb10
Support min_id-based pagination in REST API (#8736)
6 years ago
ふぁぼ原 f7a6f9489d Add a new preference to always hide all media (#8569)
6 years ago
Matt Sweetman 1889526e23 Add user preference to always expand toots marked with content warnings (#8762)
6 years ago
Eugen Rochko bac8227519
Fix performance regression in Account::Field#verifiable? (#8719)
6 years ago
Eugen Rochko f4d549d300
Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
luzpaz 40dd19be37 Misc. typos (#8694)
6 years ago
Eugen Rochko c593d6df9c
Add preference for report notification e-mails, skip for duplicates (#8559)
6 years ago
Renato "Lond" Cerqueira 5b2b493a90 Fix nil host in remotable (#8508)
6 years ago
Quint Guvernator da13fa5021 Fix low-hanging rubocop gripes (#8458)
6 years ago
Eugen Rochko a2cabf3f4a
Add admin custom CSS setting (#8399)
6 years ago
Eugen Rochko 2f34b747b3
Allow mods to disable login, improve message when login disabled (#8329)
6 years ago
Jakub Mendyk 6cb3514d64 Add ability to change an instance default theme from the administration panel (#7092) (#8381)
6 years ago
masarakki 4bdab203ac exclude-other-silenced-accounts (#7528)
6 years ago
Eugen Rochko 2374a00c10
Add confirmation step to account suspensions (#8353)
6 years ago
Eugen Rochko d98de8ada7
Get rid of all batch order warnings (#8334)
6 years ago
Eugen Rochko 83746b6364
Remove annoying Notification#cache_ids scope warning (#8333)
6 years ago
ThibG b34d6238cb Add API endpoint to list featured accounts (fixes #8315) (#8317)
6 years ago
abcang 9e75aa30cd Unuse ActiveRecord::Base#cache_key (#8185)
6 years ago
Eugen Rochko 59c68c1a74
Reduce user active duration from 7 days to 2 days (#8282)
6 years ago
Eugen Rochko d010816ba8
Fix error when trying to update counters for statuses that are gone (#8251)
6 years ago
Eugen Rochko 78fa926ed5
Add remote interaction dialog for toots (#8202)
6 years ago
ThibG 59f7f4c923 Implement Undo { Accept { Follow } } (fixes #8234) (#8245)
6 years ago
Eugen Rochko d78474264d
Update reply counters only if the reply is public/unlisted (#8211)
6 years ago
Eugen Rochko aaac14b8ad
Show exact number of followers/statuses on export page/in tooltip (#8199)
6 years ago
Eugen Rochko 8e111b753a
Move status counters to separate table, count replies (#8104)
6 years ago
Eugen Rochko 39e361a56d
Expect relays to answer with accept/reject (#8179)
6 years ago
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)
7 years ago
Eugen Rochko a58ec29631
Allow selecting default posting language instead of auto-detect (#7828)
7 years ago
Eugen Rochko 7eec279c7f
Change language opt-out to language opt-in (#7823)
7 years ago
Eugen Rochko ca85658975
Add autofollow option to invites (#7805)
7 years ago
Eugen Rochko 17dc07f667
Fix has_one association on Web::PushSubscription (#7767)
7 years ago
Eugen Rochko 59b42188a7
Filter out blocked/muted people from profile timelines (#7747)
7 years ago
Yamagishi Kazutoshi 683707839f Fix fetch of remote image with multiple Content-Type headers (#7749)
7 years ago
Yamagishi Kazutoshi b7b331ad0d Add missing dot for remote image (#7751)
7 years ago
Eugen Rochko bd0791d800
Add redraft function (#7735)
7 years ago
nightpool 5fb013878f Fix context performance by partially reverting #7083 (#7734)
7 years ago
Yamagishi Kazutoshi dc73241bd9 Detect extname from Content-Type (#7733)
7 years ago
Akihiko Odaki 5bf5003384 Do not mark remote status sensitive even if spoiler text is present (#7395)
7 years ago
Eugen Rochko 0deb9fa6b9
Remove trending hashtags (#7711)
7 years ago
Eugen Rochko 6e6c0e9613
Use different algorithm for trending tags (#7697)
7 years ago
Eugen Rochko a7d726c383
Improve counter caches on Status and Account (#7644)
7 years ago
Eugen Rochko 461542784b
Reduce wasted work in RemoveStatusService due to inactive followers (#7672)
7 years ago
Eugen Rochko e599d7caf2 Rescue Mastodon::DimensionsValidationError in Remoteable (#7662)
7 years ago
tateisu b87a1229c7 optimize direct timeline (#7614)
7 years ago
Eugen Rochko 9bd23dc4e5
Track trending tags (#7638)
7 years ago
Eugen Rochko 63c7b91572 Validate that e-mail resolves with MX and it's not blacklisted (#7631)
7 years ago
Eugen Rochko 8378b72eba
Ensure push subscription is immediately removed when application is revoked (#7548)
7 years ago
Eugen Rochko 4b94e9c65e
Improve payload format of Web Push API now that it's open (#7521)
7 years ago
Eugen Rochko 1e02dc8715
Add preference to hide following/followers lists (#7532)
7 years ago
Eugen Rochko f31e58af9e
Fix nil error in StatusFilter (#7470)
7 years ago
ThibG be7eeb7856 Catch Paperclip processing failures (fixes #6378) (#7439)
7 years ago
Eugen Rochko b4fb766b23
Add REST API for Web Push Notifications subscriptions (#7445)
7 years ago
Eugen Rochko 42cd363542
Bot nameplates (#7391)
7 years ago
Eugen Rochko 61a9018607
Enable custom emojis in profiles (notes, field values, display names) (#7374)
7 years ago
Eugen Rochko 8da4bf0f90
4 profile fields max, store only 255 characters per name/value (#7348)
7 years ago
Eugen Rochko c73ce7b695
Store home feeds for 7 days instead of 14 (#7354)
7 years ago
Eugen Rochko 6793bec4c6
Store URIs of follows, follow requests and blocks for ActivityPub (#7160)
7 years ago
ThibG a24605961a Fixes/do not override timestamps (#7336)
7 years ago
Eugen Rochko a5293fdf61
Fix n+1 queries in StatusThreadingConcern (#7321)
7 years ago
Eugen Rochko a3d84e705a
Fix cache_associated no longer working (#7320)
7 years ago
abcang 71a7cea73f Keep notification when muting_notifications is true (#7311)
7 years ago
Eugen Rochko cae933510c
Allow updating bio fields via PUT /api/v1/accounts/update_credentials (#7288)
7 years ago
Eugen Rochko c5dcd7d836
Speed up test suite by not generating RSA keys in test environment (#7296)
7 years ago
Eugen Rochko a872392cd9
Add entity cache (#7271)
7 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
Eugen Rochko e7adbf572a Switch to static URIs, new URI format in both protocols for new statuses (#4815)
7 years ago
abcang 6ec1aa372d Validate data of Imports (#4782)
7 years ago
unarist bfa7f9ebf2 Fix WebPush (regression from #4524) (#4778)
7 years ago
Eugen Rochko 7dc5035031 Make PreviewCard records reuseable between statuses (#4642)
7 years ago
Eugen Rochko 74437c6bff Refactor Web::PushSubscription, remove welcome message (#4524)
7 years ago
nullkal 39e7a763ff Use request.remote_ip instead of request.ip (#4744)
7 years ago
Eugen Rochko 4c76402ba1 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
abcang ce9a5f358e rescue HTTP::ConnectionError in RemoteFollowController#create (#4726)
7 years ago
nullkal c2af138113 Allow multiple pinned statuses to be shown and make them be ordered b… (#4690)
7 years ago
Eugen Rochko 9caa90025f Pinned statuses (#4675)
7 years ago
Eugen Rochko c66fe2aeba Minor performance improvement for test suite (#4678)
7 years ago
Colin Mitchell 871c0d251a Application prefs section (#2758)
7 years ago
Eugen Rochko f391a4673a Periodically remove expired PuSH subscribers (#4654)
7 years ago
Eugen Rochko 3534e115e5 Do not try to re-subscribe to unsubscribed accounts (#4653)
7 years ago
Eugen Rochko ca7ea1aba9 Redesign public profiles (#4608)
7 years ago
Eugen Rochko b7370ac8ba ActivityPub delivery (#4566)
7 years ago
Eugen Rochko dd7ef0dc41 Add ActivityPub inbox (#4216)
7 years ago
Yamagishi Kazutoshi 81c41d8681 Add coalesce option to avatar and header convert processor (#4552)
7 years ago
Yamagishi Kazutoshi 1b5d26735e Revert "Set false to animated options for thumbnail processor" (#4550)
7 years ago
Yamagishi Kazutoshi 87f10d476c Set false to animated options for thumbnail processor (#4547)
7 years ago
Sorin Davidoi d4c4820c03 fix(web_push_notifications): Send message with welcome notifications (#4471)
7 years ago
Eugen Rochko 53b2b1b238 Count all URLs in text as 23 characters flat, do not count domain part of usernames (#4427)
7 years ago
Eugen Rochko f0bb2c6d1e Fix web push notifications "boost" icon not being loaded (regression from #4426) (#4431)
7 years ago
Eugen Rochko 13bb1ddc7f Use consistent icons for web push notifications, same as web UI (#4426)
7 years ago
Sorin Davidoi e67fc997dc feat(web_push_notifications): Group notifications (#4388)
7 years ago
Sorin Davidoi e1798d0eb0 fix(push_subscription): Use star icon for favourite action (#4396)
7 years ago
sdukhovni 06d905f415 Allow domain blocks that only reject media without silencing or suspending (#4325)
7 years ago
Eugen Rochko 7964bfccdb Add rake task mastodon:feeds:build to regenerate all active users' feeds (#4303)
7 years ago
Sorin Davidoi dcb9497148 fix(push_subscription): Guard against malformed favourite notification (#4271)
7 years ago
Eugen Rochko bbdcfd6baf Add ActivityPub attributes to accounts (#4273)
7 years ago
Eugen Rochko c2c93f8cd6 Fix deprecation warning for non-pipeline assets (#4267)
7 years ago
Yamagishi Kazutoshi 3267e4a785 Add unfollow modal (optional) (#4246)
7 years ago
abcang 4d42a38954 Improve admin page (#4121)
7 years ago
Sorin Davidoi 8387b3928e fix(push-subscriptions): Refactor how Sidekiq jobs are handled (#4226)
7 years ago
Eugen Rochko cd9b2ab2f7 Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
7 years ago
Eugen Rochko 1618b68bfa HTTP signatures (#4146)
7 years ago
Eugen Rochko e2685ccc81 Fix #4149, fix #1199 - Store emojis as unicode (#4189)
7 years ago
Eugen Rochko c42092ba7a Add option to opt out of search engines on public profile/status pages (#4199)
7 years ago
masarakki a49be27145 add validation to tag name (#4194)
7 years ago
Sorin Davidoi 0c7c188c45 Web Push Notifications (#3243)
7 years ago
unarist c2753fdfb4 Make tag search case insensitive again (#4184)
7 years ago
Eugen Rochko 880a5eb25c Fix boolean columns sometimes having a null value (#4162)
7 years ago
Eugen Rochko e48d3bfd01 Fix #1010 - When spoiler text is set, enforce sensitivity too (#4176)
7 years ago
Eugen Rochko 056b5ed72f Improve UI of admin site settings (#4163)
7 years ago
Eugen Rochko e6c81a635b Fix #2848 - Rake task to redownload avatars/headers (#4156)
7 years ago
Yamagishi Kazutoshi 2b9721d1b3 Add setting a always mark media as sensitive (#4136)
7 years ago
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
Damien Erambert 18d3fa953b Add a setting allowing the use of system's default font in Web UI (#4033)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) a37cf9548c Explicitly require MIME::Types (#4083)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) f85dbe83c8 Remove sort in Feed (#4050)
7 years ago
abcang a6d02cff36 Rescue exceptions caused by FetchLinkCardService (#4045)
7 years ago
abcang 1273fbf86e Rescue Addressable::URI::InvalidURIError at Remotable (#4017)
7 years ago
Eugen Rochko 71bc75e6ac Do not fail to create access token if superapp was never created (#3986)
8 years ago
Eugen Rochko ed7dc1704d Bind web UI access tokens to sessions (#3940)
8 years ago
Eugen Rochko f7301bd5b9 Add overview of active sessions (#3929)
8 years ago
Sorin Davidoi 2211e8d1cd Revocable sessions (#3616)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) e27f792c24 Some minor change and spec for Account (#3813)
8 years ago
Eugen Rochko 0190aac240 Fix regression from #3842 (#3892)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) bab5a18232 Filter direct statuses in Status.as_home_timeline (#3842)
8 years ago
unarist a20cf3b64e Fix RemoteFollow behavior (#3868)
8 years ago
Eugen Rochko 4a618908e8 Account deletion (#3728)
8 years ago
Eugen Rochko dc8a6244fc Fix #2619 - When redis feed is empty, fall back to database (#3721)
8 years ago
Eugen Rochko 85d5518b6b Fix #3675 - Adjust quality settings of converted GIFs to reduce filesize (#3723)
8 years ago
René Klačan 85d405c810 Fix Account model deprecation warnings (#3689)
8 years ago
Yamagishi Kazutoshi f3e8bc9f8f Refactor UpdateRemoteProfileService (#3690)
8 years ago
Eugen Rochko cdff1da901 Correct validators so that existing error messages would look correct (#3668)
8 years ago
Matt Jankowski 022008a2a6 Language detection defaults to nil (#3666)
8 years ago
Yamagishi Kazutoshi 6384041d17 Add includes to Report#statuses (#3655)
8 years ago
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