fat_free_crm 0.13.6 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fat_free_crm might be problematic. Click here for more details.

Files changed (534) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +5 -0
  3. data/.travis.yml +8 -5
  4. data/CHANGELOG +26 -0
  5. data/Gemfile +26 -26
  6. data/Gemfile.lock +280 -250
  7. data/Guardfile +0 -1
  8. data/README.md +7 -9
  9. data/Rakefile +1 -1
  10. data/app/assets/javascripts/application.js.erb +1 -0
  11. data/app/assets/javascripts/crm.js.coffee +6 -7
  12. data/app/assets/javascripts/search.js.coffee +7 -1
  13. data/app/assets/stylesheets/about.css.scss +10 -0
  14. data/app/assets/stylesheets/application.css.erb +2 -0
  15. data/app/assets/stylesheets/common.scss +1 -1
  16. data/app/controllers/admin/application_controller.rb +3 -3
  17. data/app/controllers/admin/field_groups_controller.rb +12 -7
  18. data/app/controllers/admin/fields_controller.rb +21 -17
  19. data/app/controllers/admin/groups_controller.rb +10 -4
  20. data/app/controllers/admin/plugins_controller.rb +1 -2
  21. data/app/controllers/admin/settings_controller.rb +1 -2
  22. data/app/controllers/admin/tags_controller.rb +10 -4
  23. data/app/controllers/admin/users_controller.rb +32 -12
  24. data/app/controllers/application_controller.rb +58 -38
  25. data/app/controllers/authentications_controller.rb +5 -8
  26. data/app/controllers/comments_controller.rb +15 -11
  27. data/app/controllers/emails_controller.rb +1 -2
  28. data/app/controllers/entities/accounts_controller.rb +20 -20
  29. data/app/controllers/entities/campaigns_controller.rb +25 -22
  30. data/app/controllers/entities/contacts_controller.rb +25 -24
  31. data/app/controllers/entities/leads_controller.rb +33 -31
  32. data/app/controllers/entities/opportunities_controller.rb +31 -28
  33. data/app/controllers/entities_controller.rb +26 -22
  34. data/app/controllers/home_controller.rb +18 -18
  35. data/app/controllers/lists_controller.rb +11 -7
  36. data/app/controllers/passwords_controller.rb +5 -6
  37. data/app/controllers/tasks_controller.rb +23 -18
  38. data/app/controllers/users_controller.rb +31 -7
  39. data/app/helpers/accounts_helper.rb +40 -42
  40. data/app/helpers/addresses_helper.rb +1 -3
  41. data/app/helpers/admin/application_helper.rb +4 -4
  42. data/app/helpers/admin/field_groups_helper.rb +5 -7
  43. data/app/helpers/admin/fields_helper.rb +2 -3
  44. data/app/helpers/admin/plugins_helper.rb +0 -1
  45. data/app/helpers/admin/settings_helper.rb +0 -1
  46. data/app/helpers/admin/tags_helper.rb +1 -1
  47. data/app/helpers/admin/users_helper.rb +16 -18
  48. data/app/helpers/application_helper.rb +127 -119
  49. data/app/helpers/authentications_helper.rb +0 -1
  50. data/app/helpers/campaigns_helper.rb +5 -7
  51. data/app/helpers/comments_helper.rb +0 -1
  52. data/app/helpers/contacts_helper.rb +0 -1
  53. data/app/helpers/home_helper.rb +14 -14
  54. data/app/helpers/javascript_helper.rb +30 -0
  55. data/app/helpers/leads_helper.rb +7 -7
  56. data/app/helpers/opportunities_helper.rb +8 -10
  57. data/app/helpers/passwords_helper.rb +0 -1
  58. data/app/helpers/tags_helper.rb +1 -3
  59. data/app/helpers/tasks_helper.rb +24 -26
  60. data/app/helpers/users_helper.rb +6 -7
  61. data/app/helpers/versions_helper.rb +3 -5
  62. data/app/inputs/date_pair_input.rb +6 -7
  63. data/app/inputs/date_time_input.rb +3 -4
  64. data/app/inputs/datetime_pair_input.rb +0 -1
  65. data/app/inputs/text_input.rb +2 -2
  66. data/app/mailers/dropbox_mailer.rb +4 -7
  67. data/app/mailers/subscription_mailer.rb +4 -5
  68. data/app/mailers/user_mailer.rb +7 -9
  69. data/app/models/entities/account.rb +31 -28
  70. data/app/models/entities/account_contact.rb +2 -1
  71. data/app/models/entities/account_opportunity.rb +1 -1
  72. data/app/models/entities/campaign.rb +22 -19
  73. data/app/models/entities/contact.rb +55 -53
  74. data/app/models/entities/contact_opportunity.rb +1 -1
  75. data/app/models/entities/lead.rb +49 -41
  76. data/app/models/entities/opportunity.rb +38 -38
  77. data/app/models/fields/custom_field.rb +21 -27
  78. data/app/models/fields/custom_field_date_pair.rb +7 -8
  79. data/app/models/fields/custom_field_datetime_pair.rb +0 -2
  80. data/app/models/fields/custom_field_pair.rb +8 -10
  81. data/app/models/fields/field.rb +29 -30
  82. data/app/models/fields/field_group.rb +4 -4
  83. data/app/models/list.rb +1 -1
  84. data/app/models/observers/entity_observer.rb +1 -1
  85. data/app/models/observers/lead_observer.rb +1 -1
  86. data/app/models/observers/opportunity_observer.rb +1 -1
  87. data/app/models/observers/task_observer.rb +1 -1
  88. data/app/models/polymorphic/address.rb +7 -7
  89. data/app/models/polymorphic/avatar.rb +8 -9
  90. data/app/models/polymorphic/comment.rb +16 -10
  91. data/app/models/polymorphic/email.rb +13 -6
  92. data/app/models/polymorphic/tag.rb +2 -2
  93. data/app/models/polymorphic/task.rb +45 -45
  94. data/{config/initializers/paper_trail.rb → app/models/polymorphic/version.rb} +26 -31
  95. data/app/models/setting.rb +12 -17
  96. data/app/models/users/ability.rb +5 -6
  97. data/app/models/users/authentication.rb +6 -5
  98. data/app/models/users/group.rb +1 -3
  99. data/app/models/users/permission.rb +3 -3
  100. data/app/models/users/preference.rb +7 -7
  101. data/app/models/users/user.rb +36 -43
  102. data/app/views/accounts/_top_section.html.haml +2 -2
  103. data/app/views/accounts/edit.js.haml +0 -1
  104. data/app/views/admin/fields/_field.html.haml +1 -1
  105. data/app/views/admin/tags/_tag.html.haml +1 -1
  106. data/app/views/admin/users/_user.html.haml +4 -4
  107. data/app/views/campaigns/_top_section.html.haml +1 -1
  108. data/app/views/campaigns/edit.js.haml +0 -2
  109. data/app/views/contacts/_top_section.html.haml +1 -1
  110. data/app/views/contacts/edit.js.haml +0 -1
  111. data/app/views/entities/_basic_search.html.haml +1 -1
  112. data/app/views/home/_account.html.haml +2 -2
  113. data/app/views/home/_opportunity.html.haml +2 -2
  114. data/app/views/layouts/_about.html.haml +1 -1
  115. data/app/views/leads/_top_section.html.haml +1 -1
  116. data/app/views/leads/edit.js.haml +0 -2
  117. data/app/views/lists/_sidebar.html.haml +1 -1
  118. data/app/views/opportunities/_top_section.html.haml +2 -2
  119. data/app/views/opportunities/edit.js.haml +0 -1
  120. data/app/views/shared/_tags.html.haml +2 -1
  121. data/app/views/tasks/_edit.html.haml +2 -3
  122. data/app/views/tasks/_top_section.html.haml +1 -1
  123. data/app/views/users/_user.html.haml +2 -1
  124. data/app/views/users/opportunities_overview.html.haml +2 -2
  125. data/bin/bundle +3 -0
  126. data/bin/rails +4 -0
  127. data/bin/rake +4 -0
  128. data/config/application.rb +16 -33
  129. data/config/boot.rb +1 -1
  130. data/config/database.mysql.mac.yml +1 -0
  131. data/config/database.mysql.yml +1 -0
  132. data/config/database.postgres.docker.yml +1 -1
  133. data/config/database.postgres.yml +1 -0
  134. data/config/database.sqlite.yml +1 -0
  135. data/config/deploy.example.rb +3 -5
  136. data/config/environments/development.rb +13 -14
  137. data/config/environments/production.rb +8 -7
  138. data/config/environments/staging.rb +43 -41
  139. data/config/environments/test.rb +12 -14
  140. data/config/initializers/assets.rb +14 -0
  141. data/config/initializers/backtrace_silencers.rb +7 -0
  142. data/config/initializers/cookies_serializer.rb +3 -0
  143. data/config/initializers/custom_field_ransack_translations.rb +1 -1
  144. data/config/initializers/filter_parameter_logging.rb +4 -0
  145. data/config/initializers/inflections.rb +16 -0
  146. data/config/initializers/mime_types.rb +0 -1
  147. data/config/initializers/paginate_arrays.rb +0 -1
  148. data/config/initializers/ransack.rb +5 -5
  149. data/config/initializers/session_store.rb +5 -0
  150. data/config/initializers/simple_form.rb +1 -1
  151. data/config/initializers/views.rb +33 -33
  152. data/config/initializers/wrap_parameters.rb +14 -0
  153. data/config/locales/cz_fat_free_crm.yml +1 -1
  154. data/config/locales/de_fat_free_crm.yml +2 -2
  155. data/config/locales/en-GB_fat_free_crm.yml +2 -3
  156. data/config/locales/en-US_fat_free_crm.yml +2 -3
  157. data/config/locales/en.yml +23 -0
  158. data/config/locales/es-CL.yml +227 -0
  159. data/config/locales/es-CL_fat_free_crm.yml +929 -0
  160. data/config/locales/es-CL_ransack.yml +91 -0
  161. data/config/locales/es.yml +53 -59
  162. data/config/locales/es_fat_free_crm.yml +708 -370
  163. data/config/locales/es_ransack.yml +91 -0
  164. data/config/locales/fr-CA_fat_free_crm.yml +7 -7
  165. data/config/locales/fr_fat_free_crm.yml +285 -81
  166. data/config/locales/it_fat_free_crm.yml +1 -1
  167. data/config/locales/ja_fat_free_crm.yml +1 -1
  168. data/config/locales/nl.yml +210 -0
  169. data/config/locales/nl_fat_free_crm.yml +920 -0
  170. data/config/locales/nl_ransack.yml +91 -0
  171. data/config/locales/pl_fat_free_crm.yml +1 -1
  172. data/config/locales/pt-BR_fat_free_crm.yml +111 -38
  173. data/config/locales/ru_fat_free_crm.yml +3 -4
  174. data/config/locales/sv-SE_fat_free_crm.yml +1 -1
  175. data/config/locales/th.rb +157 -158
  176. data/config/locales/th_fat_free_crm.yml +1 -1
  177. data/config/locales/zh-CN_fat_free_crm.yml +3 -4
  178. data/config/routes.rb +93 -94
  179. data/config/unicorn.rb +25 -2
  180. data/custom_plan.rb +0 -2
  181. data/db/demo/accounts.yml +4 -5
  182. data/db/demo/addresses.yml +5 -5
  183. data/db/demo/campaigns.yml +2 -2
  184. data/db/demo/comments.yml +1 -1
  185. data/db/demo/contacts.yml +8 -8
  186. data/db/demo/emails.yml +5 -5
  187. data/db/demo/leads.yml +10 -10
  188. data/db/demo/opportunities.yml +2 -2
  189. data/db/demo/tasks.yml +2 -2
  190. data/db/demo/users.yml +12 -16
  191. data/db/migrate/20100928030598_create_sessions.rb +1 -2
  192. data/db/migrate/20100928030599_create_users.rb +24 -25
  193. data/db/migrate/20100928030600_create_openid_tables.rb +11 -12
  194. data/db/migrate/20100928030601_create_accounts.rb +14 -15
  195. data/db/migrate/20100928030602_create_permissions.rb +2 -3
  196. data/db/migrate/20100928030603_create_settings.rb +4 -5
  197. data/db/migrate/20100928030604_create_preferences.rb +3 -4
  198. data/db/migrate/20100928030605_create_campaigns.rb +19 -20
  199. data/db/migrate/20100928030606_create_leads.rb +26 -27
  200. data/db/migrate/20100928030607_create_contacts.rb +26 -27
  201. data/db/migrate/20100928030608_create_opportunities.rb +15 -16
  202. data/db/migrate/20100928030609_create_account_contacts.rb +2 -3
  203. data/db/migrate/20100928030610_create_account_opportunities.rb +2 -3
  204. data/db/migrate/20100928030611_create_contact_opportunities.rb +3 -4
  205. data/db/migrate/20100928030612_create_tasks.rb +14 -15
  206. data/db/migrate/20100928030613_create_comments.rb +6 -7
  207. data/db/migrate/20100928030614_create_activities.rb +6 -7
  208. data/db/migrate/20100928030615_create_avatars.rb +5 -6
  209. data/db/migrate/20100928030616_rename_remember_token.rb +0 -1
  210. data/db/migrate/20100928030617_drop_openid_tables.rb +11 -11
  211. data/db/migrate/20100928030618_add_admin_to_users.rb +1 -2
  212. data/db/migrate/20100928030619_add_suspended_to_users.rb +0 -1
  213. data/db/migrate/20100928030620_remove_uuid.rb +3 -3
  214. data/db/migrate/20100928030621_add_email_to_accounts.rb +1 -2
  215. data/db/migrate/20100928030622_add_background_info_to_models.rb +0 -1
  216. data/db/migrate/20100928030623_create_addresses.rb +14 -16
  217. data/db/migrate/20100928030624_add_index_on_permissions.rb +2 -3
  218. data/db/migrate/20100928030625_create_emails.rb +15 -16
  219. data/db/migrate/20100928030626_add_state_to_timeline_objects.rb +2 -3
  220. data/db/migrate/20100928030627_acts_as_taggable_on_migration.rb +2 -3
  221. data/db/migrate/20101221123456_add_single_access_token_to_users.rb +0 -1
  222. data/db/migrate/20101221345678_add_rating_and_category_to_accounts.rb +2 -3
  223. data/db/migrate/20110719082054_add_skype_to_contacts_and_leads.rb +2 -3
  224. data/db/migrate/20111101083437_create_fields.rb +14 -15
  225. data/db/migrate/20111101090312_create_field_groups.rb +4 -5
  226. data/db/migrate/20111116091952_add_field_groups_tag_id.rb +0 -1
  227. data/db/migrate/20111117041311_change_fields_collection_to_text.rb +0 -1
  228. data/db/migrate/20111201030535_add_field_groups_klass_name.rb +4 -4
  229. data/db/migrate/20120121054235_create_lists.rb +1 -1
  230. data/db/migrate/20120216031616_create_versions.rb +5 -5
  231. data/db/migrate/20120216042541_is_paranoid_to_paper_trail.rb +1 -3
  232. data/db/migrate/20120224073107_remove_default_value_and_clear_settings.rb +1 -1
  233. data/db/migrate/20120316045804_activities_to_versions.rb +6 -6
  234. data/db/migrate/20120405080727_change_subscribed_users_to_set.rb +5 -5
  235. data/db/migrate/20120405080742_change_further_subscribed_users_to_set.rb +5 -5
  236. data/db/migrate/20120406082136_create_groups.rb +1 -1
  237. data/db/migrate/20120510025219_add_not_null_constraints_for_timestamp_columns.rb +2 -1
  238. data/db/migrate/20120528102124_increase_length_of_version_events.rb +2 -2
  239. data/db/migrate/20121003063155_add_settings_to_custom_fields.rb +1 -1
  240. data/db/migrate/20121221033947_fix_country_mapping.rb +0 -1
  241. data/db/migrate/20131207033244_add_user_id_to_lists.rb +1 -1
  242. data/db/migrate/20141126031837_increase_email_to254_chars.rb +14 -14
  243. data/db/migrate/20141230021159_add_transaction_id_column_to_versions.rb +11 -0
  244. data/db/migrate/20141230205453_add_missing_unique_indices.acts_as_taggable_on_engine.rb +20 -0
  245. data/db/migrate/20141230205454_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +15 -0
  246. data/db/migrate/20141230205455_add_missing_taggable_index.acts_as_taggable_on_engine.rb +10 -0
  247. data/db/migrate/20150123060900_convert_radio_to_radio_buttons.rb +10 -0
  248. data/db/migrate/20150227123054_remove_last_request_at_from_users.rb +5 -0
  249. data/db/migrate/20150427131956_create_index_related_type.rb +9 -0
  250. data/db/migrate/20160511053730_add_account_contacts_index.rb +5 -0
  251. data/db/schema.rb +236 -228
  252. data/db/seeds.rb +1 -2
  253. data/db/seeds/fields.rb +36 -37
  254. data/{fig.yml → docker-compose.yml} +0 -0
  255. data/fat_free_crm.gemspec +31 -18
  256. data/lib/development_tasks/license.rake +29 -29
  257. data/lib/fat_free_crm.rb +1 -5
  258. data/lib/fat_free_crm/callback.rb +28 -20
  259. data/lib/fat_free_crm/comment_extensions.rb +1 -1
  260. data/lib/fat_free_crm/core_ext.rb +1 -1
  261. data/lib/fat_free_crm/core_ext/nil.rb +0 -3
  262. data/lib/fat_free_crm/core_ext/string.rb +7 -21
  263. data/lib/fat_free_crm/custom_fields.rb +2 -2
  264. data/lib/fat_free_crm/engine.rb +14 -0
  265. data/lib/fat_free_crm/errors.rb +0 -2
  266. data/lib/fat_free_crm/exceptions.rb +3 -4
  267. data/lib/fat_free_crm/export_csv.rb +0 -2
  268. data/lib/fat_free_crm/exportable.rb +5 -7
  269. data/lib/fat_free_crm/fields.rb +7 -8
  270. data/lib/fat_free_crm/gem_dependencies.rb +4 -1
  271. data/lib/fat_free_crm/gem_ext/active_record/schema_dumper.rb +2 -2
  272. data/lib/fat_free_crm/gem_ext/active_support/buffered_logger.rb +0 -3
  273. data/lib/fat_free_crm/gem_ext/rails/engine.rb +5 -12
  274. data/lib/fat_free_crm/gem_ext/rake/task.rb +1 -1
  275. data/lib/fat_free_crm/gem_ext/simple_form/action_view_extensions/form_helper.rb +1 -2
  276. data/lib/fat_free_crm/i18n.rb +2 -3
  277. data/lib/fat_free_crm/load_settings.rb +0 -2
  278. data/lib/fat_free_crm/mail_processor/base.rb +15 -16
  279. data/lib/fat_free_crm/mail_processor/comment_replies.rb +5 -10
  280. data/lib/fat_free_crm/mail_processor/dropbox.rb +56 -59
  281. data/lib/fat_free_crm/permissions.rb +18 -15
  282. data/lib/fat_free_crm/renderers.rb +2 -2
  283. data/lib/fat_free_crm/secret_token_generator.rb +3 -9
  284. data/lib/fat_free_crm/sortable.rb +4 -8
  285. data/lib/fat_free_crm/version.rb +2 -2
  286. data/lib/fat_free_crm/view_factory.rb +3 -8
  287. data/lib/gravatar_image_tag.rb +19 -24
  288. data/lib/missing_translation_detector.rb +10 -10
  289. data/lib/tasks/ffcrm/comment_replies.rake +3 -5
  290. data/lib/tasks/ffcrm/config.rake +3 -5
  291. data/lib/tasks/ffcrm/demo.rake +14 -16
  292. data/lib/tasks/ffcrm/dropbox.rake +3 -5
  293. data/lib/tasks/ffcrm/missing_translations.rake +1 -1
  294. data/lib/tasks/ffcrm/secret.rake +1 -3
  295. data/lib/tasks/ffcrm/settings.rake +2 -4
  296. data/lib/tasks/ffcrm/setup.rake +3 -6
  297. data/lib/tasks/ffcrm/update_data.rake +110 -116
  298. data/spec/controllers/admin/groups_controller_spec.rb +0 -1
  299. data/spec/controllers/admin/users_controller_spec.rb +98 -102
  300. data/spec/controllers/applications_controller_spec.rb +17 -21
  301. data/spec/controllers/authentications_controller_spec.rb +57 -61
  302. data/spec/controllers/comments_controller_spec.rb +32 -39
  303. data/spec/controllers/emails_controller_spec.rb +6 -7
  304. data/spec/controllers/entities/accounts_controller_spec.rb +204 -214
  305. data/spec/controllers/entities/campaigns_controller_spec.rb +210 -224
  306. data/spec/controllers/entities/contacts_controller_spec.rb +250 -270
  307. data/spec/controllers/entities/leads_controller_spec.rb +415 -438
  308. data/spec/controllers/entities/opportunities_controller_spec.rb +344 -359
  309. data/spec/controllers/entities_controller_spec.rb +10 -14
  310. data/spec/controllers/home_controller_spec.rb +85 -92
  311. data/spec/controllers/lists_controller_spec.rb +0 -1
  312. data/spec/controllers/passwords_controller_spec.rb +5 -9
  313. data/spec/controllers/tasks_controller_spec.rb +193 -210
  314. data/spec/controllers/users_controller_spec.rb +137 -146
  315. data/spec/factories/account_factories.rb +11 -13
  316. data/spec/factories/campaign_factories.rb +6 -6
  317. data/spec/factories/contact_factories.rb +21 -22
  318. data/spec/factories/field_factories.rb +8 -10
  319. data/spec/factories/lead_factories.rb +16 -16
  320. data/spec/factories/list_factories.rb +2 -2
  321. data/spec/factories/opportunity_factories.rb +8 -10
  322. data/spec/factories/sequences.rb +8 -9
  323. data/spec/factories/setting_factories.rb +2 -2
  324. data/spec/factories/shared_factories.rb +26 -30
  325. data/spec/factories/tag_factories.rb +1 -1
  326. data/spec/factories/task_factories.rb +11 -11
  327. data/spec/factories/user_factories.rb +22 -27
  328. data/spec/features/acceptance_helper.rb +1 -1
  329. data/spec/features/accounts_spec.rb +65 -61
  330. data/spec/features/admin/groups_spec.rb +11 -12
  331. data/spec/features/admin/users_spec.rb +17 -19
  332. data/spec/features/campaigns_spec.rb +61 -57
  333. data/spec/features/contacts_spec.rb +90 -59
  334. data/spec/features/dashboard_spec.rb +20 -21
  335. data/spec/features/leads_spec.rb +88 -67
  336. data/spec/features/opportunities_overview_spec.rb +31 -31
  337. data/spec/features/opportunities_spec.rb +64 -60
  338. data/spec/features/support/browser.rb +2 -2
  339. data/spec/features/support/headless.rb +1 -1
  340. data/spec/features/support/helpers.rb +5 -6
  341. data/spec/features/support/paths.rb +1 -2
  342. data/spec/features/support/selector_helpers.rb +2 -2
  343. data/spec/features/tasks_spec.rb +60 -54
  344. data/spec/helpers/accounts_helper_spec.rb +2 -5
  345. data/spec/helpers/admin/field_groups_helper_spec.rb +4 -4
  346. data/spec/helpers/admin/plugins_helper_spec.rb +0 -1
  347. data/spec/helpers/admin/settings_helper_spec.rb +0 -1
  348. data/spec/helpers/admin/users_helper_spec.rb +0 -1
  349. data/spec/helpers/application_helper_spec.rb +30 -33
  350. data/spec/helpers/authentications_helper_spec.rb +2 -5
  351. data/spec/helpers/campaigns_helper_spec.rb +2 -5
  352. data/spec/helpers/comments_helper_spec.rb +2 -5
  353. data/spec/helpers/contacts_helper_spec.rb +2 -5
  354. data/spec/helpers/emails_helper_spec.rb +0 -1
  355. data/spec/helpers/fields_helper_spec.rb +0 -1
  356. data/spec/helpers/groups_helper_spec.rb +0 -1
  357. data/spec/helpers/home_helper_spec.rb +2 -5
  358. data/spec/helpers/leads_helper_spec.rb +2 -5
  359. data/spec/helpers/lists_helper_spec.rb +0 -1
  360. data/spec/helpers/opportunities_helper_spec.rb +2 -5
  361. data/spec/helpers/passwords_helper_spec.rb +2 -5
  362. data/spec/helpers/tasks_helper_spec.rb +1 -5
  363. data/spec/helpers/users_helper_spec.rb +9 -11
  364. data/spec/lib/comment_extensions_spec.rb +3 -3
  365. data/spec/lib/core_ext/string_spec.rb +1 -1
  366. data/spec/lib/errors_spec.rb +10 -10
  367. data/spec/lib/fields_spec.rb +23 -33
  368. data/spec/lib/mail_processor/base_spec.rb +41 -43
  369. data/spec/lib/mail_processor/comment_replies_spec.rb +17 -17
  370. data/spec/lib/mail_processor/dropbox_spec.rb +91 -95
  371. data/spec/lib/mail_processor/sample_emails/dropbox.rb +13 -14
  372. data/spec/lib/permissions_spec.rb +44 -47
  373. data/spec/lib/secret_token_generator_spec.rb +16 -28
  374. data/spec/lib/view_factory_spec.rb +18 -24
  375. data/spec/mailers/subscription_mailer_spec.rb +14 -16
  376. data/spec/mailers/user_mailer_spec.rb +33 -34
  377. data/spec/models/entities/account_contact_spec.rb +2 -3
  378. data/spec/models/entities/account_opportunity_spec.rb +2 -3
  379. data/spec/models/entities/account_spec.rb +52 -59
  380. data/spec/models/entities/campaign_spec.rb +32 -39
  381. data/spec/models/entities/contact_opportunity_spec.rb +2 -3
  382. data/spec/models/entities/contact_spec.rb +71 -72
  383. data/spec/models/entities/lead_spec.rb +15 -22
  384. data/spec/models/entities/opportunity_spec.rb +104 -103
  385. data/spec/models/fields/custom_field_date_pair_spec.rb +38 -44
  386. data/spec/models/fields/custom_field_pair_spec.rb +28 -36
  387. data/spec/models/fields/custom_field_spec.rb +50 -56
  388. data/spec/models/fields/field_group_spec.rb +1 -2
  389. data/spec/models/fields/field_spec.rb +13 -15
  390. data/spec/models/list_spec.rb +4 -4
  391. data/spec/models/observers/entity_observer_spec.rb +18 -21
  392. data/spec/models/polymorphic/address_spec.rb +1 -3
  393. data/spec/models/polymorphic/avatar_spec.rb +6 -8
  394. data/spec/models/polymorphic/comment_spec.rb +7 -9
  395. data/spec/models/polymorphic/email_spec.rb +1 -2
  396. data/spec/models/polymorphic/task_spec.rb +130 -142
  397. data/spec/models/polymorphic/version_spec.rb +84 -91
  398. data/spec/models/setting_spec.rb +17 -19
  399. data/spec/models/users/abilities/user_ability_spec.rb +25 -20
  400. data/spec/models/users/authentication_spec.rb +0 -1
  401. data/spec/models/users/group_spec.rb +0 -1
  402. data/spec/models/users/permission_spec.rb +12 -13
  403. data/spec/models/users/preference_spec.rb +15 -15
  404. data/spec/models/users/user_spec.rb +53 -55
  405. data/spec/routing/accounts_routing_spec.rb +12 -14
  406. data/spec/routing/admin/users_routing_spec.rb +7 -9
  407. data/spec/routing/campaigns_routing_spec.rb +13 -14
  408. data/spec/routing/comments_routing_spec.rb +5 -6
  409. data/spec/routing/contacts_routing_spec.rb +12 -14
  410. data/spec/routing/emails_routing_spec.rb +7 -8
  411. data/spec/routing/leads_routing_spec.rb +19 -21
  412. data/spec/routing/opportunities_routing_spec.rb +13 -15
  413. data/spec/routing/tasks_routing_spec.rb +14 -15
  414. data/spec/routing/users_routing_spec.rb +18 -19
  415. data/spec/shared/controllers.rb +35 -35
  416. data/spec/shared/models.rb +52 -55
  417. data/spec/spec_helper.rb +21 -42
  418. data/spec/support/assert_select.rb +19 -18
  419. data/spec/support/auth_macros.rb +3 -3
  420. data/spec/support/macros.rb +5 -6
  421. data/spec/support/mail_processor_mocks.rb +11 -11
  422. data/spec/views/accounts/_edit.haml_spec.rb +9 -9
  423. data/spec/views/accounts/_new.haml_spec.rb +8 -9
  424. data/spec/views/accounts/create.js.haml_spec.rb +11 -12
  425. data/spec/views/accounts/destroy.js.haml_spec.rb +6 -7
  426. data/spec/views/accounts/edit.js.haml_spec.rb +12 -13
  427. data/spec/views/accounts/index.haml_spec.rb +8 -8
  428. data/spec/views/accounts/index.js.haml_spec.rb +7 -8
  429. data/spec/views/accounts/new.js.haml_spec.rb +7 -8
  430. data/spec/views/accounts/show.haml_spec.rb +11 -12
  431. data/spec/views/accounts/update.js.haml_spec.rb +18 -18
  432. data/spec/views/admin/field_groups/create.js.haml_spec.rb +8 -10
  433. data/spec/views/admin/field_groups/destroy.js.haml_spec.rb +7 -9
  434. data/spec/views/admin/field_groups/edit.js.haml_spec.rb +5 -7
  435. data/spec/views/admin/field_groups/new.js.haml_spec.rb +6 -8
  436. data/spec/views/admin/field_groups/update.js.haml_spec.rb +7 -9
  437. data/spec/views/admin/users/_create.haml_spec.rb +4 -4
  438. data/spec/views/admin/users/create.js.haml_spec.rb +8 -9
  439. data/spec/views/admin/users/destroy.js.haml_spec.rb +6 -6
  440. data/spec/views/admin/users/edit.js.haml_spec.rb +7 -9
  441. data/spec/views/admin/users/index.haml_spec.rb +4 -5
  442. data/spec/views/admin/users/index.js.haml_spec.rb +6 -8
  443. data/spec/views/admin/users/new.js.haml_spec.rb +4 -6
  444. data/spec/views/admin/users/reactivate.js.haml_spec.rb +4 -4
  445. data/spec/views/admin/users/show.haml_spec.rb +0 -1
  446. data/spec/views/admin/users/suspend.js.haml_spec.rb +4 -4
  447. data/spec/views/admin/users/update.js.haml_spec.rb +6 -7
  448. data/spec/views/application/auto_complete.haml_spec.rb +12 -14
  449. data/spec/views/authentications/new.haml_spec.rb +6 -7
  450. data/spec/views/campaigns/_edit.haml_spec.rb +9 -9
  451. data/spec/views/campaigns/_new.haml_spec.rb +8 -8
  452. data/spec/views/campaigns/create.js.haml_spec.rb +11 -12
  453. data/spec/views/campaigns/destroy.js.haml_spec.rb +7 -8
  454. data/spec/views/campaigns/edit.js.haml_spec.rb +12 -20
  455. data/spec/views/campaigns/index.haml_spec.rb +6 -7
  456. data/spec/views/campaigns/index.js.haml_spec.rb +9 -10
  457. data/spec/views/campaigns/new.js.haml_spec.rb +7 -8
  458. data/spec/views/campaigns/show.haml_spec.rb +12 -13
  459. data/spec/views/campaigns/update.js.haml_spec.rb +16 -16
  460. data/spec/views/comments/edit.js.haml_spec.rb +7 -7
  461. data/spec/views/contacts/_edit.haml_spec.rb +21 -21
  462. data/spec/views/contacts/_new.haml_spec.rb +12 -13
  463. data/spec/views/contacts/create.js.haml_spec.rb +12 -13
  464. data/spec/views/contacts/destroy.js.haml_spec.rb +6 -7
  465. data/spec/views/contacts/edit.js.haml_spec.rb +15 -17
  466. data/spec/views/contacts/index.haml_spec.rb +6 -7
  467. data/spec/views/contacts/index.js.html_spec.rb +7 -8
  468. data/spec/views/contacts/new.js.haml_spec.rb +8 -9
  469. data/spec/views/contacts/show.haml_spec.rb +9 -10
  470. data/spec/views/contacts/update.js.haml_spec.rb +26 -26
  471. data/spec/views/home/index.haml_spec.rb +4 -5
  472. data/spec/views/home/index.js.haml_spec.rb +6 -7
  473. data/spec/views/home/options.js.haml_spec.rb +10 -10
  474. data/spec/views/leads/_convert.haml_spec.rb +5 -6
  475. data/spec/views/leads/_edit.haml_spec.rb +13 -13
  476. data/spec/views/leads/_new.haml_spec.rb +11 -11
  477. data/spec/views/leads/_sidebar_show.haml_spec.rb +9 -9
  478. data/spec/views/leads/convert.js.haml_spec.rb +16 -17
  479. data/spec/views/leads/create.js.haml_spec.rb +16 -17
  480. data/spec/views/leads/destroy.js.haml_spec.rb +10 -11
  481. data/spec/views/leads/edit.js.haml_spec.rb +16 -17
  482. data/spec/views/leads/index.haml_spec.rb +7 -8
  483. data/spec/views/leads/index.js.haml_spec.rb +10 -11
  484. data/spec/views/leads/new.js.haml_spec.rb +8 -9
  485. data/spec/views/leads/promote.js.haml_spec.rb +30 -31
  486. data/spec/views/leads/reject.js.haml_spec.rb +10 -11
  487. data/spec/views/leads/show.haml_spec.rb +7 -8
  488. data/spec/views/leads/update.js.haml_spec.rb +28 -29
  489. data/spec/views/opportunities/_edit.haml_spec.rb +19 -19
  490. data/spec/views/opportunities/_new.haml_spec.rb +10 -10
  491. data/spec/views/opportunities/create.js.haml_spec.rb +19 -20
  492. data/spec/views/opportunities/destroy.js.haml_spec.rb +14 -15
  493. data/spec/views/opportunities/edit.js.haml_spec.rb +14 -16
  494. data/spec/views/opportunities/index.haml_spec.rb +6 -7
  495. data/spec/views/opportunities/index.js.haml_spec.rb +7 -8
  496. data/spec/views/opportunities/new.js.haml_spec.rb +8 -9
  497. data/spec/views/opportunities/show.haml_spec.rb +9 -10
  498. data/spec/views/opportunities/update.js.haml_spec.rb +35 -35
  499. data/spec/views/tasks/_edit.haml_spec.rb +9 -9
  500. data/spec/views/tasks/complete.js.haml_spec.rb +11 -12
  501. data/spec/views/tasks/create.js.haml_spec.rb +29 -31
  502. data/spec/views/tasks/destroy.js.haml_spec.rb +8 -8
  503. data/spec/views/tasks/edit.js.haml_spec.rb +12 -15
  504. data/spec/views/tasks/index.haml_spec.rb +7 -7
  505. data/spec/views/tasks/new.js.haml_spec.rb +7 -8
  506. data/spec/views/tasks/uncomplete.js.haml_spec.rb +6 -6
  507. data/spec/views/tasks/update.js.haml_spec.rb +41 -44
  508. data/spec/views/users/avatar.js.haml_spec.rb +7 -8
  509. data/spec/views/users/change_password.js.haml_spec.rb +9 -10
  510. data/spec/views/users/edit.js.haml_spec.rb +7 -8
  511. data/spec/views/users/password.js.haml_spec.rb +8 -9
  512. data/spec/views/users/update.js.haml_spec.rb +6 -7
  513. data/spec/views/users/upload_avatar.js.haml_spec.rb +9 -9
  514. data/vendor/assets/javascripts/jquery_timeago/index.js +2 -0
  515. data/vendor/assets/javascripts/jquery_timeago/jquery.timeago.es-CL.js +18 -0
  516. data/vendor/assets/javascripts/jquery_timeago/jquery.timeago.nl.js +20 -0
  517. data/vendor/assets/javascripts/jquery_ui_datepicker/jquery-ui-timepicker-es-CL.js +20 -0
  518. data/vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-es-CL.js +23 -0
  519. data/vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-nl.js +21 -0
  520. data/vendor/assets/stylesheets/{jquery-ui.custom.css → jquery-ui.custom.scss} +52 -51
  521. data/vendor/gems/globby-0.1.2/LICENSE.txt +20 -0
  522. data/vendor/gems/globby-0.1.2/README.md +65 -0
  523. data/vendor/gems/globby-0.1.2/Rakefile +9 -0
  524. data/vendor/gems/globby-0.1.2/lib/globby.rb +47 -0
  525. data/vendor/gems/globby-0.1.2/lib/globby/glob.rb +90 -0
  526. data/vendor/gems/globby-0.1.2/lib/globby/globject.rb +18 -0
  527. data/vendor/gems/globby-0.1.2/lib/globby/result.rb +20 -0
  528. data/vendor/gems/globby-0.1.2/spec/gitignore_spec.rb +109 -0
  529. data/vendor/gems/globby-0.1.2/spec/globby_spec.rb +93 -0
  530. metadata +177 -55
  531. data/Gemfile.ci +0 -13
  532. data/config/initializers/sass.rb +0 -18
  533. data/lib/country_select.rb +0 -570
  534. data/lib/fat_free_crm/plugin.rb +0 -94
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_free_crm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.6
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dvorkin
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-02-12 00:00:00.000000000 Z
14
+ date: 2017-01-31 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -19,30 +19,58 @@ dependencies:
19
19
  requirements:
