fat_free_crm 0.17.3 → 0.19.2

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 (329) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/.rubocop_todo.yml +71 -148
  4. data/.travis.yml +35 -14
  5. data/CHANGELOG.md +92 -6
  6. data/CONTRIBUTORS.md +96 -53
  7. data/Dockerfile +45 -14
  8. data/Gemfile +23 -13
  9. data/Gemfile.lock +256 -248
  10. data/Procfile +1 -1
  11. data/README.md +9 -6
  12. data/Rakefile +1 -1
  13. data/app/assets/javascripts/crm.js.coffee +3 -3
  14. data/app/assets/javascripts/crm_select2.js.coffee +15 -14
  15. data/app/assets/stylesheets/common.scss +1 -1
  16. data/app/controllers/admin/application_controller.rb +1 -1
  17. data/app/controllers/admin/field_groups_controller.rb +9 -4
  18. data/app/controllers/admin/fields_controller.rb +4 -4
  19. data/app/controllers/admin/groups_controller.rb +1 -1
  20. data/app/controllers/admin/tags_controller.rb +2 -4
  21. data/app/controllers/admin/users_controller.rb +5 -8
  22. data/app/controllers/application_controller.rb +22 -45
  23. data/app/controllers/comments_controller.rb +16 -11
  24. data/{config/initializers/authlogic.rb → app/controllers/confirmations_controller.rb} +4 -2
  25. data/app/controllers/emails_controller.rb +0 -2
  26. data/app/controllers/entities/accounts_controller.rb +1 -3
  27. data/app/controllers/entities/campaigns_controller.rb +8 -5
  28. data/app/controllers/entities/contacts_controller.rb +4 -24
  29. data/app/controllers/entities/leads_controller.rb +16 -12
  30. data/app/controllers/entities/opportunities_controller.rb +17 -16
  31. data/app/controllers/entities_controller.rb +31 -12
  32. data/app/controllers/home_controller.rb +2 -4
  33. data/app/controllers/lists_controller.rb +5 -1
  34. data/app/controllers/passwords_controller.rb +3 -59
  35. data/{spec/features/support/maintain_sessions.rb → app/controllers/registrations_controller.rb} +12 -5
  36. data/{lib/development_tasks/gem.rake → app/controllers/sessions_controller.rb} +6 -6
  37. data/app/controllers/tasks_controller.rb +22 -17
  38. data/app/controllers/users_controller.rb +8 -29
  39. data/app/helpers/accounts_helper.rb +1 -1
  40. data/app/helpers/admin/users_helper.rb +1 -1
  41. data/app/helpers/application_helper.rb +28 -33
  42. data/app/helpers/campaigns_helper.rb +1 -1
  43. data/app/helpers/contacts_helper.rb +1 -3
  44. data/app/helpers/leads_helper.rb +1 -1
  45. data/app/helpers/opportunities_helper.rb +48 -3
  46. data/app/helpers/tasks_helper.rb +1 -1
  47. data/app/helpers/users_helper.rb +1 -3
  48. data/{config/initializers/paper_trail.rb → app/mailers/devise_mailer.rb} +5 -1
  49. data/app/mailers/user_mailer.rb +0 -9
  50. data/app/models/entities/account.rb +10 -10
  51. data/app/models/entities/campaign.rb +4 -6
  52. data/app/models/entities/contact.rb +24 -12
  53. data/app/models/entities/lead.rb +7 -14
  54. data/app/models/entities/opportunity.rb +10 -11
  55. data/app/models/fields/custom_field.rb +1 -0
  56. data/app/models/fields/custom_field_date_pair.rb +2 -0
  57. data/app/models/fields/field.rb +1 -3
  58. data/app/models/list.rb +1 -1
  59. data/app/models/observers/entity_observer.rb +3 -7
  60. data/app/models/observers/lead_observer.rb +2 -4
  61. data/app/models/observers/opportunity_observer.rb +5 -7
  62. data/app/models/observers/task_observer.rb +1 -1
  63. data/app/models/polymorphic/email.rb +2 -2
  64. data/app/models/polymorphic/task.rb +13 -9
  65. data/app/models/polymorphic/version.rb +3 -2
  66. data/app/models/setting.rb +2 -0
  67. data/app/models/users/ability.rb +3 -4
  68. data/app/models/users/permission.rb +3 -3
  69. data/app/models/users/preference.rb +2 -1
  70. data/app/models/users/user.rb +67 -42
  71. data/app/views/accounts/_top_section.html.haml +1 -1
  72. data/app/views/accounts/edit.js.haml +1 -1
  73. data/app/views/accounts/update.js.haml +2 -2
  74. data/app/views/admin/users/_user.html.haml +4 -4
  75. data/app/views/campaigns/_metrics.html.haml +3 -3
  76. data/app/views/contacts/_index_brief.html.haml +1 -1
  77. data/app/views/contacts/_index_full.html.haml +1 -1
  78. data/app/views/contacts/_index_long.html.haml +1 -1
  79. data/app/views/devise/confirmations/new.html.haml +9 -0
  80. data/app/views/devise/mailer/confirmation_instructions.html.haml +4 -0
  81. data/app/views/devise/mailer/password_change.html.haml +3 -0
  82. data/app/views/devise/mailer/reset_password_instructions.html.haml +6 -0
  83. data/app/views/devise/passwords/edit.html.haml +18 -0
  84. data/app/views/devise/passwords/new.html.haml +10 -0
  85. data/app/views/devise/registrations/new.html.haml +21 -0
  86. data/app/views/devise/sessions/new.html.haml +32 -0
  87. data/app/views/home/_opportunity.html.haml +4 -19
  88. data/app/views/layouts/_about.html.haml +5 -5
  89. data/app/views/layouts/_header.html.haml +3 -3
  90. data/app/views/layouts/admin/_header.html.haml +1 -1
  91. data/app/views/opportunities/_index_long.html.haml +1 -24
  92. data/app/views/opportunities/_sidebar_show.html.haml +3 -3
  93. data/app/views/opportunities/_top_section.html.haml +1 -1
  94. data/app/views/shared/_address.html.haml +5 -5
  95. data/app/views/shared/_empty.html.haml +1 -1
  96. data/app/views/shared/_paginate_with_per_page.html.haml +1 -0
  97. data/app/views/users/_avatar.html.haml +1 -1
  98. data/bin/bundle +1 -1
  99. data/bin/rails +1 -1
  100. data/bin/setup +38 -0
  101. data/bin/update +33 -0
  102. data/bin/yarn +13 -0
  103. data/config/application.rb +8 -6
  104. data/config/boot.rb +1 -1
  105. data/config/brakeman.ignore +2 -2
  106. data/config/database.postgres.docker.yml +5 -5
  107. data/config/environment.rb +1 -1
  108. data/config/environments/development.rb +1 -0
  109. data/config/environments/test.rb +7 -0
  110. data/config/initializers/action_mailer.rb +1 -3
  111. data/config/initializers/application_controller_renderer.rb +9 -0
  112. data/config/initializers/assets.rb +6 -11
  113. data/config/initializers/backtrace_silencers.rb +0 -6
  114. data/config/initializers/content_security_policy.rb +26 -0
  115. data/config/initializers/cookies_serializer.rb +3 -6
  116. data/config/initializers/devise.rb +289 -0
  117. data/config/initializers/filter_parameter_logging.rb +0 -5
  118. data/config/initializers/gravatar.rb +0 -1
  119. data/config/initializers/inflections.rb +0 -6
  120. data/config/initializers/mime_types.rb +1 -9
  121. data/config/initializers/new_framework_defaults_5_2.rb +40 -0
  122. data/config/initializers/relative_url_root.rb +1 -3
  123. data/config/initializers/session_store.rb +1 -3
  124. data/config/initializers/wrap_parameters.rb +4 -9
  125. data/config/locales/fat_free_crm.en-GB.yml +5 -5
  126. data/config/locales/fat_free_crm.en-US.yml +5 -5
  127. data/config/locales/fat_free_crm.fr.yml +1 -1
  128. data/config/locales/fat_free_crm.ru.yml +1 -0
  129. data/config/routes.rb +20 -9
  130. data/db/demo/users.yml +62 -81
  131. data/db/migrate/20100928030620_remove_uuid.rb +1 -2
  132. data/db/migrate/20120316045804_activities_to_versions.rb +1 -0
  133. data/db/migrate/20120510025219_add_not_null_constraints_for_timestamp_columns.rb +1 -0
  134. data/db/migrate/20180107082701_authlogic_to_devise.rb +58 -0
  135. data/db/schema.rb +48 -46
  136. data/docker-compose.yml +10 -0
  137. data/fat_free_crm.gemspec +12 -14
  138. data/lib/development_tasks/license.rake +2 -2
  139. data/lib/fat_free_crm/callback.rb +2 -2
  140. data/lib/fat_free_crm/comment_extensions.rb +2 -4
  141. data/lib/fat_free_crm/core_ext/string.rb +1 -1
  142. data/lib/fat_free_crm/engine.rb +2 -2
  143. data/lib/fat_free_crm/errors.rb +1 -1
  144. data/lib/fat_free_crm/export_csv.rb +1 -0
  145. data/lib/fat_free_crm/exportable.rb +1 -1
  146. data/lib/fat_free_crm/fields.rb +2 -2
  147. data/lib/fat_free_crm/gem_dependencies.rb +1 -1
  148. data/lib/fat_free_crm/gem_ext/simple_form/action_view_extensions/form_helper.rb +1 -3
  149. data/lib/fat_free_crm/i18n.rb +2 -2
  150. data/lib/fat_free_crm/mail_processor/base.rb +4 -10
  151. data/lib/fat_free_crm/mail_processor/dropbox.rb +5 -15
  152. data/lib/fat_free_crm/permissions.rb +7 -18
  153. data/lib/fat_free_crm/sortable.rb +1 -1
  154. data/lib/fat_free_crm/tabs.rb +2 -2
  155. data/lib/fat_free_crm/version.rb +2 -2
  156. data/lib/gravatar_image_tag.rb +7 -8
  157. data/lib/missing_translation_detector.rb +1 -0
  158. data/lib/tasks/ffcrm/missing_translations.rake +1 -0
  159. data/lib/tasks/ffcrm/setup.rake +13 -4
  160. data/lib/tasks/ffcrm/update_data.rake +2 -2
  161. data/script/rails +2 -2
  162. data/spec/controllers/admin/users_controller_spec.rb +25 -81
  163. data/spec/controllers/comments_controller_spec.rb +19 -19
  164. data/spec/controllers/emails_controller_spec.rb +2 -2
  165. data/spec/controllers/entities/accounts_controller_spec.rb +56 -56
  166. data/spec/controllers/entities/campaigns_controller_spec.rb +66 -66
  167. data/spec/controllers/entities/contacts_controller_spec.rb +69 -68
  168. data/spec/controllers/entities/leads_controller_spec.rb +126 -126
  169. data/spec/controllers/entities/opportunities_controller_spec.rb +101 -101
  170. data/spec/controllers/entities_controller_spec.rb +5 -0
  171. data/spec/controllers/home_controller_spec.rb +30 -30
  172. data/spec/controllers/tasks_controller_spec.rb +42 -40
  173. data/spec/controllers/users_controller_spec.rb +43 -113
  174. data/spec/factories/account_factories.rb +13 -13
  175. data/spec/factories/campaign_factories.rb +8 -8
  176. data/spec/factories/contact_factories.rb +18 -18
  177. data/spec/factories/field_factories.rb +11 -10
  178. data/spec/factories/lead_factories.rb +13 -13
  179. data/spec/factories/list_factories.rb +3 -3
  180. data/spec/factories/opportunity_factories.rb +9 -9
  181. data/spec/factories/sequences.rb +1 -1
  182. data/spec/factories/setting_factories.rb +5 -5
  183. data/spec/factories/shared_factories.rb +25 -23
  184. data/spec/factories/subscription_factories.rb +1 -1
  185. data/spec/factories/tag_factories.rb +1 -1
  186. data/spec/factories/task_factories.rb +11 -11
  187. data/spec/factories/user_factories.rb +27 -30
  188. data/spec/features/accounts_spec.rb +17 -4
  189. data/spec/features/admin/groups_spec.rb +2 -2
  190. data/spec/features/admin/users_spec.rb +4 -2
  191. data/spec/features/campaigns_spec.rb +5 -5
  192. data/spec/features/contacts_spec.rb +11 -5
  193. data/spec/features/dashboard_spec.rb +8 -8
  194. data/spec/features/devise/sign_in_spec.rb +58 -0
  195. data/spec/features/devise/sign_up_spec.rb +36 -0
  196. data/spec/features/leads_spec.rb +5 -5
  197. data/spec/features/opportunities_overview_spec.rb +16 -16
  198. data/spec/features/opportunities_spec.rb +35 -9
  199. data/spec/features/support/autocomlete_helper.rb +17 -0
  200. data/spec/features/support/browser.rb +5 -9
  201. data/spec/features/tasks_spec.rb +5 -5
  202. data/spec/helpers/admin/field_groups_helper_spec.rb +1 -1
  203. data/spec/helpers/application_helper_spec.rb +1 -1
  204. data/spec/helpers/tasks_helper_spec.rb +1 -1
  205. data/spec/helpers/users_helper_spec.rb +7 -7
  206. data/spec/lib/comment_extensions_spec.rb +11 -5
  207. data/spec/lib/errors_spec.rb +2 -2
  208. data/spec/lib/mail_processor/base_spec.rb +3 -3
  209. data/spec/lib/mail_processor/comment_replies_spec.rb +3 -3
  210. data/spec/lib/mail_processor/dropbox_spec.rb +17 -17
  211. data/spec/lib/mail_processor/sample_emails/dropbox.rb +8 -8
  212. data/spec/lib/permissions_spec.rb +15 -28
  213. data/spec/mailers/devise_mailer_spec.rb +35 -0
  214. data/spec/mailers/user_mailer_spec.rb +6 -32
  215. data/spec/models/entities/account_spec.rb +58 -32
  216. data/spec/models/entities/campaign_spec.rb +18 -25
  217. data/spec/models/entities/contact_spec.rb +113 -21
  218. data/spec/models/entities/lead_spec.rb +9 -11
  219. data/spec/models/entities/opportunity_spec.rb +45 -45
  220. data/spec/models/fields/custom_field_date_pair_spec.rb +4 -2
  221. data/spec/models/fields/custom_field_spec.rb +21 -19
  222. data/spec/models/list_spec.rb +2 -2
  223. data/spec/models/observers/entity_observer_spec.rb +7 -7
  224. data/spec/models/polymorphic/address_spec.rb +1 -1
  225. data/spec/models/polymorphic/avatar_spec.rb +5 -5
  226. data/spec/models/polymorphic/comment_spec.rb +5 -5
  227. data/spec/models/polymorphic/task_spec.rb +65 -58
  228. data/spec/models/polymorphic/version_spec.rb +31 -31
  229. data/spec/models/setting_spec.rb +2 -2
  230. data/spec/models/users/preference_spec.rb +6 -6
  231. data/spec/models/users/user_spec.rb +46 -50
  232. data/spec/routing/users_routing_spec.rb +30 -8
  233. data/spec/shared/controllers.rb +3 -9
  234. data/spec/shared/models.rb +22 -22
  235. data/spec/spec_helper.rb +12 -4
  236. data/spec/support/assert_select.rb +1 -0
  237. data/spec/support/devise_helpers.rb +28 -0
  238. data/spec/{features/support/helpers.rb → support/feature_helpers.rb} +11 -11
  239. data/spec/support/macros.rb +7 -4
  240. data/spec/views/accounts/_edit.haml_spec.rb +1 -1
  241. data/spec/views/accounts/create.js.haml_spec.rb +3 -3
  242. data/spec/views/accounts/destroy.js.haml_spec.rb +1 -1
  243. data/spec/views/accounts/edit.js.haml_spec.rb +2 -2
  244. data/spec/views/accounts/index.haml_spec.rb +2 -2
  245. data/spec/views/accounts/index.js.haml_spec.rb +1 -1
  246. data/spec/views/accounts/show.haml_spec.rb +4 -4
  247. data/spec/views/accounts/update.js.haml_spec.rb +1 -1
  248. data/spec/views/admin/field_groups/create.js.haml_spec.rb +1 -1
  249. data/spec/views/admin/field_groups/destroy.js.haml_spec.rb +1 -1
  250. data/spec/views/admin/field_groups/edit.js.haml_spec.rb +1 -1
  251. data/spec/views/admin/field_groups/new.js.haml_spec.rb +1 -1
  252. data/spec/views/admin/field_groups/update.js.haml_spec.rb +1 -1
  253. data/spec/views/admin/users/create.js.haml_spec.rb +2 -2
  254. data/spec/views/admin/users/destroy.js.haml_spec.rb +2 -2
  255. data/spec/views/admin/users/edit.js.haml_spec.rb +2 -2
  256. data/spec/views/admin/users/index.haml_spec.rb +1 -1
  257. data/spec/views/admin/users/index.js.haml_spec.rb +2 -2
  258. data/spec/views/admin/users/reactivate.js.haml_spec.rb +1 -1
  259. data/spec/views/admin/users/suspend.js.haml_spec.rb +1 -1
  260. data/spec/views/admin/users/update.js.haml_spec.rb +1 -1
  261. data/spec/views/application/auto_complete.haml_spec.rb +3 -3
  262. data/spec/views/campaigns/_edit.haml_spec.rb +1 -1
  263. data/spec/views/campaigns/create.js.haml_spec.rb +4 -4
  264. data/spec/views/campaigns/destroy.js.haml_spec.rb +1 -1
  265. data/spec/views/campaigns/edit.js.haml_spec.rb +4 -4
  266. data/spec/views/campaigns/index.haml_spec.rb +1 -1
  267. data/spec/views/campaigns/index.js.haml_spec.rb +2 -2
  268. data/spec/views/campaigns/show.haml_spec.rb +4 -4
  269. data/spec/views/campaigns/update.js.haml_spec.rb +2 -2
  270. data/spec/views/contacts/_edit.haml_spec.rb +7 -7
  271. data/spec/views/contacts/_new.haml_spec.rb +1 -1
  272. data/spec/views/contacts/create.js.haml_spec.rb +5 -5
  273. data/spec/views/contacts/destroy.js.haml_spec.rb +1 -1
  274. data/spec/views/contacts/edit.js.haml_spec.rb +4 -4
  275. data/spec/views/contacts/index.haml_spec.rb +1 -1
  276. data/spec/views/contacts/index.js.html_spec.rb +2 -2
  277. data/spec/views/contacts/new.js.haml_spec.rb +1 -1
  278. data/spec/views/contacts/show.haml_spec.rb +3 -3
  279. data/spec/views/contacts/update.js.haml_spec.rb +5 -5
  280. data/spec/views/home/index.haml_spec.rb +1 -1
  281. data/spec/views/home/index.js.haml_spec.rb +1 -1
  282. data/spec/views/home/options.js.haml_spec.rb +2 -2
  283. data/spec/views/leads/_convert.haml_spec.rb +3 -3
  284. data/spec/views/leads/_edit.haml_spec.rb +2 -2
  285. data/spec/views/leads/_new.haml_spec.rb +2 -2
  286. data/spec/views/leads/_sidebar_show.haml_spec.rb +5 -5
  287. data/spec/views/leads/convert.js.haml_spec.rb +4 -4
  288. data/spec/views/leads/create.js.haml_spec.rb +5 -5
  289. data/spec/views/leads/destroy.js.haml_spec.rb +2 -2
  290. data/spec/views/leads/edit.js.haml_spec.rb +4 -4
  291. data/spec/views/leads/index.haml_spec.rb +1 -1
  292. data/spec/views/leads/index.js.haml_spec.rb +1 -1
  293. data/spec/views/leads/new.js.haml_spec.rb +1 -1
  294. data/spec/views/leads/promote.js.haml_spec.rb +7 -7
  295. data/spec/views/leads/reject.js.haml_spec.rb +2 -2
  296. data/spec/views/leads/show.haml_spec.rb +2 -2
  297. data/spec/views/leads/update.js.haml_spec.rb +4 -4
  298. data/spec/views/opportunities/_edit.haml_spec.rb +7 -7
  299. data/spec/views/opportunities/_new.haml_spec.rb +2 -2
  300. data/spec/views/opportunities/create.js.haml_spec.rb +6 -6
  301. data/spec/views/opportunities/destroy.js.haml_spec.rb +3 -3
  302. data/spec/views/opportunities/edit.js.haml_spec.rb +3 -3
  303. data/spec/views/opportunities/index.haml_spec.rb +1 -1
  304. data/spec/views/opportunities/index.js.haml_spec.rb +1 -1
  305. data/spec/views/opportunities/new.js.haml_spec.rb +1 -1
  306. data/spec/views/opportunities/show.haml_spec.rb +3 -3
  307. data/spec/views/opportunities/update.js.haml_spec.rb +5 -5
  308. data/spec/views/tasks/_edit.haml_spec.rb +1 -1
  309. data/spec/views/tasks/complete.js.haml_spec.rb +4 -4
  310. data/spec/views/tasks/create.js.haml_spec.rb +6 -6
  311. data/spec/views/tasks/destroy.js.haml_spec.rb +2 -2
  312. data/spec/views/tasks/index.haml_spec.rb +4 -4
  313. data/spec/views/tasks/new.js.haml_spec.rb +1 -1
  314. data/spec/views/tasks/uncomplete.js.haml_spec.rb +2 -2
  315. data/spec/views/tasks/update.js.haml_spec.rb +18 -18
  316. data/spec/views/users/upload_avatar.js.haml_spec.rb +2 -2
  317. metadata +49 -71
  318. data/app/controllers/authentications_controller.rb +0 -53
  319. data/app/models/users/authentication.rb +0 -56
  320. data/app/views/authentications/new.html.haml +0 -19
  321. data/app/views/passwords/edit.html.haml +0 -15
  322. data/app/views/passwords/new.html.haml +0 -10
  323. data/app/views/user_mailer/password_reset_instructions.html.haml +0 -6
  324. data/app/views/users/new.html.haml +0 -19
  325. data/spec/controllers/authentications_controller_spec.rb +0 -150
  326. data/spec/controllers/passwords_controller_spec.rb +0 -32
  327. data/spec/models/users/authentication_spec.rb +0 -19
  328. data/spec/support/auth_macros.rb +0 -49
  329. data/spec/views/authentications/new.haml_spec.rb +0 -31
