Commit Graph

1534 Commits

Author SHA1 Message Date
Claire 89f89d738f
Revert "Allow unblocking email addresses from any matching account ()" () 2024-05-21 08:56:08 +00:00
Emelia Smith f0d6dc4519
Fix: Mark redirect uris field in Development > Application form as required () 2024-05-16 07:59:46 +00:00
Emelia Smith 5fd56512de
Improve Report Notes and Account Moderation Notes () 2024-05-15 13:38:36 +00:00
Jason Punyon 85c625d319
Fix repetitive database queries from () 2024-05-15 09:38:16 +00:00
Claire d8c4284723
Ensure custom favicon is converted to PNG and ICO () 2024-05-07 18:15:17 +00:00
Fawaz Farid bc24c4792d
Allow admins to configure instance favicon and logo () 2024-05-06 15:06:52 +00:00
Matt Jankowski e336466894
Use shared form partial for `admin/rules` views () 2024-04-29 09:33:27 +00:00
Matt Jankowski a9816f051d
Use shared form partial for `admin/warning_presets` views () 2024-04-29 09:33:06 +00:00
Matt Jankowski 2739d8d5a4
Use shorter `render` call in `admin/webhooks` view () 2024-04-29 09:10:23 +00:00
Matt Jankowski f0c9cbaf3b
Use `EXPIRATION_DURATIONS` constant in `CustomFilter` class () 2024-04-29 09:01:46 +00:00
Michael Stanclift bb8c6346fb
Reword and rearrange Content Retention page () 2024-04-26 15:17:41 +00:00
Matt Jankowski 32ead51e5a
Add material design icons to admin/settings views ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-04-23 16:43:49 +00:00
Claire a2399046ca
Fix string interpolation for software updates admin mailer () 2024-04-23 12:54:52 +00:00
Matt Jankowski 33e829763d
Use shared `form` partial for `admin/domain_blocks` views () 2024-04-22 12:22:16 +00:00
Matt Jankowski 4837bfcc6a
Use shared `form` partial for `admin/announcements` views () 2024-04-19 13:57:32 +00:00
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` () 2024-04-18 10:13:35 +00:00
Renaud Chaput ee4ea83a87
Remove `image_pack_tag` usage () 2024-04-15 09:05:19 +00:00
Claire f3430eebbb
Fix hashtag string interpolation in welcome email () 2024-04-08 13:45:25 +00:00
Matt Jankowski b61ae28f8d
Separate methods for theme style and meta color tags () 2024-04-05 09:52:43 +00:00
Matt Jankowski 601834d746
Use partial collection render for welcome mailer features () 2024-04-04 16:13:10 +00:00
Jeong Arm 4045c069f8
Use `public_visibility` () 2024-04-04 07:31:30 +00:00
Matt Jankowski cde3206478
Simplify feature loop in welcome mailer () 2024-04-03 20:10:59 +00:00
Matt Jankowski f56309f5f0
Add `by_latest_used` scope, move admin area recent IPs to partial () 2024-04-02 13:51:34 +00:00
Renaud Chaput 672c9f5f05
Change the `theme-color` value automatically when using a built-in theme () 2024-03-29 13:32:07 +00:00
Matt Jankowski e85f24174e
Simplify checklist step loop in welcome mailer () 2024-03-28 10:56:33 +00:00
Matt Jankowski c4feba4347
Use existing `MascotHelper#instance_presenter` instead of local var in `welcome` email template () 2024-03-26 15:58:48 +00:00
Claire 7508472d84
Fix admin interface repeating rule title instead of showing hint text () 2024-03-26 14:46:05 +00:00
Claire cfea9cc172
Add list of pending releases directly in mail notifications for version updates () 2024-03-26 14:45:19 +00:00
Renaud Chaput 02ea161506
Support "system" theme setting (light/dark theme depending on user system preference) ()
Co-authored-by: Nishiki Liu <hello@nshki.com>
2024-03-26 09:25:49 +00:00
Claire 37ca59815c
Remove setting for unfollow confirmation modal, and make it unconditional () 2024-03-22 16:24:04 +00:00
Claire dfa43707eb
Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately () 2024-03-22 15:44:31 +00:00
Matt Jankowski 77897cd24c
Use existing `SeveredRelationship.about_local_account` scope in more places () 2024-03-21 08:36:49 +00:00
Claire 44bf7b8128
Add notifications of severed relationships () 2024-03-20 15:37:21 +00:00
Claire 8a1423a474
Allow unblocking email addresses from any matching account () 2024-03-20 14:38:00 +00:00
Matt Jankowski 0a33be39c1
Reduce `LineLength` for `react_admin_component` helpers () 2024-03-20 13:45:34 +00:00
Matt Jankowski 4c84891453
Pull out full `li` element into admin/status_edits/status_edit partial () 2024-03-19 16:11:10 +00:00
Matt Jankowski d7ab5655ef
Replace `render_symbol` method with `inline_svg_tag` usage () 2024-03-19 14:17:18 +00:00
Claire cf08a438e7
Add badge on account card in report moderation interface when account is already suspended () 2024-03-19 08:20:53 +00:00
Claire 82c2af0356
Fix `user_mailer.welcome.hashtags_recent_count` not having plural form () 2024-03-16 16:38:20 +00:00
Matt Jankowski f445d33fd6
Fix haml-lint `LineLength` cops in app/views/admin () 2024-03-15 11:19:00 +00:00
Eugen Rochko 5b3a8737d6
Add hints for rules () 2024-03-11 08:57:07 +00:00
Eugen Rochko 50b17f7e10
Add notification policies and notification requests () 2024-03-07 14:53:37 +00:00
Claire 1d721b21e1
Add attribution to Tabler.io icons used in the new mailer designs () 2024-03-01 14:51:01 +00:00
HTeuMeuLeu 934cab7508
New welcome email ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2024-03-01 12:16:53 +00:00
Jeong Arm deffb8ecb6
Show comments in the admin/instances page ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-02-28 12:07:06 +00:00
Jason Punyon 1ad3cffaea
Missed a .to_date () 2024-02-26 12:42:09 +00:00
Claire b71904816a
Change registrations to be disabled by default for new servers () 2024-02-22 13:28:19 +00:00
Claire 2751acb6cd
Automatically switch from open to approved registrations in absence of moderators () 2024-02-21 17:45:06 +00:00
Matt Jankowski 69e61fff38
Move direct serializer usage out of admin view partial () 2024-02-06 13:18:37 +00:00
Eugen Rochko 1666b19559
Fix confirmation e-mails when signing up through an app () 2024-02-02 15:51:26 +00:00
Eugen Rochko b19ae521b7
Add confirmation when redirecting logged-out requests to permalink ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-24 10:49:19 +00:00
Claire e2d9635074
Add notification email on invalid second authenticator () 2024-01-22 13:55:43 +00:00
HTeuMeuLeu 1a3859d8e2
Update follow and follow_request emails ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-17 14:37:04 +00:00
Renaud Chaput cb5ac15923
Use a helper to avoid using `media/` asset prefixes () 2024-01-17 12:19:51 +00:00
HTeuMeuLeu 7f471e70c0
Update new email templates ()
Co-authored-by: Matt Jankowski <matt@jankowski.online>
2024-01-15 18:18:59 +00:00
Renaud Chaput c6684aa1e3
Use the assets pipeline to load `inert.css` () 2024-01-12 09:32:45 +00:00
Matt Jankowski a90696011e
Add coverage/bugfix for invalid appeal submission () 2024-01-12 09:21:00 +00:00
Matt Jankowski 7801db7ba4
Spec coverage for custom css endpoint () 2024-01-12 09:19:25 +00:00
Matt Jankowski b68f185573
Reduce `LineLength` for `react_component` helper in views/admin () 2024-01-11 13:14:24 +00:00
Matt Jankowski 87097a227c
Clean up `settings/featured_tags/index` view () 2024-01-11 10:45:26 +00:00
Matt Jankowski 55802242ce
Refactor login activity partial (remove inline ruby) () 2024-01-11 10:36:27 +00:00
Matt Jankowski 6daa69327b
Fix `LineLength` haml-lint in `t` usage () 2024-01-11 09:32:32 +00:00
Matt Jankowski a71e918e95
Fix `LineLength` haml-lint in `media/player` view () 2024-01-10 09:35:01 +00:00
Matt Jankowski eed4eef39a
Fix `LineLength` haml-lint in `app/views/auth` area () 2024-01-09 16:03:16 +00:00
Matt Jankowski 09ab073f0c
Fix `LineLength` haml-lint in `app/views/settings` area () 2024-01-09 15:28:56 +00:00
Matt Jankowski 68f06f1fd4
Fix haml-lint `LineLength` cop for `settings/preferences/notifications/show` () 2024-01-09 09:31:32 +00:00
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains () 2024-01-04 09:07:05 +00:00
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-12-19 10:59:43 +00:00
Matt Jankowski 2bd8d343cf
Fix `Style/SoleNestedConditional` and `Style/IfInsideElse` cops, regenerate haml todo () 2023-12-18 10:06:42 +00:00
Claire a2bcfeb887
Fix `Style/HashEachMethods` cop in HAML files () 2023-12-04 09:09:43 +00:00
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces () 2023-12-01 11:00:41 +00:00
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases () 2023-11-30 15:43:26 +00:00
Matt Jankowski 72b7cd349c
Extract helper methods for form label in admin/ area views () 2023-11-29 10:06:19 +00:00
Matt Jankowski 9b47c5d53c
Extract helper methods for labels from filters/_filter_fields () 2023-11-29 10:02:59 +00:00
Matt Jankowski 186895fc88
Refactor, lint fix, and bug fix on admin/roles/form partial () 2023-11-29 10:00:52 +00:00
Matt Jankowski 9072896ae5
Avoid unnecessary i-var for account rss page url generation () 2023-11-28 08:19:08 +00:00
Matt Jankowski 2d536bb05f
Use `admin_mailer` layout with initial salutation () 2023-11-28 07:41:26 +00:00
Matt Jankowski 9b8ba9b350
Remove unused `plain_mailer` layout () 2023-11-27 10:40:03 +00:00
June 97e677f993
Fix not all legal images showing in file picker when uploading custom emoji () 2023-11-27 10:06:48 +00:00
Matt Jankowski 6d51ac246b
Update partials for the `AdminMailer.new_trends` mailer () 2023-11-21 10:52:20 +00:00
Claire bd575a1dd6
Add banner for forwarded reports made by remote users about remote content () 2023-11-15 14:18:43 +00:00
Matt Jankowski 548bb30b2a
Consolidate html page title output logic into helper () 2023-11-09 13:05:57 +00:00
Matt Jankowski 13c3e59601
Use helper method to build batched status edits in `admin/statuses/show` () 2023-11-08 13:04:52 +00:00
Jasmin Johal 27cbdc6f22
Change alt text to empty string for avatars ()
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-11-07 21:46:08 +00:00
Matt Jankowski bbad5b6456
Remove false positive cop detection () 2023-11-07 10:44:15 +00:00
Mark T. Tomczak ba8dcb50fe
Issue 26048: swap "muting" and "blocking" list options in settings -> Data Exports () 2023-10-26 14:08:25 +00:00
Matt Jankowski 3ca974e101
Use `next` keyword in field loop in admin/accounts/index view () 2023-10-26 10:52:14 +00:00
Claire 49b8433c56
Fix confusing screen when visiting a confirmation link for an already-confirmed email () 2023-10-25 21:33:44 +00:00
Matt Jankowski 70dbf84b9b
Solve simplest haml-lint `Rubocop` lints () 2023-10-25 12:38:01 +00:00
Matt Jankowski c926f5fd67
Fix haml-lint `UnnecessaryStringOutput` for views () 2023-10-25 12:01:00 +00:00
Matt Jankowski cec7f0ed72
Remove unused `#error_explanation` id from error partials () 2023-10-25 07:12:32 +00:00
Matt Jankowski e923bb9ec9
Use `ENV.fetch` in views, fixes rubocop haml-lint issue () 2023-10-24 09:30:14 +00:00
Claire 379115e601
Add SELF_DESTRUCT env variable to process self-destructions in the background () 2023-10-23 15:46:21 +00:00
Claire 99f2534cee
Add support for displaying unknown servers on /admin/instances/:domain () 2023-10-23 14:27:57 +02:00
Matt Jankowski ab0fb81479
Configure brakeman to ignore url safe preview card urls () 2023-10-20 15:32:16 +02:00
Matt Jankowski 9f218c9924
Refactor appeal partial to avoid brakeman XSS warning () 2023-10-19 17:25:54 +02:00
Matt Jankowski 33b073f77d
Extract partials from `admin/reports/show` view () 2023-10-16 18:07:17 +02:00
Matt Jankowski 8d0f12f776
Extract partials from `admin/accounts/show` view () 2023-10-16 18:02:15 +02:00
Matt Jankowski c91c0175db
Extract `card` partial from `disputes/strikes/show` view () 2023-10-16 16:04:29 +02:00
Matt Jankowski d4c2dca874
Fix haml-lint `InstanceVariables` rule for auth/sessions/two_factor/o… () 2023-10-12 09:44:20 +02:00
Matt Jankowski d7a8f6b658
Fix haml-lint `InstanceVariables` rule for relationships/account () 2023-10-11 17:06:26 +02:00
Matt Jankowski f9abe700e7
Fix haml-lint `InstanceVariables` rule for auth/registrations/status () 2023-10-11 16:20:26 +02:00
Matt Jankowski 66becf9a1e
Fix haml-lint `InstanceVariables` rule for admin/reports/actions () 2023-10-11 15:58:33 +02:00
gunchleoc 68ec1d180a
Fix language sorting in settings () 2023-10-04 09:23:50 +02:00
Matt Jankowski e715da6d25
Fix haml-lint Rubocop `Rails/*` cops () 2023-10-03 15:00:40 +02:00
Matt Jankowski 340f1a68be
Simplify instance presenter view access () 2023-09-28 16:52:37 +02:00
Matt Jankowski 89a17878ef
Fix haml-lint `InstanceVariables` rule for admin/roles/_form () 2023-09-28 16:36:24 +02:00
Matt Jankowski 9d56c1949b
Fix haml-lint `InstanceVariables` rule for admin/webhooks/_form () 2023-09-28 16:23:35 +02:00
Matt Jankowski e6b903b21e
Fix haml-lint `InstanceVariables` rule for invites/_form () 2023-09-28 15:40:28 +02:00
Rob Thomas 200312e8be
Fix crash when viewing a moderation appeal and the moderator account has been deleted ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-09-18 17:41:32 +02:00
gunchleoc 14f6798836
Link to hashtag timelines from the Trending hashtags moderation interface ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-09-06 17:49:52 +02:00
Claire 475783d567
Add timezone to datetimes in e-mails () 2023-09-06 17:25:39 +02:00
Claire ea7de25de0
Fix video player not being displayed in reports interface () 2023-09-05 20:05:58 +02:00
Claire 16681e0f20
Add admin notifications for new Mastodon versions () 2023-09-01 17:47:07 +02:00
Claire 9e26cd5503
Add `authorized_fetch` server setting in addition to env var () 2023-09-01 15:41:10 +02:00
jsgoldstein 30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
Claire 163b004bb1
Change admin e-mail notification settins to be their own settings group () 2023-08-24 14:43:00 +02:00
Matt Jankowski 9974163776
Consolidate inclusion of `admin` js pack link () 2023-08-24 09:56:23 +02:00
Christian Schmidt bb23116e8d
Fix profile picture preview () 2023-08-18 18:24:32 +02:00
Claire cc4560d95b
Change “privacy and reach” settings so that unchecking boxes always increase privacy and checking them always increase reach () 2023-08-17 09:13:26 +02:00
Claire fc5ab2dc83
Add privacy tab in profile settings ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-08-14 18:52:45 +02:00
Eugen Rochko 2f932cb2bb
Add client-side timeout on resend confirmation button () 2023-08-03 01:51:10 +02:00
Emelia Smith e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode () 2023-08-02 19:32:48 +02:00
Christian Schmidt ca342d4838
Add List-Unsubscribe email header () 2023-08-01 19:34:40 +02:00
Matt Jankowski 30f5ec7303
Rubocop fix: `Perfomance/UnfreezeString` () 2023-07-28 23:11:05 +02:00
Claire b4e739ff0f
Change interaction modal in web UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-07-27 16:11:17 +02:00
Claire 1e4ccc655a
Add role badges to the WebUI () 2023-07-27 16:05:24 +02:00
Eugen Rochko 4d01d1a1ee
Remove 16:9 cropping from web UI () 2023-07-24 13:46:55 +02:00
Nick Schonning 67016dd29d
Update haml-lint 0.49.1 () 2023-07-23 17:48:16 +02:00
Renaud Chaput 42698b4c5c
Fix the crossorigin attribute () 2023-07-21 11:14:26 +02:00
Matt Jankowski a5842df123
Fix haml-lint Rubocop `Lint/UnusedBlockArguments` cop () 2023-07-20 17:03:39 +02:00
Matt Jankowski df05ece265
Fix haml-lint Rubocop `Style/NumericPredicate` cop () 2023-07-20 15:13:06 +02:00
Matt Jankowski 6edd404482
Cleanup unused portions of statuses/status partial () 2023-07-19 08:44:16 +02:00
Matt Jankowski 6657695ec6
Fix haml-lint `InstanceVariables` rule for auth/registrations/edit () 2023-07-18 18:10:52 +02:00
Matt Jankowski f6dda59e5d
Fix haml-lint Rubocop `Style/SymbolProc` cop () 2023-07-18 17:43:04 +02:00
Matt Jankowski 39d9804119
Fix haml-lint Rubocop `Style/WordArray` cop () 2023-07-18 17:25:41 +02:00
Matt Jankowski b3f48089e6
Fix haml-lint rubocop style negation cops () 2023-07-18 17:02:02 +02:00
Matt Jankowski e663e6d2c2
Fix haml-lint `ConsecutiveSilentScripts` rule () 2023-07-18 09:25:37 +02:00
Matt Jankowski 4207c95d4f
Fix haml-lint Rubocop `Style/SlicingWithRange` cop () 2023-07-17 18:18:13 +02:00
Matt Jankowski d0f00206dc
Fix haml-lint Rubocop `Style/StringLiterals` cop () 2023-07-17 16:57:18 +02:00
Matt Jankowski bd33efdf16
Fix haml-lint Rubocop `Style/MinMaxComparison` cop () 2023-07-17 15:38:04 +02:00
Matt Jankowski 361dd43235
Fix haml-lint Rubocop `lambda` cop () 2023-07-17 15:07:29 +02:00
Matt Jankowski 5096deb818
Fix haml lint Rubocop `Style/RedundantStringCoercion` cop () 2023-07-17 14:08:56 +02:00
Claire c667fc5a4a
Fix ArgumentError in mailers when a user's timezone is blank () 2023-07-17 12:10:50 +02:00
Stanislas Signoud 5fad7bd58a
Change links in multi-column mode so tabs are open in single-column mode () 2023-07-13 17:18:09 +02:00
Michael Stanclift 063482a63f
Fix trending publishers table not rendering correctly on narrow screens () 2023-07-13 11:12:51 +02:00
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment () 2023-07-12 09:47:08 +02:00
Claire c7c6f02ae6
Fix suspending an already-limited domain () 2023-06-27 12:32:51 +02:00
Claire 602c458ab6
Add finer permission requirements for managing webhooks () 2023-06-22 14:52:25 +02:00
Claire 64f7a11658
Fix cross-origin loading of locales () 2023-06-18 15:47:04 +02:00