20
20
  - - "~>"
21
21
  - !ruby/object:Gem::Version
22
- version: 3.2.12
22
+ version: 4.2.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 3.2.12
29
+ version: 4.2.0
30
30
  - !ruby/object:Gem::Dependency
31
- name: jquery-rails
31
+ name: rails-observers
32
+ requirement: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ - !ruby/object:Gem::Dependency
45
+ name: sprockets-rails
46
+ requirement: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - '='
49
+ - !ruby/object:Gem::Version
50
+ version: 2.2.2
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - '='
56
+ - !ruby/object:Gem::Version
57
+ version: 2.2.2
58
+ - !ruby/object:Gem::Dependency
59
+ name: responders
32
60
  requirement: !ruby/object:Gem::Requirement
33
61
  requirements:
34
62
  - - "~>"
35
63
  - !ruby/object:Gem::Version
36
- version: 2.1.4
64
+ version: '2.0'
37
65
  type: :runtime
38
66
  prerelease: false
39
67
  version_requirements: !ruby/object:Gem::Requirement
40
68
  requirements:
41
69
  - - "~>"
42
70
  - !ruby/object:Gem::Version
43
- version: 2.1.4
71
+ version: '2.0'
44
72
  - !ruby/object:Gem::Dependency
45
- name: select2-rails
73
+ name: jquery-rails
46
74
  requirement: !ruby/object:Gem::Requirement
