v2024.1.68.626 - New push sending mode, Fixes
Major changes
New mode for sending push notifications
When setting up campaigns using the push channel, you can now choose the sending mode for push messages:
- fanout (default) — оsends messages to all subscriptions of profiles that match the campaign's filters.
- last — sends the message to the subscription with the most recent creation date.
Changes in the statistics table
Since the summary report was returning an incorrect number of events, the structure of the channel_report
table has been changed. You must recreate the table when updating:
./aktool stats delete channel_report
./aktool stats init channel_report
./aktool stats fill channel_report
You must stop the procevent
service before starting the migration.
Minor changes
- Improved validation of links in push templates. An error "Number of invalid links in the message" is now logged.
- In the campaign log, the entry "Number of processed subscribers" has been renamed to "Number of found subscribers."
- Added the ability to save master users without specifying roles.
- Logging for relay sending has been added to syslog.
- Improved validation of fields in the Telegram Bot channel template.
- Updated the logic of the
./aktool stats
command, used for working with the report storage. Here's how you can fill in the table:./aktool stats fill table_name
. Additionally,channel_report
andtraffic_report
can now be deleted separately.
Bug fixes
- Fixed the operation of the segment by goals with a complex condition.
- In the scenarios, JSON filter now supports the OR operator and arithmetic operations.
- In the campaign settings, when deleting a segment used for sending, the correct segment is now displayed.
- Fixed bugs in searching in resources, roles, and the market.
- In test SMS messages, the date is inserted in the specified format.
- In the quick segment, when selecting profiles by phone number, spaces between digits do not affect the result.
- Images are now correctly displayed in both desktop and mobile versions in the visual image editor.
- The footer of the email with the unsubscribe link is displayed in the visual editor.
- Links in push templates after adding UTM tags redirect the user to the right page.
- It is now impossible to save an email template with an attachment larger than 12 MB.
- In forms, the option "Hide submit button" now works correctly and does not prevent form submission if not all options are selected in the mandatory "One option" element.
- Export of the profile history of a static segment created during import now exports data without errors.
- In scenarios, the "Condition" element with the "Wait for condition for a specified time" option enabled has been fixed.
- For one push message, the same
send_message_id
is now returned for all event types in event capture. - Fixed an error when deleting a profile via the API.
- Fixed a situation where a push subscription could be created via API without specifying
subscription_id
. - Fixed the 2FA mechanism for administrators.
- Exporting audit logs in the admin panel no longer causes errors.
- Changes in sender settings with the type Rapporto SMS are now successfully saved.
- Fixed a situation where AKMTA logs contained duplicate rejection responses.
- Performance of some platform processes has been optimized.
- Some interface flaws have been fixed.
References: PL-15986 PL-15983 PL-15964 PL-15959 PL-15952 PL-15886 PL-15876 PL-15849 PL-15828 PL-15823 PL-15820 PL-15802 PL-15759 PL-15743 PL-15739 PL-15719 PL-15715 PL-15684 PL-15658 PL-15649 PL-15609 PL-15577 PL-15486 PL-15432 PL-14887 PL-14795 PL-14446 PL-14072 PL-10471 PL-10464 PL-10450 PL-10097 PL-9688 PL-7740 PL-15918 PL-15917 PL-15914 PL-15912 PL-15911 PL-15905 PL-15903 PL-15898 PL-15891 PL-15885 PL-15882 PL-15881 PL-15871 PL-15863 PL-15862 PL-15858 PL-15839 PL-15816 PL-15804 PL-15803 PL-15797 PL-15796 PL-15786 PL-15785 PL-15781 PL-15778 PL-15770 PL-15746 PL-15745 PL-15744 PL-15740 PL-15738 PL-15732 PL-15697 PL-15689 PL-15676 PL-15669 PL-15642 PL-15632 PL-15622 PL-15606 PL-15594 PL-15592 PL-15551 PL-15460 PL-15098 PL-15062 PL-15037 PL-14748 PL-14603 PL-13304 PL-13120 PL-12999 PL-11158 PL-10533