social.yaml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. parameters:
  2. remember_me_httponly: true
  3. remember_me_samesite: strict
  4. gnusocial:
  5. site:
  6. name: GNU social
  7. notice:
  8. theme: default
  9. logo:
  10. language: en
  11. detect_language: true
  12. email: ''
  13. use_email: false
  14. recovery_disclose: false
  15. timezone: UTC
  16. brought_by:
  17. brought_by_url:
  18. closed: false
  19. register_type: public
  20. nickname: foo
  21. ssl: always
  22. ssl_proxy: false
  23. duplicate_time_limit: 60
  24. text_limit: 1000
  25. x_static_delivery: false
  26. security:
  27. algorithm: bcrypt
  28. options:
  29. cost: 12
  30. db:
  31. mirror:
  32. cache:
  33. early_recompute: 0.95
  34. notice_max_count: 128
  35. adapters:
  36. default: redis://redis
  37. storage:
  38. dir: '%kernel.project_dir%/file/'
  39. avatar:
  40. server:
  41. ssl:
  42. dir: "%kernel.project_dir%/file/avatar/"
  43. default: "/assets/default-avatar.svg"
  44. max_size_px: 300
  45. cover:
  46. server:
  47. ssl:
  48. dir: "%kernel.project_dir%/file/cover/"
  49. max_size_px: 300
  50. javascript:
  51. server:
  52. ssl:
  53. attachments:
  54. max_width: 4096
  55. max_height: 4096
  56. server:
  57. ssl:
  58. dir: "%kernel.project_dir%/file/attachments/"
  59. supported:
  60. application/vnd.oasis.opendocument.chart: odc
  61. application/vnd.oasis.opendocument.formula: odf
  62. application/vnd.oasis.opendocument.graphics: odg
  63. application/vnd.oasis.opendocument.graphics-template: otg
  64. application/vnd.oasis.opendocument.image: odi
  65. application/vnd.oasis.opendocument.presentation: odp
  66. application/vnd.oasis.opendocument.presentation-template: otp
  67. application/vnd.oasis.opendocument.spreadsheet: ods
  68. application/vnd.oasis.opendocument.spreadsheet-template: ots
  69. application/vnd.oasis.opendocument.text: odt
  70. application/vnd.oasis.opendocument.text-master: odm
  71. application/vnd.oasis.opendocument.text-template: ott
  72. application/vnd.oasis.opendocument.text-web: oth
  73. application/pdf: pdf
  74. application/zip: zip
  75. application/x-bzip2: bz2
  76. application/x-go-sgf: sgf
  77. application/xml: xml
  78. application/gpx+xml: gpx
  79. image/png: ".png"
  80. image/jpeg: ".jpeg"
  81. image/gif: ".gif"
  82. image/vnd.microsoft.icon: ".ico"
  83. image/svg+xml: svg
  84. audio/ogg: ogg
  85. audio/mpeg: mpg
  86. audio/x-speex: spx
  87. application/ogg: ogx
  88. text/plain: txt
  89. video/mpeg: mpeg
  90. video/mp4: mp4
  91. video/ogg: ogv
  92. video/quicktime: mov
  93. video/webm: webm
  94. file_quota: 2097152
  95. user_quota: 209715200
  96. monthly_quota: 20971520
  97. uploads: true
  98. show_html: true
  99. show_thumbs: true
  100. process_links: true
  101. ext_blacklist: []
  102. memory_limit: 1024M
  103. thumbnail:
  104. server:
  105. ssl:
  106. dir: "%kernel.project_dir%/file/thumbnails/"
  107. smart_crop: false
  108. max_size_px: 1000
  109. width: 450
  110. height: 600
  111. extension: '.webp'
  112. plugin_embed:
  113. width: 128
  114. height: 128
  115. smart_crop: false
  116. dir: "%kernel.project_dir%/file/embed/"
  117. theme:
  118. server:
  119. ssl:
  120. dir: "%kernel.project_dir%/public/theme/"
  121. plugins:
  122. server:
  123. ssl:
  124. core: []
  125. default: []
  126. locale_path:
  127. license:
  128. type: cc
  129. owner:
  130. url: https://creativecommons.org/licenses/by/4.0/
  131. title: Creative Commons Attribution 4.0
  132. image: "/theme/licenses/cc_by_4.0.png"
  133. nickname:
  134. reserved:
  135. - doc
  136. - main
  137. - avatar
  138. - theme
  139. - settings
  140. - admin
  141. featured: []
  142. min_length: 4
  143. profile:
  144. bio_text_limit:
  145. allow_nick_change: false
  146. allow_private_stream: true
  147. backup: false
  148. restore: false
  149. delete: false
  150. move: false
  151. image:
  152. jpegquality: 85
  153. foaf:
  154. mbox_sha1sum: false
  155. public:
  156. local_only: false
  157. blacklist: []
  158. exclude_sources: []
  159. invite:
  160. enabled: true
  161. tag:
  162. dropoff: 864000
  163. cutoff: 7776000
  164. popular:
  165. dropoff: 864000
  166. cutoff: 7776000
  167. new_users:
  168. default_subscriptions:
  169. welcome_user:
  170. linkify:
  171. bare_domains: false
  172. ipv4: false
  173. ipv6: false
  174. group:
  175. max_aliases: 3
  176. description_limit:
  177. people_tag:
  178. max_tags: 100
  179. max_people: 500
  180. allow_tagging:
  181. local: true
  182. remote: true
  183. description_limit:
  184. search:
  185. type: fulltext
  186. html_filter:
  187. tags:
  188. - img
  189. - video
  190. - audio
  191. - script
  192. notice:
  193. content_limit:
  194. allow_private: false
  195. hide_banned: true
  196. message:
  197. content_limit:
  198. location:
  199. share: user
  200. robots_txt:
  201. crawl_delay: 0
  202. disallow:
  203. - main
  204. - settings
  205. - admin
  206. - search
  207. - message
  208. nofollow:
  209. subscribers: true
  210. members: true
  211. peopletag: true
  212. external: sometimes
  213. url_shortener:
  214. service: internal
  215. max_url_length: 100
  216. max_notice_length:
  217. http:
  218. ssl_ca_file: "/docker/certbot/files/live/"
  219. timeout: 60
  220. proxy_host:
  221. proxy_port:
  222. proxy_user:
  223. proxy_password:
  224. proxy_auth_scheme:
  225. discovery:
  226. CORS: false