pleroma/lib/pleroma
Mark Felder 8f15000c0f Do not require a cc field when validating an incoming Follow activity
The cc field is not required and the code was keeping the cc if it existed on an activity or replacing it with the default of an empty list when casting. If any Follow activity was received with a cc field, it would attempt to keep it.

This was noticed in !4208 where we would craft Follow requests with a cc value of nil.
2024-08-07 14:38:29 -04:00
..
activity Fix Rich Media Previews for updated activities 2024-02-04 23:47:04 -05:00
captcha Fix some more typos 2023-12-28 00:17:04 +01:00
chat
config Remove remaining vestiges of Logger support in ConfigDB/TransferTask 2024-06-19 14:29:44 -04:00
conversation Add missing type 2024-07-22 15:32:20 -04:00
docs Fix invalid type 2024-01-20 17:05:55 -05:00
ecto_type Dialyzer: fix pattern match coverage 2024-01-20 17:56:32 -05:00
emails Remove WorkerHelper 2024-07-30 11:34:48 -04:00
emoji Switch formatting checks to Elixir 1.15 2024-06-12 15:18:47 -04:00
gopher Credo.Check.Readability.PredicateFunctionNames 2024-01-26 16:59:58 -05:00
gun Switch the reclaimer to GenServer.start so it is not linked 2024-06-20 14:17:28 -04:00
helpers Dialyzer: fix pattern matches preventing video thumbnailing from working 2024-05-28 10:19:22 -04:00
http Add missing pool to the type 2024-06-07 16:34:32 -04:00
instances Remove WorkerHelper 2024-07-30 11:34:48 -04:00
mfa Remove WorkerHelper 2024-07-30 11:34:48 -04:00
migration_helper
migrators Pleroma.Migrators.Support.BaseMigrator: Fix dialyzer errors 2024-01-22 18:37:13 -05:00
object Dialyzer fix for RemoteFetcherWorker 2024-07-17 13:42:13 -04:00
password Fix atom leak in password digest functionality 2024-02-14 17:54:56 -05:00
reverse_proxy
search Dialyzer: The pattern can never match the type 2024-05-28 10:36:00 -04:00
telemetry Change Gun connection pool logs to debug 2024-06-28 10:23:02 -04:00
tesla/middleware
tests
upload StripLocation: Remove all PNG extra info to make sure that GPS data is gone. 2024-06-28 21:59:00 +04:00
uploaders IPFS uploader: dialyzer fixes 2024-05-30 15:14:27 -04:00
user Remove WorkerHelper 2024-07-30 11:34:48 -04:00
web Do not require a cc field when validating an incoming Follow activity 2024-08-07 14:38:29 -04:00
workers Remove WorkerHelper 2024-07-30 11:34:48 -04:00
activity.ex
announcement.ex Announcement: fix dialyzer errors and add typespec for the changeset 2024-01-22 18:37:13 -05:00
announcement_read_relationship.ex
application.ex Fix dialyzer error 2024-07-23 10:25:39 -04:00
application_requirements.ex Dialyzer: The guard clause can never succeed. 2024-07-01 11:45:27 -04:00
bookmark.ex Allow to group bookmarks in folders 2024-03-01 11:04:01 +01:00
bookmark_folder.ex Allow to group bookmarks in folders 2024-03-01 11:04:01 +01:00
caching.ex Pleroma.Web.RichMedia.Parser: Remove test-specific codepaths 2024-02-06 18:33:54 -05:00
captcha.ex
chat.ex FlakeId.Ecto.CompatType.t() does not exist 2024-01-20 16:36:01 -05:00
clippy.ex
config.ex
config_db.ex Remove remaining vestiges of Logger support in ConfigDB/TransferTask 2024-06-19 14:29:44 -04:00
constants.ex Revert "Merge branch 'strip-object-actor' into 'develop'" 2024-05-16 23:33:48 +00:00
conversation.ex Credo.Check.Readability.PredicateFunctionNames 2024-01-26 16:59:58 -05:00
counter_cache.ex
data_migration.ex Pleroma.Migrators.Support.BaseMigratorState: fix dialyzer error 2024-01-22 18:37:13 -05:00
delivery.ex
ecto_enums.ex Refactor backups to be fully controlled by Oban 2024-07-23 10:30:40 -04:00
emoji-test.txt
emoji.ex Merge branch 'deps-bump' into 'develop' 2024-01-29 17:43:00 +00:00
filter.ex Remove WorkerHelper 2024-07-30 11:34:48 -04:00
following_relationship.ex Fix order of args for unfollow/2 2024-07-22 19:11:22 -04:00
formatter.ex Fix mentioning punycode domains when using Markdown 2023-10-16 21:35:25 -04:00
frontend.ex Dialyzer: pattern can never match the type because it is covered by previous clauses. 2024-07-01 11:38:40 -04:00
gun.ex
hashtag.ex
healthcheck.ex
html.ex RichMedia refactor 2024-05-07 19:54:56 -04:00
http.ex Pleroma.HTTP: permit passing through custom Tesla Middlware for requests 2024-07-24 15:40:15 -04:00
http_signatures_api.ex HTTPSignaturePlugTest: Rewrite to use mox. 2024-05-28 14:00:25 +04:00
instances.ex These functions in Pleroma.Instances should be defdelegates to Pleroma.Instances.Instance 2023-12-27 12:44:16 -05:00
job_queue_monitor.ex
jwt.ex
keys.ex
list.ex
logging.ex
maintenance.ex Elixir 1.15: Chase the Logger.warn deprecation 2023-12-20 20:16:26 +00:00
maps.ex Maps: Add filter_empty_values/1 2024-01-26 16:18:29 +01:00
marker.ex
mfa.ex Pleroma.MFA: fix gradient error 2024-02-02 12:14:15 -05:00
moderation_log.ex Formatting 2024-01-27 10:09:20 -05:00
notification.ex Fix order of args for thread_muted?/2 2024-07-22 18:25:37 -04:00
object.ex Remove WorkerHelper 2024-07-30 11:34:48 -04:00
object_tombstone.ex
otp_version.ex
pagination.ex Pleroma.Web.MastodonAPI.SearchController: fix dialyzer errors 2024-01-31 11:12:41 -05:00
password_reset_token.ex
prom_ex.ex Switch to PromEx for prometheus metrics 2023-11-13 15:34:59 -05:00
registration.ex
release_tasks.ex Dialyzer: fix pattern match coverage 2024-01-20 17:58:47 -05:00
repo.ex Switch to PromEx for prometheus metrics 2023-11-13 15:34:59 -05:00
report_note.ex Fix invalid typespec references to Ecto.Changeset.t() 2024-01-20 16:47:50 -05:00
reverse_proxy.ex Allow Cowboy to stream the response instead of chunk it 2024-06-04 23:08:05 -04:00
rule.ex Add hint to rules 2024-04-06 11:45:19 +02:00
scheduled_activity.ex Oban queue simplification 2024-05-27 13:48:17 -04:00
search.ex Remove WorkerHelper 2024-07-30 11:34:48 -04:00
signature.ex Safer string concatenation 2024-07-25 16:18:45 -04:00
stats.ex
thread_mute.ex
upload.ex Upload.base_url: Don't pass nil to Path.join(), don't return nil 2024-06-12 15:18:47 -04:00
user.ex Remove WorkerHelper 2024-07-30 11:34:48 -04:00
user_invite_token.ex Fix invalid typespec references to Ecto.Changeset.t() 2024-01-20 16:47:50 -05:00
user_note.ex
user_relationship.ex Pleroma.User: fix dialyzer errors 2024-01-22 18:37:13 -05:00
utils.ex
web.ex Elixir 1.17 warnings for parens 2024-07-01 11:38:40 -04:00
xml_builder.ex