@@ -11,9 +11,9 @@ describe "/opportunities/update" do
11
11
  before do
12
12
  login
13
13
 
14
- assign(:opportunity, @opportunity = FactoryGirl.build_stubbed(:opportunity, user: current_user, assignee: FactoryGirl.build_stubbed(:user)))
14
+ assign(:opportunity, @opportunity = build_stubbed(:opportunity, user: current_user, assignee: build_stubbed(:user)))
15
15
  assign(:users, [current_user])
16
- assign(:account, @account = FactoryGirl.build_stubbed(:account))
16
+ assign(:account, @account = build_stubbed(:account))
17
17
  assign(:accounts, [@account])
18
18
  assign(:stage, Setting.unroll(:opportunity_stage))
19
19
  assign(:opportunity_stage_total, Hash.new(1))
@@ -62,7 +62,7 @@ describe "/opportunities/update" do
62
62
 
63
63
  describe "on related asset page -" do
64
64
  it "should update account sidebar" do
65
- assign(:account, account = FactoryGirl.build_stubbed(:account))
65
+ assign(:account, account = build_stubbed(:account))
66
66
  controller.request.env["HTTP_REFERER"] = "http://localhost/accounts/#{account.id}"
67
67
  render
68
68
 
@@ -72,7 +72,7 @@ describe "/opportunities/update" do
72
72
  end
