config-user.default.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. 'archiving' => [
  10. 'keep_period' => 'P3M',
  11. 'keep_max' => 200,
  12. 'keep_min' => 50,
  13. 'keep_favourites' => true,
  14. 'keep_labels' => true,
  15. 'keep_unreads' => false,
  16. ],
  17. 'ttl_default' => 3600,
  18. 'mail_login' => '',
  19. 'email_validation_token' => '',
  20. 'token' => '',
  21. 'passwordHash' => '',
  22. 'apiPasswordHash' => '',
  23. //feverKey is md5($user . ':' . $apiPasswordPlain)
  24. 'feverKey' => '',
  25. 'posts_per_page' => 20,
  26. 'since_hours_posts_per_rss' => 168,
  27. 'max_posts_per_rss' => 400,
  28. 'view_mode' => 'normal',
  29. 'default_view' => 'adaptive',
  30. 'default_state' => FreshRSS_Entry::STATE_NOT_READ,
  31. 'show_fav_unread' => false,
  32. 'auto_load_more' => true,
  33. 'display_posts' => false,
  34. 'display_categories' => 'active', //{ active, remember, all, none }
  35. 'hide_read_feeds' => true,
  36. 'onread_jump_next' => true,
  37. 'lazyload' => true,
  38. 'sides_close_article' => true,
  39. 'sticky_post' => true,
  40. 'reading_confirm' => false,
  41. 'auto_remove_article' => false,
  42. # In the case an article has changed (e.g. updated content):
  43. # Set to `true` to mark it unread, or `false` to leave it as-is.
  44. 'mark_updated_article_unread' => false, //TODO: -1 => ignore, 0 => update, 1 => update and mark as unread
  45. 'sort_order' => 'DESC',
  46. 'anon_access' => false,
  47. 'mark_when' => array (
  48. 'article' => true,
  49. 'max_n_unread' => false,
  50. 'reception' => false,
  51. 'same_title_in_feed' => false,
  52. 'scroll' => true,
  53. 'site' => true,
  54. ),
  55. 'theme' => 'Origine',
  56. 'content_width' => 'thin',
  57. 'shortcuts' => array (
  58. 'actualize' => 'q',
  59. 'mark_read' => 'r',
  60. 'mark_favorite' => 'f',
  61. 'go_website' => 'space',
  62. 'next_entry' => 'j',
  63. 'next_unread_entry' => 'h',
  64. 'prev_entry' => 'k',
  65. 'skip_next_entry' => 'n',
  66. 'skip_prev_entry' => 'p',
  67. 'first_entry' => 'home',
  68. 'last_entry' => 'end',
  69. 'collapse_entry' => 'c',
  70. 'load_more' => 'm',
  71. 'auto_share' => 's',
  72. 'focus_search' => 'a',
  73. 'user_filter' => 'u',
  74. 'help' => 'f1',
  75. 'close_dropdown' => 'escape',
  76. 'normal_view' => '1',
  77. 'global_view' => '2',
  78. 'reading_view' => '3',
  79. 'rss_view' => '4',
  80. 'toggle_media' => 'v',
  81. ),
  82. # Disabling favicons and using emojis instead of icons improves performance for users with many feeds
  83. 'show_favicons' => true,
  84. 'icons_as_emojis' => false,
  85. 'topline_read' => true,
  86. 'topline_favorite' => true,
  87. 'topline_thumbnail' => 'none',
  88. 'topline_summary' => false,
  89. 'topline_display_authors' => false,
  90. 'topline_date' => true,
  91. 'topline_link' => true,
  92. 'bottomline_read' => true,
  93. 'bottomline_favorite' => true,
  94. 'bottomline_sharing' => true,
  95. 'bottomline_tags' => true,
  96. 'bottomline_date' => true,
  97. 'bottomline_link' => true,
  98. 'sharing' => array (
  99. ),
  100. 'queries' => array (
  101. ),
  102. 'html5_notif_timeout' => 0,
  103. 'show_nav_buttons' => true,
  104. 'extensions_enabled' => array(),
  105. );