Chatwoot/db/migrate
Sony Mathew 0b65526b85
Feature: Conversation Continuity with Email (#770)
* Added POC for mail inbox reply email
* created mailbox and migratuion for the same
* cleaned up sidekiq queues and added the queues for action mailbox and active storage
* created conversation mailbox and functionlaity to create a message on the conversation when it's replied

* Added UUID to conversation to be used in email replies

* added migration to add uuid for conversation
* changed parsing and resource fetching to reflect matching uuid and
  loading conversation alone
* cleaned up conversation mailbox.rb

* Added content type & attribute for message

* Added the new reply email to outgoing emails
* Added migration to accounts for adding domain and settings
* Modified seeds to reflect this changes
* Added the flag based column on account for boolean settings
* Added the new reply to email in outgoing conversation emails based on conditions

* Added dynamic email routing in application mailbox
* Added dynamic email routing in application mailbox
* Added a catch all deafult empty mailbox
* Added annotation for account

* Added the complete email details & attachments to the message
* Added the complete email details to the message in content_attributes, like subject, to, cc, bcc etc
* Modified the mail extractor to give a serilaized version of email
* Handled storing attachments of email on the message

* Added incoming email settings, env variables

* [#138] Added documentation regarding different email settings and variables

* Fixed the mail attachments blob issue (#138)
* Decoided attachments were strings and had to construct blobs out fo them to work with active storage
* Fixed the content encoding issue with mail body
* Fixed issue with Proc used in apllication mailbox routing
* Fixed couple of typos and silly mistakes

* Set appropriate from email for conversation reply mails (#138)
* From email was taken from a env variable, changed it to take from account settings if enabled
* Set the reply to email correctly based on conversation UUID
* Added commented config ind development.rb for mailbox ingress

* Added account settings for domain and support email (#138)
* Added the new attributes in accounts controller params whitelisting, api responses
* Added options for the the new fields in account settings

* Fixed typos in email continuity docs and warnings

* Added specs for conversation reply mailer changes (#138)
* Added specs for
  * conversation reply mailer
  * Accounts controller
  * Account and Conversation models

* Added tests for email presenter (#138)

* Specs for inbound email routing and mailboxes (#138)
2020-04-30 20:20:26 +05:30
..
20161022055031_create_accounts.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161022060602_create_inboxes.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161022061641_create_contacts.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161022062829_create_conversations.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161022072124_create_messages.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161022073137_add_sender_to_conversation.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161022080042_create_inbox_members.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161025063304_dropchannels.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161025063510_addchanneltype.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161025064031_create_facebook_pages.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161025070152_removechannelsfrommodels.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161025070645_remchannel.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161029151508_change_type_to_message_type.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161110102609_removeinboxid.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161113074313_change_integer_limit_of_sender_id.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161114101802_create_telegram_bots.rb Initial Commit 2019-08-14 15:18:44 +05:30
20161123131628_devise_token_auth_create_users.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170124104836_change_contact_to_bigint.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170131132031_addprivatemessages.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170207092002_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
20170207092003_add_missing_unique_indices.acts_as_taggable_on_engine.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
20170207092004_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
20170207092005_add_missing_taggable_index.acts_as_taggable_on_engine.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
20170207092006_change_collation_for_tag_names.acts_as_taggable_on_engine.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170207092007_add_missing_indexes.acts_as_taggable_on_engine.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
20170211092121_addallnametousers.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170211092540_notnullableusers.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170301135937_add_channel_to_user.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170329132640_create_canned_responses.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170330152347_add_user_id_to_message.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170402124536_add_role_to_user.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170403095203_contactadder.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170403140816_attachments_table.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170404095857_add_index_on_fb_page.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170406091955_add_display_id_to_conversations.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170406092426_add_display_id.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170406095417_create_trigger_conversations_insert.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170406100716_add_unique_display_id.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170406104018_add_default_status_conv.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170406134310_add_status_to_message.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170406134632_add_fb_id_to_message.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170408123445_add_last_seen_at_to_conversation.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170410101932_change_last_seen_at_to_date_time.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170424171708_create_subscriptions.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170426083945_create_attachments.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170426102045_add_fallback_title_to_attachments.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170426125410_last_seen_at_to_user_last_seen_at.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170426130050_add_agent_last_seen_at_to_conversation.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170503104957_add_lock_to_conversation.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170503162643_create_extension_for_file.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20170505164157_add_state_to_subscription.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170511134418_latlong.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170513085726_add_payment_source_added_to_subscription.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170519085519_add_pic_to_inbox.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170519091539_add_avatar_to_fb.rb Initial Commit 2019-08-14 15:18:44 +05:30
20170525104650_round_robin.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
20171014112346_create_channel_widgets.rb Initial Commit 2019-08-14 15:18:44 +05:30
20171014113353_add_chat_channel_to_contact.rb Initial Commit 2019-08-14 15:18:44 +05:30
20190819005836_add_missing_indexes_on_taggings.acts_as_taggable_on_engine.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
20190819010457_create_channels.rb Fix breaking migrations, revert migrations to 6.0 (#314) 2019-11-27 12:42:00 +05:30
20191014051743_add_invited_by_to_user.rb Fix breaking migrations, revert migrations to 6.0 (#314) 2019-11-27 12:42:00 +05:30
20191016211109_rename_channel_attribute_name_in_models.rb Fix breaking migrations, revert migrations to 6.0 (#314) 2019-11-27 12:42:00 +05:30
20191020085608_rename_old_tables.rb Fix breaking migrations, revert migrations to 6.0 (#314) 2019-11-27 12:42:00 +05:30
20191020173522_rename_sender_id_to_contact_in_conversation.rb Fix breaking migrations, revert migrations to 6.0 (#314) 2019-11-27 12:42:00 +05:30
20191024062958_add_website_token_to_web_widget.rb Fix breaking migrations, revert migrations to 6.0 (#314) 2019-11-27 12:42:00 +05:30
20191027054756_create_contact_inboxes.rb Fix breaking migrations, revert migrations to 6.0 (#314) 2019-11-27 12:42:00 +05:30
20191116073924_add_additional_attributes_to_conversation.rb Fix breaking migrations, revert migrations to 6.0 (#314) 2019-11-27 12:42:00 +05:30
20191124091232_add_widget_color_to_web_widget.rb Fix breaking migrations, revert migrations to 6.0 (#314) 2019-11-27 12:42:00 +05:30
20191126185833_update_user_invite_foreign_key.rb [BugFix] Fix Users not deletable because of foreign key reference (#300) 2019-11-27 09:01:39 +05:30
20191130164019_add_template_type_to_messages.rb [Feature] Email collect message hooks (#331) 2020-01-09 13:06:40 +05:30
20191202173004_add_not_null_constraint_to_account_name.rb Add Account Model specs (#341) 2019-12-03 10:09:45 +05:30
20191204192301_add_index_unique_channel_facebook_page_id_account_id.rb Add specs for model facebook_page (#346) 2019-12-05 13:20:04 +05:30
20191209195420_create_active_storage_tables.active_storage.rb Chore: Scope URLs with account_id (#601) 2020-03-09 23:27:10 +05:30
20191209202758_remove_image_from_user.rb Feature: Profile API [#238] (#354) 2019-12-10 10:29:35 +05:30
20191227191631_remove_carrier_wave_attributes.rb Chore: Switch from Carrierwave to ActiveStorage (#393) 2020-01-07 22:59:17 +05:30
20200107164449_add_contact_inbox_to_conversation.rb [Feature] Email collect message hooks (#331) 2020-01-09 13:06:40 +05:30
20200121190900_add_notification_settings.rb Enhancement: Move reporting metrics to postgres (#606) 2020-03-18 16:53:35 +05:30
20200121190901_create_account_users.rb Chore: Enable Users to create multiple accounts (#440) 2020-03-07 12:18:16 +05:30
20200121220431_add_uniqueness_constraint_to_account_users.rb Chore: Enable Users to create multiple accounts (#440) 2020-03-07 12:18:16 +05:30
20200124190208_create_channel_twitter_profiles.rb Feature: Twitter DM Integration (#451) 2020-02-03 00:54:00 +05:45
20200206180408_add_contact_to_message.rb Feature: Create conversations from Tweets (#470) 2020-02-09 15:47:48 +05:30
20200206180927_rename_fb_id_to_source_id.rb Feature: Create conversations from Tweets (#470) 2020-02-09 15:47:48 +05:30
20200206182948_add_additional_attributes_to_contact.rb Feature: Create conversations from Tweets (#470) 2020-02-09 15:47:48 +05:30
20200213054733_create_webhooks.rb Feature: Webhooks (#489) 2020-02-14 23:19:17 +05:30
20200217192734_add_enable_auto_assignment_to_inboxes.rb Feature: Add ability to disable auto assignment of conversations (#513) 2020-02-19 14:40:03 +05:30
20200222143100_create_agent_bots.rb Feature: Introduce bots (#545) 2020-03-06 01:43:12 +05:30
20200222143259_create_agent_bot_inboxes.rb Feature: Introduce bots (#545) 2020-03-06 01:43:12 +05:30
20200225160650_rename_urls_to_url.rb Chore: Scope URLs with account_id (#601) 2020-03-09 23:27:10 +05:30
20200225162150_add_type_to_webhook.rb Chore: Scope URLs with account_id (#601) 2020-03-09 23:27:10 +05:30
20200309170810_create_access_tokens.rb Feature: Access tokens for API access (#604) 2020-03-11 00:02:15 +05:30
20200309213132_add_account_id_to_agent_bot_inboxes.rb Feature: Access tokens for API access (#604) 2020-03-11 00:02:15 +05:30
20200310062527_create_events.rb Enhancement: Move reporting metrics to postgres (#606) 2020-03-18 16:53:35 +05:30
20200310070540_add_index_to_event.rb Enhancement: Move reporting metrics to postgres (#606) 2020-03-18 16:53:35 +05:30
20200311083854_add_index_to_message.rb Enhancement: Move reporting metrics to postgres (#606) 2020-03-18 16:53:35 +05:30
20200325210612_add_locale_to_account.rb Feature: API for updating account settings (#645) 2020-03-29 12:16:31 +05:30
20200330071706_create_channel_twilio_sms.rb Feature: Twilio SMS Channel (#658) 2020-04-05 22:11:27 +05:30
20200330115622_create_action_mailbox_tables.action_mailbox.rb Feature: Conversation Continuity with Email (#770) 2020-04-30 20:20:26 +05:30
20200331095710_add_identifier_to_contact.rb Feature: Website SDK (#653) 2020-04-03 13:04:58 +05:30
20200404092329_add_conversation_uuid.rb Feature: Conversation Continuity with Email (#770) 2020-04-30 20:20:26 +05:30
20200404135009_add_unique_validation_index.rb Feature: Twilio SMS Channel (#658) 2020-04-05 22:11:27 +05:30
20200411125638_add_domain_to_accounts.rb Feature: Conversation Continuity with Email (#770) 2020-04-30 20:20:26 +05:30
20200417093432_remove_name_from_channels.rb Chore: Web widget Inbox Tech Debts (#738) 2020-04-19 23:40:28 +05:30
20200429082655_add_medium_to_twilio_sms.rb Feature: Twilio Whatsapp Integration (#779) 2020-04-30 01:41:13 +05:30