fat_free_crm 0.21.0 → 0.22.0

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 (76) 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/controllers/admin/field_groups_controller.rb +0 -2
  5. data/app/controllers/admin/tags_controller.rb +1 -1
  6. data/app/controllers/admin/users_controller.rb +1 -1
  7. data/app/controllers/application_controller.rb +11 -0
  8. data/app/controllers/comments_controller.rb +2 -0
  9. data/app/controllers/emails_controller.rb +2 -0
  10. data/app/controllers/entities/accounts_controller.rb +3 -1
  11. data/app/controllers/entities/campaigns_controller.rb +3 -1
  12. data/app/controllers/entities/contacts_controller.rb +3 -1
  13. data/app/controllers/entities/leads_controller.rb +4 -2
  14. data/app/controllers/entities/opportunities_controller.rb +3 -1
  15. data/app/controllers/entities_controller.rb +2 -0
  16. data/app/controllers/home_controller.rb +2 -0
  17. data/app/controllers/lists_controller.rb +2 -0
  18. data/app/controllers/tasks_controller.rb +3 -1
  19. data/app/controllers/users_controller.rb +2 -0
  20. data/app/models/fields/custom_field.rb +2 -2
  21. data/app/models/observers/entity_observer.rb +1 -1
  22. data/app/models/polymorphic/comment.rb +1 -1
  23. data/app/models/setting.rb +4 -5
  24. data/app/models/users/user.rb +1 -1
  25. data/bin/bundle +108 -2
  26. data/bin/rails +3 -3
  27. data/bin/rake +2 -2
  28. data/bin/setup +12 -15
  29. data/config/application.rb +9 -4
  30. data/config/boot.rb +3 -5
  31. data/config/cable.yml +10 -0
  32. data/config/database.yml +26 -0
  33. data/config/environment.rb +4 -3
  34. data/config/environments/development.rb +47 -14
  35. data/config/environments/production.rb +17 -15
  36. data/config/environments/test.rb +19 -9
  37. data/config/initializers/action_mailer.rb +1 -0
  38. data/config/initializers/content_security_policy.rb +21 -26
  39. data/config/initializers/custom_field_ransack_translations.rb +1 -0
  40. data/config/initializers/filter_parameter_logging.rb +6 -2
  41. data/config/initializers/inflections.rb +4 -4
  42. data/config/initializers/permissions_policy.rb +12 -0
  43. data/config/storage.yml +5 -5
  44. data/db/demo/field_groups.yml +2 -1
  45. data/db/migrate/20230526212613_convert_to_active_storage.rb +27 -11
  46. data/db/schema.rb +107 -105
  47. data/lib/fat_free_crm/callback.rb +2 -3
  48. data/lib/fat_free_crm/mail_processor/dropbox.rb +1 -1
  49. data/lib/fat_free_crm/version.rb +1 -1
  50. data/public/avatars/User/2/large_rails.png +0 -0
  51. data/public/avatars/User/2/medium_rails.png +0 -0
  52. data/public/avatars/User/2/original_rails.png +0 -0
  53. data/public/avatars/User/2/small_rails.png +0 -0
  54. data/public/avatars/User/2/thumb_rails.png +0 -0
  55. data/public/avatars/User/3/large_rails.png +0 -0
  56. data/public/avatars/User/3/medium_rails.png +0 -0
  57. data/public/avatars/User/3/original_rails.png +0 -0
  58. data/public/avatars/User/3/small_rails.png +0 -0
  59. data/public/avatars/User/3/thumb_rails.png +0 -0
  60. data/public/avatars/User/4/large_rails.png +0 -0
  61. data/public/avatars/User/4/medium_rails.png +0 -0
  62. data/public/avatars/User/4/original_rails.png +0 -0
  63. data/public/avatars/User/4/small_rails.png +0 -0
  64. data/public/avatars/User/4/thumb_rails.png +0 -0
  65. data/public/avatars/User/6/large_rails.png +0 -0
  66. data/public/avatars/User/6/medium_rails.png +0 -0
  67. data/public/avatars/User/6/original_rails.png +0 -0
  68. data/public/avatars/User/6/small_rails.png +0 -0
  69. data/public/avatars/User/6/thumb_rails.png +0 -0
  70. data/public/avatars/User/7/large_rails.png +0 -0
  71. data/public/avatars/User/7/medium_rails.png +0 -0
  72. data/public/avatars/User/7/original_rails.png +0 -0
  73. data/public/avatars/User/7/small_rails.png +0 -0
  74. data/public/avatars/User/7/thumb_rails.png +0 -0
  75. metadata +64 -16
  76. data/config/initializers/new_framework_defaults_6_0.rb +0 -46
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.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dvorkin
@@ -10,22 +10,28 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-08-10 00:00:00.000000000 Z
13
+ date: 2024-01-09 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
@@ -990,11 +1011,13 @@ files:
990
1011
  - config/application.rb
