config-user.default.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. 'language' => 'en',
  7. 'old_entries' => 3,
  8. 'keep_history_default' => 50,
  9. 'ttl_default' => 3600,
  10. 'mail_login' => '',
  11. 'email_validation_token' => '',
  12. 'token' => '',
  13. 'passwordHash' => '',
  14. 'apiPasswordHash' => '',
  15. //feverKey is md5($user . ':' . $apiPasswordPlain)
  16. 'feverKey' => '',
  17. 'posts_per_page' => 20,
  18. 'since_hours_posts_per_rss' => 168,
  19. 'min_posts_per_rss' => 2,
  20. 'max_posts_per_rss' => 400,
  21. 'view_mode' => 'normal',
  22. 'default_view' => 'adaptive',
  23. 'default_state' => FreshRSS_Entry::STATE_NOT_READ,
  24. 'auto_load_more' => true,
  25. 'display_posts' => false,
  26. 'display_categories' => false,
  27. 'hide_read_feeds' => true,
  28. 'onread_jump_next' => true,
  29. 'lazyload' => true,
  30. 'sides_close_article' => true,
  31. 'sticky_post' => true,
  32. 'reading_confirm' => false,
  33. 'auto_remove_article' => false,
  34. # In the case an article has changed (e.g. updated content):
  35. # Set to `true` to mark it unread, or `false` to leave it as-is.
  36. 'mark_updated_article_unread' => false, //TODO: -1 => ignore, 0 => update, 1 => update and mark as unread
  37. 'sort_order' => 'DESC',
  38. 'anon_access' => false,
  39. 'mark_when' => array (
  40. 'article' => true,
  41. 'site' => true,
  42. 'scroll' => true,
  43. 'reception' => false,
  44. ),
  45. 'theme' => 'Origine',
  46. 'content_width' => 'thin',
  47. 'shortcuts' => array (
  48. 'mark_read' => 'r',
  49. 'mark_favorite' => 'f',
  50. 'go_website' => 'space',
  51. 'next_entry' => 'j',
  52. 'prev_entry' => 'k',
  53. 'skip_next_entry' => 'n',
  54. 'skip_prev_entry' => 'p',
  55. 'first_entry' => 'home',
  56. 'last_entry' => 'end',
  57. 'collapse_entry' => 'c',
  58. 'load_more' => 'm',
  59. 'auto_share' => 's',
  60. 'focus_search' => 'a',
  61. 'user_filter' => 'u',
  62. 'help' => 'f1',
  63. 'close_dropdown' => 'escape',
  64. 'normal_view' => '1',
  65. 'global_view' => '2',
  66. 'reading_view' => '3',
  67. 'rss_view' => '4',
  68. ),
  69. 'topline_read' => true,
  70. 'topline_favorite' => true,
  71. 'topline_display_authors' => false,
  72. 'topline_date' => true,
  73. 'topline_link' => true,
  74. 'bottomline_read' => true,
  75. 'bottomline_favorite' => true,
  76. 'bottomline_sharing' => true,
  77. 'bottomline_tags' => true,
  78. 'bottomline_date' => true,
  79. 'bottomline_link' => true,
  80. 'sharing' => array (
  81. ),
  82. 'queries' => array (
  83. ),
  84. 'html5_notif_timeout' => 0,
  85. 'show_nav_buttons' => true,
  86. 'extensions_enabled' => array(),
  87. );