47
75
  requirements:
48
76
  - - ">="
@@ -56,19 +84,61 @@ dependencies:
56
84
  - !ruby/object:Gem::Version
57
85
  version: '0'
58
86
  - !ruby/object:Gem::Dependency
59
- name: simple_form
87
+ name: jquery-migrate-rails
88
+ requirement: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ type: :runtime
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ - !ruby/object:Gem::Dependency
101
+ name: jquery-ui-rails
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ - !ruby/object:Gem::Dependency
115
+ name: select2-rails
60
116
  requirement: !ruby/object:Gem::Requirement
61
117
  requirements:
62
118
  - - "~>"
63
119
  - !ruby/object:Gem::Version
64
- version: 2.0.1
120
+ version: 3.5.9.3
65
121
  type: :runtime
66
122
  prerelease: false
67
123
  version_requirements: !ruby/object:Gem::Requirement
68
124
  requirements:
69
125
  - - "~>"
70
126
  - !ruby/object:Gem::Version
71
- version: 2.0.1
127
+ version: 3.5.9.3
128
+ - !ruby/object:Gem::Dependency
129
+ name: simple_form
130
+ requirement: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ type: :runtime
136
+ prerelease: false
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
72
142
  - !ruby/object:Gem::Dependency
73
143
  name: will_paginate
