fat_free_crm 0.21.0 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/fat_free_crm.js +3 -0
  3. data/app/assets/config/manifest.js +1 -3
  4. data/app/assets/javascripts/application.js.erb +1 -0
  5. data/app/assets/javascripts/crm.js.coffee +6 -3
  6. data/app/assets/javascripts/crm_select2.js.coffee +4 -1
  7. data/app/assets/javascripts/crm_tags.js.coffee +4 -4
  8. data/app/assets/javascripts/crm_validations.js.coffee +12 -0
  9. data/app/assets/stylesheets/bootstrap-custom.scss +3 -3
  10. data/app/assets/stylesheets/common.scss +9 -0
  11. data/app/assets/stylesheets/rails.scss +1 -1
  12. data/app/controllers/admin/field_groups_controller.rb +0 -2
  13. data/app/controllers/admin/fields_controller.rb +16 -13
  14. data/app/controllers/admin/tags_controller.rb +1 -1
  15. data/app/controllers/admin/users_controller.rb +1 -1
  16. data/app/controllers/application_controller.rb +11 -0
  17. data/app/controllers/comments_controller.rb +2 -0
  18. data/app/controllers/emails_controller.rb +2 -0
  19. data/app/controllers/entities/accounts_controller.rb +3 -1
  20. data/app/controllers/entities/campaigns_controller.rb +3 -1
  21. data/app/controllers/entities/contacts_controller.rb +3 -1
  22. data/app/controllers/entities/leads_controller.rb +4 -2
  23. data/app/controllers/entities/opportunities_controller.rb +3 -1
  24. data/app/controllers/entities_controller.rb +3 -1
  25. data/app/controllers/home_controller.rb +2 -0
  26. data/app/controllers/lists_controller.rb +7 -4
  27. data/app/controllers/tasks_controller.rb +3 -1
  28. data/app/controllers/users_controller.rb +2 -0
  29. data/app/helpers/application_helper.rb +4 -4
  30. data/app/helpers/opportunities_helper.rb +4 -2
  31. data/app/helpers/users_helper.rb +1 -1
  32. data/app/models/entities/campaign.rb +2 -2
  33. data/app/models/fields/custom_field.rb +2 -2
  34. data/app/models/fields/custom_field_pair.rb +6 -7
  35. data/app/models/fields/field.rb +1 -3
  36. data/app/models/list.rb +1 -1
  37. data/app/models/observers/entity_observer.rb +1 -1
  38. data/app/models/polymorphic/comment.rb +1 -1
  39. data/app/models/setting.rb +4 -5
  40. data/app/models/users/user.rb +1 -1
  41. data/app/views/accounts/_contact_info.html.haml +1 -1
  42. data/app/views/accounts/_top_section.html.haml +3 -3
  43. data/app/views/accounts/show.js.haml +1 -1
  44. data/app/views/accounts/update.js.haml +1 -0
  45. data/app/views/admin/custom_fields/_check_boxes_field.html.haml +4 -1
  46. data/app/views/admin/custom_fields/_date_pair_field.html.haml +1 -1
  47. data/app/views/campaigns/_top_section.html.haml +2 -2
  48. data/app/views/campaigns/show.js.haml +1 -1
  49. data/app/views/campaigns/update.js.haml +1 -0
  50. data/app/views/contacts/_top_section.html.haml +5 -5
  51. data/app/views/contacts/show.js.haml +2 -3
  52. data/app/views/contacts/update.js.haml +1 -0
  53. data/app/views/devise/sessions/new.html.haml +4 -5
  54. data/app/views/fields/_group.html.haml +5 -2
  55. data/app/views/fields/_group_table.html.haml +4 -5
  56. data/app/views/fields/_group_view.html.haml +4 -1
  57. data/app/views/fields/_sidebar_show.html.haml +5 -8
  58. data/app/views/fields/group.js.erb +3 -1
  59. data/app/views/layouts/application.html.haml +1 -1
  60. data/app/views/leads/_top_section.html.haml +4 -4
  61. data/app/views/leads/show.js.haml +1 -1
  62. data/app/views/leads/update.js.haml +1 -0
  63. data/app/views/opportunities/_top_section.html.haml +2 -2
  64. data/app/views/opportunities/show.js.haml +1 -1
  65. data/app/views/opportunities/update.js.haml +1 -0
  66. data/app/views/shared/_add_comment.html.haml +1 -1
  67. data/app/views/shared/_address.html.haml +1 -1
  68. data/app/views/tasks/_top_section.html.haml +4 -4
  69. data/bin/bundle +108 -2
  70. data/bin/rails +3 -3
  71. data/bin/rake +2 -2
  72. data/bin/setup +12 -15
  73. data/config/application.rb +9 -4
  74. data/config/boot.rb +3 -5
  75. data/config/cable.yml +10 -0
  76. data/config/database.yml +25 -0
  77. data/config/environment.rb +4 -3
  78. data/config/environments/development.rb +47 -14
  79. data/config/environments/production.rb +17 -15
  80. data/config/environments/test.rb +19 -9
  81. data/config/initializers/action_mailer.rb +1 -0
  82. data/config/initializers/content_security_policy.rb +21 -26
  83. data/config/initializers/custom_field_ransack_translations.rb +2 -1
  84. data/config/initializers/filter_parameter_logging.rb +6 -2
  85. data/config/initializers/inflections.rb +4 -4
  86. data/config/initializers/permissions_policy.rb +12 -0
  87. data/config/settings.default.yml +2 -1
  88. data/config/storage.yml +5 -5
  89. data/db/demo/field_groups.yml +2 -1
  90. data/db/migrate/20230526212613_convert_to_active_storage.rb +27 -11
  91. data/db/schema.rb +107 -105
  92. data/lib/fat_free_crm/callback.rb +2 -3
  93. data/lib/fat_free_crm/custom_fields.rb +1 -0
  94. data/lib/fat_free_crm/mail_processor/dropbox.rb +1 -1
  95. data/lib/fat_free_crm/version.rb +2 -2
  96. metadata +43 -19
  97. data/config/initializers/new_framework_defaults_6_0.rb +0 -46
