servatrice/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 Counter expressions (#3534) 2019-02-02 13:56:49 -05:00
pb add option to delete a user's messages (#4362) 2021-09-14 16:05:20 -04:00
sfmt update sfmt to version 1.5.1 from 1.4.1 (#4124) 2020-10-02 12:13:12 -04:00
CMakeLists.txt Counter expressions (#3534) 2019-02-02 13:56:49 -05:00
color.h Tabs to spaces. 2014-07-08 22:53:02 -04:00
decklist.cpp fix #4249 (#4285) 2021-04-01 23:35:36 -04:00
decklist.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
expression.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
expression.h Counter expressions (#3534) 2019-02-02 13:56:49 -05:00
featureset.cpp Change release name/number for 2.8.0 and make it a forced update 2021-01-26 14:56:29 -05:00
featureset.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
get_pb_extension.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
get_pb_extension.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
rng_abstract.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
rng_abstract.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
rng_sfmt.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
rng_sfmt.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
room_message_type.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -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
server_abstractuserinterface.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_abstractuserinterface.h apply chat flood prevention in games next to rooms (#4387) 2021-06-28 01:57:46 -04:00
server_arrow.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_arrow.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_arrowtarget.cpp Tabs to spaces. 2014-07-08 22:53:02 -04:00
server_arrowtarget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_card.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_card.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
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 clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_counter.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_database_interface.cpp Overhaul common's CMakeLists.txt 2014-06-11 01:24:34 +02:00
server_database_interface.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_game.cpp do not edit the zone currently iterated on (#4345) 2021-05-10 13:21:12 -04:00
server_game.h fix deprecation of QMutex::Recursive in favor of QRecursiveMutex (#4328) 2021-05-01 18:51:17 -04:00
server_metatypes.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
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_player_reference.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_protocolhandler.cpp apply chat flood prevention in games next to rooms (#4387) 2021-06-28 01:57:46 -04:00
server_protocolhandler.h apply chat flood prevention in games next to rooms (#4387) 2021-06-28 01:57:46 -04:00
server_remoteuserinterface.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_remoteuserinterface.h apply chat flood prevention in games next to rooms (#4387) 2021-06-28 01:57:46 -04:00
server_response_containers.cpp send hidden info to judge instead of player (#4297) 2021-03-25 22:35:46 -04:00
server_response_containers.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
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
serverinfo_user_container.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
serverinfo_user_container.h fix compiling on gcc 9 (#3830) 2019-10-02 15:48:49 -04:00
user_level.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00