74
144
  requirement: !ruby/object:Gem::Requirement
@@ -115,58 +185,58 @@ dependencies:
115
185
  name: paper_trail
116
186
  requirement: !ruby/object:Gem::Requirement
117
187
  requirements:
118
- - - "~>"
188
+ - - ">="
119
189
  - !ruby/object:Gem::Version
120
- version: 2.7.0
190
+ version: 4.0.0.beta2
121
191
  type: :runtime
122
192
  prerelease: false
123
193
  version_requirements: !ruby/object:Gem::Requirement
124
194
  requirements:
125
- - - "~>"
195
+ - - ">="
126
196
  - !ruby/object:Gem::Version
127
- version: 2.7.0
197
+ version: 4.0.0.beta2
128
198
  - !ruby/object:Gem::Dependency
129
199
  name: authlogic
130
200
  requirement: !ruby/object:Gem::Requirement
131
201
  requirements:
132
- - - '='
202
+ - - ">="
133
203
  - !ruby/object:Gem::Version
134
- version: 3.1.0
204
+ version: 3.4.4
135
205
  type: :runtime
136
206
  prerelease: false
137
207
  version_requirements: !ruby/object:Gem::Requirement
138
208
  requirements:
139
- - - '='
209
+ - - ">="
140
210
  - !ruby/object:Gem::Version
