Cockatrice/common
ebbit1q 1e995cd97c
add option to delete a user's messages (#4362)
* add option to delete a user's messages

add optional parameter remove_messages to the ban and warn commands
add event for clients to redact messages
implement server side command and message handling
implement server history removal
todo: client side implementation

add option to remove messages to moderator action dialogs

add storage of message beginnings to chatview

add redactMessage command
handle Event_RemoveMessages on rooms

this approach is favored over parsing the chatroom after the fact but
will use additional memory to store the block indexes

this also leaves a problem in that user messages from the chat backlog
are not removed in the same way because they don't have a user
associated with them

add workaround for old qt versions

add action for users to remove messages from users in chats

add chat history to userMessagePositions with regex

proper const usage for userName

allow removing the messages of unregistered users

add menus to usernames in chat history

this allows you to remove user messages on chat history as well
this also allows moderators to take actions on users in chat history

Apply suggestions from code review

* readd missing call to handler
2021-09-14 16:05:20 -04:00
..
lib
pb add option to delete a user's messages (#4362) 2021-09-14 16:05:20 -04:00
sfmt
CMakeLists.txt
color.h
decklist.cpp
decklist.h
expression.cpp
expression.h
featureset.cpp
featureset.h
get_pb_extension.cpp
get_pb_extension.h
rng_abstract.cpp
rng_abstract.h
rng_sfmt.cpp
rng_sfmt.h
room_message_type.h
server_abstractuserinterface.cpp
server_abstractuserinterface.h
server_arrow.cpp
server_arrow.h
server_arrowtarget.cpp
server_arrowtarget.h
server_card.cpp
server_card.h
server_cardzone.cpp fix card moving on server (#4413) 2021-09-14 15:48:46 -04:00
server_cardzone.h fix card moving on server (#4413) 2021-09-14 15:48:46 -04:00
server_counter.cpp
server_counter.h
server_database_interface.cpp
server_database_interface.h
server_game.cpp
server_game.h
server_metatypes.h
server_player_reference.h
server_player.cpp fix card moving on server (#4413) 2021-09-14 15:48:46 -04:00
server_player.h fix card moving on server (#4413) 2021-09-14 15:48:46 -04:00
server_protocolhandler.cpp
server_protocolhandler.h
server_remoteuserinterface.cpp
server_remoteuserinterface.h
server_response_containers.cpp
server_response_containers.h
server_room.cpp add option to delete a user's messages (#4362) 2021-09-14 16:05:20 -04:00
server_room.h add option to delete a user's messages (#4362) 2021-09-14 16:05:20 -04:00
server.cpp add option to delete a user's messages (#4362) 2021-09-14 16:05:20 -04:00
server.h add option to delete a user's messages (#4362) 2021-09-14 16:05:20 -04:00
serverinfo_user_container.cpp
serverinfo_user_container.h
user_level.h