991
1012
  - config/boot.rb
992
1013
  - config/brakeman.ignore
1014
+ - config/cable.yml
993
1015
  - config/database.mysql.mac.yml
994
1016
  - config/database.mysql.yml
995
1017
  - config/database.postgres.docker.yml
996
1018
  - config/database.postgres.yml
997
1019
  - config/database.sqlite.yml
1020
+ - config/database.yml
998
1021
  - config/deploy.example.rb
999
1022
  - config/environment.rb
1000
1023
  - config/environments/development.rb
@@ -1015,8 +1038,8 @@ files:
1015
1038
  - config/initializers/inflections.rb
1016
1039
  - config/initializers/locale.rb
1017
1040
  - config/initializers/mime_types.rb
1018
- - config/initializers/new_framework_defaults_6_0.rb
1019
1041
  - config/initializers/paginate_arrays.rb
1042
+ - config/initializers/permissions_policy.rb
1020
1043
  - config/initializers/ransack.rb
1021
1044
  - config/initializers/relative_url_root.rb
1022
1045
  - config/initializers/secret_token.rb
@@ -1194,6 +1217,31 @@ files:
1194
1217
  - public/404.html
1195
1218
  - public/422.html
1196
1219
  - public/500.html
1220
+ - public/avatars/User/2/large_rails.png
1221
+ - public/avatars/User/2/medium_rails.png
1222
+ - public/avatars/User/2/original_rails.png
1223
+ - public/avatars/User/2/small_rails.png
1224
+ - public/avatars/User/2/thumb_rails.png
1225
+ - public/avatars/User/3/large_rails.png
1226
+ - public/avatars/User/3/medium_rails.png
1227
+ - public/avatars/User/3/original_rails.png
1228
+ - public/avatars/User/3/small_rails.png
1229
+ - public/avatars/User/3/thumb_rails.png
1230
+ - public/avatars/User/4/large_rails.png
1231
+ - public/avatars/User/4/medium_rails.png
1232
+ - public/avatars/User/4/original_rails.png
1233
+ - public/avatars/User/4/small_rails.png
1234
+ - public/avatars/User/4/thumb_rails.png
1235
+ - public/avatars/User/6/large_rails.png
1236
+ - public/avatars/User/6/medium_rails.png
1237
+ - public/avatars/User/6/original_rails.png
1238
+ - public/avatars/User/6/small_rails.png
1239
+ - public/avatars/User/6/thumb_rails.png
1240
+ - public/avatars/User/7/large_rails.png
1241
+ - public/avatars/User/7/medium_rails.png
1242
+ - public/avatars/User/7/original_rails.png
1243
+ - public/avatars/User/7/small_rails.png
1244
+ - public/avatars/User/7/thumb_rails.png
1197
1245
  - public/favicon.ico
1198
1246
  - public/robots.txt
1199
1247
  - vendor/assets/images/calendar_date_select/calendar.gif
@@ -1305,7 +1353,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1305
1353
  - !ruby/object:Gem::Version
1306
1354
  version: '0'
1307
1355
  requirements: []
1308
- rubygems_version: 3.3.26
1356
+ rubygems_version: 3.4.10
1309
1357
  signing_key:
1310
1358
  specification_version: 4
1311
1359
  summary: Fat Free CRM
@@ -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