iachat/config/initializers
Cayo P. R. Oliveira f9d1146cb0
feat: mensagens agendadas (#198)
* feat:  Adds model for scheduling messages

* feat: Implement scheduled message handling and processing jobs

* feat: Add ScheduledMessagesController and associated specs for managing scheduled messages

* refactor: Simplify scheduled message job specs and improve metadata handling

* feat: Add ScheduledMessagePolicy for managing access to scheduled messages

* feat: Add routes for managing scheduled messages

* feat: Add scheduled message event handling and broadcasting

* feat: Add JSON views for scheduled messages creation, destruction, updating, and indexing

* feat: Update scheduled message status and dispatch update event after message creation

* feat: Ensure scheduled message updates trigger dispatch event

* feat: Add mutation types for managing scheduled messages

* feat: Add additionalAttributes prop to Message component and provider

* feat: Implement scheduled message handling in ActionCable and Vuex store

* feat: Add unit tests for scheduled messages actions and mutations

* feat: implement scheduled messages functionality

- Added support for scheduling messages in the conversation dashboard.
- Introduced new components: ScheduledMessageModal and ScheduledMessages for managing scheduled messages.
- Enhanced ReplyBottomPanel to include scheduling options.
- Updated Base.vue to handle scheduled message styling.
- Integrated Vuex store module for managing scheduled messages state.
- Added necessary translations for scheduled messages in English and Portuguese.

* feat: add pagination to scheduled messages index and update tests accordingly

* chore: update scheduled messages specs for future time validation and response status

* chore: enhance scheduled messages API with pagination and add skeleton loader component

* feat: add create_scheduled_message action to automation rule attributes

* feat: implement create_scheduled_message action and enhance attachment handling

* feat: add scheduled message functionality with UI components and localization

* test: enhance scheduledMessages mutations tests with meta handling and structure

* chore: update label to display file name upon successful upload in AutomationFileInput component

* feat: add initialAttachment prop to ScheduledMessageModal and update ReplyBox to pass attachment

* chore: prepend_mod_with to ScheduledMessagesController for better module handling

* fix: attachment visibility in ScheduledMessageItem component

* chore: enhance ScheduledMessage model with validations and reduce controller load

* refactor: simplify ScheduledMessagesAPI methods by removing unnecessary instance variable

* chore: update event emission for scheduled message creation in ReplyBox and ScheduledMessageModal

* refactor: update status configuration to use label keys

* chore: update date formatting in ScheduledMessageItem component

* refactor: collapse logic to checkOverflow and update related functionality

* chore: add author indication for current user in scheduled messages

* chore: enhance scheduled message metadata with author information and localization

* fix: send message shortcut

* chore: handle errors in scheduled message submission

* chore: update scheduled message modal to use combined date and time input

* chore: refactor scheduled messages handling to remove pagination and update related tests

* fix: ensure scheduled messages update status and dispatch on failure

* fix: update scheduled message due date logic and simplify sending checks

* refactor: rename build_message method for send_message

* fix: update scheduled message creation time and improve test reliability

* chore: ignore unnecessary check

* chore: add scheduled message metadata handling  in message builder, add scheduled message factorie and update specs

* refactor: use scheduled message factorie creation in specs

* chore: streamline error handling in scheduled message job and remove dispatch logic

* fix: change scheduled_messages association to destroy dependent records

* refactor: remove unused attributes from scheduled message payload builder

* chore: update scheduled message retrieval to use conversation association

* chore: correct cron format for scheduled messages job

* chore: remove migration for author_type in scheduled_messages

* feat: enhance scheduled messages management with delete confirmation and error handling

* chore: set cron poll interval to 10 seconds for improved scheduling precision

* feat: include additional_attributes in message JSON response

* feat: enhance scheduled message validation and localization support

* chore: update scheduled message display

* Merge branch 'main' into Cayo-Oliveira/CU-86aenh268/Mensagens-agendadas

* feat: add scheduled message indicators and validation for message length

* fix: remove unnecessary condition from line-clamp class binding

* feat: update scheduled messages localization and enhance content validation

* feat: update scheduled messages order, enhance scheduledAt computation, and add message association

* fix: reorder condition for Facebook channel message length computation

* fix:  change detection for attachments in scheduled messages

* fix: remove unnecessary colon from close-on-backdrop-click prop in ScheduledMessageModal

* chore: add error handling for scheduled message deletion and update localization for delete failure

* fix: enforce minimum delay of 1 minute for scheduled messages and update validation

* fix: remove unused private property and improve locale formatting for scheduled messages

* fix: adjust positioning of DropdownBody in ReplyBottomPanel and clean up schema foreign keys

* docs: add scheduled messages management APIs and payload definitions

---------

Co-authored-by: gabrieljablonski <contact@gabrieljablonski.com>
2026-01-30 22:08:16 -03:00
..
monkey_patches feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
00_init.rb Chore: Fix failing sidekiq events for contact create (#966) 2020-06-16 19:39:57 +05:30
01_inject_enterprise_edition_module.rb chore: Introduce enterprise edition license (#3209) 2021-12-09 12:07:48 +05:30
01_redis.rb fix: increase the alfred connection pool size to 10 (#13138) 2025-12-23 13:59:20 +07:00
actioncable.rb chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
active_record_query_trace.rb chore: Upgrade rails and ruby versions (#2400) 2021-08-03 20:11:52 +05:30
ai_agents.rb feat: legacy features to ruby llm (#12994) 2025-12-11 14:17:28 +05:30
application_controller_renderer.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
assets.rb chore: Upgrade rails and ruby versions (#2400) 2021-08-03 20:11:52 +05:30
audited.rb feat: Audit log APIs (#6434) 2023-03-01 20:02:58 +05:30
backtrace_silencers.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
content_security_policy.rb feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
cookies_serializer.rb Initial Commit 2019-08-14 15:18:44 +05:30
cors.rb feat: Allow CORS api access (#11546) 2025-05-22 10:13:15 +05:30
custom_error_codes.rb Chore: Fix failing sidekiq events for contact create (#966) 2020-06-16 19:39:57 +05:30
datadog.rb chore: Handle APM variables being empty (#6594) 2023-03-02 16:00:16 +05:30
devise_token_auth.rb chore: Increase the max concurrent number of devices (#6121) 2022-12-30 13:54:37 -08:00
devise.rb chore: Fix user email re-confirmation flow (#3581) 2021-12-16 19:32:49 +05:30
event_handlers.rb Refactor Conversation model (#134) 2019-10-12 23:38:41 +05:30
facebook_messenger.rb fix: Add delay to instagram/messenger echo events to prevent duplicate messages (#12032) 2025-07-24 21:11:02 +04:00
feature_policy.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
filter_parameter_logging.rb feat: MFA (#12290) 2025-09-18 20:19:24 +05:30
geocoder.rb fix: ip-lookup database lazy loading for all environments (#8052) 2024-10-22 23:18:30 -07:00
git_sha.rb chore: fix git_sha in instance health (#8893) 2024-02-12 14:33:15 +05:30
inflections.rb Initial Commit 2019-08-14 15:18:44 +05:30
languages.rb chore: Add bulgarian (bg) language (#12189) 2025-08-13 10:23:25 -07:00
liquid_handler.rb feat: Improved password security policy (#2345) 2021-06-07 17:26:08 +05:30
lograge.rb fix: Lograge issue on non api pages (#10193) 2024-10-01 16:53:27 -07:00
mailer.rb Chore/merge upstream 4.8.0 (#150) 2025-11-19 16:25:58 -03:00
mime_types.rb Initial Commit 2019-08-14 15:18:44 +05:30
omniauth.rb feat: SAML authentication controllers [CW-2958] (#12319) 2025-09-10 20:02:27 +05:30
permissions_policy.rb chore: Upgrade to Rails 7 (#6719) 2023-05-06 10:44:52 +05:30
rack_attack.rb feat: MFA (#12290) 2025-09-18 20:19:24 +05:30
rack_profiler.rb chore: Improvements for codespace (#11667) 2025-06-04 00:21:23 -05:00
rack_timeout.rb chore: Set rack-timeout to log at ERROR level (#10400) 2024-11-11 12:35:05 -08:00
resend.rb feat: add Resend email delivery method and configuration (#11) 2025-04-03 23:28:38 -03:00
searchkick.rb feat(ee): Setup advanced, performant message search (#12193) 2025-08-28 10:10:28 +05:30
secure_password.rb feat: Improved password security policy (#2345) 2021-06-07 17:26:08 +05:30
sentry.rb chore: Handle APM variables being empty (#6594) 2023-03-02 16:00:16 +05:30
session_store.rb chore: Use 'Lax' instead of 'None' (#1129) 2020-08-09 18:13:17 +05:30
sidekiq.rb feat: mensagens agendadas (#198) 2026-01-30 22:08:16 -03:00
stripe.rb chore: Add ee helper, custom_attributes to account (#5058) 2022-07-19 00:33:06 +05:30
warden_hooks.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
wrap_parameters.rb Initial Commit 2019-08-14 15:18:44 +05:30