73
73
 
74
74
  it "should update campaign sidebar" do
75
- assign(:campaign, campaign = FactoryGirl.build_stubbed(:campaign))
75
+ assign(:campaign, campaign = build_stubbed(:campaign))
76
76
  controller.request.env["HTTP_REFERER"] = "http://localhost/campaigns/#{campaign.id}"
77
77
  render
78
78
 
@@ -137,7 +137,7 @@ describe "/opportunities/update" do
137
137
 
138
138
  it "should show disabled accounts dropdown when called from accounts landing page" do
139
139
  render
140
- expect(rendered).to include("crm.create_or_select_account(#{@referer =~ /\/accounts\//})")
140
+ expect(rendered).to include("crm.create_or_select_account(#{@referer =~ %r{/accounts/}})")
141
141
  end
142
142
 
143
143
  it "should redraw the [edit_opportunity] form and shake it" do
@@ -12,7 +12,7 @@ describe "/tasks/_edit" do
12
12
 
13
13
  before do
14
14
  login
15
- assign(:task, FactoryGirl.build_stubbed(:task, asset: FactoryGirl.build_stubbed(:account), bucket: "due_asap"))
15
+ assign(:task, build_stubbed(:task, asset: build_stubbed(:account), bucket: "due_asap"))
16
16
  assign(:users, [current_user])