141
- version: 3.1.0
211
+ version: 3.4.4
142
212
  - !ruby/object:Gem::Dependency
143
213
  name: acts_as_commentable
144
214
  requirement: !ruby/object:Gem::Requirement
145
215
  requirements:
146
- - - "~>"
216
+ - - ">="
147
217
  - !ruby/object:Gem::Version
148
- version: 3.0.1
218
+ version: '0'
149
219
  type: :runtime
150
220
  prerelease: false
151
221
  version_requirements: !ruby/object:Gem::Requirement
152
222
  requirements:
153
- - - "~>"
223
+ - - ">="
154
224
  - !ruby/object:Gem::Version
155
- version: 3.0.1
225
+ version: '0'
156
226
  - !ruby/object:Gem::Dependency
157
227
  name: acts-as-taggable-on
158
228
  requirement: !ruby/object:Gem::Requirement
159
229
  requirements:
160
- - - "~>"
230
+ - - ">="
161
231
  - !ruby/object:Gem::Version
162
- version: 2.3.3
232
+ version: 3.4.3
163
233
  type: :runtime
164
234
  prerelease: false
165
235
  version_requirements: !ruby/object:Gem::Requirement
166
236
  requirements:
167
- - - "~>"
237
+ - - ">="
168
238
  - !ruby/object:Gem::Version
