comunit-base 0.37.200628.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (752) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +426 -0
  4. data/Rakefile +26 -0
  5. data/app/assets/config/comunit_base_manifest.js +2 -0
  6. data/app/assets/images/comunit/base/icons/book.svg +1 -0
  7. data/app/assets/images/comunit/base/icons/comment.svg +1 -0
  8. data/app/assets/images/comunit/base/icons/dropdown.svg +3 -0
  9. data/app/assets/images/comunit/base/icons/hamburger.svg +1 -0
  10. data/app/assets/images/comunit/base/icons/pencil.svg +1 -0
  11. data/app/assets/images/comunit/base/icons/recent.svg +1 -0
  12. data/app/assets/images/comunit/base/icons/repost.svg +1 -0
  13. data/app/assets/images/comunit/base/icons/right-arrow.svg +1 -0
  14. data/app/assets/images/comunit/base/icons/search.svg +1 -0
  15. data/app/assets/images/comunit/base/icons/slider/left-arrow-hover.svg +4 -0
  16. data/app/assets/images/comunit/base/icons/slider/left-arrow.svg +4 -0
  17. data/app/assets/images/comunit/base/icons/slider/right-arrow-hover.svg +4 -0
  18. data/app/assets/images/comunit/base/icons/slider/right-arrow.svg +4 -0
  19. data/app/assets/images/comunit/base/icons/view.svg +1 -0
  20. data/app/assets/images/comunit/base/placeholders/file.svg +1 -0
  21. data/app/assets/images/comunit/base/placeholders/region_image.svg +12 -0
  22. data/app/assets/images/comunit/base/publisher_logo1.png +0 -0
  23. data/app/assets/javascripts/comunit/base/components/regions.js +0 -0
  24. data/app/assets/javascripts/comunit/base/comunit-base.js +197 -0
  25. data/app/assets/javascripts/comunit/base/socialization.js +47 -0
  26. data/app/assets/stylesheets/biovision/regions/regions.scss +25 -0
  27. data/app/assets/stylesheets/comunit/base/admin.scss +95 -0
  28. data/app/assets/stylesheets/comunit/base/albums.scss +101 -0
  29. data/app/assets/stylesheets/comunit/base/components.scss +8 -0
  30. data/app/assets/stylesheets/comunit/base/components/calendar.scss +62 -0
  31. data/app/assets/stylesheets/comunit/base/components/campaigns.scss +1 -0
  32. data/app/assets/stylesheets/comunit/base/components/campaigns/candidates.scss +16 -0
  33. data/app/assets/stylesheets/comunit/base/components/carousel.scss +36 -0
  34. data/app/assets/stylesheets/comunit/base/components/deeds.scss +2 -0
  35. data/app/assets/stylesheets/comunit/base/components/deeds/form.scss +26 -0
  36. data/app/assets/stylesheets/comunit/base/components/deeds/preview.scss +11 -0
  37. data/app/assets/stylesheets/comunit/base/components/forms.scss +24 -0
  38. data/app/assets/stylesheets/comunit/base/components/forms/inputs.scss +32 -0
  39. data/app/assets/stylesheets/comunit/base/components/posts.scss +28 -0
  40. data/app/assets/stylesheets/comunit/base/components/posts/featured.scss +86 -0
  41. data/app/assets/stylesheets/comunit/base/components/posts/item.scss +91 -0
  42. data/app/assets/stylesheets/comunit/base/components/posts/list.scss +20 -0
  43. data/app/assets/stylesheets/comunit/base/components/posts/my-form.scss +32 -0
  44. data/app/assets/stylesheets/comunit/base/components/posts/preview.scss +169 -0
  45. data/app/assets/stylesheets/comunit/base/default.scss +74 -0
  46. data/app/assets/stylesheets/comunit/base/default_site.scss +6 -0
  47. data/app/assets/stylesheets/comunit/base/entries.scss +145 -0
  48. data/app/assets/stylesheets/comunit/base/events.scss +161 -0
  49. data/app/assets/stylesheets/comunit/base/layout.scss +417 -0
  50. data/app/assets/stylesheets/comunit/base/notifications.scss +12 -0
  51. data/app/assets/stylesheets/comunit/base/posts.scss +798 -0
  52. data/app/assets/stylesheets/comunit/base/socialization.scss +112 -0
  53. data/app/assets/stylesheets/comunit/base/themes/default.scss +34 -0
  54. data/app/assets/stylesheets/comunit/base/themes/default/footer.scss +45 -0
  55. data/app/assets/stylesheets/comunit/base/themes/default/frontpage.scss +2 -0
  56. data/app/assets/stylesheets/comunit/base/themes/default/frontpage/featured_posts.scss +8 -0
  57. data/app/assets/stylesheets/comunit/base/themes/default/frontpage/post_category.scss +36 -0
  58. data/app/assets/stylesheets/comunit/base/themes/default/header.scss +108 -0
  59. data/app/assets/stylesheets/comunit/base/themes/default/header/navigation.scss +139 -0
  60. data/app/assets/stylesheets/comunit/base/themes/default/header/search.scss +31 -0
  61. data/app/assets/stylesheets/comunit/base/themes/default/legacy.scss +183 -0
  62. data/app/assets/stylesheets/comunit/base/themes/default/main.scss +45 -0
  63. data/app/assets/stylesheets/comunit/base/themes/default/sidebar.scss +49 -0
  64. data/app/assets/stylesheets/comunit/base/themes/default/sidebar/polls.scss +38 -0
  65. data/app/assets/stylesheets/comunit/base/themes/default/sidebar/posts.scss +133 -0
  66. data/app/assets/stylesheets/comunit/base/users.scss +142 -0
  67. data/app/assets/stylesheets/comunit/base/vars.scss +17 -0
  68. data/app/controllers/admin/albums_controller.rb +35 -0
  69. data/app/controllers/admin/appeals_controller.rb +30 -0
  70. data/app/controllers/admin/campaigns_controller.rb +37 -0
  71. data/app/controllers/admin/candidates_controller.rb +28 -0
  72. data/app/controllers/admin/countries_controller.rb +26 -0
  73. data/app/controllers/admin/decision_users_controller.rb +2 -0
  74. data/app/controllers/admin/decisions_controller.rb +2 -0
  75. data/app/controllers/admin/deed_categories_controller.rb +51 -0
  76. data/app/controllers/admin/deeds_controller.rb +28 -0
  77. data/app/controllers/admin/event_materials_controller.rb +25 -0
  78. data/app/controllers/admin/event_participants_controller.rb +27 -0
  79. data/app/controllers/admin/event_programs_controller.rb +20 -0
  80. data/app/controllers/admin/event_speakers_controller.rb +30 -0
  81. data/app/controllers/admin/event_sponsors_controller.rb +30 -0
  82. data/app/controllers/admin/events_controller.rb +54 -0
  83. data/app/controllers/admin/groups_controller.rb +54 -0
  84. data/app/controllers/admin/photos_controller.rb +25 -0
  85. data/app/controllers/admin/political_forces_controller.rb +45 -0
  86. data/app/controllers/admin/promo_blocks_controller.rb +27 -0
  87. data/app/controllers/admin/promo_items_controller.rb +22 -0
  88. data/app/controllers/admin/regions_controller.rb +53 -0
  89. data/app/controllers/admin/teams_controller.rb +53 -0
  90. data/app/controllers/admin/user_messages_controller.rb +2 -0
  91. data/app/controllers/albums_controller.rb +68 -0
  92. data/app/controllers/api/user_links_controller.rb +23 -0
  93. data/app/controllers/api/users_controller.rb +71 -0
  94. data/app/controllers/appeals_controller.rb +78 -0
  95. data/app/controllers/articles_controller.rb +49 -0
  96. data/app/controllers/authors_controller.rb +27 -0
  97. data/app/controllers/campaigns_controller.rb +130 -0
  98. data/app/controllers/candidates_controller.rb +70 -0
  99. data/app/controllers/decision_users_controller.rb +2 -0
  100. data/app/controllers/decisions_controller.rb +2 -0
  101. data/app/controllers/deed_categories_controller.rb +70 -0
  102. data/app/controllers/deeds_controller.rb +95 -0
  103. data/app/controllers/editorial/index_controller.rb +11 -0
  104. data/app/controllers/editorial/users_controller.rb +34 -0
  105. data/app/controllers/entries_controller.rb +140 -0
  106. data/app/controllers/event_materials_controller.rb +55 -0
  107. data/app/controllers/event_participants_controller.rb +44 -0
  108. data/app/controllers/event_programs_controller.rb +55 -0
  109. data/app/controllers/event_speakers_controller.rb +55 -0
  110. data/app/controllers/event_sponsors_controller.rb +55 -0
  111. data/app/controllers/events_controller.rb +69 -0
  112. data/app/controllers/featured_posts_controller.rb +42 -0
  113. data/app/controllers/groups_controller.rb +57 -0
  114. data/app/controllers/impeachment_controller.rb +15 -0
  115. data/app/controllers/index_controller.rb +42 -0
  116. data/app/controllers/legacy/admin/post_categories_controller.rb +28 -0
  117. data/app/controllers/legacy/admin/posts_controller.rb +31 -0
  118. data/app/controllers/legacy/news_controller.rb +116 -0
  119. data/app/controllers/legacy/post_categories_controller.rb +74 -0
  120. data/app/controllers/legacy/posts_controller.rb +132 -0
  121. data/app/controllers/my/albums_controller.rb +2 -0
  122. data/app/controllers/my/deeds_controller.rb +42 -0
  123. data/app/controllers/my/entries_controller.rb +8 -0
  124. data/app/controllers/my/followees_controller.rb +9 -0
  125. data/app/controllers/my/followers_controller.rb +9 -0
  126. data/app/controllers/my/messages_controller.rb +23 -0
  127. data/app/controllers/my/notifications_controller.rb +8 -0
  128. data/app/controllers/network/campaigns_controller.rb +11 -0
  129. data/app/controllers/network/candidates_controller.rb +11 -0
  130. data/app/controllers/network/political_forces_controller.rb +11 -0
  131. data/app/controllers/network/posts_controller.rb +11 -0
  132. data/app/controllers/network/regions_controller.rb +11 -0
  133. data/app/controllers/network/sites_controller.rb +15 -0
  134. data/app/controllers/network/users_controller.rb +22 -0
  135. data/app/controllers/network_controller.rb +68 -0
  136. data/app/controllers/news_categories_controller.rb +59 -0
  137. data/app/controllers/news_controller.rb +67 -0
  138. data/app/controllers/photos_controller.rb +67 -0
  139. data/app/controllers/political_forces_controller.rb +70 -0
  140. data/app/controllers/profiles_controller.rb +27 -0
  141. data/app/controllers/promo_blocks_controller.rb +64 -0
  142. data/app/controllers/promo_items_controller.rb +68 -0
  143. data/app/controllers/regional_news_controller.rb +26 -0
  144. data/app/controllers/search_controller.rb +10 -0
  145. data/app/controllers/teams_controller.rb +56 -0
  146. data/app/controllers/user_messages_controller.rb +41 -0
  147. data/app/controllers/users_controller.rb +94 -0
  148. data/app/helpers/albums_helper.rb +37 -0
  149. data/app/helpers/campaigns_helper.rb +98 -0
  150. data/app/helpers/comments_helper.rb +15 -0
  151. data/app/helpers/deeds_helper.rb +36 -0
  152. data/app/helpers/entries_helper.rb +104 -0
  153. data/app/helpers/events_helper.rb +80 -0
  154. data/app/helpers/feedback_helper.rb +6 -0
  155. data/app/helpers/groups_helper.rb +11 -0
  156. data/app/helpers/media_helper.rb +19 -0
  157. data/app/helpers/parsing_helper.rb +80 -0
  158. data/app/helpers/promo_helper.rb +38 -0
  159. data/app/helpers/regions_helper.rb +77 -0
  160. data/app/helpers/users_helper.rb +37 -0
  161. data/app/helpers/votes_helper.rb +24 -0
  162. data/app/jobs/application_job.rb +7 -0
  163. data/app/jobs/network_campaign_sync_job.rb +20 -0
  164. data/app/jobs/network_candidate_sync_job.rb +20 -0
  165. data/app/jobs/network_entity_sync_job.rb +31 -0
  166. data/app/jobs/network_political_force_sync_job.rb +20 -0
  167. data/app/jobs/network_post_sync_job.rb +22 -0
  168. data/app/jobs/network_user_sync_job.rb +20 -0
  169. data/app/mailers/appeals_mailer.rb +12 -0
  170. data/app/mailers/application_mailer.rb +5 -0
  171. data/app/models/album.rb +42 -0
  172. data/app/models/appeal.rb +50 -0
  173. data/app/models/appeal_type.rb +45 -0
  174. data/app/models/application_record.rb +3 -0
  175. data/app/models/campaign.rb +78 -0
  176. data/app/models/candidate.rb +144 -0
  177. data/app/models/candidate_political_force.rb +15 -0
  178. data/app/models/central_region.rb +53 -0
  179. data/app/models/concerns/post_child_with_priority.rb +49 -0
  180. data/app/models/country.rb +33 -0
  181. data/app/models/decision.rb +38 -0
  182. data/app/models/decision_user.rb +25 -0
  183. data/app/models/deed.rb +78 -0
  184. data/app/models/deed_category.rb +95 -0
  185. data/app/models/deed_deed_category.rb +15 -0
  186. data/app/models/deed_image.rb +33 -0
  187. data/app/models/entry.rb +128 -0
  188. data/app/models/event.rb +47 -0
  189. data/app/models/event_material.rb +44 -0
  190. data/app/models/event_participant.rb +52 -0
  191. data/app/models/event_program.rb +50 -0
  192. data/app/models/event_speaker.rb +69 -0
  193. data/app/models/event_sponsor.rb +69 -0
  194. data/app/models/featured_post.rb +20 -0
  195. data/app/models/group.rb +34 -0
  196. data/app/models/illustration.rb +11 -0
  197. data/app/models/news.rb +110 -0
  198. data/app/models/news_category.rb +60 -0
  199. data/app/models/notification.rb +64 -0
  200. data/app/models/photo.rb +53 -0
  201. data/app/models/political_force.rb +62 -0
  202. data/app/models/privilege.rb +188 -0
  203. data/app/models/promo_block.rb +49 -0
  204. data/app/models/promo_item.rb +36 -0
  205. data/app/models/region.rb +149 -0
  206. data/app/models/region_user.rb +28 -0
  207. data/app/models/site.rb +29 -0
  208. data/app/models/team.rb +72 -0
  209. data/app/models/team_privilege.rb +6 -0
  210. data/app/models/theme.rb +26 -0
  211. data/app/models/theme_news_category.rb +4 -0
  212. data/app/models/theme_post_category.rb +4 -0
  213. data/app/models/user_group.rb +6 -0
  214. data/app/models/user_link.rb +69 -0
  215. data/app/models/user_message.rb +86 -0
  216. data/app/models/zen_category.rb +21 -0
  217. data/app/services/biovision/components/campaigns_component.rb +14 -0
  218. data/app/services/biovision/components/decisions_component.rb +9 -0
  219. data/app/services/biovision/components/deeds_component.rb +15 -0
  220. data/app/services/biovision/components/regions_component.rb +32 -0
  221. data/app/services/comunit/network/handler.rb +162 -0
  222. data/app/services/comunit/network/handlers/decision_handler.rb +16 -0
  223. data/app/services/comunit/network/handlers/deed_category_handler.rb +31 -0
  224. data/app/services/comunit/network/handlers/deed_handler.rb +58 -0
  225. data/app/services/comunit/network/handlers/deed_image_handler.rb +40 -0
  226. data/app/services/comunit/network/handlers/poll_answer_handler.rb +41 -0
  227. data/app/services/comunit/network/handlers/poll_handler.rb +46 -0
  228. data/app/services/comunit/network/handlers/poll_question_handler.rb +31 -0
  229. data/app/services/comunit/network/handlers/poll_vote_handler.rb +41 -0
  230. data/app/services/comunit/network/handlers/site_handler.rb +21 -0
  231. data/app/services/comunit/network/handlers/user_handler.rb +45 -0
  232. data/app/services/comunit/network/logging.rb +33 -0
  233. data/app/services/comunit/network/sending.rb +28 -0
  234. data/app/services/network_manager.rb +116 -0
  235. data/app/services/network_manager/campaign_handler.rb +96 -0
  236. data/app/services/network_manager/candidate_handler.rb +137 -0
  237. data/app/services/network_manager/political_force_handler.rb +85 -0
  238. data/app/services/network_manager/post_attachment_handler.rb +18 -0
  239. data/app/services/network_manager/post_handler.rb +133 -0
  240. data/app/services/network_manager/post_type_handler.rb +15 -0
  241. data/app/services/network_manager/region_handler.rb +83 -0
  242. data/app/services/network_manager/user_handler.rb +158 -0
  243. data/app/services/popular_entries.rb +25 -0
  244. data/app/services/popular_posts.rb +28 -0
  245. data/app/services/post_manager.rb +79 -0
  246. data/app/services/post_parser.rb +77 -0
  247. data/app/services/region_manager.rb +60 -0
  248. data/app/services/user_profile_handler.rb +74 -0
  249. data/app/uploaders/event_attachment_uploader.rb +15 -0
  250. data/app/uploaders/event_image_uploader.rb +32 -0
  251. data/app/uploaders/event_person_image_uploader.rb +40 -0
  252. data/app/uploaders/event_sponsor_image_uploader.rb +40 -0
  253. data/app/uploaders/header_image_uploader.rb +50 -0
  254. data/app/uploaders/illustration_image_uploader.rb +32 -0
  255. data/app/uploaders/photo_uploader.rb +55 -0
  256. data/app/uploaders/post_illustration_uploader.rb +73 -0
  257. data/app/uploaders/post_image_uploader.rb +54 -0
  258. data/app/uploaders/promo_image_uploader.rb +53 -0
  259. data/app/uploaders/region_image_uploader.rb +53 -0
  260. data/app/uploaders/site_image_uploader.rb +55 -0
  261. data/app/views/about/donate.html.erb +12 -0
  262. data/app/views/admin/albums/_list.html.erb +11 -0
  263. data/app/views/admin/albums/_nav_item.html.erb +6 -0
  264. data/app/views/admin/albums/_toggleable.html.erb +7 -0
  265. data/app/views/admin/albums/entity/_in_list.html.erb +19 -0
  266. data/app/views/admin/albums/index.html.erb +14 -0
  267. data/app/views/admin/albums/photos.html.erb +23 -0
  268. data/app/views/admin/albums/show.html.erb +55 -0
  269. data/app/views/admin/appeals/_form.html.erb +15 -0
  270. data/app/views/admin/appeals/_list.html.erb +17 -0
  271. data/app/views/admin/appeals/_nav_item.html.erb +2 -0
  272. data/app/views/admin/appeals/_toggleable.html.erb +7 -0
  273. data/app/views/admin/appeals/entity/_in_list.html.erb +13 -0
  274. data/app/views/admin/appeals/index.html.erb +13 -0
  275. data/app/views/admin/appeals/show.html.erb +67 -0
  276. data/app/views/admin/campaigns/_nav_item.html.erb +6 -0
  277. data/app/views/admin/campaigns/candidates.html.erb +24 -0
  278. data/app/views/admin/campaigns/entity/_in_list.html.erb +40 -0
  279. data/app/views/admin/campaigns/index.html.erb +21 -0
  280. data/app/views/admin/campaigns/new_candidate.html.erb +24 -0
  281. data/app/views/admin/campaigns/show.html.erb +73 -0
  282. data/app/views/admin/candidates/_nav_item.html.erb +6 -0
  283. data/app/views/admin/candidates/entity/_in_list.html.erb +29 -0
  284. data/app/views/admin/candidates/entity/_political_forces.html.erb +23 -0
  285. data/app/views/admin/candidates/index.html.erb +22 -0
  286. data/app/views/admin/candidates/show.html.erb +93 -0
  287. data/app/views/admin/components/links/_campaigns.html.erb +5 -0
  288. data/app/views/admin/components/links/_deeds.html.erb +2 -0
  289. data/app/views/admin/components/links/_regions.html.erb +3 -0
  290. data/app/views/admin/components/user_settings/_regions.html.erb +22 -0
  291. data/app/views/admin/components/user_settings/regions/_linked_regions.html.erb +23 -0
  292. data/app/views/admin/components/user_settings/regions/_new_link.html.erb +43 -0
  293. data/app/views/admin/countries/_nav_item.html.erb +2 -0
  294. data/app/views/admin/deed_categories/_nav_item.html.erb +6 -0
  295. data/app/views/admin/deed_categories/entity/_in_list.html.erb +31 -0
  296. data/app/views/admin/deed_categories/index.html.erb +22 -0
  297. data/app/views/admin/deed_categories/show.html.erb +79 -0
  298. data/app/views/admin/deeds/_nav_item.html.erb +6 -0
  299. data/app/views/admin/deeds/entity/_categories.html.erb +33 -0
  300. data/app/views/admin/deeds/entity/_in_list.html.erb +31 -0
  301. data/app/views/admin/deeds/index.html.erb +24 -0
  302. data/app/views/admin/deeds/show.html.erb +63 -0
  303. data/app/views/admin/event_materials/_list.html.erb +11 -0
  304. data/app/views/admin/event_materials/_toggleable.html.erb +7 -0
  305. data/app/views/admin/event_materials/entity/_in_list.html.erb +16 -0
  306. data/app/views/admin/event_participants/_list.html.erb +11 -0
  307. data/app/views/admin/event_participants/_nav_item.html.erb +6 -0
  308. data/app/views/admin/event_participants/_toggleable.html.erb +7 -0
  309. data/app/views/admin/event_participants/entity/_in_list.html.erb +22 -0
  310. data/app/views/admin/event_participants/index.html.erb +15 -0
  311. data/app/views/admin/event_participants/show.html.erb +10 -0
  312. data/app/views/admin/event_programs/_list.html.erb +11 -0
  313. data/app/views/admin/event_programs/entity/_in_list.html.erb +9 -0
  314. data/app/views/admin/event_programs/show.html.erb +11 -0
  315. data/app/views/admin/event_speakers/_list.html.erb +11 -0
  316. data/app/views/admin/event_speakers/_toggleable.html.erb +7 -0
  317. data/app/views/admin/event_speakers/entity/_in_list.html.erb +17 -0
  318. data/app/views/admin/event_sponsors/_list.html.erb +11 -0
  319. data/app/views/admin/event_sponsors/_toggleable.html.erb +7 -0
  320. data/app/views/admin/event_sponsors/entity/_in_list.html.erb +17 -0
  321. data/app/views/admin/events/_event.html.erb +57 -0
  322. data/app/views/admin/events/_nav_item.html.erb +6 -0
  323. data/app/views/admin/events/_toggleable.html.erb +7 -0
  324. data/app/views/admin/events/entity/_in_list.html.erb +24 -0
  325. data/app/views/admin/events/entity/_materials.html.erb +14 -0
  326. data/app/views/admin/events/entity/_programs.html.erb +14 -0
  327. data/app/views/admin/events/entity/_speakers.html.erb +14 -0
  328. data/app/views/admin/events/entity/_sponsors.html.erb +14 -0
  329. data/app/views/admin/events/index.html.erb +16 -0
  330. data/app/views/admin/events/participants.html.erb +22 -0
  331. data/app/views/admin/events/show.html.erb +32 -0
  332. data/app/views/admin/featured_posts/_add.html.erb +128 -0
  333. data/app/views/admin/featured_posts/_language.html.erb +14 -0
  334. data/app/views/admin/featured_posts/_nav_item.html.erb +2 -0
  335. data/app/views/admin/featured_posts/entity/_in_list.html.erb +26 -0
  336. data/app/views/admin/featured_posts/index.html.erb +18 -0
  337. data/app/views/admin/groups/_list.html.erb +11 -0
  338. data/app/views/admin/groups/_nav_item.html.erb +6 -0
  339. data/app/views/admin/groups/entity/_in_list.html.erb +15 -0
  340. data/app/views/admin/groups/index.html.erb +11 -0
  341. data/app/views/admin/groups/show.html.erb +89 -0
  342. data/app/views/admin/groups/users.jbuilder +11 -0
  343. data/app/views/admin/groups/users/_list.html.erb +18 -0
  344. data/app/views/admin/groups/users/_user.html.erb +24 -0
  345. data/app/views/admin/index/_additional.html.erb +0 -0
  346. data/app/views/admin/index/_custom_dashboard.html.erb +3 -0
  347. data/app/views/admin/index/dashboard/_event_manager.html.erb +8 -0
  348. data/app/views/admin/index/dashboard/_feedback_manager.html.erb +8 -0
  349. data/app/views/admin/index/dashboard/_promo_manager.html.erb +10 -0
  350. data/app/views/admin/photos/_list.html.erb +11 -0
  351. data/app/views/admin/photos/entity/_in_list.html.erb +13 -0
  352. data/app/views/admin/photos/show.html.erb +42 -0
  353. data/app/views/admin/political_forces/_nav_item.html.erb +6 -0
  354. data/app/views/admin/political_forces/candidates.html.erb +25 -0
  355. data/app/views/admin/political_forces/entity/_in_list.html.erb +24 -0
  356. data/app/views/admin/political_forces/index.html.erb +21 -0
  357. data/app/views/admin/political_forces/show.html.erb +48 -0
  358. data/app/views/admin/post_attachments/entity/_in_list.html.erb +12 -0
  359. data/app/views/admin/posts/_list.html.erb +15 -0
  360. data/app/views/admin/posts/_nav_item.html.erb +2 -0
  361. data/app/views/admin/posts/_toggleable.html.erb +7 -0
  362. data/app/views/admin/posts/entity/_additional_data.html.erb +0 -0
  363. data/app/views/admin/posts/entity/_attachments.html.erb +14 -0
  364. data/app/views/admin/posts/entity/_in_list.html.erb +90 -0
  365. data/app/views/admin/posts/entity/_in_search.html.erb +8 -0
  366. data/app/views/admin/posts/entity/_links.html.erb +125 -0
  367. data/app/views/admin/posts/entity/in_list/_additional_data.html.erb +0 -0
  368. data/app/views/admin/posts/images.html.erb +22 -0
  369. data/app/views/admin/posts/index.html.erb +16 -0
  370. data/app/views/admin/posts/post/_preview.html.erb +28 -0
  371. data/app/views/admin/posts/regions.jbuilder +10 -0
  372. data/app/views/admin/posts/search.jbuilder +26 -0
  373. data/app/views/admin/posts/show.html.erb +208 -0
  374. data/app/views/admin/privileges/entity/_groups.html.erb +33 -0
  375. data/app/views/admin/privileges/entity/_in_list.html.erb +54 -0
  376. data/app/views/admin/privileges/entity/_region.html.erb +12 -0
  377. data/app/views/admin/privileges/index.html.erb +25 -0
  378. data/app/views/admin/privileges/regions.jbuilder +10 -0
  379. data/app/views/admin/privileges/show.html.erb +81 -0
  380. data/app/views/admin/promo_blocks/_nav_item.html.erb +6 -0
  381. data/app/views/admin/promo_blocks/entity/_in_list.html.erb +34 -0
  382. data/app/views/admin/promo_blocks/entity/_items.html.erb +23 -0
  383. data/app/views/admin/promo_blocks/index.html.erb +14 -0
  384. data/app/views/admin/promo_blocks/show.html.erb +52 -0
  385. data/app/views/admin/promo_items/entity/_in_list.html.erb +31 -0
  386. data/app/views/admin/promo_items/show.html.erb +69 -0
  387. data/app/views/admin/regions/_nav_item.html.erb +2 -0
  388. data/app/views/admin/regions/_news_form.html.erb +91 -0
  389. data/app/views/admin/regions/_post_form.html.erb +91 -0
  390. data/app/views/admin/regions/_region.jbuilder +11 -0
  391. data/app/views/admin/regions/entity/_in_list.html.erb +22 -0
  392. data/app/views/admin/regions/index.html.erb +16 -0
  393. data/app/views/admin/regions/index.jbuilder +3 -0
  394. data/app/views/admin/regions/show.html.erb +90 -0
  395. data/app/views/admin/regions/show.jbuilder +8 -0
  396. data/app/views/admin/teams/_list.html.erb +11 -0
  397. data/app/views/admin/teams/_nav_item.html.erb +6 -0
  398. data/app/views/admin/teams/_toggleable.html.erb +7 -0
  399. data/app/views/admin/teams/entity/_in_list.html.erb +18 -0
  400. data/app/views/admin/teams/entity/_privileges.html.erb +33 -0
  401. data/app/views/admin/teams/index.html.erb +11 -0
  402. data/app/views/admin/teams/show.html.erb +16 -0
  403. data/app/views/admin/users/entity/_in_list.html.erb +53 -0
  404. data/app/views/admin/users/entity/_privilege.html.erb +33 -0
  405. data/app/views/admin/users/entity/_profile.html.erb +75 -0
  406. data/app/views/albums/_form.html.erb +59 -0
  407. data/app/views/albums/_list.html.erb +13 -0
  408. data/app/views/albums/edit.html.erb +13 -0
  409. data/app/views/albums/new.html.erb +12 -0
  410. data/app/views/albums/show.html.erb +21 -0
  411. data/app/views/api/user_links/not_found.jbuilder +3 -0
  412. data/app/views/appeals/_form.html.erb +44 -0
  413. data/app/views/appeals/edit.js.erb +1 -0
  414. data/app/views/appeals/new.html.erb +12 -0
  415. data/app/views/appeals/new.js.erb +1 -0
  416. data/app/views/appeals_mailer/appeal_reply.html.erb +10 -0
  417. data/app/views/articles/category.html.erb +18 -0
  418. data/app/views/articles/index.html.erb +17 -0
  419. data/app/views/articles/show.html.erb +6 -0
  420. data/app/views/articles/tagged.html.erb +14 -0
  421. data/app/views/authentication/_info.html.erb +8 -0
  422. data/app/views/authentication/new.html.erb +9 -0
  423. data/app/views/authors/_list.html.erb +18 -0
  424. data/app/views/authors/entity/_in_list.html.erb +9 -0
  425. data/app/views/authors/index.html.erb +10 -0
  426. data/app/views/authors/show.html.erb +25 -0
  427. data/app/views/blog_posts/category.html.erb +18 -0
  428. data/app/views/blog_posts/show.html.erb +6 -0
  429. data/app/views/blog_posts/tagged.html.erb +14 -0
  430. data/app/views/campaigns/_form.html.erb +91 -0
  431. data/app/views/campaigns/candidate.html.erb +29 -0
  432. data/app/views/campaigns/edit.html.erb +17 -0
  433. data/app/views/campaigns/new.html.erb +15 -0
  434. data/app/views/candidates/_form.html.erb +209 -0
  435. data/app/views/candidates/edit.html.erb +19 -0
  436. data/app/views/candidates/new.html.erb +11 -0
  437. data/app/views/deed_categories/_form.html.erb +44 -0
  438. data/app/views/deed_categories/edit.html.erb +18 -0
  439. data/app/views/deed_categories/new.html.erb +16 -0
  440. data/app/views/deeds/_form.html.erb +114 -0
  441. data/app/views/deeds/_list.html.erb +18 -0
  442. data/app/views/deeds/_preview.html.erb +6 -0
  443. data/app/views/deeds/_regions.html.erb +91 -0
  444. data/app/views/deeds/edit.html.erb +12 -0
  445. data/app/views/deeds/form/_categories.html.erb +30 -0
  446. data/app/views/deeds/index.html.erb +32 -0
  447. data/app/views/deeds/new.html.erb +15 -0
  448. data/app/views/deeds/regions.jbuilder +10 -0
  449. data/app/views/deeds/show.html.erb +28 -0
  450. data/app/views/editable_pages/form/_ckeditor.html.erb +12 -0
  451. data/app/views/editorial/index/_navigation.html.erb +17 -0
  452. data/app/views/editorial/index/index.html.erb +16 -0
  453. data/app/views/editorial/users/_filter.html.erb +12 -0
  454. data/app/views/editorial/users/_list.html.erb +17 -0
  455. data/app/views/editorial/users/_nav_item.html.erb +6 -0
  456. data/app/views/editorial/users/_toggleable.html.erb +7 -0
  457. data/app/views/editorial/users/entity/_in_list.html.erb +19 -0
  458. data/app/views/editorial/users/index.html.erb +14 -0
  459. data/app/views/editorial/users/show.html.erb +107 -0
  460. data/app/views/entries/_adjacent.html.erb +16 -0
  461. data/app/views/entries/_entry.html.erb +39 -0
  462. data/app/views/entries/_form.html.erb +53 -0
  463. data/app/views/entries/_list.html.erb +9 -0
  464. data/app/views/entries/_preview.html.erb +22 -0
  465. data/app/views/entries/_recent.html.erb +7 -0
  466. data/app/views/entries/_repost_form.html.erb +108 -0
  467. data/app/views/entries/_sidebar_preview.html.erb +10 -0
  468. data/app/views/entries/archive.html.erb +14 -0
  469. data/app/views/entries/archive/_month_list.html.erb +27 -0
  470. data/app/views/entries/edit.html.erb +14 -0
  471. data/app/views/entries/index.html.erb +17 -0
  472. data/app/views/entries/new.html.erb +10 -0
  473. data/app/views/entries/new_repost.html.erb +8 -0
  474. data/app/views/entries/show.html.erb +15 -0
  475. data/app/views/event_materials/_form.html.erb +66 -0
  476. data/app/views/event_materials/edit.html.erb +11 -0
  477. data/app/views/event_materials/new.html.erb +13 -0
  478. data/app/views/event_participants/_form.html.erb +28 -0
  479. data/app/views/event_participants/edit.html.erb +12 -0
  480. data/app/views/event_participants/new.html.erb +13 -0
  481. data/app/views/event_programs/_form.html.erb +48 -0
  482. data/app/views/event_programs/edit.html.erb +11 -0
  483. data/app/views/event_programs/new.html.erb +13 -0
  484. data/app/views/event_speakers/_form.html.erb +75 -0
  485. data/app/views/event_speakers/edit.html.erb +11 -0
  486. data/app/views/event_speakers/new.html.erb +13 -0
  487. data/app/views/event_sponsors/_form.html.erb +75 -0
  488. data/app/views/event_sponsors/edit.html.erb +11 -0
  489. data/app/views/event_sponsors/new.html.erb +13 -0
  490. data/app/views/events/_form.html.erb +143 -0
  491. data/app/views/events/edit.html.erb +11 -0
  492. data/app/views/events/entity/_speakers.html.erb +17 -0
  493. data/app/views/events/entity/_sponsors.html.erb +15 -0
  494. data/app/views/events/new.html.erb +10 -0
  495. data/app/views/events/show.html.erb +22 -0
  496. data/app/views/featured_posts/create.jbuilder +10 -0
  497. data/app/views/groups/_form.html.erb +41 -0
  498. data/app/views/groups/edit.html.erb +12 -0
  499. data/app/views/groups/new.html.erb +11 -0
  500. data/app/views/impeachment/_filter.html.erb +41 -0
  501. data/app/views/impeachment/candidate.html.erb +32 -0
  502. data/app/views/impeachment/candidates.html.erb +52 -0
  503. data/app/views/index/_post_preview.jbuilder +3 -0
  504. data/app/views/index/frontpage_posts/_illustrated.html.erb +14 -0
  505. data/app/views/index/frontpage_posts/_loader.html.erb +35 -0
  506. data/app/views/index/frontpage_posts/_main_news.html.erb +11 -0
  507. data/app/views/index/frontpage_posts/_preview.html.erb +46 -0
  508. data/app/views/index/frontpage_posts/_regional_news.html.erb +11 -0
  509. data/app/views/index/frontpage_posts/_videos.html.erb +8 -0
  510. data/app/views/index/index.html.erb +19 -0
  511. data/app/views/index/index/_categories.html.erb +33 -0
  512. data/app/views/index/index/_featured_posts.html.erb +38 -0
  513. data/app/views/index/main_news.jbuilder +9 -0
  514. data/app/views/index/regional_news.jbuilder +9 -0
  515. data/app/views/layouts/admin/_footer.html.erb +5 -0
  516. data/app/views/layouts/application.html.erb +28 -0
  517. data/app/views/layouts/application/_footer.html.erb +18 -0
  518. data/app/views/layouts/application/_header.html.erb +27 -0
  519. data/app/views/layouts/application/_header_content.html.erb +0 -0
  520. data/app/views/layouts/application/_main_navigation.html.erb +27 -0
  521. data/app/views/layouts/application/header/_authentication.html.erb +9 -0
  522. data/app/views/layouts/application/header/_logo.html.erb +12 -0
  523. data/app/views/layouts/application/header/_region_selector.html.erb +24 -0
  524. data/app/views/layouts/application/header/_search.html.erb +5 -0
  525. data/app/views/layouts/application/main_navigation/_addition.html.erb +0 -0
  526. data/app/views/layouts/application/main_navigation/_categories.html.erb +15 -0
  527. data/app/views/layouts/application/main_navigation/_prepend.html.erb +0 -0
  528. data/app/views/layouts/mailer.html.erb +13 -0
  529. data/app/views/layouts/mailer.text.erb +1 -0
  530. data/app/views/my/confirmations/show.html.erb +30 -0
  531. data/app/views/my/deeds/_list.html.erb +18 -0
  532. data/app/views/my/deeds/entity/_categories.html.erb +33 -0
  533. data/app/views/my/deeds/index.html.erb +13 -0
  534. data/app/views/my/deeds/show.html.erb +32 -0
  535. data/app/views/my/entries/index.html.erb +2 -0
  536. data/app/views/my/followees/_list.html.erb +11 -0
  537. data/app/views/my/followees/index.html.erb +18 -0
  538. data/app/views/my/followers/_list.html.erb +11 -0
  539. data/app/views/my/followers/index.html.erb +18 -0
  540. data/app/views/my/index/_articles.html.erb +21 -0
  541. data/app/views/my/index/_blog_posts.html.erb +21 -0
  542. data/app/views/my/index/_news.html.erb +21 -0
  543. data/app/views/my/index/index.html.erb +64 -0
  544. data/app/views/my/messages/_list.html.erb +11 -0
  545. data/app/views/my/messages/dialog.html.erb +36 -0
  546. data/app/views/my/messages/entity/_in_list.html.erb +14 -0
  547. data/app/views/my/messages/index.html.erb +14 -0
  548. data/app/views/my/messages/not_found.html.erb +1 -0
  549. data/app/views/my/notifications/_list.html.erb +11 -0
  550. data/app/views/my/notifications/entity/_entry_comment.html.erb +1 -0
  551. data/app/views/my/notifications/entity/_in_list.html.erb +5 -0
  552. data/app/views/my/notifications/entity/_new_follower.html.erb +1 -0
  553. data/app/views/my/notifications/entity/_new_message.html.erb +9 -0
  554. data/app/views/my/notifications/entity/_news_comment.html.erb +1 -0
  555. data/app/views/my/notifications/entity/_post_comment.html.erb +1 -0
  556. data/app/views/my/notifications/index.html.erb +10 -0
  557. data/app/views/my/posts/_form.html.erb +234 -0
  558. data/app/views/my/posts/_list.html.erb +9 -0
  559. data/app/views/my/posts/_post.html.erb +81 -0
  560. data/app/views/my/posts/_preview.html.erb +45 -0
  561. data/app/views/my/posts/articles.html.erb +26 -0
  562. data/app/views/my/posts/index.html.erb +16 -0
  563. data/app/views/my/posts/news_index.html.erb +26 -0
  564. data/app/views/my/profiles/edit.html.erb +13 -0
  565. data/app/views/my/profiles/edit/_form.html.erb +386 -0
  566. data/app/views/my/profiles/show.html.erb +5 -0
  567. data/app/views/my/recoveries/show.html.erb +41 -0
  568. data/app/views/network/show.jbuilder +14 -0
  569. data/app/views/news/_form.html.erb +145 -0
  570. data/app/views/news/_news.html.erb +70 -0
  571. data/app/views/news/_preview.html.erb +10 -0
  572. data/app/views/news/category.html.erb +18 -0
  573. data/app/views/news/edit.html.erb +16 -0
  574. data/app/views/news/form/_figures.html.erb +69 -0
  575. data/app/views/news/index.html.erb +17 -0
  576. data/app/views/news/index/_column.html.erb +11 -0
  577. data/app/views/news/index/_items.html.erb +13 -0
  578. data/app/views/news/new.html.erb +11 -0
  579. data/app/views/news/not_found.html.erb +7 -0
  580. data/app/views/news/previews/_comments.html.erb +15 -0
  581. data/app/views/news/previews/_most_recent.html.erb +14 -0
  582. data/app/views/news/previews/_topics.html.erb +15 -0
  583. data/app/views/news/show.html.erb +6 -0
  584. data/app/views/news/show_in_category.html.erb +40 -0
  585. data/app/views/news/tagged.html.erb +14 -0
  586. data/app/views/news_categories/_form.html.erb +39 -0
  587. data/app/views/news_categories/edit.html.erb +16 -0
  588. data/app/views/news_categories/new.html.erb +15 -0
  589. data/app/views/photos/_form.html.erb +62 -0
  590. data/app/views/photos/_list.html.erb +17 -0
  591. data/app/views/photos/edit.html.erb +13 -0
  592. data/app/views/photos/new.html.erb +14 -0
  593. data/app/views/photos/show.html.erb +17 -0
  594. data/app/views/political_forces/_flares.html.erb +9 -0
  595. data/app/views/political_forces/_form.html.erb +97 -0
  596. data/app/views/political_forces/edit.html.erb +17 -0
  597. data/app/views/political_forces/new.html.erb +15 -0
  598. data/app/views/posts/_carousel.html.erb +11 -0
  599. data/app/views/posts/_form.html.erb +452 -0
  600. data/app/views/posts/_post.html.erb +136 -0
  601. data/app/views/posts/_preview.html.erb +51 -0
  602. data/app/views/posts/archive.html.erb +13 -0
  603. data/app/views/posts/archive.jbuilder +3 -0
  604. data/app/views/posts/archive/_month_list.html.erb +25 -0
  605. data/app/views/posts/archive_day.html.erb +12 -0
  606. data/app/views/posts/category.html.erb +18 -0
  607. data/app/views/posts/entity/_author.html.erb +9 -0
  608. data/app/views/posts/entity/_gallery.html.erb +54 -0
  609. data/app/views/posts/entity/_linked_posts.html.erb +9 -0
  610. data/app/views/posts/entity/_metadata.html.erb +39 -0
  611. data/app/views/posts/entity/_preview_author.html.erb +10 -0
  612. data/app/views/posts/entity/_publisher.html.erb +7 -0
  613. data/app/views/posts/form/_attachments.html.erb +29 -0
  614. data/app/views/posts/form/_figures.html.erb +67 -0
  615. data/app/views/posts/form/_gallery.html.erb +163 -0
  616. data/app/views/posts/index.html.erb +13 -0
  617. data/app/views/posts/index.jbuilder +1 -0
  618. data/app/views/posts/post_type/_category.html.erb +16 -0
  619. data/app/views/posts/post_type/_post_page.html.erb +9 -0
  620. data/app/views/posts/post_type/_tagged.html.erb +7 -0
  621. data/app/views/posts/show.html.erb +9 -0
  622. data/app/views/posts/show_in_category.html.erb +20 -0
  623. data/app/views/posts/tagged.html.erb +10 -0
  624. data/app/views/posts/tagged.jbuilder +1 -0
  625. data/app/views/profiles/_profile.html.erb +175 -0
  626. data/app/views/profiles/entries.html.erb +11 -0
  627. data/app/views/profiles/followees.html.erb +21 -0
  628. data/app/views/profiles/not_found.html.erb +1 -0
  629. data/app/views/profiles/show.html.erb +4 -0
  630. data/app/views/promo_blocks/_entity.html.erb +10 -0
  631. data/app/views/promo_blocks/_form.html.erb +80 -0
  632. data/app/views/promo_blocks/edit.html.erb +17 -0
  633. data/app/views/promo_blocks/new.html.erb +15 -0
  634. data/app/views/promo_items/_form.html.erb +132 -0
  635. data/app/views/promo_items/edit.html.erb +18 -0
  636. data/app/views/promo_items/new.html.erb +18 -0
  637. data/app/views/regional_news/_news.html.erb +70 -0
  638. data/app/views/regional_news/_preview.html.erb +10 -0
  639. data/app/views/regional_news/category.html.erb +39 -0
  640. data/app/views/regional_news/index.html.erb +43 -0
  641. data/app/views/regional_news/index/_column.html.erb +11 -0
  642. data/app/views/regional_news/index/_items.html.erb +13 -0
  643. data/app/views/regional_news/previews/_comments.html.erb +15 -0
  644. data/app/views/regional_news/previews/_most_recent.html.erb +14 -0
  645. data/app/views/regional_news/previews/_topics.html.erb +15 -0
  646. data/app/views/regional_news/show_in_category.html.erb +40 -0
  647. data/app/views/regions/_form.html.erb +59 -0
  648. data/app/views/regions/_region.jbuilder +12 -0
  649. data/app/views/regions/edit.html.erb +20 -0
  650. data/app/views/regions/index.jbuilder +3 -0
  651. data/app/views/regions/new.html.erb +17 -0
  652. data/app/views/regions/show.jbuilder +3 -0
  653. data/app/views/search/index.html.erb +24 -0
  654. data/app/views/shared/_counters.html.erb +1 -0
  655. data/app/views/shared/_favicons.html.erb +6 -0
  656. data/app/views/shared/_pagination.jbuilder +9 -0
  657. data/app/views/shared/_pluso.html.erb +12 -0
  658. data/app/views/shared/_sidebar.html.erb +18 -0
  659. data/app/views/shared/blog/_sidebar.html.erb +8 -0
  660. data/app/views/shared/errors/_not_found.html.erb +7 -0
  661. data/app/views/shared/forms/_region_select.html.erb +55 -0
  662. data/app/views/shared/sidebar/_calendar.html.erb +54 -0
  663. data/app/views/shared/sidebar/_custom_sidebar.html.erb +0 -0
  664. data/app/views/shared/sidebar/_deeds.html.erb +10 -0
  665. data/app/views/shared/sidebar/_poll.html.erb +62 -0
  666. data/app/views/shared/sidebar/_popular_entries.html.erb +68 -0
  667. data/app/views/shared/sidebar/_popular_topics.html.erb +51 -0
  668. data/app/views/shared/sidebar/_recent_posts.html.erb +17 -0
  669. data/app/views/teams/_form.html.erb +45 -0
  670. data/app/views/teams/edit.html.erb +12 -0
  671. data/app/views/teams/new.html.erb +11 -0
  672. data/app/views/user_messages/_form.html.erb +12 -0
  673. data/app/views/user_messages/new.html.erb +7 -0
  674. data/app/views/user_messages/not_found.html.erb +7 -0
  675. data/app/views/users/_filter.html.erb +12 -0
  676. data/app/views/users/_follow_buttons.html.erb +4 -0
  677. data/app/views/users/_list.html.erb +11 -0
  678. data/app/views/users/entity/_in_list.html.erb +19 -0
  679. data/app/views/users/form/_profile_data.html.erb +162 -0
  680. data/app/views/users/index.html.erb +11 -0
  681. data/app/views/users/index.jbuilder +14 -0
  682. data/config/locales/albums-ru.yml +83 -0
  683. data/config/locales/campaigns-ru.yml +356 -0
  684. data/config/locales/common-ru.yml +48 -0
  685. data/config/locales/decisions-ru.yml +22 -0
  686. data/config/locales/deeds-ru.yml +108 -0
  687. data/config/locales/events-ru.yml +217 -0
  688. data/config/locales/feedback-ru.yml +57 -0
  689. data/config/locales/media-ru.yml +94 -0
  690. data/config/locales/notifications-ru.yml +8 -0
  691. data/config/locales/posts-ru.yml +475 -0
  692. data/config/locales/promo-ru.yml +98 -0
  693. data/config/locales/regions-ru.yml +99 -0
  694. data/config/locales/socialization-ru.yml +60 -0
  695. data/config/locales/users-ru.yml +284 -0
  696. data/config/routes.rb +251 -0
  697. data/db/amends/20190223100000_create_themes.rb +40 -0
  698. data/db/amends/20190311141414_convert_posts.rb +218 -0
  699. data/db/amends/20190415131313_add_uuid_to_post_attachments.rb +16 -0
  700. data/db/amends/20190501222222_add_fields_to_regions.rb +15 -0
  701. data/db/amends/20190710121653_update_region_posts_count.rb +16 -0
  702. data/db/amends/20200406151505_add_fields_to_sites.rb +18 -0
  703. data/db/migrate/20170129000001_create_sites.rb +32 -0
  704. data/db/migrate/20170129000002_create_regions.rb +70 -0
  705. data/db/migrate/20170209000101_create_user_links.rb +23 -0
  706. data/db/migrate/20170209000102_create_user_messages.rb +26 -0
  707. data/db/migrate/20171111000005_create_appeal_types.rb +19 -0
  708. data/db/migrate/20171111000010_create_appeals.rb +32 -0
  709. data/db/migrate/20180630000001_create_promo_blocks.rb +21 -0
  710. data/db/migrate/20180630000002_create_promo_items.rb +31 -0
  711. data/db/migrate/20190805212121_add_comunit_to_posts.rb +18 -0
  712. data/db/migrate/20190913142159_convert_themes.rb +24 -0
  713. data/db/migrate/20190919112129_add_regions_component.rb +18 -0
  714. data/db/migrate/20190922165743_create_region_users.rb +22 -0
  715. data/db/migrate/20191209101010_create_campaigns.rb +96 -0
  716. data/db/migrate/20200306220439_add_impeachment_category.rb +12 -0
  717. data/db/migrate/20200420000000_create_deeds_component.rb +89 -0
  718. data/db/migrate/20200604000000_create_decisions_component.rb +53 -0
  719. data/db/obsolete_migrations/20170209000006_create_illustrations.rb +18 -0
  720. data/db/obsolete_migrations/20170228195056_create_groups.rb +19 -0
  721. data/db/obsolete_migrations/20170228195119_create_user_groups.rb +17 -0
  722. data/db/obsolete_migrations/20170309205037_create_albums.rb +26 -0
  723. data/db/obsolete_migrations/20170309205146_create_photos.rb +21 -0
  724. data/db/obsolete_migrations/20170322000001_create_teams.rb +22 -0
  725. data/db/obsolete_migrations/20170322000002_create_team_privileges.rb +17 -0
  726. data/db/obsolete_migrations/20170413000001_create_events.rb +29 -0
  727. data/db/obsolete_migrations/20170413000002_create_event_participants.rb +29 -0
  728. data/db/obsolete_migrations/20170413000003_create_event_speakers.rb +21 -0
  729. data/db/obsolete_migrations/20170413000004_create_event_sponsors.rb +21 -0
  730. data/db/obsolete_migrations/20170413000005_create_event_programs.rb +19 -0
  731. data/db/obsolete_migrations/20170413000006_create_event_materials.rb +21 -0
  732. data/db/obsolete_migrations/20170517000000_insert_editable_pages.rb +10 -0
  733. data/db/obsolete_migrations/20190924040404_convert_regional_editors.rb +106 -0
  734. data/lib/comunit/base.rb +7 -0
  735. data/lib/comunit/base/decorators/controllers/admin/posts_controller_decorator.rb +8 -0
  736. data/lib/comunit/base/decorators/controllers/admin/privileges_controller_decorator.rb +7 -0
  737. data/lib/comunit/base/decorators/controllers/my/posts_controller_decorator.rb +28 -0
  738. data/lib/comunit/base/decorators/controllers/my/profiles_controller_decorator.rb +25 -0
  739. data/lib/comunit/base/decorators/controllers/poll_answers_controller_decorator.rb +14 -0
  740. data/lib/comunit/base/decorators/controllers/poll_questions_controller_decorator.rb +14 -0
  741. data/lib/comunit/base/decorators/controllers/polls_controller_decorator.rb +24 -0
  742. data/lib/comunit/base/decorators/controllers/posts_controller_decorator.rb +46 -0
  743. data/lib/comunit/base/decorators/models/post_decorator.rb +39 -0
  744. data/lib/comunit/base/decorators/models/user_decorator.rb +30 -0
  745. data/lib/comunit/base/decorators/models/user_privilege_decorator.rb +3 -0
  746. data/lib/comunit/base/engine.rb +46 -0
  747. data/lib/comunit/base/privilege_methods.rb +53 -0
  748. data/lib/comunit/base/version.rb +7 -0
  749. data/lib/tasks/comunit.rake +29 -0
  750. data/lib/tasks/comunit/base_tasks.rake +4 -0
  751. data/lib/tasks/regions.rake +57 -0
  752. metadata +947 -0
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Comunit
4
+ module Base
5
+ VERSION = '0.37.200628.0'
6
+ end
7
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :comunit do
4
+ desc 'Update site id to uuid in users'
5
+ task update_user_sites: :environment do
6
+ puts "Total user count: #{User.count}"
7
+ updates = 0
8
+ User.order('id asc').each do |user|
9
+ site_id = user.data.dig('comunit', 'site_id')
10
+
11
+ if site_id.nil? && user.respond_to?(:site_id)
12
+ site_id = user.site_id
13
+ end
14
+
15
+ print "\r#{user.id}: #{user.slug} #{site_id.inspect} "
16
+ next if site_id.blank?
17
+
18
+ site = Site.find_by(id: site_id)
19
+ next if site.nil?
20
+
21
+ user.data['comunit'] ||= {}
22
+ user.data['comunit']['site_id'] = site.uuid
23
+ user.save!
24
+ updates += 1
25
+ end
26
+
27
+ puts "\nDone. Updated #{updates} users"
28
+ end
29
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :comunit_base do
3
+ # # Task goes here
4
+ # end
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :regions do
4
+ desc 'Import regions from YAML without deleting old data'
5
+ task import: :environment do
6
+ file_path = "#{Rails.root}/tmp/import/regions.yml"
7
+ media_dir = "#{Rails.root}/tmp/import/regions"
8
+ ignored = %w[header_image]
9
+ if File.exist? file_path
10
+ File.open file_path, 'r' do |file|
11
+ YAML.safe_load(file).each do |id, data|
12
+ attributes = data.reject { |key| ignored.include?(key) }
13
+ entity = Region.find_by(id: id) || Region.new(id: id)
14
+ entity.assign_attributes(attributes)
15
+
16
+ if data.key?('header_image') && entity.header_image.blank?
17
+ image_file = "#{media_dir}/header_image/#{id}/#{data['header_image']}"
18
+ if File.exist?(image_file)
19
+ entity.header_image = Pathname.new(image_file).open
20
+ end
21
+ end
22
+ entity.save!
23
+ print "\r#{id} "
24
+ end
25
+ puts
26
+ end
27
+ Region.connection.execute "select setval('regions_id_seq', (select max(id) from regions));"
28
+ puts "Done. We have #{Region.count} regions now"
29
+ else
30
+ puts "Cannot find file #{file_path}"
31
+ end
32
+ end
33
+
34
+ desc 'Dump regions to YAML'
35
+ task dump: :environment do
36
+ file_path = "#{Rails.root}/tmp/export/regions.yml"
37
+ media_dir = "#{Rails.root}/tmp/export/regions"
38
+ ignored = %w[id header_image]
39
+ File.open file_path, 'w' do |file|
40
+ Region.order('id asc').each do |e|
41
+ print "\r#{e.id} "
42
+ file.puts "#{e.id}:"
43
+ e.attributes.reject { |a, v| ignored.include?(a) || v.nil? }.each do |a, v|
44
+ file.puts " #{a}: #{v.inspect}"
45
+ end
46
+ next if e.header_image.blank?
47
+
48
+ image_name = "#{e.long_slug}#{File.extname(File.basename(e.header_image.path))}"
49
+ image_dir = "#{media_dir}/header_image/#{e.id}"
50
+ FileUtils.mkdir_p(image_dir) unless Dir.exist?(image_dir)
51
+ FileUtils.copy(e.header_image.path, "#{image_dir}/#{image_name}")
52
+ file.puts " header_image: #{image_name.inspect}"
53
+ end
54
+ puts
55
+ end
56
+ end
57
+ end
metadata ADDED
@@ -0,0 +1,947 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: comunit-base
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.37.200628.0
5
+ platform: ruby
6
+ authors:
7
+ - Maxim Khan-Magomedov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-06-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: biovision-base
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: biovision-vote
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: biovision-post
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: biovision-comment
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: biovision-poll
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: dotenv-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rest-client
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: database_cleaner
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: factory_bot_rails
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: pg
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec-rails
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: Users, posts, news, regions, sites and blogs
168
+ email:
169
+ - maxim.km@gmail.com
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - MIT-LICENSE
175
+ - README.md
176
+ - Rakefile
177
+ - app/assets/config/comunit_base_manifest.js
178
+ - app/assets/images/comunit/base/icons/book.svg
179
+ - app/assets/images/comunit/base/icons/comment.svg
180
+ - app/assets/images/comunit/base/icons/dropdown.svg
181
+ - app/assets/images/comunit/base/icons/hamburger.svg
182
+ - app/assets/images/comunit/base/icons/pencil.svg
183
+ - app/assets/images/comunit/base/icons/recent.svg
184
+ - app/assets/images/comunit/base/icons/repost.svg
185
+ - app/assets/images/comunit/base/icons/right-arrow.svg
186
+ - app/assets/images/comunit/base/icons/search.svg
187
+ - app/assets/images/comunit/base/icons/slider/left-arrow-hover.svg
188
+ - app/assets/images/comunit/base/icons/slider/left-arrow.svg
189
+ - app/assets/images/comunit/base/icons/slider/right-arrow-hover.svg
190
+ - app/assets/images/comunit/base/icons/slider/right-arrow.svg
191
+ - app/assets/images/comunit/base/icons/view.svg
192
+ - app/assets/images/comunit/base/placeholders/file.svg
193
+ - app/assets/images/comunit/base/placeholders/region_image.svg
194
+ - app/assets/images/comunit/base/publisher_logo1.png
195
+ - app/assets/javascripts/comunit/base/components/regions.js
196
+ - app/assets/javascripts/comunit/base/comunit-base.js
197
+ - app/assets/javascripts/comunit/base/socialization.js
198
+ - app/assets/stylesheets/biovision/regions/regions.scss
199
+ - app/assets/stylesheets/comunit/base/admin.scss
200
+ - app/assets/stylesheets/comunit/base/albums.scss
201
+ - app/assets/stylesheets/comunit/base/components.scss
202
+ - app/assets/stylesheets/comunit/base/components/calendar.scss
203
+ - app/assets/stylesheets/comunit/base/components/campaigns.scss
204
+ - app/assets/stylesheets/comunit/base/components/campaigns/candidates.scss
205
+ - app/assets/stylesheets/comunit/base/components/carousel.scss
206
+ - app/assets/stylesheets/comunit/base/components/deeds.scss
207
+ - app/assets/stylesheets/comunit/base/components/deeds/form.scss
208
+ - app/assets/stylesheets/comunit/base/components/deeds/preview.scss
209
+ - app/assets/stylesheets/comunit/base/components/forms.scss
210
+ - app/assets/stylesheets/comunit/base/components/forms/inputs.scss
211
+ - app/assets/stylesheets/comunit/base/components/posts.scss
212
+ - app/assets/stylesheets/comunit/base/components/posts/featured.scss
213
+ - app/assets/stylesheets/comunit/base/components/posts/item.scss
214
+ - app/assets/stylesheets/comunit/base/components/posts/list.scss
215
+ - app/assets/stylesheets/comunit/base/components/posts/my-form.scss
216
+ - app/assets/stylesheets/comunit/base/components/posts/preview.scss
217
+ - app/assets/stylesheets/comunit/base/default.scss
218
+ - app/assets/stylesheets/comunit/base/default_site.scss
219
+ - app/assets/stylesheets/comunit/base/entries.scss
220
+ - app/assets/stylesheets/comunit/base/events.scss
221
+ - app/assets/stylesheets/comunit/base/layout.scss
222
+ - app/assets/stylesheets/comunit/base/notifications.scss
223
+ - app/assets/stylesheets/comunit/base/posts.scss
224
+ - app/assets/stylesheets/comunit/base/socialization.scss
225
+ - app/assets/stylesheets/comunit/base/themes/default.scss
226
+ - app/assets/stylesheets/comunit/base/themes/default/footer.scss
227
+ - app/assets/stylesheets/comunit/base/themes/default/frontpage.scss
228
+ - app/assets/stylesheets/comunit/base/themes/default/frontpage/featured_posts.scss
229
+ - app/assets/stylesheets/comunit/base/themes/default/frontpage/post_category.scss
230
+ - app/assets/stylesheets/comunit/base/themes/default/header.scss
231
+ - app/assets/stylesheets/comunit/base/themes/default/header/navigation.scss
232
+ - app/assets/stylesheets/comunit/base/themes/default/header/search.scss
233
+ - app/assets/stylesheets/comunit/base/themes/default/legacy.scss
234
+ - app/assets/stylesheets/comunit/base/themes/default/main.scss
235
+ - app/assets/stylesheets/comunit/base/themes/default/sidebar.scss
236
+ - app/assets/stylesheets/comunit/base/themes/default/sidebar/polls.scss
237
+ - app/assets/stylesheets/comunit/base/themes/default/sidebar/posts.scss
238
+ - app/assets/stylesheets/comunit/base/users.scss
239
+ - app/assets/stylesheets/comunit/base/vars.scss
240
+ - app/controllers/admin/albums_controller.rb
241
+ - app/controllers/admin/appeals_controller.rb
242
+ - app/controllers/admin/campaigns_controller.rb
243
+ - app/controllers/admin/candidates_controller.rb
244
+ - app/controllers/admin/countries_controller.rb
245
+ - app/controllers/admin/decision_users_controller.rb
246
+ - app/controllers/admin/decisions_controller.rb
247
+ - app/controllers/admin/deed_categories_controller.rb
248
+ - app/controllers/admin/deeds_controller.rb
249
+ - app/controllers/admin/event_materials_controller.rb
250
+ - app/controllers/admin/event_participants_controller.rb
251
+ - app/controllers/admin/event_programs_controller.rb
252
+ - app/controllers/admin/event_speakers_controller.rb
253
+ - app/controllers/admin/event_sponsors_controller.rb
254
+ - app/controllers/admin/events_controller.rb
255
+ - app/controllers/admin/groups_controller.rb
256
+ - app/controllers/admin/photos_controller.rb
257
+ - app/controllers/admin/political_forces_controller.rb
258
+ - app/controllers/admin/promo_blocks_controller.rb
259
+ - app/controllers/admin/promo_items_controller.rb
260
+ - app/controllers/admin/regions_controller.rb
261
+ - app/controllers/admin/teams_controller.rb
262
+ - app/controllers/admin/user_messages_controller.rb
263
+ - app/controllers/albums_controller.rb
264
+ - app/controllers/api/user_links_controller.rb
265
+ - app/controllers/api/users_controller.rb
266
+ - app/controllers/appeals_controller.rb
267
+ - app/controllers/articles_controller.rb
268
+ - app/controllers/authors_controller.rb
269
+ - app/controllers/campaigns_controller.rb
270
+ - app/controllers/candidates_controller.rb
271
+ - app/controllers/decision_users_controller.rb
272
+ - app/controllers/decisions_controller.rb
273
+ - app/controllers/deed_categories_controller.rb
274
+ - app/controllers/deeds_controller.rb
275
+ - app/controllers/editorial/index_controller.rb
276
+ - app/controllers/editorial/users_controller.rb
277
+ - app/controllers/entries_controller.rb
278
+ - app/controllers/event_materials_controller.rb
279
+ - app/controllers/event_participants_controller.rb
280
+ - app/controllers/event_programs_controller.rb
281
+ - app/controllers/event_speakers_controller.rb
282
+ - app/controllers/event_sponsors_controller.rb
283
+ - app/controllers/events_controller.rb
284
+ - app/controllers/featured_posts_controller.rb
285
+ - app/controllers/groups_controller.rb
286
+ - app/controllers/impeachment_controller.rb
287
+ - app/controllers/index_controller.rb
288
+ - app/controllers/legacy/admin/post_categories_controller.rb
289
+ - app/controllers/legacy/admin/posts_controller.rb
290
+ - app/controllers/legacy/news_controller.rb
291
+ - app/controllers/legacy/post_categories_controller.rb
292
+ - app/controllers/legacy/posts_controller.rb
293
+ - app/controllers/my/albums_controller.rb
294
+ - app/controllers/my/deeds_controller.rb
295
+ - app/controllers/my/entries_controller.rb
296
+ - app/controllers/my/followees_controller.rb
297
+ - app/controllers/my/followers_controller.rb
298
+ - app/controllers/my/messages_controller.rb
299
+ - app/controllers/my/notifications_controller.rb
300
+ - app/controllers/network/campaigns_controller.rb
301
+ - app/controllers/network/candidates_controller.rb
302
+ - app/controllers/network/political_forces_controller.rb
303
+ - app/controllers/network/posts_controller.rb
304
+ - app/controllers/network/regions_controller.rb
305
+ - app/controllers/network/sites_controller.rb
306
+ - app/controllers/network/users_controller.rb
307
+ - app/controllers/network_controller.rb
308
+ - app/controllers/news_categories_controller.rb
309
+ - app/controllers/news_controller.rb
310
+ - app/controllers/photos_controller.rb
311
+ - app/controllers/political_forces_controller.rb
312
+ - app/controllers/profiles_controller.rb
313
+ - app/controllers/promo_blocks_controller.rb
314
+ - app/controllers/promo_items_controller.rb
315
+ - app/controllers/regional_news_controller.rb
316
+ - app/controllers/search_controller.rb
317
+ - app/controllers/teams_controller.rb
318
+ - app/controllers/user_messages_controller.rb
319
+ - app/controllers/users_controller.rb
320
+ - app/helpers/albums_helper.rb
321
+ - app/helpers/campaigns_helper.rb
322
+ - app/helpers/comments_helper.rb
323
+ - app/helpers/deeds_helper.rb
324
+ - app/helpers/entries_helper.rb
325
+ - app/helpers/events_helper.rb
326
+ - app/helpers/feedback_helper.rb
327
+ - app/helpers/groups_helper.rb
328
+ - app/helpers/media_helper.rb
329
+ - app/helpers/parsing_helper.rb
330
+ - app/helpers/promo_helper.rb
331
+ - app/helpers/regions_helper.rb
332
+ - app/helpers/users_helper.rb
333
+ - app/helpers/votes_helper.rb
334
+ - app/jobs/application_job.rb
335
+ - app/jobs/network_campaign_sync_job.rb
336
+ - app/jobs/network_candidate_sync_job.rb
337
+ - app/jobs/network_entity_sync_job.rb
338
+ - app/jobs/network_political_force_sync_job.rb
339
+ - app/jobs/network_post_sync_job.rb
340
+ - app/jobs/network_user_sync_job.rb
341
+ - app/mailers/appeals_mailer.rb
342
+ - app/mailers/application_mailer.rb
343
+ - app/models/album.rb
344
+ - app/models/appeal.rb
345
+ - app/models/appeal_type.rb
346
+ - app/models/application_record.rb
347
+ - app/models/campaign.rb
348
+ - app/models/candidate.rb
349
+ - app/models/candidate_political_force.rb
350
+ - app/models/central_region.rb
351
+ - app/models/concerns/post_child_with_priority.rb
352
+ - app/models/country.rb
353
+ - app/models/decision.rb
354
+ - app/models/decision_user.rb
355
+ - app/models/deed.rb
356
+ - app/models/deed_category.rb
357
+ - app/models/deed_deed_category.rb
358
+ - app/models/deed_image.rb
359
+ - app/models/entry.rb
360
+ - app/models/event.rb
361
+ - app/models/event_material.rb
362
+ - app/models/event_participant.rb
363
+ - app/models/event_program.rb
364
+ - app/models/event_speaker.rb
365
+ - app/models/event_sponsor.rb
366
+ - app/models/featured_post.rb
367
+ - app/models/group.rb
368
+ - app/models/illustration.rb
369
+ - app/models/news.rb
370
+ - app/models/news_category.rb
371
+ - app/models/notification.rb
372
+ - app/models/photo.rb
373
+ - app/models/political_force.rb
374
+ - app/models/privilege.rb
375
+ - app/models/promo_block.rb
376
+ - app/models/promo_item.rb
377
+ - app/models/region.rb
378
+ - app/models/region_user.rb
379
+ - app/models/site.rb
380
+ - app/models/team.rb
381
+ - app/models/team_privilege.rb
382
+ - app/models/theme.rb
383
+ - app/models/theme_news_category.rb
384
+ - app/models/theme_post_category.rb
385
+ - app/models/user_group.rb
386
+ - app/models/user_link.rb
387
+ - app/models/user_message.rb
388
+ - app/models/zen_category.rb
389
+ - app/services/biovision/components/campaigns_component.rb
390
+ - app/services/biovision/components/decisions_component.rb
391
+ - app/services/biovision/components/deeds_component.rb
392
+ - app/services/biovision/components/regions_component.rb
393
+ - app/services/comunit/network/handler.rb
394
+ - app/services/comunit/network/handlers/decision_handler.rb
395
+ - app/services/comunit/network/handlers/deed_category_handler.rb
396
+ - app/services/comunit/network/handlers/deed_handler.rb
397
+ - app/services/comunit/network/handlers/deed_image_handler.rb
398
+ - app/services/comunit/network/handlers/poll_answer_handler.rb
399
+ - app/services/comunit/network/handlers/poll_handler.rb
400
+ - app/services/comunit/network/handlers/poll_question_handler.rb
401
+ - app/services/comunit/network/handlers/poll_vote_handler.rb
402
+ - app/services/comunit/network/handlers/site_handler.rb
403
+ - app/services/comunit/network/handlers/user_handler.rb
404
+ - app/services/comunit/network/logging.rb
405
+ - app/services/comunit/network/sending.rb
406
+ - app/services/network_manager.rb
407
+ - app/services/network_manager/campaign_handler.rb
408
+ - app/services/network_manager/candidate_handler.rb
409
+ - app/services/network_manager/political_force_handler.rb
410
+ - app/services/network_manager/post_attachment_handler.rb
411
+ - app/services/network_manager/post_handler.rb
412
+ - app/services/network_manager/post_type_handler.rb
413
+ - app/services/network_manager/region_handler.rb
414
+ - app/services/network_manager/user_handler.rb
415
+ - app/services/popular_entries.rb
416
+ - app/services/popular_posts.rb
417
+ - app/services/post_manager.rb
418
+ - app/services/post_parser.rb
419
+ - app/services/region_manager.rb
420
+ - app/services/user_profile_handler.rb
421
+ - app/uploaders/event_attachment_uploader.rb
422
+ - app/uploaders/event_image_uploader.rb
423
+ - app/uploaders/event_person_image_uploader.rb
424
+ - app/uploaders/event_sponsor_image_uploader.rb
425
+ - app/uploaders/header_image_uploader.rb
426
+ - app/uploaders/illustration_image_uploader.rb
427
+ - app/uploaders/photo_uploader.rb
428
+ - app/uploaders/post_illustration_uploader.rb
429
+ - app/uploaders/post_image_uploader.rb
430
+ - app/uploaders/promo_image_uploader.rb
431
+ - app/uploaders/region_image_uploader.rb
432
+ - app/uploaders/site_image_uploader.rb
433
+ - app/views/about/donate.html.erb
434
+ - app/views/admin/albums/_list.html.erb
435
+ - app/views/admin/albums/_nav_item.html.erb
436
+ - app/views/admin/albums/_toggleable.html.erb
437
+ - app/views/admin/albums/entity/_in_list.html.erb
438
+ - app/views/admin/albums/index.html.erb
439
+ - app/views/admin/albums/photos.html.erb
440
+ - app/views/admin/albums/show.html.erb
441
+ - app/views/admin/appeals/_form.html.erb
442
+ - app/views/admin/appeals/_list.html.erb
443
+ - app/views/admin/appeals/_nav_item.html.erb
444
+ - app/views/admin/appeals/_toggleable.html.erb
445
+ - app/views/admin/appeals/entity/_in_list.html.erb
446
+ - app/views/admin/appeals/index.html.erb
447
+ - app/views/admin/appeals/show.html.erb
448
+ - app/views/admin/campaigns/_nav_item.html.erb
449
+ - app/views/admin/campaigns/candidates.html.erb
450
+ - app/views/admin/campaigns/entity/_in_list.html.erb
451
+ - app/views/admin/campaigns/index.html.erb
452
+ - app/views/admin/campaigns/new_candidate.html.erb
453
+ - app/views/admin/campaigns/show.html.erb
454
+ - app/views/admin/candidates/_nav_item.html.erb
455
+ - app/views/admin/candidates/entity/_in_list.html.erb
456
+ - app/views/admin/candidates/entity/_political_forces.html.erb
457
+ - app/views/admin/candidates/index.html.erb
458
+ - app/views/admin/candidates/show.html.erb
459
+ - app/views/admin/components/links/_campaigns.html.erb
460
+ - app/views/admin/components/links/_deeds.html.erb
461
+ - app/views/admin/components/links/_regions.html.erb
462
+ - app/views/admin/components/user_settings/_regions.html.erb
463
+ - app/views/admin/components/user_settings/regions/_linked_regions.html.erb
464
+ - app/views/admin/components/user_settings/regions/_new_link.html.erb
465
+ - app/views/admin/countries/_nav_item.html.erb
466
+ - app/views/admin/deed_categories/_nav_item.html.erb
467
+ - app/views/admin/deed_categories/entity/_in_list.html.erb
468
+ - app/views/admin/deed_categories/index.html.erb
469
+ - app/views/admin/deed_categories/show.html.erb
470
+ - app/views/admin/deeds/_nav_item.html.erb
471
+ - app/views/admin/deeds/entity/_categories.html.erb
472
+ - app/views/admin/deeds/entity/_in_list.html.erb
473
+ - app/views/admin/deeds/index.html.erb
474
+ - app/views/admin/deeds/show.html.erb
475
+ - app/views/admin/event_materials/_list.html.erb
476
+ - app/views/admin/event_materials/_toggleable.html.erb
477
+ - app/views/admin/event_materials/entity/_in_list.html.erb
478
+ - app/views/admin/event_participants/_list.html.erb
479
+ - app/views/admin/event_participants/_nav_item.html.erb
480
+ - app/views/admin/event_participants/_toggleable.html.erb
481
+ - app/views/admin/event_participants/entity/_in_list.html.erb
482
+ - app/views/admin/event_participants/index.html.erb
483
+ - app/views/admin/event_participants/show.html.erb
484
+ - app/views/admin/event_programs/_list.html.erb
485
+ - app/views/admin/event_programs/entity/_in_list.html.erb
486
+ - app/views/admin/event_programs/show.html.erb
487
+ - app/views/admin/event_speakers/_list.html.erb
488
+ - app/views/admin/event_speakers/_toggleable.html.erb
489
+ - app/views/admin/event_speakers/entity/_in_list.html.erb
490
+ - app/views/admin/event_sponsors/_list.html.erb
491
+ - app/views/admin/event_sponsors/_toggleable.html.erb
492
+ - app/views/admin/event_sponsors/entity/_in_list.html.erb
493
+ - app/views/admin/events/_event.html.erb
494
+ - app/views/admin/events/_nav_item.html.erb
495
+ - app/views/admin/events/_toggleable.html.erb
496
+ - app/views/admin/events/entity/_in_list.html.erb
497
+ - app/views/admin/events/entity/_materials.html.erb
498
+ - app/views/admin/events/entity/_programs.html.erb
499
+ - app/views/admin/events/entity/_speakers.html.erb
500
+ - app/views/admin/events/entity/_sponsors.html.erb
501
+ - app/views/admin/events/index.html.erb
502
+ - app/views/admin/events/participants.html.erb
503
+ - app/views/admin/events/show.html.erb
504
+ - app/views/admin/featured_posts/_add.html.erb
505
+ - app/views/admin/featured_posts/_language.html.erb
506
+ - app/views/admin/featured_posts/_nav_item.html.erb
507
+ - app/views/admin/featured_posts/entity/_in_list.html.erb
508
+ - app/views/admin/featured_posts/index.html.erb
509
+ - app/views/admin/groups/_list.html.erb
510
+ - app/views/admin/groups/_nav_item.html.erb
511
+ - app/views/admin/groups/entity/_in_list.html.erb
512
+ - app/views/admin/groups/index.html.erb
513
+ - app/views/admin/groups/show.html.erb
514
+ - app/views/admin/groups/users.jbuilder
515
+ - app/views/admin/groups/users/_list.html.erb
516
+ - app/views/admin/groups/users/_user.html.erb
517
+ - app/views/admin/index/_additional.html.erb
518
+ - app/views/admin/index/_custom_dashboard.html.erb
519
+ - app/views/admin/index/dashboard/_event_manager.html.erb
520
+ - app/views/admin/index/dashboard/_feedback_manager.html.erb
521
+ - app/views/admin/index/dashboard/_promo_manager.html.erb
522
+ - app/views/admin/photos/_list.html.erb
523
+ - app/views/admin/photos/entity/_in_list.html.erb
524
+ - app/views/admin/photos/show.html.erb
525
+ - app/views/admin/political_forces/_nav_item.html.erb
526
+ - app/views/admin/political_forces/candidates.html.erb
527
+ - app/views/admin/political_forces/entity/_in_list.html.erb
528
+ - app/views/admin/political_forces/index.html.erb
529
+ - app/views/admin/political_forces/show.html.erb
530
+ - app/views/admin/post_attachments/entity/_in_list.html.erb
531
+ - app/views/admin/posts/_list.html.erb
532
+ - app/views/admin/posts/_nav_item.html.erb
533
+ - app/views/admin/posts/_toggleable.html.erb
534
+ - app/views/admin/posts/entity/_additional_data.html.erb
535
+ - app/views/admin/posts/entity/_attachments.html.erb
536
+ - app/views/admin/posts/entity/_in_list.html.erb
537
+ - app/views/admin/posts/entity/_in_search.html.erb
538
+ - app/views/admin/posts/entity/_links.html.erb
539
+ - app/views/admin/posts/entity/in_list/_additional_data.html.erb
540
+ - app/views/admin/posts/images.html.erb
541
+ - app/views/admin/posts/index.html.erb
542
+ - app/views/admin/posts/post/_preview.html.erb
543
+ - app/views/admin/posts/regions.jbuilder
544
+ - app/views/admin/posts/search.jbuilder
545
+ - app/views/admin/posts/show.html.erb
546
+ - app/views/admin/privileges/entity/_groups.html.erb
547
+ - app/views/admin/privileges/entity/_in_list.html.erb
548
+ - app/views/admin/privileges/entity/_region.html.erb
549
+ - app/views/admin/privileges/index.html.erb
550
+ - app/views/admin/privileges/regions.jbuilder
551
+ - app/views/admin/privileges/show.html.erb
552
+ - app/views/admin/promo_blocks/_nav_item.html.erb
553
+ - app/views/admin/promo_blocks/entity/_in_list.html.erb
554
+ - app/views/admin/promo_blocks/entity/_items.html.erb
555
+ - app/views/admin/promo_blocks/index.html.erb
556
+ - app/views/admin/promo_blocks/show.html.erb
557
+ - app/views/admin/promo_items/entity/_in_list.html.erb
558
+ - app/views/admin/promo_items/show.html.erb
559
+ - app/views/admin/regions/_nav_item.html.erb
560
+ - app/views/admin/regions/_news_form.html.erb
561
+ - app/views/admin/regions/_post_form.html.erb
562
+ - app/views/admin/regions/_region.jbuilder
563
+ - app/views/admin/regions/entity/_in_list.html.erb
564
+ - app/views/admin/regions/index.html.erb
565
+ - app/views/admin/regions/index.jbuilder
566
+ - app/views/admin/regions/show.html.erb
567
+ - app/views/admin/regions/show.jbuilder
568
+ - app/views/admin/teams/_list.html.erb
569
+ - app/views/admin/teams/_nav_item.html.erb
570
+ - app/views/admin/teams/_toggleable.html.erb
571
+ - app/views/admin/teams/entity/_in_list.html.erb
572
+ - app/views/admin/teams/entity/_privileges.html.erb
573
+ - app/views/admin/teams/index.html.erb
574
+ - app/views/admin/teams/show.html.erb
575
+ - app/views/admin/users/entity/_in_list.html.erb
576
+ - app/views/admin/users/entity/_privilege.html.erb
577
+ - app/views/admin/users/entity/_profile.html.erb
578
+ - app/views/albums/_form.html.erb
579
+ - app/views/albums/_list.html.erb
580
+ - app/views/albums/edit.html.erb
581
+ - app/views/albums/new.html.erb
582
+ - app/views/albums/show.html.erb
583
+ - app/views/api/user_links/not_found.jbuilder
584
+ - app/views/appeals/_form.html.erb
585
+ - app/views/appeals/edit.js.erb
586
+ - app/views/appeals/new.html.erb
587
+ - app/views/appeals/new.js.erb
588
+ - app/views/appeals_mailer/appeal_reply.html.erb
589
+ - app/views/articles/category.html.erb
590
+ - app/views/articles/index.html.erb
591
+ - app/views/articles/show.html.erb
592
+ - app/views/articles/tagged.html.erb
593
+ - app/views/authentication/_info.html.erb
594
+ - app/views/authentication/new.html.erb
595
+ - app/views/authors/_list.html.erb
596
+ - app/views/authors/entity/_in_list.html.erb
597
+ - app/views/authors/index.html.erb
598
+ - app/views/authors/show.html.erb
599
+ - app/views/blog_posts/category.html.erb
600
+ - app/views/blog_posts/show.html.erb
601
+ - app/views/blog_posts/tagged.html.erb
602
+ - app/views/campaigns/_form.html.erb
603
+ - app/views/campaigns/candidate.html.erb
604
+ - app/views/campaigns/edit.html.erb
605
+ - app/views/campaigns/new.html.erb
606
+ - app/views/candidates/_form.html.erb
607
+ - app/views/candidates/edit.html.erb
608
+ - app/views/candidates/new.html.erb
609
+ - app/views/deed_categories/_form.html.erb
610
+ - app/views/deed_categories/edit.html.erb
611
+ - app/views/deed_categories/new.html.erb
612
+ - app/views/deeds/_form.html.erb
613
+ - app/views/deeds/_list.html.erb
614
+ - app/views/deeds/_preview.html.erb
615
+ - app/views/deeds/_regions.html.erb
616
+ - app/views/deeds/edit.html.erb
617
+ - app/views/deeds/form/_categories.html.erb
618
+ - app/views/deeds/index.html.erb
619
+ - app/views/deeds/new.html.erb
620
+ - app/views/deeds/regions.jbuilder
621
+ - app/views/deeds/show.html.erb
622
+ - app/views/editable_pages/form/_ckeditor.html.erb
623
+ - app/views/editorial/index/_navigation.html.erb
624
+ - app/views/editorial/index/index.html.erb
625
+ - app/views/editorial/users/_filter.html.erb
626
+ - app/views/editorial/users/_list.html.erb
627
+ - app/views/editorial/users/_nav_item.html.erb
628
+ - app/views/editorial/users/_toggleable.html.erb
629
+ - app/views/editorial/users/entity/_in_list.html.erb
630
+ - app/views/editorial/users/index.html.erb
631
+ - app/views/editorial/users/show.html.erb
632
+ - app/views/entries/_adjacent.html.erb
633
+ - app/views/entries/_entry.html.erb
634
+ - app/views/entries/_form.html.erb
635
+ - app/views/entries/_list.html.erb
636
+ - app/views/entries/_preview.html.erb
637
+ - app/views/entries/_recent.html.erb
638
+ - app/views/entries/_repost_form.html.erb
639
+ - app/views/entries/_sidebar_preview.html.erb
640
+ - app/views/entries/archive.html.erb
641
+ - app/views/entries/archive/_month_list.html.erb
642
+ - app/views/entries/edit.html.erb
643
+ - app/views/entries/index.html.erb
644
+ - app/views/entries/new.html.erb
645
+ - app/views/entries/new_repost.html.erb
646
+ - app/views/entries/show.html.erb
647
+ - app/views/event_materials/_form.html.erb
648
+ - app/views/event_materials/edit.html.erb
649
+ - app/views/event_materials/new.html.erb
650
+ - app/views/event_participants/_form.html.erb
651
+ - app/views/event_participants/edit.html.erb
652
+ - app/views/event_participants/new.html.erb
653
+ - app/views/event_programs/_form.html.erb
654
+ - app/views/event_programs/edit.html.erb
655
+ - app/views/event_programs/new.html.erb
656
+ - app/views/event_speakers/_form.html.erb
657
+ - app/views/event_speakers/edit.html.erb
658
+ - app/views/event_speakers/new.html.erb
659
+ - app/views/event_sponsors/_form.html.erb
660
+ - app/views/event_sponsors/edit.html.erb
661
+ - app/views/event_sponsors/new.html.erb
662
+ - app/views/events/_form.html.erb
663
+ - app/views/events/edit.html.erb
664
+ - app/views/events/entity/_speakers.html.erb
665
+ - app/views/events/entity/_sponsors.html.erb
666
+ - app/views/events/new.html.erb
667
+ - app/views/events/show.html.erb
668
+ - app/views/featured_posts/create.jbuilder
669
+ - app/views/groups/_form.html.erb
670
+ - app/views/groups/edit.html.erb
671
+ - app/views/groups/new.html.erb
672
+ - app/views/impeachment/_filter.html.erb
673
+ - app/views/impeachment/candidate.html.erb
674
+ - app/views/impeachment/candidates.html.erb
675
+ - app/views/index/_post_preview.jbuilder
676
+ - app/views/index/frontpage_posts/_illustrated.html.erb
677
+ - app/views/index/frontpage_posts/_loader.html.erb
678
+ - app/views/index/frontpage_posts/_main_news.html.erb
679
+ - app/views/index/frontpage_posts/_preview.html.erb
680
+ - app/views/index/frontpage_posts/_regional_news.html.erb
681
+ - app/views/index/frontpage_posts/_videos.html.erb
682
+ - app/views/index/index.html.erb
683
+ - app/views/index/index/_categories.html.erb
684
+ - app/views/index/index/_featured_posts.html.erb
685
+ - app/views/index/main_news.jbuilder
686
+ - app/views/index/regional_news.jbuilder
687
+ - app/views/layouts/admin/_footer.html.erb
688
+ - app/views/layouts/application.html.erb
689
+ - app/views/layouts/application/_footer.html.erb
690
+ - app/views/layouts/application/_header.html.erb
691
+ - app/views/layouts/application/_header_content.html.erb
692
+ - app/views/layouts/application/_main_navigation.html.erb
693
+ - app/views/layouts/application/header/_authentication.html.erb
694
+ - app/views/layouts/application/header/_logo.html.erb
695
+ - app/views/layouts/application/header/_region_selector.html.erb
696
+ - app/views/layouts/application/header/_search.html.erb
697
+ - app/views/layouts/application/main_navigation/_addition.html.erb
698
+ - app/views/layouts/application/main_navigation/_categories.html.erb
699
+ - app/views/layouts/application/main_navigation/_prepend.html.erb
700
+ - app/views/layouts/mailer.html.erb
701
+ - app/views/layouts/mailer.text.erb
702
+ - app/views/my/confirmations/show.html.erb
703
+ - app/views/my/deeds/_list.html.erb
704
+ - app/views/my/deeds/entity/_categories.html.erb
705
+ - app/views/my/deeds/index.html.erb
706
+ - app/views/my/deeds/show.html.erb
707
+ - app/views/my/entries/index.html.erb
708
+ - app/views/my/followees/_list.html.erb
709
+ - app/views/my/followees/index.html.erb
710
+ - app/views/my/followers/_list.html.erb
711
+ - app/views/my/followers/index.html.erb
712
+ - app/views/my/index/_articles.html.erb
713
+ - app/views/my/index/_blog_posts.html.erb
714
+ - app/views/my/index/_news.html.erb
715
+ - app/views/my/index/index.html.erb
716
+ - app/views/my/messages/_list.html.erb
717
+ - app/views/my/messages/dialog.html.erb
718
+ - app/views/my/messages/entity/_in_list.html.erb
719
+ - app/views/my/messages/index.html.erb
720
+ - app/views/my/messages/not_found.html.erb
721
+ - app/views/my/notifications/_list.html.erb
722
+ - app/views/my/notifications/entity/_entry_comment.html.erb
723
+ - app/views/my/notifications/entity/_in_list.html.erb
724
+ - app/views/my/notifications/entity/_new_follower.html.erb
725
+ - app/views/my/notifications/entity/_new_message.html.erb
726
+ - app/views/my/notifications/entity/_news_comment.html.erb
727
+ - app/views/my/notifications/entity/_post_comment.html.erb
728
+ - app/views/my/notifications/index.html.erb
729
+ - app/views/my/posts/_form.html.erb
730
+ - app/views/my/posts/_list.html.erb
731
+ - app/views/my/posts/_post.html.erb
732
+ - app/views/my/posts/_preview.html.erb
733
+ - app/views/my/posts/articles.html.erb
734
+ - app/views/my/posts/index.html.erb
735
+ - app/views/my/posts/news_index.html.erb
736
+ - app/views/my/profiles/edit.html.erb
737
+ - app/views/my/profiles/edit/_form.html.erb
738
+ - app/views/my/profiles/show.html.erb
739
+ - app/views/my/recoveries/show.html.erb
740
+ - app/views/network/show.jbuilder
741
+ - app/views/news/_form.html.erb
742
+ - app/views/news/_news.html.erb
743
+ - app/views/news/_preview.html.erb
744
+ - app/views/news/category.html.erb
745
+ - app/views/news/edit.html.erb
746
+ - app/views/news/form/_figures.html.erb
747
+ - app/views/news/index.html.erb
748
+ - app/views/news/index/_column.html.erb
749
+ - app/views/news/index/_items.html.erb
750
+ - app/views/news/new.html.erb
751
+ - app/views/news/not_found.html.erb
752
+ - app/views/news/previews/_comments.html.erb
753
+ - app/views/news/previews/_most_recent.html.erb
754
+ - app/views/news/previews/_topics.html.erb
755
+ - app/views/news/show.html.erb
756
+ - app/views/news/show_in_category.html.erb
757
+ - app/views/news/tagged.html.erb
758
+ - app/views/news_categories/_form.html.erb
759
+ - app/views/news_categories/edit.html.erb
760
+ - app/views/news_categories/new.html.erb
761
+ - app/views/photos/_form.html.erb
762
+ - app/views/photos/_list.html.erb
763
+ - app/views/photos/edit.html.erb
764
+ - app/views/photos/new.html.erb
765
+ - app/views/photos/show.html.erb
766
+ - app/views/political_forces/_flares.html.erb
767
+ - app/views/political_forces/_form.html.erb
768
+ - app/views/political_forces/edit.html.erb
769
+ - app/views/political_forces/new.html.erb
770
+ - app/views/posts/_carousel.html.erb
771
+ - app/views/posts/_form.html.erb
772
+ - app/views/posts/_post.html.erb
773
+ - app/views/posts/_preview.html.erb
774
+ - app/views/posts/archive.html.erb
775
+ - app/views/posts/archive.jbuilder
776
+ - app/views/posts/archive/_month_list.html.erb
777
+ - app/views/posts/archive_day.html.erb
778
+ - app/views/posts/category.html.erb
779
+ - app/views/posts/entity/_author.html.erb
780
+ - app/views/posts/entity/_gallery.html.erb
781
+ - app/views/posts/entity/_linked_posts.html.erb
782
+ - app/views/posts/entity/_metadata.html.erb
783
+ - app/views/posts/entity/_preview_author.html.erb
784
+ - app/views/posts/entity/_publisher.html.erb
785
+ - app/views/posts/form/_attachments.html.erb
786
+ - app/views/posts/form/_figures.html.erb
787
+ - app/views/posts/form/_gallery.html.erb
788
+ - app/views/posts/index.html.erb
789
+ - app/views/posts/index.jbuilder
790
+ - app/views/posts/post_type/_category.html.erb
791
+ - app/views/posts/post_type/_post_page.html.erb
792
+ - app/views/posts/post_type/_tagged.html.erb
793
+ - app/views/posts/show.html.erb
794
+ - app/views/posts/show_in_category.html.erb
795
+ - app/views/posts/tagged.html.erb
796
+ - app/views/posts/tagged.jbuilder
797
+ - app/views/profiles/_profile.html.erb
798
+ - app/views/profiles/entries.html.erb
799
+ - app/views/profiles/followees.html.erb
800
+ - app/views/profiles/not_found.html.erb
801
+ - app/views/profiles/show.html.erb
802
+ - app/views/promo_blocks/_entity.html.erb
803
+ - app/views/promo_blocks/_form.html.erb
804
+ - app/views/promo_blocks/edit.html.erb
805
+ - app/views/promo_blocks/new.html.erb
806
+ - app/views/promo_items/_form.html.erb
807
+ - app/views/promo_items/edit.html.erb
808
+ - app/views/promo_items/new.html.erb
809
+ - app/views/regional_news/_news.html.erb
810
+ - app/views/regional_news/_preview.html.erb
811
+ - app/views/regional_news/category.html.erb
812
+ - app/views/regional_news/index.html.erb
813
+ - app/views/regional_news/index/_column.html.erb
814
+ - app/views/regional_news/index/_items.html.erb
815
+ - app/views/regional_news/previews/_comments.html.erb
816
+ - app/views/regional_news/previews/_most_recent.html.erb
817
+ - app/views/regional_news/previews/_topics.html.erb
818
+ - app/views/regional_news/show_in_category.html.erb
819
+ - app/views/regions/_form.html.erb
820
+ - app/views/regions/_region.jbuilder
821
+ - app/views/regions/edit.html.erb
822
+ - app/views/regions/index.jbuilder
823
+ - app/views/regions/new.html.erb
824
+ - app/views/regions/show.jbuilder
825
+ - app/views/search/index.html.erb
826
+ - app/views/shared/_counters.html.erb
827
+ - app/views/shared/_favicons.html.erb
828
+ - app/views/shared/_pagination.jbuilder
829
+ - app/views/shared/_pluso.html.erb
830
+ - app/views/shared/_sidebar.html.erb
831
+ - app/views/shared/blog/_sidebar.html.erb
832
+ - app/views/shared/errors/_not_found.html.erb
833
+ - app/views/shared/forms/_region_select.html.erb
834
+ - app/views/shared/sidebar/_calendar.html.erb
835
+ - app/views/shared/sidebar/_custom_sidebar.html.erb
836
+ - app/views/shared/sidebar/_deeds.html.erb
837
+ - app/views/shared/sidebar/_poll.html.erb
838
+ - app/views/shared/sidebar/_popular_entries.html.erb
839
+ - app/views/shared/sidebar/_popular_topics.html.erb
840
+ - app/views/shared/sidebar/_recent_posts.html.erb
841
+ - app/views/teams/_form.html.erb
842
+ - app/views/teams/edit.html.erb
843
+ - app/views/teams/new.html.erb
844
+ - app/views/user_messages/_form.html.erb
845
+ - app/views/user_messages/new.html.erb
846
+ - app/views/user_messages/not_found.html.erb
847
+ - app/views/users/_filter.html.erb
848
+ - app/views/users/_follow_buttons.html.erb
849
+ - app/views/users/_list.html.erb
850
+ - app/views/users/entity/_in_list.html.erb
851
+ - app/views/users/form/_profile_data.html.erb
852
+ - app/views/users/index.html.erb
853
+ - app/views/users/index.jbuilder
854
+ - config/locales/albums-ru.yml
855
+ - config/locales/campaigns-ru.yml
856
+ - config/locales/common-ru.yml
857
+ - config/locales/decisions-ru.yml
858
+ - config/locales/deeds-ru.yml
859
+ - config/locales/events-ru.yml
860
+ - config/locales/feedback-ru.yml
861
+ - config/locales/media-ru.yml
862
+ - config/locales/notifications-ru.yml
863
+ - config/locales/posts-ru.yml
864
+ - config/locales/promo-ru.yml
865
+ - config/locales/regions-ru.yml
866
+ - config/locales/socialization-ru.yml
867
+ - config/locales/users-ru.yml
868
+ - config/routes.rb
869
+ - db/amends/20190223100000_create_themes.rb
870
+ - db/amends/20190311141414_convert_posts.rb
871
+ - db/amends/20190415131313_add_uuid_to_post_attachments.rb
872
+ - db/amends/20190501222222_add_fields_to_regions.rb
873
+ - db/amends/20190710121653_update_region_posts_count.rb
874
+ - db/amends/20200406151505_add_fields_to_sites.rb
875
+ - db/migrate/20170129000001_create_sites.rb
876
+ - db/migrate/20170129000002_create_regions.rb
877
+ - db/migrate/20170209000101_create_user_links.rb
878
+ - db/migrate/20170209000102_create_user_messages.rb
879
+ - db/migrate/20171111000005_create_appeal_types.rb
880
+ - db/migrate/20171111000010_create_appeals.rb
881
+ - db/migrate/20180630000001_create_promo_blocks.rb
882
+ - db/migrate/20180630000002_create_promo_items.rb
883
+ - db/migrate/20190805212121_add_comunit_to_posts.rb
884
+ - db/migrate/20190913142159_convert_themes.rb
885
+ - db/migrate/20190919112129_add_regions_component.rb
886
+ - db/migrate/20190922165743_create_region_users.rb
887
+ - db/migrate/20191209101010_create_campaigns.rb
888
+ - db/migrate/20200306220439_add_impeachment_category.rb
889
+ - db/migrate/20200420000000_create_deeds_component.rb
890
+ - db/migrate/20200604000000_create_decisions_component.rb
891
+ - db/obsolete_migrations/20170209000006_create_illustrations.rb
892
+ - db/obsolete_migrations/20170228195056_create_groups.rb
893
+ - db/obsolete_migrations/20170228195119_create_user_groups.rb
894
+ - db/obsolete_migrations/20170309205037_create_albums.rb
895
+ - db/obsolete_migrations/20170309205146_create_photos.rb
896
+ - db/obsolete_migrations/20170322000001_create_teams.rb
897
+ - db/obsolete_migrations/20170322000002_create_team_privileges.rb
898
+ - db/obsolete_migrations/20170413000001_create_events.rb
899
+ - db/obsolete_migrations/20170413000002_create_event_participants.rb
900
+ - db/obsolete_migrations/20170413000003_create_event_speakers.rb
901
+ - db/obsolete_migrations/20170413000004_create_event_sponsors.rb
902
+ - db/obsolete_migrations/20170413000005_create_event_programs.rb
903
+ - db/obsolete_migrations/20170413000006_create_event_materials.rb
904
+ - db/obsolete_migrations/20170517000000_insert_editable_pages.rb
905
+ - db/obsolete_migrations/20190924040404_convert_regional_editors.rb
906
+ - lib/comunit/base.rb
907
+ - lib/comunit/base/decorators/controllers/admin/posts_controller_decorator.rb
908
+ - lib/comunit/base/decorators/controllers/admin/privileges_controller_decorator.rb
909
+ - lib/comunit/base/decorators/controllers/my/posts_controller_decorator.rb
910
+ - lib/comunit/base/decorators/controllers/my/profiles_controller_decorator.rb
911
+ - lib/comunit/base/decorators/controllers/poll_answers_controller_decorator.rb
912
+ - lib/comunit/base/decorators/controllers/poll_questions_controller_decorator.rb
913
+ - lib/comunit/base/decorators/controllers/polls_controller_decorator.rb
914
+ - lib/comunit/base/decorators/controllers/posts_controller_decorator.rb
915
+ - lib/comunit/base/decorators/models/post_decorator.rb
916
+ - lib/comunit/base/decorators/models/user_decorator.rb
917
+ - lib/comunit/base/decorators/models/user_privilege_decorator.rb
918
+ - lib/comunit/base/engine.rb
919
+ - lib/comunit/base/privilege_methods.rb
920
+ - lib/comunit/base/version.rb
921
+ - lib/tasks/comunit.rake
922
+ - lib/tasks/comunit/base_tasks.rake
923
+ - lib/tasks/regions.rake
924
+ homepage: https://github.com/Biovision/comunit-base
925
+ licenses:
926
+ - MIT
927
+ metadata: {}
928
+ post_install_message:
929
+ rdoc_options: []
930
+ require_paths:
931
+ - lib
932
+ required_ruby_version: !ruby/object:Gem::Requirement
933
+ requirements:
934
+ - - ">="
935
+ - !ruby/object:Gem::Version
936
+ version: '0'
937
+ required_rubygems_version: !ruby/object:Gem::Requirement
938
+ requirements:
939
+ - - ">="
940
+ - !ruby/object:Gem::Version
941
+ version: '0'
942
+ requirements: []
943
+ rubygems_version: 3.1.4
944
+ signing_key:
945
+ specification_version: 4
946
+ summary: Base for comunit network site
947
+ test_files: []