Friday, October 13, 2023
2 changes · master
Enhancements to existing features
Event registrations are now confirmed by default, while unpaid sale-linked registrations no longer reserve seats until payment or order confirmation. This simplifies event management, removes redundant payment tracking, and improves registration views and seat availability handling.
Original PR description
We remove the is_paid field and based the logic on the payment_status as these two fields are a bit redundant. It is also in preparation to the removal of the field auto_confirm on the event.event model. The goal is to ease and simplify the management of registrations. Remove autoconfirm logic and simplify the flow of event registrations. Now a registration is by default considered as confirmed and the draft state is not used anymore by default. It is used in combination with sales before a registration is considered as paid. It allows to avoid blocking seats in an event while registration fees are not paid. task-3061849
Knowledge articles now offer a more flexible file block: users can preview files, rename how files appear in an article, and download or view them from public pages. The update also prevents unsaved article content from being lost when related files are deleted from the chatter.
Original PR description
Rework the `/file` command to add more flexibility and features: - Allow a file preview with the FileViewer - Allow to rename the file in the article (not the attachment itself) (that name will be used when downloading the file). In a technical point of view: - Store the attachment information as an object (`FileModel`) that is directly usable by the `FileViewer` and more detailed than the limited props that were available before. - Improve the custom `MediaDialog` used with the command so that it directly renders the `Behavior` block. - Fixes some minor issues related to this `Behavior`. see commits for a more detailed overview task-3172056