metadata CHANGED
@@ -1,31 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_free_crm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dvorkin
8
8
  - Stephen Kenworthy
9
9
  - Daniel O'Connor
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-08-10 00:00:00.000000000 Z
13
+ date: 2024-08-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - "~>"
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 7.0.0
22
+ - - "<"
20
23
  - !ruby/object:Gem::Version
21
- version: 6.1.0
24
+ version: 7.3.0
22
25
  type: :runtime
23
26
  prerelease: false
24
27
  version_requirements: !ruby/object:Gem::Requirement
25
28
  requirements:
26
- - - "~>"
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 7.0.0
32
+ - - "<"
27
33
  - !ruby/object:Gem::Version
28
- version: 6.1.0
34
+ version: 7.3.0
29
35
  - !ruby/object:Gem::Dependency
30
36
  name: rails-i18n
31
37
  requirement: !ruby/object:Gem::Requirement
@@ -186,14 +192,14 @@ dependencies:
186
192
  requirements:
187
193
  - - "~>"
188
194
  - !ruby/object:Gem::Version
189
- version: 15.0.0
195
+ version: 15.1.0
190
196
  type: :runtime
191
197
  prerelease: false
192
198
  version_requirements: !ruby/object:Gem::Requirement
193
199
  requirements:
194
200
  - - "~>"
195
201
  - !ruby/object:Gem::Version
196
- version: 15.0.0
202
+ version: 15.1.0
197
203
  - !ruby/object:Gem::Dependency
198
204
  name: devise
199
205
  requirement: !ruby/object:Gem::Requirement
@@ -226,16 +232,16 @@ dependencies:
226
232
  name: acts_as_commentable
227
233
  requirement: !ruby/object:Gem::Requirement
228
234
  requirements:
229
- - - "~>"
235
+ - - ">="
230
236
  - !ruby/object:Gem::Version
231
- version: 6.0.0
237
+ version: '6.1'
232
238
  type: :runtime
233
239
  prerelease: false
234
240
  version_requirements: !ruby/object:Gem::Requirement
235
241
  requirements:
236
- - - "~>"
242
+ - - ">="
237
243
  - !ruby/object:Gem::Version
238
- version: 6.0.0
244
+ version: '6.1'
239
245
  - !ruby/object:Gem::Dependency
240
246
  name: acts-as-taggable-on
241
247
  requirement: !ruby/object:Gem::Requirement
@@ -468,18 +474,32 @@ dependencies:
468
474
  version: '0'
469
475
  - !ruby/object:Gem::Dependency
470
476
  name: ransack
477
+ requirement: !ruby/object:Gem::Requirement
478
+ requirements:
479
+ - - "<"
480
+ - !ruby/object:Gem::Version
481
+ version: '4'
482
+ type: :runtime
483
+ prerelease: false
484
+ version_requirements: !ruby/object:Gem::Requirement
485
+ requirements:
486
+ - - "<"
487
+ - !ruby/object:Gem::Version
488
+ version: '4'
489
+ - !ruby/object:Gem::Dependency
490
+ name: ransack_ui
471
491
  requirement: !ruby/object:Gem::Requirement
472
492
  requirements:
473
493
  - - ">="
474
494
  - !ruby/object:Gem::Version
475
- version: 1.6.2
495
+ version: '0'
476
496
  type: :runtime
477
497
  prerelease: false
478
498
  version_requirements: !ruby/object:Gem::Requirement
479
499
  requirements:
480
500
  - - ">="
481
501
  - !ruby/object:Gem::Version
482
- version: 1.6.2
502
+ version: '0'
483
503
  - !ruby/object:Gem::Dependency
484
504
  name: email_reply_parser_ffcrm
485
505
  requirement: !ruby/object:Gem::Requirement
@@ -507,6 +527,7 @@ files:
507
527
  - MIT-LICENSE
508
528
  - README.md
509
529
  - Rakefile
530
+ - app/assets/config/fat_free_crm.js
510
531
  - app/assets/config/manifest.js
511
532
  - app/assets/images/1x1.gif
512
533
  - app/assets/images/asterisk.gif