169
- version: 2.3.3
239
+ version: 3.4.3
170
240
  - !ruby/object:Gem::Dependency
171
241
  name: dynamic_form
172
242
  requirement: !ruby/object:Gem::Requirement
@@ -213,32 +283,32 @@ dependencies:
213
283
  name: acts_as_list
214
284
  requirement: !ruby/object:Gem::Requirement
215
285
  requirements:
216
- - - "~>"
286
+ - - ">="
217
287
  - !ruby/object:Gem::Version
218
- version: 0.1.4
288
+ version: '0'
219
289
  type: :runtime
220
290
  prerelease: false
221
291
  version_requirements: !ruby/object:Gem::Requirement
222
292
  requirements:
223
- - - "~>"
293
+ - - ">="
224
294
  - !ruby/object:Gem::Version
225
- version: 0.1.4
295
+ version: '0'
226
296
  - !ruby/object:Gem::Dependency
227
297
  name: ffaker
228
298
  requirement: !ruby/object:Gem::Requirement
229
299
  requirements:
230
300
  - - ">="
231
301
  - !ruby/object:Gem::Version
232
- version: 1.12.0
302
+ version: '2'
233
303
  type: :runtime
234
304
  prerelease: false
235
305
  version_requirements: !ruby/object:Gem::Requirement