17
17
  assign(:bucket, %w[due_asap due_today])
18
18
  assign(:category, %w[meeting money])
@@ -17,7 +17,7 @@ describe "/tasks/complete" do
17
17
 
18
18
  describe "complete from Tasks tab (pending view)" do
19
19
  before do
20
- @task = FactoryGirl.build_stubbed(:task)
20
+ @task = build_stubbed(:task)
21
21
  assign(:task, @task)
22
22
  assign(:view, "pending")
23
23
  assign(:empty_bucket, :due_asap)
@@ -33,7 +33,7 @@ describe "/tasks/complete" do
33
33
  end
34
34
 
35
35
  it "should update tasks sidebar" do
36
- assign(:task, FactoryGirl.build_stubbed(:task))
36
+ assign(:task, build_stubbed(:task))
37
37
  assign(:view, "pending")
38
38
  assign(:empty_bucket, :due_asap)
39
39
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks"
@@ -48,7 +48,7 @@ describe "/tasks/complete" do
48
48
 
49
49
  describe "complete from related asset" do
50
50
  it "should replace pending partial with the completed one" do
51
- @task = FactoryGirl.build_stubbed(:task, completed_at: Time.now, completor: current_user)
51
+ @task = build_stubbed(:task, completed_at: Time.now, completor: current_user)
52
52
  assign(:task, @task)
53
53
 
54
54
  render
@@ -57,7 +57,7 @@ describe "/tasks/complete" do
57
57
  end
58
58
 
59
59
  it "should update recently viewed items" do
60
- @task = FactoryGirl.build_stubbed(:task, completed_at: Time.now, completor: current_user)
60
+ @task = build_stubbed(:task, completed_at: Time.now, completor: current_user)
61
61
  assign(:task, @task)
62
62
  controller.request.env["HTTP_REFERER"] = "http://localhost/leads/123"
63
63
 
@@ -48,7 +48,7 @@ describe "/tasks/create" do
48
48
 
49
49
  it "should show flash message when assigning a task from pending tasks view" do
50
50
  assign(:view, "pending")
51
- assign(:task, FactoryGirl.build_stubbed(:task, id: 42, assignee: FactoryGirl.build_stubbed(:user)))
51
+ assign(:task, build_stubbed(:task, id: 42, assignee: build_stubbed(:user)))
52
52
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks"
53
53
  render
54
54
 
@@ -58,7 +58,7 @@ describe "/tasks/create" do
58
58
 
59
59
  it "should update recent items when assigning a task from pending tasks view" do
60
60
  assign(:view, "pending")
61
- assign(:task, FactoryGirl.build_stubbed(:task, id: 42, assignee: FactoryGirl.build_stubbed(:user)))
61
+ assign(:task, build_stubbed(:task, id: 42, assignee: build_stubbed(:user)))
62
62
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks"
63
63
  render
64
64
 
@@ -68,7 +68,7 @@ describe "/tasks/create" do
68
68
 
69
69
  it "should show flash message when creating a pending task from assigned tasks view" do
70
70
  assign(:view, "assigned")
71
- assign(:task, FactoryGirl.build_stubbed(:task, id: 42, assignee: nil))
71
+ assign(:task, build_stubbed(:task, id: 42, assignee: nil))
72
72
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks?view=assigned"
73
73
  render
74
74
 
@@ -78,7 +78,7 @@ describe "/tasks/create" do
78
78
 
