discourse/plugins/chat/spec/system
Martin Brennan 5d9306a6fc FIX: Improve error reporting and failure modes for channel archiving (#19791)
There was an issue with channel archiving, where at times the topic
creation could fail which left the archive in a bad state, as read-only
instead of archived. This commit does several things:

* Changes the ChatChannelArchiveService to validate the topic being
  created first and if it is not valid report the topic creation errors
  in the PM we send to the user
* Changes the UI message in the channel with the archive status to reflect
  that topic creation failed
* Validate the new topic when starting the archive process from the UI,
  and show the validation errors to the user straight away instead of
  creating the archive record and starting the process

This also fixes another issue in the discourse_dev config which was
failing because YAML parsing does not enable all classes by default now,
which was making the seeding rake task for chat fail.
2023-01-25 13:48:49 +02:00
..
list_channels DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
page_objects DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
shortcuts DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
user_menu_notifications DEV: attempts to move all Jobs.run_immediately! at top (#19688) 2023-01-03 11:32:27 +01:00
user_status DEV: attempts to move all Jobs.run_immediately! at top (#19688) 2023-01-03 11:32:27 +01:00
anonymous_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
archive_channel_spec.rb FIX: Improve error reporting and failure modes for channel archiving (#19791) 2023-01-25 13:48:49 +02:00
bookmark_message_spec.rb FIX: Bookmark auto delete preference usage and default value (#19707) 2023-01-05 08:43:58 +10:00
browse_page_spec.rb FIX: correctly uses request_uri to generate load_more_url (#19680) 2023-01-03 00:19:13 +01:00
channel_about_page_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
channel_info_pages_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
channel_members_page_spec.rb DEV: attempts to move all Jobs.run_immediately! at top (#19688) 2023-01-03 11:32:27 +01:00
channel_selector_modal_spec.rb DEV: Improve performance of system test sign_in helper (#19579) 2022-12-22 16:03:27 +00:00
channel_settings_page_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat_channel_spec.rb DEV: enables threadsafe for system tests 2023-01-02 15:17:21 +01:00
chat_composer_spec.rb DEV: Add upload system specs for chat (#19604) 2022-12-23 08:41:10 +01:00
closed_channel_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
create_channel_spec.rb FIX: corrects a regression with last_read_message_id (#19553) 2022-12-21 19:49:32 +01:00
deleted_channel_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
edited_message_spec.rb FIX: re-enables using_session tests (#19564) 2022-12-22 14:40:36 +01:00
flag_message_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
hashtag_autocomplete_spec.rb DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
jit_messages_spec.rb DEV: Fix syntax error in spec file (#19702) 2023-01-04 05:51:21 +08:00
message_notifications_mobile_spec.rb DEV: attempts to move all Jobs.run_immediately! at top (#19688) 2023-01-03 11:32:27 +01:00
message_notifications_with_sidebar_spec.rb DEV: attempts to move all Jobs.run_immediately! at top (#19688) 2023-01-03 11:32:27 +01:00
move_message_to_channel_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
navigating_to_message_spec.rb DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
navigation_spec.rb FIX: correctly handles navigating to a message (#19614) 2022-12-23 19:48:14 +01:00
network_reconciliation_spec.rb FIX: ensures recovering network doesn't create unread mentions (#19597) 2022-12-23 07:38:45 +01:00
react_to_message_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
read_only_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
replying_indicator_spec.rb FIX: re-enables using_session tests (#19564) 2022-12-22 14:40:36 +01:00
sidebar_navigation_menu_spec.rb DEV: Improve performance of system test sign_in helper (#19579) 2022-12-22 16:03:27 +00:00
sidebars_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
silenced_user_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
transcript_spec.rb DEV: Re-enable chat transcript nested system spec (#19758) 2023-01-06 09:04:38 +10:00
unfollow_dm_channel_spec.rb DEV: Improve performance of system test sign_in helper (#19579) 2022-12-22 16:03:27 +00:00
uploads_spec.rb DEV: Add chat system spec for multi-file upload (#19709) 2023-01-04 15:26:52 +01:00
user_card_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
user_chat_preferences_spec.rb FIX: correctly allows admin to visit a user chat's preferences page (#19619) 2022-12-23 21:18:09 +01:00
visit_channel_spec.rb FIX: better chat-api error handling (#19550) 2022-12-21 16:11:35 +01:00