236
306
  requirements:
237
307
  - - ">="
238
308
  - !ruby/object:Gem::Version
239
- version: 1.12.0
309
+ version: '2'
240
310
  - !ruby/object:Gem::Dependency
241
- name: cancan
311
+ name: cancancan
242
312
  requirement: !ruby/object:Gem::Requirement
243
313
  requirements:
244
314
  - - ">="
@@ -299,14 +369,14 @@ dependencies:
299
369
  requirements:
300
370
  - - ">="
301
371
  - !ruby/object:Gem::Version
302
- version: 1.1.0
372
+ version: '0'
303
373
  type: :runtime
304
374
  prerelease: false
305
375
  version_requirements: !ruby/object:Gem::Requirement
306
376
  requirements:
307
377
  - - ">="
308
378
  - !ruby/object:Gem::Version
309
- version: 1.1.0
379
+ version: '0'
310
380
  - !ruby/object:Gem::Dependency
311
381
  name: rails3-jquery-autocomplete
312
382
  requirement: !ruby/object:Gem::Requirement
@@ -322,7 +392,7 @@ dependencies:
322
392
  - !ruby/object:Gem::Version
323
393
  version: '0'
324
394
  - !ruby/object:Gem::Dependency
325
- name: valium
395
+ name: thor
326
396
  requirement: !ruby/object:Gem::Requirement
327
397
  requirements:
328
398
  - - ">="
@@ -336,7 +406,7 @@ dependencies:
336
406
  - !ruby/object:Gem::Version
337
407
  version: '0'
338
408
  - !ruby/object:Gem::Dependency
339
- name: thor
409
+ name: rails_autolink
340
410
  requirement: !ruby/object:Gem::Requirement
341
411
  requirements:
342
412
  - - ">="
@@ -350,7 +420,21 @@ dependencies:
350
420
  - !ruby/object:Gem::Version
351
421
  version: '0'
352
422
  - !ruby/object:Gem::Dependency
353
- name: rails_autolink
423
+ name: coffee-script-source
424
+ requirement: !ruby/object:Gem::Requirement
425
+ requirements:
426
+ - - "~>"
427
+ - !ruby/object:Gem::Version
428
+ version: 1.8.0
429
+ type: :runtime
430
+ prerelease: false
431
+ version_requirements: !ruby/object:Gem::Requirement
432
+ requirements:
433
+ - - "~>"
434
+ - !ruby/object:Gem::Version
435
+ version: 1.8.0
436
+ - !ruby/object:Gem::Dependency
437
+ name: country_select
354
438
  requirement: !ruby/object:Gem::Requirement
355
439
  requirements:
356
440
  - - ">="
@@ -369,28 +453,28 @@ dependencies:
369
453
  requirements:
370
454
  - - ">="
371
455
  - !ruby/object:Gem::Version
372
- version: 1.1.0
456
+ version: 1.3.1
373
457
  type: :runtime
374
458
  prerelease: false
375
459
  version_requirements: !ruby/object:Gem::Requirement
376
460
  requirements:
377
461
  - - ">="
378
462
  - !ruby/object:Gem::Version
379
- version: 1.1.0
463
+ version: 1.3.1
380
464
  - !ruby/object:Gem::Dependency
381
465
  name: ransack
382
466
  requirement: !ruby/object:Gem::Requirement
383
467
  requirements:
384
- - - '='
468
+ - - "~>"
385
469
  - !ruby/object:Gem::Version
386
- version: 1.1.0
470
+ version: 1.6.2
387
471
  type: :runtime
388
472
  prerelease: false
389
473
  version_requirements: !ruby/object:Gem::Requirement
390
474
  requirements:
391
- - - '='
475
+ - - "~>"
392
476
  - !ruby/object:Gem::Version
393
- version: 1.1.0
477
+ version: 1.6.2
394
478
  - !ruby/object:Gem::Dependency
395
479
  name: email_reply_parser_ffcrm
396
480
  requirement: !ruby/object:Gem::Requirement
@@ -416,7 +500,7 @@ extensions: []
416
500
  extra_rdoc_files: []
417
501
  files:
418
502
  - ".gitignore"
419
- - ".rspec"
503
+ - ".rubocop.yml"
420
504
  - ".teatro.yml"
421
505
  - ".travis.yml"
422
506
  - CHANGELOG
@@ -424,7 +508,6 @@ files:
424
508
  - Capfile
425
509
  - Dockerfile
426
510
  - Gemfile
427
- - Gemfile.ci
428
511
  - Gemfile.lock
429
512
  - Guardfile
430
513
  - MIT-LICENSE
@@ -462,6 +545,7 @@ files:
462
545
  - app/assets/javascripts/pagination.js.coffee
463
546
  - app/assets/javascripts/search.js.coffee
464
547
  - app/assets/javascripts/timeago.js.coffee
548
+ - app/assets/stylesheets/about.css.scss
465
549
  - app/assets/stylesheets/admin/fields.css.scss
466
550
  - app/assets/stylesheets/advanced_search.css.scss
467
551
  - app/assets/stylesheets/application.css.erb
@@ -519,6 +603,7 @@ files:
519
603
  - app/helpers/fields_helper.rb
520
604
  - app/helpers/groups_helper.rb
521
605
  - app/helpers/home_helper.rb
606
+ - app/helpers/javascript_helper.rb
522
607
  - app/helpers/leads_helper.rb
523
608
  - app/helpers/lists_helper.rb
524
609
  - app/helpers/opportunities_helper.rb
@@ -562,6 +647,7 @@ files:
562
647
  - app/models/polymorphic/tag.rb
563
648
  - app/models/polymorphic/tagging.rb
564
649
  - app/models/polymorphic/task.rb
650
+ - app/models/polymorphic/version.rb
565
651
  - app/models/setting.rb
566
652
  - app/models/users/ability.rb
567
653
  - app/models/users/authentication.rb
@@ -895,6 +981,9 @@ files:
895
981
  - app/views/versions/_version.html.haml
896
982
  - app/views/versions/_version_item.html.haml
897
983
  - app/views/versions/_versions.html.haml
984
+ - bin/bundle
985
+ - bin/rails
986
+ - bin/rake
898
987
  - config.ru
899
988
  - config/application.rb
900
989
  - config/boot.rb
@@ -910,20 +999,25 @@ files:
910
999
  - config/environments/staging.rb
911
1000
  - config/environments/test.rb
912
1001
  - config/initializers/action_mailer.rb
1002
+ - config/initializers/assets.rb
913
1003
  - config/initializers/authlogic.rb
1004
+ - config/initializers/backtrace_silencers.rb
914
1005
  - config/initializers/constants.rb
1006
+ - config/initializers/cookies_serializer.rb
915
1007
  - config/initializers/custom_field_ransack_translations.rb
1008
+ - config/initializers/filter_parameter_logging.rb
916
1009
  - config/initializers/gravatar.rb
1010
+ - config/initializers/inflections.rb
917
1011
  - config/initializers/locale.rb
918
1012
  - config/initializers/mime_types.rb
919
1013
  - config/initializers/paginate_arrays.rb
920
- - config/initializers/paper_trail.rb
921
1014
  - config/initializers/ransack.rb
922
1015
  - config/initializers/relative_url_root.rb
923
- - config/initializers/sass.rb
924
1016
  - config/initializers/secret_token.rb
