Vayle 29473aa7f5
[Rules] Add rule to allow players to permanently save chat channels to database, up to a limit. (#2706)
* Initial code

* Tweak

* Rule description tweak

* More channel work

* More adjustments

* Auto-join saved permanent player channels

* Fix UCS crash if player has no channels to load from table.

* Implemented channel blocking feature

* Update database when player channel's owner or password change

* First round of requested changes.

* Logic tweak to ensure player channels are sets to permanent when appropraite

* name_filter table integration and some refactoring

* Use new `reserved_channel_names` table to block specific channel names.

* Remove some legacy channel block code

* Setup required SQL update to create  `reserved_channel_names`  table.

* Update db_update_manifest.txt

* Update db_update_manifest.txt

* Update chatchannel.cpp

* Code review

* Database to UCSDatabase

* Repository SaveChatChannel

* CurrentPlayerChannelCount repository

* Cleanup name filter

* CreateChannel

* Update websocketpp

* Increment CURRENT_BINARY_DATABASE_VERSION

Set to 9216

* Minor tweaks to blocked channel name checks & other related areas.

- Enforce blocked channel names on channel creation.
- Also enforce blocked channel names on channel join.
- Add channel status check to Debug logging.
- Minor formatting adjustments.
- Add single quotes to column name value in query.

* Minor log change

* Increment DB Version

* Formatting Tweaks

- Made formatting adjustments consistent with KinglyKrab's recommended changes.
- This compiles successfully with these changes, but unable to test the changes until this weekend.

Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-01-18 22:42:09 -06:00
..
2020-07-07 02:09:39 -05:00
2014-08-21 16:44:02 -07:00
2014-08-21 17:26:32 -07:00
2016-05-30 06:52:25 -04:00
2017-01-22 22:26:34 -08:00
2014-08-21 19:33:02 -07:00
2014-08-21 19:33:02 -07:00
2014-08-21 17:26:32 -07:00
2016-05-25 16:10:28 -04:00
2014-08-21 17:26:32 -07:00
2015-12-17 14:14:04 -08:00
2015-12-17 14:14:04 -08:00
2018-04-27 21:41:52 -04:00
2018-04-27 21:41:52 -04:00
2016-05-25 02:38:06 -04:00
2020-01-16 17:17:31 -05:00
2014-08-21 19:36:50 -07:00
2020-05-09 14:40:33 -05:00
2021-07-16 21:50:46 -04:00
2014-12-15 22:42:59 -06:00
2015-01-19 04:02:45 -06:00
2019-04-16 01:09:25 -07:00
2019-04-16 01:09:25 -07:00
2019-09-01 23:54:24 -05:00
2016-10-16 21:36:39 -04:00
2019-09-01 23:41:26 -05:00
2018-07-14 17:41:42 -04:00
2014-08-21 19:33:02 -07:00
2022-10-15 15:17:50 -05:00