lopar
a9265dc4d8
Refactor code to improve maintainability and readability
...
This commit introduces changes aimed at enhancing code maintainability and readability. The most significant was moving code responsible for various future checks into a separate file to reduce clutter. Additionally, the code has been cleaned up, removing excessive spacing and redundancies.
2023-12-09 15:47:09 +02:00
lopar
dac8ffef5d
Refactor _mod.php by stripping out conditional moderator statements. The update centralizes authorization checks for various moderation actions such as blocking users and appointing new moderators. It also optimizes several lines in the code by suppressing unnecessary components. The old method of using 'admin' has been replaced by an object-oriented 'm' class to streamline and improve code maintenance.
2023-12-08 18:56:26 +02:00
lopar
8c4778c093
Remove conditional moderator check in _mod.php
2023-12-08 18:15:50 +02:00
lopar
1cf5f5b2a0
Cleaned up the code in main.php and _mod.php to simplify the handling of user roles and permissions. The previous alignment-based role assignments have been streamlined into a single "moderation" action.
2023-12-08 18:14:29 +02:00
lopar
9912955775
Refactor code and move admin user registration into separate class.
...
The new class, named UserRegistrationList, aims to handle user registrations specifically for administrators. Some superfluous code has been removed for better readability and efficiency, and replaced with simplified CSS styles and SQL queries. The use of Core\Db and Moderation\UserRegistrationList has been introduced to improve the structure and organization of the code.
2023-12-08 17:56:55 +02:00
lopar
cda265c799
Регистрации персонажей только для администраторов в отдельный класс.
2023-12-08 17:55:40 +02:00
lopar
99341cfd07
Перенос разрозненных файлов в фабрику. Утилизация неиспользуемых функций. #49
...
Переводы и добавление в ЛД надо писать заново потому что вот зачем ОКАЗЫВАЕТСЯ были нужны сокращения, которые удалялись из логов последние два года - для сортитровки выдачи вот в этом файле. :(
2023-12-08 15:20:27 +02:00
lopar
580de8ea3f
Перенос разрозненных файлов в фабрику. Утилизация неиспользуемых функций. #49
2023-12-08 13:39:20 +02:00
lopar
7a5fd62f1e
Перенос разрозненных файлов в фабрику. Утилизация неиспользуемых функций. #49
2023-12-05 03:01:04 +02:00
lopar
b69f57a73a
Удалены проверки на чистоту.
2023-12-02 02:18:44 +02:00
lopar
00c0641591
Хаос повержен! :D
2023-12-02 01:55:59 +02:00
lopar
5f25fcd7e5
Вызов логина персонажа по единому стандарту.
2023-12-01 00:51:17 +02:00
lopar
5df55f8623
Удаление остатков регистратуры. #56
2023-07-19 15:52:11 +03:00
lopar
92772463e6
Регистратура объединяется со вкладкой кланы. #54 . Closes #56 .
2023-07-19 15:36:13 +03:00
lopar
b064cb349c
Удалён Банк. #54
2023-07-11 18:16:35 +03:00
lopar
adc1f81007
Большая чистка.
2023-06-23 17:44:24 +03:00
lopar
2bc67ce543
Переезд impstats и additem..
2023-04-16 02:54:34 +03:00
lopar
6afdb1a1be
Рефакторинг
2023-04-15 22:18:30 +03:00
lopar
cfaf82f73a
Уборка Unreachable statement. Замена === на == и !== на != в яваскриптах из-за ошибок с нестрогой типизацией при переходе на 7.4.
2023-04-08 18:14:19 +03:00
lopar
01b504e677
Отказ от абсолютных ссылок https://new-combats.com/ * к относительным /*. Замена https://img.new-combats.com на //img.new-combats.tech.
2023-03-31 21:38:39 +03:00
lopar
1b5bf26294
Замена short_tags и <?php echo.
2023-03-31 19:54:33 +03:00
lopar
99b90a198b
Реализация ChatMessageDTO.
2023-01-28 04:24:37 +02:00
lopar
b3810d2349
Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.
2023-01-10 19:26:14 +02:00
lopar
90b9c8325e
Utf8 convert
2023-01-10 18:30:35 +02:00
lopar
924be6329b
7.4 to the go
2022-12-19 20:26:14 +02:00
lopar
5f4b2cbf77
Init.
2022-06-07 00:30:34 +03:00