Matt Jankowski
4837bfcc6a
Use shared form
partial for admin/announcements
views ( #29608 )
2024-04-19 13:57:32 +00:00
Matt Jankowski
f56309f5f0
Add by_latest_used
scope, move admin area recent IPs to partial ( #29497 )
2024-04-02 13:51:34 +00:00
Claire
7508472d84
Fix admin interface repeating rule title instead of showing hint text ( #29758 )
2024-03-26 14:46:05 +00:00
Claire
8a1423a474
Allow unblocking email addresses from any matching account ( #29305 )
2024-03-20 14:38:00 +00:00
Matt Jankowski
0a33be39c1
Reduce LineLength
for react_admin_component
helpers ( #29650 )
2024-03-20 13:45:34 +00:00
Matt Jankowski
4c84891453
Pull out full li
element into admin/status_edits/status_edit partial ( #29499 )
2024-03-19 16:11:10 +00:00
Claire
cf08a438e7
Add badge on account card in report moderation interface when account is already suspended ( #29592 )
2024-03-19 08:20:53 +00:00
Matt Jankowski
f445d33fd6
Fix haml-lint LineLength
cops in app/views/admin ( #28680 )
2024-03-15 11:19:00 +00:00
Eugen Rochko
5b3a8737d6
Add hints for rules ( #29539 )
2024-03-11 08:57:07 +00:00
Jeong Arm
deffb8ecb6
Show comments in the admin/instances page ( #29240 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-02-28 12:07:06 +00:00
Claire
b71904816a
Change registrations to be disabled by default for new servers ( #29280 )
2024-02-22 13:28:19 +00:00
Matt Jankowski
69e61fff38
Move direct serializer usage out of admin view partial ( #29028 )
2024-02-06 13:18:37 +00:00
Matt Jankowski
b68f185573
Reduce LineLength
for react_component
helper in views/admin ( #28694 )
2024-01-11 13:14:24 +00:00
Matt Jankowski
6daa69327b
Fix LineLength
haml-lint in t
usage ( #28686 )
2024-01-11 09:32:32 +00:00
Claire
dfdadb92e8
Add ability to require approval when users sign up using specific email domains ( #28468 )
2024-01-04 09:07:05 +00:00
Eugen Rochko
b5ac61b2c5
Change algorithm of follow recommendations ( #28314 )
...
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 ( #28384 )
2023-12-18 10:06:42 +00:00
Claire
a2bcfeb887
Fix Style/HashEachMethods
cop in HAML files ( #28178 )
2023-12-04 09:09:43 +00:00
Claire
963354978a
Add Account#unavailable?
and Account#permanently_unavailable?
aliases ( #28053 )
2023-11-30 15:43:26 +00:00
Matt Jankowski
72b7cd349c
Extract helper methods for form label in admin/ area views ( #27575 )
2023-11-29 10:06:19 +00:00
Matt Jankowski
186895fc88
Refactor, lint fix, and bug fix on admin/roles/form partial ( #27558 )
2023-11-29 10:00:52 +00:00
June
97e677f993
Fix not all legal images showing in file picker when uploading custom emoji ( #28076 )
2023-11-27 10:06:48 +00:00
Claire
bd575a1dd6
Add banner for forwarded reports made by remote users about remote content ( #27549 )
2023-11-15 14:18:43 +00:00
Matt Jankowski
13c3e59601
Use helper method to build batched status edits in admin/statuses/show
( #27739 )
2023-11-08 13:04:52 +00:00
Matt Jankowski
bbad5b6456
Remove false positive cop detection ( #27457 )
2023-11-07 10:44:15 +00:00
Matt Jankowski
3ca974e101
Use next
keyword in field loop in admin/accounts/index view ( #27559 )
2023-10-26 10:52:14 +00:00
Matt Jankowski
70dbf84b9b
Solve simplest haml-lint Rubocop
lints ( #27529 )
2023-10-25 12:38:01 +00:00
Matt Jankowski
c926f5fd67
Fix haml-lint UnnecessaryStringOutput
for views ( #27531 )
2023-10-25 12:01:00 +00:00
Claire
99f2534cee
Add support for displaying unknown servers on /admin/instances/:domain ( #27150 )
2023-10-23 14:27:57 +02:00
Matt Jankowski
ab0fb81479
Configure brakeman to ignore url safe preview card urls ( #25883 )
2023-10-20 15:32:16 +02:00
Matt Jankowski
9f218c9924
Refactor appeal partial to avoid brakeman XSS warning ( #25880 )
2023-10-19 17:25:54 +02:00
Matt Jankowski
33b073f77d
Extract partials from admin/reports/show
view ( #27427 )
2023-10-16 18:07:17 +02:00
Matt Jankowski
8d0f12f776
Extract partials from admin/accounts/show
view ( #27428 )
2023-10-16 18:02:15 +02:00
Matt Jankowski
66becf9a1e
Fix haml-lint InstanceVariables
rule for admin/reports/actions ( #27339 )
2023-10-11 15:58:33 +02:00
Matt Jankowski
e715da6d25
Fix haml-lint Rubocop Rails/*
cops ( #26042 )
2023-10-03 15:00:40 +02:00
Matt Jankowski
89a17878ef
Fix haml-lint InstanceVariables
rule for admin/roles/_form ( #26063 )
2023-09-28 16:36:24 +02:00
Matt Jankowski
9d56c1949b
Fix haml-lint InstanceVariables
rule for admin/webhooks/_form ( #26062 )
2023-09-28 16:23:35 +02:00
Matt Jankowski
e6b903b21e
Fix haml-lint InstanceVariables
rule for invites/_form ( #26064 )
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 ( #25900 )
...
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 ( #26724 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-09-06 17:49:52 +02:00
Claire
ea7de25de0
Fix video player not being displayed in reports interface ( #26801 )
2023-09-05 20:05:58 +02:00
Claire
16681e0f20
Add admin notifications for new Mastodon versions ( #26582 )
2023-09-01 17:47:07 +02:00
Claire
9e26cd5503
Add authorized_fetch
server setting in addition to env var ( #25798 )
2023-09-01 15:41:10 +02:00
Matt Jankowski
9974163776
Consolidate inclusion of admin
js pack link ( #26628 )
2023-08-24 09:56:23 +02:00
Emelia Smith
e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode ( #26252 )
2023-08-02 19:32:48 +02:00
Claire
1e4ccc655a
Add role badges to the WebUI ( #25649 )
2023-07-27 16:05:24 +02:00
Nick Schonning
67016dd29d
Update haml-lint 0.49.1 ( #26118 )
2023-07-23 17:48:16 +02:00
Matt Jankowski
a5842df123
Fix haml-lint Rubocop Lint/UnusedBlockArguments
cop ( #26039 )
2023-07-20 17:03:39 +02:00
Matt Jankowski
f6dda59e5d
Fix haml-lint Rubocop Style/SymbolProc
cop ( #26059 )
2023-07-18 17:43:04 +02:00
Matt Jankowski
b3f48089e6
Fix haml-lint rubocop style negation cops ( #26057 )
2023-07-18 17:02:02 +02:00
Matt Jankowski
e663e6d2c2
Fix haml-lint ConsecutiveSilentScripts
rule ( #26043 )
2023-07-18 09:25:37 +02:00
Matt Jankowski
361dd43235
Fix haml-lint Rubocop lambda
cop ( #25946 )
2023-07-17 15:07:29 +02:00
Michael Stanclift
063482a63f
Fix trending publishers table not rendering correctly on narrow screens ( #25945 )
2023-07-13 11:12:51 +02:00
Claire
c7c6f02ae6
Fix suspending an already-limited domain ( #25603 )
2023-06-27 12:32:51 +02:00
Claire
602c458ab6
Add finer permission requirements for managing webhooks ( #25463 )
2023-06-22 14:52:25 +02:00
Eugen Rochko
4eda233e09
Add webhook templating ( #23289 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-06-06 10:42:47 +02:00
Jed Fox
768b00c4d0
Consistently use middle dot (·) instead of bullet (•) to separate items ( #25248 )
2023-06-02 19:58:18 +02:00
Claire
94329f28e1
Change wording of “Content cache retention period” setting to highlight destructive implications ( #23261 )
2023-06-02 18:09:08 +02:00
Claire
e9385e93e9
Add a confirmation screen when suspending a domain ( #25144 )
2023-06-01 09:37:38 +02:00
Claire
bec6a1cad4
Add hCaptcha support ( #25019 )
2023-05-16 23:27:35 +02:00
Christian Schmidt
5241f7b2fd
Fix UI crash in moderation interface when opening the media modal ( #24816 )
2023-05-11 12:41:55 +02:00
Claire
8fdf49b11d
Add warning for object storage misconfiguration ( #24137 )
2023-03-16 22:47:01 +01:00
Nick Schonning
65669d3c57
Fix more haml-lint Rubocop ( #24107 )
2023-03-15 20:07:43 +01:00
Nick Schonning
75131e7bf7
Setup haml-lint CI with todo config ( #23524 )
2023-03-15 04:15:36 +01:00
Claire
cf50667e26
Fix incorrect post links in strikes when the account is remote ( #23611 )
2023-03-15 04:14:47 +01:00
Claire
f94aa70b81
Fix error when displaying post history of a trendable post in the admin interface ( #23574 )
2023-03-03 20:44:02 +01:00
Jeong Arm
5f56818f9e
Change followed_by link to location=all if account is local on /admin/accounts/:id page ( #23467 )
2023-02-13 14:39:00 +01:00
Eugen Rochko
8f590b0a21
Add setting for status page URL ( #23390 )
2023-02-04 04:56:06 +01:00
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
2023-01-18 16:43:58 +01:00
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
2023-01-18 16:40:09 +01:00
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
2023-01-18 16:32:23 +01:00
Claire
d4f590d6bb
Fix scheduled_at input not using datetime-local when editing announcements ( #21896 )
2023-01-18 16:23:39 +01:00
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>
2023-01-13 17:14:39 +01:00
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
2023-01-13 16:43:17 +01:00
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
2023-01-13 11:03:14 +01:00
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
2023-01-13 10:46:52 +01:00
Claire
2ba14097ff
Change trending tags admin interface to always show batch actions ( #23013 )
...
Fixes #22565
2023-01-11 21:51:43 +01:00
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
2023-01-05 13:35:28 +01:00
Jeong Arm
3656a6b9cc
Add "disabled" user filter for admin/accounts UI ( #21282 )
2022-12-15 17:30:47 +01:00
Francis Murillo
c50e9d078a
Render current day formats in the client timezone ( #21878 )
...
* Fix remaining plain %time to %time.formatted
* Add %time.relative-formatted to client format dates on the current day
* Add missing comma dangle to formats
* Use client side message format instead of the server
* Add fallback message to relatve_format.today
* Remove unused translation key and fix js lint issue
Co-authored-by: Effy Elden <effy@effy.space>
2022-12-15 16:35:25 +01:00
Claire
bae6ef315e
Fix missing Javascript in domain block import confirmation page ( #21471 )
...
Follow-up to #20597
2022-12-15 15:47:23 +01:00
Claire
5917b46c05
Allow admins to refresh remotely-suspended accounts ( #22327 )
...
* Change suspension text to mention that a remotely suspended account is not locally-suspended
* Add ability to refresh profile of remotely suspended accounts
2022-12-15 14:15:50 +01:00
prplecake
714e68db38
Add noindex setting to Admin settings Discovery page ( #22205 )
...
* Add noindex setting to Admin settings Discovery page
* Replace default_noindex i18n
2022-12-11 07:27:44 +01:00
lenore gilbert
c373148b3d
Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes ( #20597 )
...
* Allow import/export of instance-level domain blocks/allows (#1754 )
* Allow import/export of instance-level domain blocks/allows.
Fixes #15095
* Pacify circleci
* Address simple code review feedback
* Add headers to exported CSV
* Extract common import/export functionality to
AdminExportControllerConcern
* Add additional fields to instance-blocked domain export
* Address review feedback
* Split instance domain block/allow import/export into separate pages/controllers
* Address code review feedback
* Pacify DeepSource
* Work around Paperclip::HasAttachmentFile for Rails 6
* Fix deprecated API warning in export tests
* Remove after_commit workaround
(cherry picked from commit 94e98864e3
)
* Add confirmation page when importing blocked domains (#1773 )
* Move glitch-soc-specific strings to glitch-soc-specific locale files
* Add confirmation page when importing blocked domains
(cherry picked from commit b91196f4b7
)
* Fix authorization check in domain blocks controller
(cherry picked from commit 7527937758
)
* Fix error strings for domain blocks and email-domain blocks
Corrected issue with non-error message used for Mastodon:NotPermittedError in Domain Blocks
Corrected issue Domain Blocks using the Email Domain Blocks message on ActionContoller::ParameterMissing
Corrected issue with Email Domain Blocks using the not_permitted string from "custom emojii's"
* Ran i18n-tasks normalize to address test failure
* Removed unused admin.export_domain_blocks.not_permitted string
Removing unused string as indicated by Check i18n
* Fix tests
(cherry picked from commit 9094c2f52c
)
* Fix domain block export not exporting blocks with only media rejection
(cherry picked from commit 26ff48ee48
)
* Fix various issues with domain block import
- stop using Paperclip for processing domain allow/block imports
- stop leaving temporary files
- better error handling
- assume CSV files are UTF-8-encoded
(cherry picked from commit cad824d8f501b95377e4f0a957e5a00d517a1902)
Co-authored-by: Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2022-11-17 11:05:09 +01:00
Claire
3d3bd344cb
Fix announcement dates not being validated client-side ( #20577 )
2022-11-13 20:58:54 +01:00
Claire
cf77d938f8
Fix saving server registration settings redirecting to branding settings ( #20505 )
2022-11-13 03:33:31 +01:00
Eugen Rochko
d26c1cb2fe
Fix missing "not recommended" label on "Allow trends without review" ( #20480 )
2022-11-12 10:54:51 +01:00
Claire
d9d722d74b
Change admin announcement edition interface to use datetime-local ( #18321 )
...
* Change admin announcement edition interface to use datetime-local
* Dynamically set announcement stop date as required if start date is set, set minimum date for stop date
* Change `all_day` to not be bound to presence of time-range
* Add pattern and placeholder as minimal fallback for browsers not supporting datetime-local
* Display datetime-local inputs as local time
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2022-10-28 12:56:32 +02:00
Eugen Rochko
f8ca3bb2a1
Add ability to view previous edits of a status in admin UI ( #19462 )
...
* Add ability to view previous edits of a status in admin UI
* Change moderator access to posts to be controlled by a separate policy
2022-10-26 13:42:29 +02:00
Eugen Rochko
7c152acb2c
Change settings area to be separated into categories in admin UI ( #19407 )
...
And update all descriptions
2022-10-22 11:44:41 +02:00
Eugen Rochko
b04633a961
Add image processing and generate blurhash for server thumbnail ( #19348 )
...
Remove separate server hero setting
2022-10-13 11:29:19 +02:00
Eugen Rochko
45ebdb72ca
Add support for language preferences for trending statuses and links ( #18288 )
2022-10-08 16:45:40 +02:00
Eugen Rochko
93f340a4bf
Remove setting that disables account deletes ( #17683 )
2022-10-06 10:16:47 +02:00
Eugen Rochko
02ba9cfa35
Remove code for rendering public and hashtag timelines outside the web UI ( #19257 )
2022-10-04 20:13:46 +02:00
Eugen Rochko
5c9abdeff1
Add retention policy for cached content and media ( #19232 )
2022-09-27 03:08:19 +02:00
Eugen Rochko
546672e292
Change "Allow trends without prior review" setting to include statuses ( #17977 )
...
* Change "Allow trends without prior review" setting to include posts
* Fix i18n-tasks
2022-08-28 04:00:39 +02:00
Eugen Rochko
1d84cbeaab
Fix "select all matching items" being offered when all items are on the page ( #19054 )
2022-08-26 02:11:23 +02:00
Eugen Rochko
5b0e8cc92b
Add ability to select all accounts matching search for batch actions ( #19053 )
2022-08-25 23:33:34 +02:00
Jeong Arm
42ff4dce41
Use type="color" on badge color input field ( #18825 )
...
This informs browser to use interactive color picker
2022-08-25 04:38:34 +02:00
Jeong Arm
d415f1116b
Fix /admin/accounts/ order parameter ( #18996 )
2022-08-17 22:07:30 +01:00