1017
+ - config/initializers/session_store.rb
925
1018
  - config/initializers/simple_form.rb
926
1019
  - config/initializers/views.rb
1020
+ - config/initializers/wrap_parameters.rb
927
1021
  - config/locales/cz.yml
928
1022
  - config/locales/cz_fat_free_crm.yml
929
1023
  - config/locales/de.yml
@@ -935,8 +1029,13 @@ files:
935
1029
  - config/locales/en-US.yml
936
1030
  - config/locales/en-US_fat_free_crm.yml
937
1031
  - config/locales/en-US_ransack.yml
1032
+ - config/locales/en.yml
1033
+ - config/locales/es-CL.yml
1034
+ - config/locales/es-CL_fat_free_crm.yml
1035
+ - config/locales/es-CL_ransack.yml
938
1036
  - config/locales/es.yml
939
1037
  - config/locales/es_fat_free_crm.yml
1038
+ - config/locales/es_ransack.yml
940
1039
  - config/locales/fr-CA.yml
941
1040
  - config/locales/fr-CA_fat_free_crm.yml
942
1041
  - config/locales/fr.yml
@@ -946,6 +1045,9 @@ files:
946
1045
  - config/locales/ja.yml
947
1046
  - config/locales/ja_fat_free_crm.yml
948
1047
  - config/locales/ja_ransack.yml
1048
+ - config/locales/nl.yml
1049
+ - config/locales/nl_fat_free_crm.yml
1050
+ - config/locales/nl_ransack.yml
949
1051
  - config/locales/pl.yml
950
1052
  - config/locales/pl_fat_free_crm.yml
951
1053
  - config/locales/pt-BR.yml
@@ -1041,12 +1143,19 @@ files:
1041
1143
  - db/migrate/20140916011927_add_created_at_index_on_versions.rb
1042
1144
  - db/migrate/20140916012922_add_indexes_to_model_associations.rb
1043
1145
  - db/migrate/20141126031837_increase_email_to254_chars.rb
1146
+ - db/migrate/20141230021159_add_transaction_id_column_to_versions.rb
1147
+ - db/migrate/20141230205453_add_missing_unique_indices.acts_as_taggable_on_engine.rb
1148
+ - db/migrate/20141230205454_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb
1149
+ - db/migrate/20141230205455_add_missing_taggable_index.acts_as_taggable_on_engine.rb
1150
+ - db/migrate/20150123060900_convert_radio_to_radio_buttons.rb
1151
+ - db/migrate/20150227123054_remove_last_request_at_from_users.rb
1152
+ - db/migrate/20150427131956_create_index_related_type.rb
1153
+ - db/migrate/20160511053730_add_account_contacts_index.rb
1044
1154
  - db/schema.rb
1045
1155
  - db/seeds.rb
1046
1156
  - db/seeds/fields.rb
1157
+ - docker-compose.yml
1047
1158
  - fat_free_crm.gemspec
1048
- - fig.yml
1049
- - lib/country_select.rb
1050
1159
  - lib/development_tasks/gem.rake
1051
1160
  - lib/development_tasks/license.rake
1052
1161
  - lib/development_tasks/rdoc.rake
@@ -1078,7 +1187,6 @@ files:
1078
1187
  - lib/fat_free_crm/mail_processor/comment_replies.rb
1079
1188
  - lib/fat_free_crm/mail_processor/dropbox.rb
1080
1189
  - lib/fat_free_crm/permissions.rb
1081
- - lib/fat_free_crm/plugin.rb
1082
1190
  - lib/fat_free_crm/renderers.rb
1083
1191
  - lib/fat_free_crm/secret_token_generator.rb
1084
1192
  - lib/fat_free_crm/sortable.rb
@@ -1349,12 +1457,14 @@ files:
1349
1457
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.de.js
1350
1458
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.en-GB.js
1351
1459
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.en-US.js
1460
+ - vendor/assets/javascripts/jquery_timeago/jquery.timeago.es-CL.js
1352
1461
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.es.js
1353
1462
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.fr-CA.js
1354
1463
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.fr.js
1355
1464
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.it.js
1356
1465
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.ja.js
1357
1466
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.js
1467
+ - vendor/assets/javascripts/jquery_timeago/jquery.timeago.nl.js
1358
1468
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.pl.js
1359
1469
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.pt-BR.js
1360
1470
  - vendor/assets/javascripts/jquery_timeago/jquery.timeago.ru.js
@@ -1367,6 +1477,7 @@ files:
1367
1477
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery-ui-timepicker-cz.js
1368
1478
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery-ui-timepicker-de.js
1369
1479
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery-ui-timepicker-el.js
1480
+ - vendor/assets/javascripts/jquery_ui_datepicker/jquery-ui-timepicker-es-CL.js
1370
1481
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery-ui-timepicker-es.js
1371
1482
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery-ui-timepicker-et.js
1372
1483
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery-ui-timepicker-fi.js
@@ -1397,11 +1508,13 @@ files:
1397
1508
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-cz.js
1398
1509
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-de.js
1399
1510
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-en-GB.js
1511
+ - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-es-CL.js
1400
1512
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-es.js
1401
1513
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-fr-CA.js
1402
1514
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-fr.js
1403
1515
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-it.js
1404
1516
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-ja.js
1517
+ - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-nl.js
1405
1518
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-pl.js
1406
1519
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-pt-BR.js
1407
1520
  - vendor/assets/javascripts/jquery_ui_datepicker/jquery.ui.datepicker-pt.js
@@ -1414,8 +1527,17 @@ files:
1414
1527
  - vendor/assets/javascripts/rating.js
1415
1528
  - vendor/assets/javascripts/textarea_autocomplete.js
1416
1529
  - vendor/assets/stylesheets/chosen.css.sass
1417
- - vendor/assets/stylesheets/jquery-ui.custom.css
1530
+ - vendor/assets/stylesheets/jquery-ui.custom.scss
1418
1531
  - vendor/assets/stylesheets/modalbox.css
1532
+ - vendor/gems/globby-0.1.2/LICENSE.txt
1533
+ - vendor/gems/globby-0.1.2/README.md
1534
+ - vendor/gems/globby-0.1.2/Rakefile
1535
+ - vendor/gems/globby-0.1.2/lib/globby.rb
1536
+ - vendor/gems/globby-0.1.2/lib/globby/glob.rb
1537
+ - vendor/gems/globby-0.1.2/lib/globby/globject.rb
1538
+ - vendor/gems/globby-0.1.2/lib/globby/result.rb
1539
+ - vendor/gems/globby-0.1.2/spec/gitignore_spec.rb
1540
+ - vendor/gems/globby-0.1.2/spec/globby_spec.rb
1419
1541
  - zeus.json
1420
1542
  homepage: http://fatfreecrm.com
1421
1543
  licenses:
@@ -1429,7 +1551,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1429
1551
  requirements:
1430
1552
  - - ">="
1431
1553
  - !ruby/object:Gem::Version
1432
- version: '1.9'
1554
+ version: 2.0.0
1433
1555
  required_rubygems_version: !ruby/object:Gem::Requirement
1434
1556
  requirements:
1435
1557
  - - ">="
@@ -1437,7 +1559,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1437
1559
  version: '0'
1438
1560
  requirements: []
1439
1561
  rubyforge_project:
1440
- rubygems_version: 2.4.3
1562
+ rubygems_version: 2.5.1
1441
1563
  signing_key:
1442
1564
  specification_version: 4
1443
1565
  summary: Fat Free CRM