Commit Graph

1478 Commits (fixes/detect-missing-indexes2)

Author SHA1 Message Date
Matt Jankowski a90696011e
Add coverage/bugfix for invalid appeal submission (#28703) 2 years ago
Matt Jankowski 7801db7ba4
Spec coverage for custom css endpoint (#28706) 2 years ago
Matt Jankowski b68f185573
Reduce `LineLength` for `react_component` helper in views/admin (#28694) 2 years ago
Matt Jankowski 87097a227c
Clean up `settings/featured_tags/index` view (#28688) 2 years ago
Matt Jankowski 55802242ce
Refactor login activity partial (remove inline ruby) (#28687) 2 years ago
Matt Jankowski 6daa69327b
Fix `LineLength` haml-lint in `t` usage (#28686) 2 years ago
Matt Jankowski a71e918e95
Fix `LineLength` haml-lint in `media/player` view (#28667) 2 years ago
Matt Jankowski eed4eef39a
Fix `LineLength` haml-lint in `app/views/auth` area (#28664) 2 years ago
Matt Jankowski 09ab073f0c
Fix `LineLength` haml-lint in `app/views/settings` area (#28663) 2 years ago
Matt Jankowski 68f06f1fd4
Fix haml-lint `LineLength` cop for `settings/preferences/notifications/show` (#28655) 2 years ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 2 years ago
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations (#28314)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski 2bd8d343cf
Fix `Style/SoleNestedConditional` and `Style/IfInsideElse` cops, regenerate haml todo (#28384) 2 years ago
Claire a2bcfeb887
Fix `Style/HashEachMethods` cop in HAML files (#28178) 2 years ago
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces (#28149) 2 years ago
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases (#28053) 2 years ago
Matt Jankowski 72b7cd349c
Extract helper methods for form label in admin/ area views (#27575) 2 years ago
Matt Jankowski 9b47c5d53c
Extract helper methods for labels from filters/_filter_fields (#27574) 2 years ago
Matt Jankowski 186895fc88
Refactor, lint fix, and bug fix on admin/roles/form partial (#27558) 2 years ago
Matt Jankowski 9072896ae5
Avoid unnecessary i-var for account rss page url generation (#28092) 2 years ago
Matt Jankowski 2d536bb05f
Use `admin_mailer` layout with initial salutation (#28085) 2 years ago
Matt Jankowski 9b8ba9b350
Remove unused `plain_mailer` layout (#28065) 2 years ago
June 97e677f993
Fix not all legal images showing in file picker when uploading custom emoji (#28076) 2 years ago
Matt Jankowski 6d51ac246b
Update partials for the `AdminMailer.new_trends` mailer (#28011) 2 years ago
Claire bd575a1dd6
Add banner for forwarded reports made by remote users about remote content (#27549) 2 years ago
Matt Jankowski 548bb30b2a
Consolidate html page title output logic into helper (#27563) 2 years ago
Matt Jankowski 13c3e59601
Use helper method to build batched status edits in `admin/statuses/show` (#27739) 2 years ago
Jasmin Johal 27cbdc6f22
Change alt text to empty string for avatars (#21875)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2 years ago
Matt Jankowski bbad5b6456
Remove false positive cop detection (#27457) 2 years ago
Mark T. Tomczak ba8dcb50fe
Issue 26048: swap "muting" and "blocking" list options in settings -> Data Exports (#26088) 2 years ago
Matt Jankowski 3ca974e101
Use `next` keyword in field loop in admin/accounts/index view (#27559) 2 years ago
Claire 49b8433c56
Fix confusing screen when visiting a confirmation link for an already-confirmed email (#27368) 2 years ago
Matt Jankowski 70dbf84b9b
Solve simplest haml-lint `Rubocop` lints (#27529) 2 years ago
Matt Jankowski c926f5fd67
Fix haml-lint `UnnecessaryStringOutput` for views (#27531) 2 years ago
Matt Jankowski cec7f0ed72
Remove unused `#error_explanation` id from error partials (#27536) 2 years ago
Matt Jankowski e923bb9ec9
Use `ENV.fetch` in views, fixes rubocop haml-lint issue (#27527) 2 years ago
Claire 379115e601
Add SELF_DESTRUCT env variable to process self-destructions in the background (#26439) 2 years ago
Claire 99f2534cee
Add support for displaying unknown servers on /admin/instances/:domain (#27150) 2 years ago
Matt Jankowski ab0fb81479
Configure brakeman to ignore url safe preview card urls (#25883) 2 years ago
Matt Jankowski 9f218c9924
Refactor appeal partial to avoid brakeman XSS warning (#25880) 2 years ago
Matt Jankowski 33b073f77d
Extract partials from `admin/reports/show` view (#27427) 2 years ago
Matt Jankowski 8d0f12f776
Extract partials from `admin/accounts/show` view (#27428) 2 years ago
Matt Jankowski c91c0175db
Extract `card` partial from `disputes/strikes/show` view (#27426) 2 years ago
Matt Jankowski d4c2dca874
Fix haml-lint `InstanceVariables` rule for auth/sessions/two_factor/o… (#27372) 2 years ago
Matt Jankowski d7a8f6b658
Fix haml-lint `InstanceVariables` rule for relationships/account (#27342) 2 years ago
Matt Jankowski f9abe700e7
Fix haml-lint `InstanceVariables` rule for auth/registrations/status (#27341) 2 years ago
Matt Jankowski 66becf9a1e
Fix haml-lint `InstanceVariables` rule for admin/reports/actions (#27339) 2 years ago
gunchleoc 68ec1d180a
Fix language sorting in settings (#27158) 2 years ago
Matt Jankowski e715da6d25
Fix haml-lint Rubocop `Rails/*` cops (#26042) 2 years ago
Matt Jankowski 340f1a68be
Simplify instance presenter view access (#26046) 2 years ago
Matt Jankowski 89a17878ef
Fix haml-lint `InstanceVariables` rule for admin/roles/_form (#26063) 2 years ago
Matt Jankowski 9d56c1949b
Fix haml-lint `InstanceVariables` rule for admin/webhooks/_form (#26062) 2 years ago
Matt Jankowski e6b903b21e
Fix haml-lint `InstanceVariables` rule for invites/_form (#26064) 2 years ago
Rob Thomas 200312e8be
Fix crash when viewing a moderation appeal and the moderator account has been deleted (#25900)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
gunchleoc 14f6798836
Link to hashtag timelines from the Trending hashtags moderation interface (#26724)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 475783d567
Add timezone to datetimes in e-mails (#26822) 2 years ago
Claire ea7de25de0
Fix video player not being displayed in reports interface (#26801) 2 years ago
Claire 16681e0f20
Add admin notifications for new Mastodon versions (#26582) 2 years ago
Claire 9e26cd5503
Add `authorized_fetch` server setting in addition to env var (#25798) 2 years ago
jsgoldstein 30c191aaa0
Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 163b004bb1
Change admin e-mail notification settins to be their own settings group (#26596) 2 years ago
Matt Jankowski 9974163776
Consolidate inclusion of `admin` js pack link (#26628) 2 years ago
Christian Schmidt bb23116e8d
Fix profile picture preview (#26538) 2 years ago
Claire cc4560d95b
Change “privacy and reach” settings so that unchecking boxes always increase privacy and checking them always increase reach (#26508) 2 years ago
Claire fc5ab2dc83
Add privacy tab in profile settings (#26484)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Eugen Rochko 2f932cb2bb
Add client-side timeout on resend confirmation button (#26300) 2 years ago
Emelia Smith e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode (#26252) 2 years ago
Christian Schmidt ca342d4838
Add List-Unsubscribe email header (#26085) 2 years ago
Matt Jankowski 30f5ec7303
Rubocop fix: `Perfomance/UnfreezeString` (#26217) 2 years ago
Claire b4e739ff0f
Change interaction modal in web UI (#26075)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Claire 1e4ccc655a
Add role badges to the WebUI (#25649) 2 years ago
Eugen Rochko 4d01d1a1ee
Remove 16:9 cropping from web UI (#26132) 2 years ago
Nick Schonning 67016dd29d
Update haml-lint 0.49.1 (#26118) 2 years ago
Renaud Chaput 42698b4c5c
Fix the crossorigin attribute (#26096) 2 years ago
Matt Jankowski a5842df123
Fix haml-lint Rubocop `Lint/UnusedBlockArguments` cop (#26039) 2 years ago
Matt Jankowski df05ece265
Fix haml-lint Rubocop `Style/NumericPredicate` cop (#26040) 2 years ago
Matt Jankowski 6edd404482
Cleanup unused portions of statuses/status partial (#26045) 2 years ago
Matt Jankowski 6657695ec6
Fix haml-lint `InstanceVariables` rule for auth/registrations/edit (#26061) 2 years ago
Matt Jankowski f6dda59e5d
Fix haml-lint Rubocop `Style/SymbolProc` cop (#26059) 2 years ago
Matt Jankowski 39d9804119
Fix haml-lint Rubocop `Style/WordArray` cop (#26058) 2 years ago
Matt Jankowski b3f48089e6
Fix haml-lint rubocop style negation cops (#26057) 2 years ago
Matt Jankowski e663e6d2c2
Fix haml-lint `ConsecutiveSilentScripts` rule (#26043) 2 years ago
Matt Jankowski 4207c95d4f
Fix haml-lint Rubocop `Style/SlicingWithRange` cop (#25947) 2 years ago
Matt Jankowski d0f00206dc
Fix haml-lint Rubocop `Style/StringLiterals` cop (#25948) 2 years ago
Matt Jankowski bd33efdf16
Fix haml-lint Rubocop `Style/MinMaxComparison` cop (#25974) 2 years ago
Matt Jankowski 361dd43235
Fix haml-lint Rubocop `lambda` cop (#25946) 2 years ago
Matt Jankowski 5096deb818
Fix haml lint Rubocop `Style/RedundantStringCoercion` cop (#25975) 2 years ago
Claire c667fc5a4a
Fix ArgumentError in mailers when a user's timezone is blank (#26025) 2 years ago
Stanislas Signoud 5fad7bd58a
Change links in multi-column mode so tabs are open in single-column mode (#25893) 2 years ago
Michael Stanclift 063482a63f
Fix trending publishers table not rendering correctly on narrow screens (#25945) 2 years ago
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment (#23793) 2 years ago
Claire c7c6f02ae6
Fix suspending an already-limited domain (#25603) 2 years ago
Claire 602c458ab6
Add finer permission requirements for managing webhooks (#25463) 2 years ago
Claire 64f7a11658
Fix cross-origin loading of locales (#25498) 2 years ago
Eugen Rochko bca649ba79
Change edit profile page (#25413) 2 years ago
Eugen Rochko 39110d1d0a
Fix CAPTCHA page not following design pattern of sign-up flow (#25395) 2 years ago
Eugen Rochko 6637ef7852
Add unsubscribe link to e-mails (#25378) 2 years ago
Eugen Rochko 4c9406bdb0
Add time zone preference (#25342) 2 years ago
jsgoldstein 18f092d927
Fix translations for changing theme (#25340) 2 years ago
Eugen Rochko 4eda233e09
Add webhook templating (#23289)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Jed Fox 768b00c4d0
Consistently use middle dot (·) instead of bullet (•) to separate items (#25248) 2 years ago
Claire 0766c9a631
Add card with who invited you to join when displaying rules on sign-up (#23475) 2 years ago
Claire 94329f28e1
Change wording of “Content cache retention period” setting to highlight destructive implications (#23261) 2 years ago
Claire 8884d1ece0
Add support for importing lists (#25203) 2 years ago
Claire e9385e93e9
Add a confirmation screen when suspending a domain (#25144) 2 years ago
Renaud Chaput 44cd88adc4
Upgrade react-intl (#24906) 2 years ago
Claire 2a61f14753
Fix account confirmation flow not returning to app after captcha validation (#25057) 2 years ago
Claire e13d2edd47
Fix “Authorized applications” inefficiently and incorrectly getting last use date (#25060) 2 years ago
Claire bec6a1cad4
Add hCaptcha support (#25019) 2 years ago
Claire e60414792d
Add polling and automatic redirection to `/start` on email confirmation (#25013) 2 years ago
Christian Schmidt 5241f7b2fd
Fix UI crash in moderation interface when opening the media modal (#24816) 2 years ago
mogaminsk c9e040fb24
Fix import data field type (#24874) 2 years ago
Claire 32a030dd74
Rewrite import feature (#21054) 2 years ago
Eugen Rochko 2b0f1f365a
Remove display name input from sign-up form (#24704) 2 years ago
Claire 276c39361b
Fix anonymous visitors getting a session cookie on first visit (#24584) 2 years ago
Matt Jankowski 0a5f0a8b20
Remove instance variables from helper usage (#24203) 2 years ago
Eugen Rochko e5c0b16735
Add progress indicator to sign-up flow (#24545) 2 years ago
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way (#23630)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
mogamin 9c84563008
Fix missing translation in pagination gap tags (#24262)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
mogamin 63a6808ee1
Fix typo in _login_activity.html.haml (#24263) 2 years ago
CSDUMMI d75a1e5054
Link to the Identity provider's account settings from the account settings (#24100)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 8fdf49b11d
Add warning for object storage misconfiguration (#24137) 2 years ago
Eugen Rochko 75e5a6e437
Change user backups to use expiring URLs for download when possible (#24136) 2 years ago
Nick Schonning 65669d3c57
Fix more haml-lint Rubocop (#24107) 2 years ago
Nick Schonning 75131e7bf7
Setup haml-lint CI with todo config (#23524) 2 years ago
Claire cf50667e26
Fix incorrect post links in strikes when the account is remote (#23611) 2 years ago
Claire 21db91a0a8
Remove sidebar dead code (#23984) 2 years ago
Christian Schmidt c4cf92094e
Do not strip tags from `Setting.site_short_description` (#23975) 2 years ago
Nick Schonning 82a6cf4012
Enable Rubocop for app/views (#23874) 2 years ago
Matt Jankowski 7f4412eeeb
User mailer spec coverage improvements (#23905) 2 years ago
Claire f94aa70b81
Fix error when displaying post history of a trendable post in the admin interface (#23574) 2 years ago
Claire c2a046ded1
Fix “Remove all followers from the selected domains” being more destructive than it claims (#23805) 2 years ago
Jeong Arm 5f56818f9e
Change followed_by link to location=all if account is local on /admin/accounts/:id page (#23467) 2 years ago
Eugen Rochko 8f590b0a21
Add setting for status page URL (#23390) 3 years ago
Eugen Rochko f98e4c662e
Change link previews for statuses to never use avatar as fallback (#23376) 3 years ago
Claire e5ae75bf6a
Fix styling of featured tags in light theme (#23252)
* Fix styling of featured tags in light theme

Fixes #23251

* Remove broken highlighting on /settings/featured_tags
3 years ago
Claire dd58db64d8
Change email address input to be disabled for logged-in users when requesting a new confirmation e-mail (#23247)
Fixes #23093
3 years ago
Claire 3970a6f433
Add option to make the landing page be /about even when trends are enabled (#20808)
* Add option to make the landing page be /about even when trends are enabled

* Restablish /explore as landing page by default
3 years ago
Claire 343e1fe8e9
Add confirmation screen when handling reports (#22375)
* Add confirmation screen on moderation actions

* Add flash notice when a report has been processed

* Refactor tests

* Add tests
3 years ago
Claire 9b3e22c40d
Change account moderation notes to make links clickable (#22553)
* Change account moderation notes to make links clickable

Fixes #22539

* Fix styling of account moderation note links
3 years ago
Claire d4f590d6bb
Fix scheduled_at input not using datetime-local when editing announcements (#21896) 3 years ago
Jeong Arm d66dfc7b3c
Change confirm prompt for relationships management (#19411)
* Change confirm prompt for relationships management

* Add Korean translations

* Apply suggestions from code review

Co-authored-by: TobyWilkes <tobylwilkes@gmail.com>

Co-authored-by: TobyWilkes <tobylwilkes@gmail.com>
3 years ago
Darius Kazemi 507e1d22f5
Allow admins to toggle public statistics API (#22833)
* Allow admins to toggle public statistics API

* Normalize i18n

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Darius Kazemi d35fe3d5e3
Add peers API endpoint toggle to Server Settings (#22810)
* Add peers endpoint toggle to Server Settings

This places the toggle under "Discovery" and expands the hint text to explain further what the endpoint is used for. Added a "Recommended" tag since it was recommended in v3 before it was removed.

Fixes https://github.com/mastodon/mastodon/issues/22222

* i18n normalize step
3 years ago
nametoolong 332a411fad
Remove title from mailer layout (#23078) 3 years ago
Claire f79c200f7e
Change wording of admin report handling actions (#18388)
* Change admin report handling UI to display appropriate text for remote reports

Change from “Decide which action to take to resolve this report. If you take a
punitive action against the reported account, an e-mail notification will be
sent to them, except when the Spam category is selected.” to “Decide which
action to take to resolve this report. This will only affect how your server
communicates with this remote account and handle its content.”

* Reword admin actions descriptions to make clear which admin actions close reports
3 years ago
Claire 21a1a8ee88
Fix crash when marking statuses as sensitive while some statuses are deleted (#22134)
* Do not offer to mark statuses as sensitive if there is no undeleted status with media attachments

* Fix crash when marking statuses as sensitive while some statuses are deleted

Fixes #21910

* Fix multiple strikes being created for a single report when selecting “Mark as sensitive”

* Add tests
3 years ago
Claire 2ba14097ff
Change trending tags admin interface to always show batch actions (#23013)
Fixes #22565
3 years ago
Nikita Karamov 70b3207e33
Add a11y tags to the modal (#22549)
Closes #22547
3 years ago
Claire b8ad446f77
Fix incorrectly formatted datetime in account moderation note timestamp (#22555)
* Fix incorrectly formatted datetime in account moderation note timestamp

Fix oversight from #21878

* Fix use of non-existent translation string
3 years ago