config-user.default.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?php
  2. # Do not modify this file, which defines default values, but create a
  3. # `./data/config-user.custom.php` file instead, containing the keys you want to
  4. # override.
  5. return array (
  6. 'enabled' => true,
  7. 'is_admin' => false,
  8. 'language' => 'en',
  9. // A timezone identifier such as 'Europe/Paris' https://php.net/timezones or blank for server default
  10. 'timezone' => '',
  11. 'archiving' => [
  12. 'keep_period' => 'P3M',
  13. 'keep_max' => 200,
  14. 'keep_min' => 50,
  15. 'keep_favourites' => true,
  16. 'keep_labels' => true,
  17. 'keep_unreads' => false,
  18. ],
  19. 'ttl_default' => 3600,
  20. 'dynamic_opml_ttl_default' => 43200,
  21. 'mail_login' => '',
  22. 'email_validation_token' => '',
  23. 'token' => '',
  24. 'passwordHash' => '',
  25. 'apiPasswordHash' => '',
  26. //feverKey is md5($user . ':' . $apiPasswordPlain)
  27. 'feverKey' => '',
  28. 'posts_per_page' => 20,
  29. 'since_hours_posts_per_rss' => 168,
  30. 'max_posts_per_rss' => 400,
  31. 'view_mode' => 'normal',
  32. 'default_view' => 'adaptive',
  33. 'default_state' => FreshRSS_Entry::STATE_NOT_READ,
  34. 'show_fav_unread' => false,
  35. 'auto_load_more' => true,
  36. 'display_posts' => false,
  37. 'display_categories' => 'active', //{ active, remember, all, none }
  38. 'show_tags' => 'f', // {0 => none, b => both, f => footer, h => header}
  39. 'show_tags_max' => 7,
  40. 'show_author_date' => 'h', // {0 => none, b => both, f => footer, h => header}
  41. 'show_feed_name' => 'a', // {0 => none, a => with authors, t => above title}
  42. 'show_article_icons' => 't', // {a => with_authors, t => above title}
  43. 'hide_read_feeds' => true,
  44. 'onread_jump_next' => true,
  45. 'lazyload' => true,
  46. 'sides_close_article' => false,
  47. 'sticky_post' => true,
  48. 'reading_confirm' => false,
  49. 'auto_remove_article' => false,
  50. # In the case an article has changed (e.g. updated content):
  51. # Set to `true` to mark it unread, or `false` to leave it as-is.
  52. 'mark_updated_article_unread' => false, //TODO: -1 => ignore, 0 => update, 1 => update and mark as unread
  53. # 'id'|'c.name'|'date'|'f.name'|'length'|'link'|'rand'|'title'
  54. 'sort' => 'id',
  55. 'sort_order' => 'DESC',
  56. # 'id'|'date'|'link'|'title'
  57. 'secondary_sort' => 'id',
  58. 'secondary_sort_order' => 'DESC',
  59. 'anon_access' => false,
  60. 'mark_when' => array (
  61. 'article' => true,
  62. 'gone' => false,
  63. 'max_n_unread' => false,
  64. 'reception' => false,
  65. 'same_title_in_feed' => false,
  66. 'scroll' => false,
  67. 'focus' => false,
  68. 'site' => true,
  69. ),
  70. 'filters' => [],
  71. 'theme' => 'Origine',
  72. 'darkMode' => 'auto',
  73. 'content_width' => 'thin',
  74. 'shortcuts' => array (
  75. 'actualize' => 'q',
  76. 'mark_read' => 'r',
  77. 'mark_favorite' => 'f',
  78. 'go_website' => 'space',
  79. 'next_entry' => 'j',
  80. 'next_unread_entry' => 'h',
  81. 'prev_entry' => 'k',
  82. 'skip_next_entry' => 'n',
  83. 'skip_prev_entry' => 'p',
  84. 'first_entry' => 'home',
  85. 'last_entry' => 'end',
  86. 'collapse_entry' => 'c',
  87. 'load_more' => 'm',
  88. 'mylabels' => 'l',
  89. 'auto_share' => 's',
  90. 'focus_search' => 'a',
  91. 'user_filter' => 'u',
  92. 'help' => 'f1',
  93. 'close_menus' => 'escape',
  94. 'normal_view' => '1',
  95. 'global_view' => '2',
  96. 'reading_view' => '3',
  97. 'toggle_media' => 'v',
  98. 'toggle_aside' => 't',
  99. ),
  100. # Disabling favicons and using emojis instead of icons improves performance for users with many feeds
  101. 'show_favicons' => true,
  102. 'icons_as_emojis' => false,
  103. # Hide the dropdown configuration menu and favicon in the aside list in case of many feeds, for UI performance
  104. 'simplify_over_n_feeds' => 1000,
  105. 'mark_read_button' => 'big',
  106. 'topline_read' => true,
  107. 'topline_favorite' => true,
  108. 'topline_myLabels' => false,
  109. 'topline_sharing' => false,
  110. 'topline_website' => 'full',
  111. 'topline_thumbnail' => 'none',
  112. 'topline_summary' => false,
  113. 'topline_display_authors' => false,
  114. 'topline_date' => true,
  115. 'topline_link' => true,
  116. 'bottomline_read' => true,
  117. 'bottomline_favorite' => true,
  118. 'bottomline_sharing' => true,
  119. 'bottomline_tags' => true,
  120. 'bottomline_myLabels' => true,
  121. 'bottomline_date' => true,
  122. 'bottomline_link' => true,
  123. 'sharing' => array (
  124. ),
  125. 'queries' => array (
  126. ),
  127. 'html5_notif_timeout' => 0,
  128. 'html5_enable_notif' => true,
  129. 'good_notification_timeout' => 3,
  130. 'bad_notification_timeout' => 8,
  131. 'show_nav_buttons' => true,
  132. 'sidebar_hidden_by_default' => false,
  133. # List of enabled FreshRSS extensions.
  134. 'extensions_enabled' => [],
  135. 'retrieve_extension_list' => true,
  136. # Extensions configurations
  137. 'extensions' => [],
  138. );