79
79
  it "should update recent items when creating a pending task from assigned tasks view" do
80
80
  assign(:view, "assigned")
81
- assign(:task, FactoryGirl.build_stubbed(:task, id: 42, assignee: nil))
81
+ assign(:task, build_stubbed(:task, id: 42, assignee: nil))
82
82
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks?view=assigned"
83
83
  render
84
84
 
@@ -89,7 +89,7 @@ describe "/tasks/create" do
89
89
  (TASK_STATUSES - ['assigned']).each do |status|
90
90
  describe "create from outside the Tasks tab" do
91
91
  before do
92
- @task = FactoryGirl.build_stubbed(:task, id: 42)
92
+ @task = build_stubbed(:task, id: 42)
93
93
  assign(:view, status)
94
94
  assign(:task, @task)
95
95
  render
@@ -112,7 +112,7 @@ describe "/tasks/create" do
112
112
  end
113
113
 
114
114
  it "create failure: should re-render [create] template in :create_task div" do
115
- assign(:task, FactoryGirl.build(:task, name: nil)) # make it invalid
115
+ assign(:task, build(:task, name: nil)) # make it invalid
116
116
  render
117
117
 
118
118
  expect(rendered).to include(%/$('#create_task').effect("shake"/)
@@ -17,7 +17,7 @@ describe "/tasks/destroy" do
17
17
  TASK_STATUSES.each do |status|
18
18
  describe "destroy from Tasks tab (#{status} view)" do
19
19
  before do
20
- @task = FactoryGirl.build_stubbed(:task)
20
+ @task = build_stubbed(:task)
21
21
  assign(:task, @task)
22
22
  assign(:view, status)
23
23
  assign(:empty_bucket, :due_asap)
@@ -46,7 +46,7 @@ describe "/tasks/destroy" do
46
46
 
47
47
  describe "destroy from related asset" do
48
48
  it "should blind up out destroyed task partial" do
49
- @task = FactoryGirl.build_stubbed(:task)
49
+ @task = build_stubbed(:task)
50
50
  assign(:task, @task)
51
51
  controller.request.env["HTTP_REFERER"] = "http://localhost/leads/123"
52
52
 
@@ -16,10 +16,10 @@ describe "/tasks/index" do
16
16
 
17
17
  TASK_STATUSES.each do |status|
18
18
  before do
19
- user = FactoryGirl.build_stubbed(:user)
20
- account = FactoryGirl.build_stubbed(:account)
21
- @due = FactoryGirl.build_stubbed(:task, asset: account, bucket: "due_asap", assignee: user)
22
- @completed = FactoryGirl.build_stubbed(:task, asset: account, bucket: "completed_today", assignee: user, completed_at: 1.hour.ago, completor: user)
19
+ user = build_stubbed(:user)
20
+ account = build_stubbed(:account)
21
+ @due = build_stubbed(:task, asset: account, bucket: "due_asap", assignee: user)
22
+ @completed = build_stubbed(:task, asset: account, bucket: "completed_today", assignee: user, completed_at: 1.hour.ago, completor: user)
23
23
  end
24
24
 
25
25
  it "should render list of #{status} tasks if list of tasks is not empty" do
@@ -12,7 +12,7 @@ describe "/tasks/new" do
12
12
 
13
13
  before do
14
14
  login
15
- assign(:task, FactoryGirl.build(:task))
15
+ assign(:task, build(:task))
16
16
  assign(:users, [current_user])
17
17
  assign(:bucket, Setting.task_bucket[1..-1] << ["On Specific Date...", :specific_time])
18
18
  assign(:category, Setting.unroll(:task_category))
@@ -17,7 +17,7 @@ describe "/tasks/uncomplete" do
17
17
 
18
18
  describe "uncomplete from Tasks tab (completed view)" do
19
19
  before do
20
- @task = FactoryGirl.build_stubbed(:task)
20
+ @task = build_stubbed(:task)
21
21
  assign(:task, @task)
22
22
  assign(:view, "completed")
23
23
  assign(:empty_bucket, :due_asap)
@@ -33,7 +33,7 @@ describe "/tasks/uncomplete" do
33
33
  end
34
34
 
35
35
  it "should update tasks sidebar" do
36
- assign(:task, FactoryGirl.build_stubbed(:task))
36
+ assign(:task, build_stubbed(:task))
37
37
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks"
38
38
 
39
39
  render
@@ -16,8 +16,8 @@ describe "/tasks/update" do
16
16
 
17
17
  describe "Changing due date" do
18
18
  before do
19
- assign(:task_before_update, FactoryGirl.build_stubbed(:task, bucket: "due_asap"))
20
- assign(:task, @task = FactoryGirl.build_stubbed(:task, bucket: "due_tomorrow"))
19
+ assign(:task_before_update, build_stubbed(:task, bucket: "due_asap"))
20
+ assign(:task, @task = build_stubbed(:task, bucket: "due_tomorrow"))
21
21
  assign(:view, "pending")
22
22
  assign(:task_total, stub_task_total("pending"))
23
23
  end
@@ -64,9 +64,9 @@ describe "/tasks/update" do
64
64
  end
65
65
 
66
66
  it "pending task to somebody from Tasks tab: should remove the task and show flash message (assigned)" do
67
- assignee = FactoryGirl.build_stubbed(:user)
68
- assign(:task_before_update, FactoryGirl.build_stubbed(:task, assignee: nil))
69
- assign(:task, @task = FactoryGirl.build_stubbed(:task, assignee: assignee))
67
+ assignee = build_stubbed(:user)
68
+ assign(:task_before_update, build_stubbed(:task, assignee: nil))
69
+ assign(:task, @task = build_stubbed(:task, assignee: assignee))
70
70
  assign(:view, "pending")
71
71
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks"
72
72
 
@@ -78,9 +78,9 @@ describe "/tasks/update" do
78
78
  end
79
79
 
80
80
  it "assigned tasks to me from Tasks tab: should remove the task and show flash message (pending)" do
81
- assignee = FactoryGirl.build_stubbed(:user)
82
- assign(:task_before_update, FactoryGirl.build_stubbed(:task, assignee: assignee))
83
- assign(:task, @task = FactoryGirl.build_stubbed(:task, assignee: nil))
81
+ assignee = build_stubbed(:user)
82
+ assign(:task_before_update, build_stubbed(:task, assignee: assignee))
83
+ assign(:task, @task = build_stubbed(:task, assignee: nil))
84
84
  assign(:view, "assigned")
85
85
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks?view=assigned"
86
86
 
@@ -92,8 +92,8 @@ describe "/tasks/update" do
92
92
  end
93
93
 
94
94
  it "assigned tasks to somebody else from Tasks tab: should re-render task partial" do
95
- assign(:task_before_update, FactoryGirl.build_stubbed(:task, assignee: FactoryGirl.build_stubbed(:user)))
96
- assign(:task, @task = FactoryGirl.build_stubbed(:task, assignee: FactoryGirl.build_stubbed(:user)))
95
+ assign(:task_before_update, build_stubbed(:task, assignee: build_stubbed(:user)))
96
+ assign(:task, @task = build_stubbed(:task, assignee: build_stubbed(:user)))
97
97
  assign(:view, "assigned")
98
98
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks?view=assigned"
99
99
 
@@ -102,8 +102,8 @@ describe "/tasks/update" do
102
102
  end
103
103
 
104
104
  it "from Tasks tab: should update tasks sidebar" do
105
- assign(:task_before_update, FactoryGirl.build_stubbed(:task, assignee: nil))
106
- assign(:task, @task = FactoryGirl.build_stubbed(:task, assignee: FactoryGirl.build_stubbed(:user)))
105
+ assign(:task_before_update, build_stubbed(:task, assignee: nil))
106
+ assign(:task, @task = build_stubbed(:task, assignee: build_stubbed(:user)))
107
107
  assign(:view, "assigned")
108
108
  controller.request.env["HTTP_REFERER"] = "http://localhost/tasks?view=assigned"
109
109
  render
@@ -115,16 +115,16 @@ describe "/tasks/update" do
115
115
  end
116
116
 
117
117
  it "from asset page: should should re-render task partial" do
118
- assign(:task_before_update, FactoryGirl.build_stubbed(:task, assignee: nil))
119
- assign(:task, @task = FactoryGirl.build_stubbed(:task, assignee: FactoryGirl.build_stubbed(:user)))
118
+ assign(:task_before_update, build_stubbed(:task, assignee: nil))
119
+ assign(:task, @task = build_stubbed(:task, assignee: build_stubbed(:user)))
120
120
  render
121
121
 
122
122
  expect(rendered).to include("$('#task_#{@task.id}').html('<li class=\\'highlight task\\' id=\\'task_#{@task.id}\\'")
123
123
  end
124
124
 
125
125
  it "from asset page: should update recently viewed items" do
126
- assign(:task_before_update, FactoryGirl.build_stubbed(:task, assignee: nil))
127
- assign(:task, @task = FactoryGirl.build_stubbed(:task, assignee: FactoryGirl.build_stubbed(:user)))
126
+ assign(:task_before_update, build_stubbed(:task, assignee: nil))
127
+ assign(:task, @task = build_stubbed(:task, assignee: build_stubbed(:user)))
128
128
  render
129
129
 
130
130
  expect(rendered).to have_text("Recent Items")
@@ -132,8 +132,8 @@ describe "/tasks/update" do
132
132
  end
133
133
 
134
134
  it "error: should re-disiplay [Edit Task] form and shake it" do
135
- assign(:task_before_update, FactoryGirl.build_stubbed(:task))
136
- assign(:task, @task = FactoryGirl.build_stubbed(:task))
135
+ assign(:task_before_update, build_stubbed(:task))
136
+ assign(:task, @task = build_stubbed(:task))
137
137
  @task.errors.add(:name)
138
138
 
139
139
  render
@@ -16,7 +16,7 @@ describe "/users/upload_avatar" do
16
16
 
17
17
  describe "no errors:" do
18
18
  before do
19
- @avatar = FactoryGirl.build_stubbed(:avatar, entity: current_user)
19
+ @avatar = build_stubbed(:avatar, entity: current_user)
20
20
  allow(current_user).to receive(:avatar).and_return(@avatar)
21
21
  assign(:user, @user = current_user)
22
22
  end
@@ -31,7 +31,7 @@ describe "/users/upload_avatar" do
31
31
 
32
32
  describe "validation errors:" do
33
33
  before do
34
- @avatar = FactoryGirl.build_stubbed(:avatar, entity: current_user)
34
+ @avatar = build_stubbed(:avatar, entity: current_user)
35
35
  @avatar.errors.add(:image, "error")
36
36
  allow_any_instance_of(User).to receive(:avatar).and_return(@avatar)
37
37
  assign(:user, @user = current_user)
metadata CHANGED
@@ -1,18 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_free_crm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.3
4
+ version: 0.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dvorkin
8
- - Ben Tillman
9
- - Nathan Broadbent
10
8
  - Stephen Kenworthy
11
9
  - Daniel O'Connor
12
10
  autorequire:
13
11
  bindir: bin
14
12
  cert_chain: []
15
- date: 2018-10-27 00:00:00.000000000 Z
13
+ date: 2021-05-09 00:00:00.000000000 Z
16
14
  dependencies:
17
15
  - !ruby/object:Gem::Dependency
18
16
  name: rails
@@ -20,14 +18,14 @@ dependencies:
20
18
  requirements:
21
19
  - - "~>"
22
20
  - !ruby/object:Gem::Version
23
- version: 5.1.0
21
+ version: 5.2.0
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
25
  requirements:
28
26
  - - "~>"
29
27
  - !ruby/object:Gem::Version
30
- version: 5.1.0
28
+ version: 5.2.0
31
29
  - !ruby/object:Gem::Dependency
32
30
  name: rails-i18n
33
31
  requirement: !ruby/object:Gem::Requirement
@@ -197,47 +195,47 @@ dependencies:
197
195
  - !ruby/object:Gem::Version
198
196
  version: '0'
199
197
  - !ruby/object:Gem::Dependency
200
- name: cocaine
198
+ name: paper_trail
201
199
  requirement: !ruby/object:Gem::Requirement
202
200
  requirements:
203
- - - ">="
201
+ - - "~>"
204
202
  - !ruby/object:Gem::Version
205
- version: '0'
203
+ version: 10.0.0
206
204
  type: :runtime
207
205
  prerelease: false
208
206
  version_requirements: !ruby/object:Gem::Requirement
209
207
  requirements:
210
- - - ">="
208
+ - - "~>"
211
209
  - !ruby/object:Gem::Version
212
- version: '0'
210
+ version: 10.0.0
213
211
  - !ruby/object:Gem::Dependency
214
- name: paper_trail
212
+ name: devise
215
213
  requirement: !ruby/object:Gem::Requirement
216
214
  requirements:
217
215
  - - "~>"
218
216
  - !ruby/object:Gem::Version
219
- version: 6.0.0
217
+ version: '4.6'
220
218
  type: :runtime
221
219
  prerelease: false
222
220
  version_requirements: !ruby/object:Gem::Requirement
223
221
  requirements:
224
222
  - - "~>"
225
223
  - !ruby/object:Gem::Version
226
- version: 6.0.0
224
+ version: '4.6'
227
225
  - !ruby/object:Gem::Dependency
228
- name: authlogic
226
+ name: devise-encryptable
229
227
  requirement: !ruby/object:Gem::Requirement
230
228
  requirements:
231
- - - ">="
229
+ - - "~>"
232
230
  - !ruby/object:Gem::Version
233
- version: 3.4.4
231
+ version: 0.2.0
234
232
  type: :runtime
235
233
  prerelease: false
236
234
  version_requirements: !ruby/object:Gem::Requirement
237
235
  requirements:
238
- - - ">="
236
+ - - "~>"
239
237
  - !ruby/object:Gem::Version
240
- version: 3.4.4
238
+ version: 0.2.0
241
239
  - !ruby/object:Gem::Dependency
242
240
  name: acts_as_commentable
243
241
  requirement: !ruby/object:Gem::Requirement
@@ -340,16 +338,16 @@ dependencies:
340
338
  name: cancancan
341
339
  requirement: !ruby/object:Gem::Requirement
342
340
  requirements:
343
- - - ">="
341
+ - - "~>"
344
342
  - !ruby/object:Gem::Version
345
- version: '0'
343
+ version: 3.0.0
346
344
  type: :runtime
347
345
  prerelease: false
348
346
  version_requirements: !ruby/object:Gem::Requirement
349
347
  requirements:
350
- - - ">="
348
+ - - "~>"
351
349
  - !ruby/object:Gem::Version
352
- version: '0'
350
+ version: 3.0.0
353
351
  - !ruby/object:Gem::Dependency
354
352
  name: font-awesome-rails
355
353
  requirement: !ruby/object:Gem::Requirement
@@ -482,33 +480,10 @@ dependencies:
482
480
  - - ">="
483
481
  - !ruby/object:Gem::Version
484
482
  version: '0'
485
- - !ruby/object:Gem::Dependency
486
- name: ransack_ui
487
- requirement: !ruby/object:Gem::Requirement
488
- requirements:
489
- - - "~>"
490
- - !ruby/object:Gem::Version
491
- version: '1.3'
492
- - - ">="
493
- - !ruby/object:Gem::Version
494
- version: 1.3.1
495
- type: :runtime
496
- prerelease: false
497
- version_requirements: !ruby/object:Gem::Requirement
498
- requirements:
499
- - - "~>"
500
- - !ruby/object:Gem::Version
501
- version: '1.3'
502
- - - ">="
503
- - !ruby/object:Gem::Version
504
- version: 1.3.1
505
483
  - !ruby/object:Gem::Dependency
506
484
  name: ransack
507
485
  requirement: !ruby/object:Gem::Requirement
508
486
  requirements:
509
- - - "~>"
510
- - !ruby/object:Gem::Version
511
- version: '1.7'
512
487
  - - ">="
513
488
  - !ruby/object:Gem::Version
514
489
  version: 1.6.2
@@ -516,9 +491,6 @@ dependencies:
516
491
  prerelease: false
517
492
  version_requirements: !ruby/object:Gem::Requirement
518
493
  requirements:
519
- - - "~>"
520
- - !ruby/object:Gem::Version
521
- version: '1.7'
522
494
  - - ">="
523
495
  - !ruby/object:Gem::Version
524
496
  version: 1.6.2
@@ -539,8 +511,6 @@ dependencies:
539
511
  description: An open source, Ruby on Rails customer relationship management platform
540
512
  email:
541
513
  - mike@fatfreecrm.com
542
- - nathan@fatfreecrm.com
543
- - warp@fatfreecrm.com
544
514
  - steveyken@gmail.com
545
515
  - daniel.oconnor@gmail.com
546
516
  executables: []
@@ -620,8 +590,8 @@ files:
620
590
  - app/controllers/admin/tags_controller.rb
621
591
  - app/controllers/admin/users_controller.rb
622
592
  - app/controllers/application_controller.rb
623
- - app/controllers/authentications_controller.rb
624
593
  - app/controllers/comments_controller.rb
594
+ - app/controllers/confirmations_controller.rb
625
595
  - app/controllers/emails_controller.rb
626
596
  - app/controllers/entities/accounts_controller.rb
627
597
  - app/controllers/entities/campaigns_controller.rb
@@ -632,6 +602,8 @@ files:
632
602
  - app/controllers/home_controller.rb
633
603
  - app/controllers/lists_controller.rb
634
604
  - app/controllers/passwords_controller.rb
605
+ - app/controllers/registrations_controller.rb
606
+ - app/controllers/sessions_controller.rb
635
607
  - app/controllers/tasks_controller.rb
636
608
  - app/controllers/users_controller.rb
637
609
  - app/helpers/accounts_helper.rb
@@ -666,6 +638,7 @@ files:
666
638
  - app/inputs/date_time_input.rb
667
639
  - app/inputs/datetime_pair_input.rb
668
640
  - app/inputs/text_input.rb
641
+ - app/mailers/devise_mailer.rb
669
642
  - app/mailers/dropbox_mailer.rb
670
643
  - app/mailers/subscription_mailer.rb
671
644
  - app/mailers/user_mailer.rb
@@ -699,7 +672,6 @@ files:
699
672
  - app/models/polymorphic/version.rb
700
673
  - app/models/setting.rb
701
674
  - app/models/users/ability.rb
702
- - app/models/users/authentication.rb
703
675
  - app/models/users/group.rb
704
676
  - app/models/users/permission.rb
705
677
  - app/models/users/preference.rb
@@ -805,7 +777,6 @@ files:
805
777
  - app/views/application/index.rss.builder
806
778
  - app/views/application/show.atom.builder
807
779
  - app/views/application/show.rss.builder
808
- - app/views/authentications/new.html.haml
809
780
  - app/views/campaigns/_campaign.html.haml
810
781
  - app/views/campaigns/_edit.html.haml
811
782
  - app/views/campaigns/_index_brief.html.haml
@@ -861,6 +832,14 @@ files:
861
832
  - app/views/contacts/show.html.haml
862
833
  - app/views/contacts/show.js.haml
863
834
  - app/views/contacts/update.js.haml
835
+ - app/views/devise/confirmations/new.html.haml
836
+ - app/views/devise/mailer/confirmation_instructions.html.haml
837
+ - app/views/devise/mailer/password_change.html.haml
838
+ - app/views/devise/mailer/reset_password_instructions.html.haml
839
+ - app/views/devise/passwords/edit.html.haml
840
+ - app/views/devise/passwords/new.html.haml
841
+ - app/views/devise/registrations/new.html.haml
842
+ - app/views/devise/sessions/new.html.haml
864
843
  - app/views/dropbox_mailer/dropbox_notification.html.haml
865
844
  - app/views/emails/_email.html.haml
866
845
  - app/views/emails/destroy.js.haml
@@ -964,8 +943,6 @@ files:
964
943
  - app/views/opportunities/show.html.haml
965
944
  - app/views/opportunities/show.js.haml
966
945
  - app/views/opportunities/update.js.haml
967
- - app/views/passwords/edit.html.haml
968
- - app/views/passwords/new.html.haml
969
946
  - app/views/shared/_add_comment.html.haml
970
947
  - app/views/shared/_address.html.haml
971
948
  - app/views/shared/_address_show.html.haml
@@ -1010,7 +987,6 @@ files:
1010
987
  - app/views/tasks/uncomplete.js.haml
1011
988
  - app/views/tasks/update.js.haml
1012
989
  - app/views/user_mailer/assigned_entity_notification.html.haml
1013
- - app/views/user_mailer/password_reset_instructions.html.haml
1014
990
  - app/views/users/_avatar.html.haml
1015
991
  - app/views/users/_languages.html.haml
1016
992
  - app/views/users/_password.html.haml
@@ -1021,7 +997,6 @@ files:
1021
997
  - app/views/users/change_password.js.haml
1022
998
  - app/views/users/edit.js.haml
1023
999
  - app/views/users/index.html.haml
1024
- - app/views/users/new.html.haml
1025
1000
  - app/views/users/opportunities_overview.html.haml
1026
1001
  - app/views/users/password.js.haml
1027
1002
  - app/views/users/show.html.haml
@@ -1033,6 +1008,9 @@ files:
1033
1008
  - bin/bundle
1034
1009
  - bin/rails
1035
1010
  - bin/rake
1011
+ - bin/setup
1012
+ - bin/update
1013
+ - bin/yarn
1036
1014
  - config.ru
1037
1015
  - config/application.rb
1038
1016
  - config/boot.rb
@@ -1049,19 +1027,21 @@ files:
1049
1027
  - config/environments/staging.rb
1050
1028
  - config/environments/test.rb
1051
1029
  - config/initializers/action_mailer.rb
1030
+ - config/initializers/application_controller_renderer.rb
1052
1031
  - config/initializers/assets.rb
1053
- - config/initializers/authlogic.rb
1054
1032
  - config/initializers/backtrace_silencers.rb
1055
1033
  - config/initializers/constants.rb
1034
+ - config/initializers/content_security_policy.rb
1056
1035
  - config/initializers/cookies_serializer.rb
1057
1036
  - config/initializers/custom_field_ransack_translations.rb
1037
+ - config/initializers/devise.rb
1058
1038
  - config/initializers/filter_parameter_logging.rb
1059
1039
  - config/initializers/gravatar.rb
1060
1040
  - config/initializers/inflections.rb
1061
1041
  - config/initializers/locale.rb
1062
1042
  - config/initializers/mime_types.rb
1043
+ - config/initializers/new_framework_defaults_5_2.rb
1063
1044
  - config/initializers/paginate_arrays.rb
1064
- - config/initializers/paper_trail.rb
1065
1045
  - config/initializers/ransack.rb
1066
1046
  - config/initializers/relative_url_root.rb
1067
1047
  - config/initializers/secret_token.rb
@@ -1179,12 +1159,12 @@ files:
1179
1159
  - db/migrate/20160511053730_add_account_contacts_index.rb
1180
1160
  - db/migrate/20180102075234_add_account_counter_caches.rb
1181
1161
  - db/migrate/20180103223438_add_minlength_to_field.rb
1162
+ - db/migrate/20180107082701_authlogic_to_devise.rb
1182
1163
  - db/schema.rb
1183
1164
  - db/seeds.rb
1184
1165
  - db/seeds/fields.rb
1185
1166
  - docker-compose.yml
1186
1167
  - fat_free_crm.gemspec
1187
- - lib/development_tasks/gem.rake
1188
1168
  - lib/development_tasks/license.rake
1189
1169
  - lib/development_tasks/rdoc.rake
1190
1170
  - lib/development_tasks/rspec.rake
@@ -1244,7 +1224,6 @@ files:
1244
1224
  - spec/controllers/admin/groups_controller_spec.rb
1245
1225
  - spec/controllers/admin/users_controller_spec.rb
1246
1226
  - spec/controllers/applications_controller_spec.rb
1247
- - spec/controllers/authentications_controller_spec.rb
1248
1227
  - spec/controllers/comments_controller_spec.rb
1249
1228
  - spec/controllers/emails_controller_spec.rb
1250
1229
  - spec/controllers/entities/accounts_controller_spec.rb
@@ -1255,7 +1234,6 @@ files:
1255
1234
  - spec/controllers/entities_controller_spec.rb
1256
1235
  - spec/controllers/home_controller_spec.rb
1257
1236
  - spec/controllers/lists_controller_spec.rb
1258
- - spec/controllers/passwords_controller_spec.rb
1259
1237
  - spec/controllers/tasks_controller_spec.rb
1260
1238
  - spec/controllers/users_controller_spec.rb
1261
1239
  - spec/factories/account_factories.rb
@@ -1279,13 +1257,14 @@ files:
1279
1257
  - spec/features/campaigns_spec.rb
1280
1258
  - spec/features/contacts_spec.rb
1281
1259
  - spec/features/dashboard_spec.rb
1260
+ - spec/features/devise/sign_in_spec.rb
1261
+ - spec/features/devise/sign_up_spec.rb
1282
1262
  - spec/features/leads_spec.rb
1283
1263
  - spec/features/opportunities_overview_spec.rb
1284
1264
  - spec/features/opportunities_spec.rb
1265
+ - spec/features/support/autocomlete_helper.rb
1285
1266
  - spec/features/support/browser.rb
1286
1267
  - spec/features/support/headless.rb
1287
- - spec/features/support/helpers.rb
1288
- - spec/features/support/maintain_sessions.rb
1289
1268
  - spec/features/support/paths.rb
1290
1269
  - spec/features/support/selector_helpers.rb
1291
1270
  - spec/features/tasks_spec.rb
@@ -1321,6 +1300,7 @@ files:
1321
1300
  - spec/lib/permissions_spec.rb
1322
1301
  - spec/lib/secret_token_generator_spec.rb
1323
1302
  - spec/lib/view_factory_spec.rb
1303
+ - spec/mailers/devise_mailer_spec.rb
1324
1304
  - spec/mailers/subscription_mailer_spec.rb
1325
1305
  - spec/mailers/user_mailer_spec.rb
1326
1306
  - spec/models/entities/account_contact_spec.rb
@@ -1346,7 +1326,6 @@ files:
1346
1326
  - spec/models/polymorphic/version_spec.rb
1347
1327
  - spec/models/setting_spec.rb
1348
1328
  - spec/models/users/abilities/user_ability_spec.rb
1349
- - spec/models/users/authentication_spec.rb
1350
1329
  - spec/models/users/group_spec.rb
1351
1330
  - spec/models/users/permission_spec.rb
1352
1331
  - spec/models/users/preference_spec.rb
@@ -1365,7 +1344,8 @@ files:
1365
1344
  - spec/shared/models.rb
1366
1345
  - spec/spec_helper.rb
1367
1346
  - spec/support/assert_select.rb
1368
- - spec/support/auth_macros.rb
1347
+ - spec/support/devise_helpers.rb
1348
+ - spec/support/feature_helpers.rb
1369
1349
  - spec/support/macros.rb
1370
1350
  - spec/support/mail_processor_mocks.rb
1371
1351
  - spec/support/uploaded_file.rb
@@ -1396,7 +1376,6 @@ files:
1396
1376
  - spec/views/admin/users/suspend.js.haml_spec.rb
1397
1377
  - spec/views/admin/users/update.js.haml_spec.rb
1398
1378
  - spec/views/application/auto_complete.haml_spec.rb
1399
- - spec/views/authentications/new.haml_spec.rb
1400
1379
  - spec/views/campaigns/_edit.haml_spec.rb
1401
1380
  - spec/views/campaigns/_new.haml_spec.rb
1402
1381
  - spec/views/campaigns/create.js.haml_spec.rb
@@ -1573,15 +1552,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1573
1552
  requirements:
1574
1553
  - - ">="
1575
1554
  - !ruby/object:Gem::Version
1576
- version: 2.3.0
1555
+ version: 2.4.0
1577
1556
  required_rubygems_version: !ruby/object:Gem::Requirement
1578
1557
  requirements:
1579
1558
  - - ">="
1580
1559
  - !ruby/object:Gem::Version
1581
1560
  version: '0'
1582
1561
  requirements: []
1583
- rubyforge_project:
1584
- rubygems_version: 2.7.3
1562
+ rubygems_version: 3.1.2
1585
1563
  signing_key:
1586
1564
  specification_version: 4
1587
1565
  summary: Fat Free CRM