federation.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | ActivityPub
  6. |--------------------------------------------------------------------------
  7. |
  8. | ActivityPub configuration
  9. |
  10. */
  11. 'activitypub' => [
  12. 'enabled' => env('ACTIVITY_PUB', false),
  13. 'outbox' => env('AP_OUTBOX', true),
  14. 'inbox' => env('AP_INBOX', true),
  15. 'sharedInbox' => env('AP_SHAREDINBOX', true),
  16. 'remoteFollow' => env('AP_REMOTE_FOLLOW', true),
  17. 'delivery' => [
  18. 'timeout' => env('ACTIVITYPUB_DELIVERY_TIMEOUT', 30.0),
  19. 'concurrency' => env('ACTIVITYPUB_DELIVERY_CONCURRENCY', 10),
  20. 'logger' => [
  21. 'enabled' => env('AP_LOGGER_ENABLED', false),
  22. 'driver' => 'log'
  23. ]
  24. ],
  25. 'ingest' => [
  26. 'store_notes_without_followers' => env('AP_INGEST_STORE_NOTES_WITHOUT_FOLLOWERS', false),
  27. ],
  28. 'authorized_fetch' => env('AUTHORIZED_FETCH', false),
  29. ],
  30. 'atom' => [
  31. 'enabled' => env('ATOM_FEEDS', true),
  32. ],
  33. 'avatars' => [
  34. 'store_local' => env('REMOTE_AVATARS', true),
  35. ],
  36. 'nodeinfo' => [
  37. 'enabled' => env('NODEINFO', true),
  38. ],
  39. 'webfinger' => [
  40. 'enabled' => env('WEBFINGER', true)
  41. ],
  42. 'network_timeline' => env('PF_NETWORK_TIMELINE', true),
  43. 'network_timeline_days_falloff' => env('PF_NETWORK_TIMELINE_DAYS_FALLOFF', 90),
  44. 'custom_emoji' => [
  45. 'enabled' => env('CUSTOM_EMOJI', false),
  46. // max size in bytes, default is 2mb
  47. 'max_size' => env('CUSTOM_EMOJI_MAX_SIZE', 2000000),
  48. ],
  49. 'migration' => env('PF_ACCT_MIGRATION_ENABLED', true),
  50. ];