@@ -532,6 +553,7 @@ files:
532
553
  - app/assets/javascripts/crm_sortable.js.coffee
533
554
  - app/assets/javascripts/crm_tags.js.coffee
534
555
  - app/assets/javascripts/crm_textarea_autocomplete.js.coffee
556
+ - app/assets/javascripts/crm_validations.js.coffee
535
557
  - app/assets/javascripts/datepicker.js.coffee
536
558
  - app/assets/javascripts/format_buttons.js.coffee
537
559
  - app/assets/javascripts/lists.js.coffee
@@ -990,11 +1012,13 @@ files:
990
1012
  - config/application.rb
991
1013
  - config/boot.rb
992
1014
  - config/brakeman.ignore
1015
+ - config/cable.yml
993
1016
  - config/database.mysql.mac.yml
994
1017
  - config/database.mysql.yml
995
1018
  - config/database.postgres.docker.yml
996
1019
  - config/database.postgres.yml
997
1020
  - config/database.sqlite.yml
1021
+ - config/database.yml
998
1022
  - config/deploy.example.rb
999
1023
  - config/environment.rb
1000
1024
  - config/environments/development.rb
@@ -1015,8 +1039,8 @@ files:
1015
1039
  - config/initializers/inflections.rb
1016
1040
  - config/initializers/locale.rb
1017
1041
  - config/initializers/mime_types.rb
1018
- - config/initializers/new_framework_defaults_6_0.rb
1019
1042
  - config/initializers/paginate_arrays.rb
1043
+ - config/initializers/permissions_policy.rb
1020
1044
  - config/initializers/ransack.rb
1021
1045
  - config/initializers/relative_url_root.rb
1022
1046
  - config/initializers/secret_token.rb
@@ -1290,7 +1314,7 @@ homepage: http://fatfreecrm.com
1290
1314
  licenses:
1291
1315
  - MIT
1292
1316
  metadata: {}
1293
- post_install_message:
1317
+ post_install_message:
1294
1318
  rdoc_options: []
1295
1319
  require_paths:
1296
1320
  - lib
@@ -1305,8 +1329,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1305
1329
  - !ruby/object:Gem::Version
1306
1330
  version: '0'
1307
1331
  requirements: []
1308
- rubygems_version: 3.3.26
1309
- signing_key:
1332
+ rubygems_version: 3.5.9
1333
+ signing_key:
1310
1334
  specification_version: 4
1311
1335
  summary: Fat Free CRM
1312
1336
  test_files: []
@@ -1,46 +0,0 @@
1
- # frozen_string_literal: true
2
- # Be sure to restart your server when you modify this file.
3
- #
4
- # This file contains migration options to ease your Rails 6.0 upgrade.
5
- #
6
- # Once upgraded flip defaults one by one to migrate to the new default.
7
- #
8
- # Read the Guide for Upgrading Ruby on Rails for more info on each option.
9
-
10
- # Don't force requests from old versions of IE to be UTF-8 encoded.
11
- # Rails.application.config.action_view.default_enforce_utf8 = false
12
-
13
- # Embed purpose and expiry metadata inside signed and encrypted
14
- # cookies for increased security.
15
- #
16
- # This option is not backwards compatible with earlier Rails versions.
17
- # It's best enabled when your entire app is migrated and stable on 6.0.
18
- # Rails.application.config.action_dispatch.use_cookies_with_metadata = true
19
-
20
- # Change the return value of `ActionDispatch::Response#content_type` to Content-Type header without modification.
21
- # Rails.application.config.action_dispatch.return_only_media_type_on_content_type = false
22
-
23
- # Return false instead of self when enqueuing is aborted from a callback.
24
- # Rails.application.config.active_job.return_false_on_aborted_enqueue = true
25
-
26
- # Send Active Storage analysis and purge jobs to dedicated queues.
27
- # Rails.application.config.active_storage.queues.analysis = :active_storage_analysis
28
- # Rails.application.config.active_storage.queues.purge = :active_storage_purge
29
-
30
- # When assigning to a collection of attachments declared via `has_many_attached`, replace existing
31
- # attachments instead of appending. Use #attach to add new attachments without replacing existing ones.
32
- # Rails.application.config.active_storage.replace_on_assign_to_many = true
33
-
34
- # Use ActionMailer::MailDeliveryJob for sending parameterized and normal mail.
35
- #
36
- # The default delivery jobs (ActionMailer::Parameterized::DeliveryJob, ActionMailer::DeliveryJob),
37
- # will be removed in Rails 6.1. This setting is not backwards compatible with earlier Rails versions.
38
- # If you send mail in the background, job workers need to have a copy of
39
- # MailDeliveryJob to ensure all delivery jobs are processed properly.
40
- # Make sure your entire app is migrated and stable on 6.0 before using this setting.
41
- # Rails.application.config.action_mailer.delivery_job = "ActionMailer::MailDeliveryJob"
42
-
43
- # Enable the same cache key to be reused when the object being cached of type
44
- # `ActiveRecord::Relation` changes by moving the volatile information (max updated at and count)
45
- # of the relation's cache key into the cache version to support recycling cache key.
46
- # Rails.application.config.active_record.collection_cache_versioning = true