PageRenderTime 25ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 0ms

/config/app.yml

https://github.com/marbemac/limelight-music
YAML | 257 lines | 195 code | 21 blank | 41 comment | 0 complexity | aa6ad161945dbc34ca9a6056a229453f MD5 | raw file
Possible License(s): ISC
  1. # default values
  2. test:
  3. rpx_tokenize_url: http://97.107.135.24/frontend_test.php/tokenize
  4. site_path: frontend_test.php/
  5. staging:
  6. rpx_tokenize_url: http://97.107.135.24/frontend_staging.php/tokenize
  7. site_path: .php/
  8. dev:
  9. rpx_tokenize_url: http://music.limelight/frontend_dev.php/tokenize
  10. site_path: frontend_dev.php/
  11. amazon_song_bucket: music-limelight-dev
  12. amazon_cloud_front_distro: d397k8hnhi5xcz.cloudfront.net
  13. all:
  14. recaptcha:
  15. public_key: 6Lc7ZQQAAAAAADCpgyeO6BbkVTQFUWEYrMb2glxm
  16. private_key: 6Lc7ZQQAAAAAAJVe9Dz_zGGxqmpvLFKs2uKegq_Z
  17. sf_google_analytics_plugin:
  18. enabled: true
  19. profile_id: UA-6788018-1
  20. tracker: google
  21. custom_css_version: 1
  22. library_css_version: 1
  23. custom_js_version: 1
  24. library_js_version: 1
  25. site_version: 1
  26. site_name: Music Limelight
  27. site_type: music
  28. site_path: /
  29. # used by janrain in sfGuardAuth tokenize function
  30. rpx_api_key: bff775a2a4a42e155f4298c81568babbe622abbd
  31. rpx_tokenize_url: http://www.mlimelight.com/tokenize
  32. # used by Amazon
  33. amazon_access_key_id: AKIAJ2QSJUQRYKWR3LZA
  34. amazon_associate_id: 1425-1676-1073
  35. amazon_secret_key_id: kcaBbTE2Xkj+1Y3yiAk5mnr2T0mqZD/a+rxzMsSJ
  36. amazon_song_bucket: music-limelight-songs
  37. amazon_cloud_front_distro: d3g848lc6f2vev.cloudfront.net
  38. # paypal max claim
  39. paypal:
  40. max_claim: 2000
  41. min_claim: 1
  42. beta:
  43. pass: ilovelimelight
  44. # flag_val: minimum number of users that must flag an item before it is removed and flagged for review
  45. # ms_*: minimum score required to perform the action indicated by *
  46. # mt_*: minimum amount of days the user has been registered
  47. # score_flag_val: score at which the item will be automatically removed and flagged for review
  48. # dim_val: score at which to dim the item (because it is rated poorly)
  49. # feed_num: the number of news items to show per 'section' in feeds
  50. # tag_num: the number of tags to show
  51. # procon_num: the max number of pros/cons to show before the 'show more' button
  52. # max_char_count: the maximum number of characters to show before trimming
  53. # max_edited: the maximum number of times a user can edit the item
  54. # max_length: the maximum total length in characters
  55. # max_moderated: the maximum number of limelights a user is allowed to moderate
  56. mod:
  57. 1: 0
  58. 2: 0
  59. 3: 0
  60. 4: 0
  61. 5: 0
  62. 6: 0
  63. 7: 2000
  64. main_feed_num: 20
  65. topusers_limit: 10
  66. topmodusers_limit: 10
  67. toplimelights_limit: 10
  68. tag_sidebar_max: 10
  69. tag_name_max_length: 20
  70. News_score_flag_val: -20
  71. NewsLink_score_flag_val: -10
  72. LimelightSpecification_score_flag_val: -10
  73. NewsTag_score_flag_val: -10
  74. Wiki_score_flag_val: -10
  75. news:
  76. image_path: /uploads/n_stories
  77. flag_val: 10
  78. ms_add: 0
  79. ms_flag: 0
  80. feed_num: 20
  81. feed_max_char_count: 200
  82. # used on news pages, the number of days in seconds chart info etc should be pulled from
  83. chart_stat_pullback: 864000
  84. search_limit: 20
  85. # the min and max number of tags/limelights that must be attached to a news story that is being submitted
  86. add_tags_min: 3
  87. add_tags_max: 10
  88. add_limelights_min: 1
  89. add_limelights_max: 5
  90. song:
  91. image_path: /uploads/songs/images
  92. file_path: /uploads/songs/files
  93. flag_val: 10
  94. ms_add: 0
  95. ms_flag: 0
  96. feed_num: 20
  97. feed_max_char_count: 200
  98. # used on news pages, the number of days in seconds chart info etc should be pulled from
  99. chart_stat_pullback: 864000
  100. search_limit: 20
  101. # the min and max number of tags/limelights that must be attached to a news story that is being submitted
  102. add_tags_min: 0
  103. add_tags_max: 10
  104. add_limelights_min: 1
  105. add_limelights_max: 8
  106. # the amount of time a song needs to be played to count as a play
  107. count_as_play: 30
  108. limelight:
  109. image_path: /uploads/ll_images
  110. tag_num: 10
  111. procon_max_length: 100
  112. procon_flag_val: 10
  113. procon_num: 5
  114. # used in limelight head, the number of days in seconds status like new news, reviews etc should be pulled from
  115. head_stat_pullback: 259200
  116. # used in limelight head charts, the number of days in seconds chart info etc should be pulled from
  117. chart_stat_pullback: 604800
  118. search_limit: 20
  119. name_max_length: 40
  120. feed_num: 20
  121. product_num: 10
  122. reviews:
  123. # the number of days in seconds a limelight can be reviewed before its release date
  124. enable_user_date: 172800
  125. enable_pro_date: 604800
  126. title_max_length: 50
  127. content_max_length: 1000
  128. feed_num: 20
  129. ms_add: 0
  130. user:
  131. profile_image_path: /uploads/u_profile/
  132. max_change: 10
  133. feed_num: 15
  134. notifications_max: 5
  135. # min strikes required before user is suspended
  136. strike_min: 5
  137. # time in days that strikes count towards a users current strike min
  138. strike_time: 30
  139. # how long are users suspended for?
  140. suspend_until: 10
  141. # at what score_positive_count does vote score ratio kick in?
  142. score_ratio_threshold: 25
  143. # the maximum number of negative_scores a user can do while not scoring anything positive
  144. score_negative_max: 15
  145. # the minimum positive_score/negative_score a user must maintain
  146. score_ratio_min: .4
  147. # the number of claims to show on the revenue page at a time
  148. claimlist_max: 10
  149. comment:
  150. # at what score do we dim the comment
  151. dim_val: -5
  152. max_edited: 999
  153. max_length: 2000
  154. # how many characters to show in a comment feed item
  155. feed_item_length: 150
  156. spec:
  157. flag_val: 10
  158. lime_max: 10
  159. wiki:
  160. flag_val: 10
  161. shared_list_max: 10
  162. # in seconds, how long can users be idle, and how long can users edit wiki sections
  163. edit_inactivity_limit: 300
  164. edit_max_time_limit: 1800
  165. search_limit: 10
  166. # how many chars to show in wiki segment tooltip mouse-overs
  167. segment_tooltip_max_char: 1000
  168. history_limit: 30
  169. # controls how many items appear for each group on the rankings page
  170. rankings:
  171. user_max: 10
  172. news_max: 10
  173. limelight_max: 10
  174. # min number of flags of the same type required for item to be marked as flagged and removed
  175. # itemMultiplier increases the flags required based on the items score (every x points 1 more flag is required)
  176. # userMultiplier increases the flags required based on the submitting users score (every x points 1 more flag is required)
  177. flag:
  178. NewsFlag_min: 10
  179. NewsFlag_itemMultiplier: 25
  180. NewsFlag_userMultiplier: 300
  181. CommentFlag_min: 5
  182. CommentFlag_itemMultiplier: 3
  183. CommentFlag_userMultiplier: 300
  184. NewsTagFlag_min: 5
  185. NewsTagFlag_itemMultiplier: 3
  186. NewsTagFlag_userMultiplier: 300
  187. NewsLinkFlag_min: 5
  188. NewsLinkFlag_itemMultiplier: 3
  189. NewsLinkFlag_userMultiplier: 300
  190. WikiFlag_min: 5
  191. WikiFlag_itemMultiplier: 2
  192. WikiFlag_userMultiplier: 200
  193. LimelightSpecificationFlag_min: 5
  194. LimelightSpecificationFlag_itemMultiplier: 2
  195. LimelightSpecificationFlag_userMultiplier: 200
  196. LimelightProConFlag_min: 5
  197. LimelightProConFlag_itemMultiplier: 2
  198. LimelightProConFlag_userMultiplier: 200
  199. # 'min' refers to the minimum score/count required to increase the badge stat
  200. badge:
  201. num_levels: 4
  202. # how many points does a user get for earning a badge point AFTER they have already completed a badge to the max level
  203. extra_score: 5
  204. score_bronze: 5
  205. score_silver: 25
  206. score_gold: 100
  207. score_lime: 300
  208. LimelightProConScore_min: 5
  209. LimelightProConScore_add: Opinionated
  210. UserView_min: 600
  211. UserView_level2_min: 2000
  212. UserView_add: Popular
  213. LimelightView_min: 300
  214. LimelightView_add: Popular Limelight
  215. NewsView_min: 150
  216. NewsView_add: Popular News
  217. NewsScore_min: 5
  218. NewsScore_add: Reporter
  219. LimelightView_level2_min: 1000
  220. LimelightView_level2_add: Very Popular Limelight
  221. NewsView_level2_min: 500
  222. NewsView_level2_add: Very Popular News
  223. NewsTagScore_min: 5
  224. NewsTagScore_add: News Tagger
  225. NewsLinkScore_min: 5
  226. NewsLinkScore_add: News Linker
  227. CommentScore_min: 5
  228. CommentScore_add: Commentator
  229. NewsFavorite_min: 5
  230. NewsFavorite_add: News Fave
  231. LimelightFavorite_min: 15
  232. LimelightFavorite_add: Limelight Fave
  233. WikiScore_min: 5
  234. WikiScore_add: Wiki What
  235. LimelightSpecificationScore_min: 5
  236. LimelightSpecificationScore_add: Spec-tacular