Commit Graph

535 Commits

Author SHA1 Message Date
Alexander Nell
44d8fd1db2 Merge branch 'master' of https://github.com/ManiaControl/ManiaControl 2020-06-22 04:53:33 +02:00
Alexander Nell
566f77801f Fix Chat::formatMessage issues after tests 2020-06-22 04:53:31 +02:00
kremsy
650afc500a added error messages on invalid incoming communication messages 2020-06-07 16:17:20 +02:00
Alexander Nell
9abadac932 Use Chat::formatMessage in Server/* 2020-06-02 17:30:30 +02:00
Alexander Nell
5717589588 Use Chat::formatMessage in Main-Files 2020-05-30 23:33:52 +02:00
Alexander Nell
965ee220ba Use Chat::formatMessage in Updates/* 2020-05-30 23:28:39 +02:00
Alexander Nell
ec93e56869 Use Chat::formatMessage in Plugins/* 2020-05-30 22:45:43 +02:00
Alexander Nell
74dc8182bf Use Chat::formatMessage in Players/* 2020-05-30 22:42:39 +02:00
Alexander Nell
06f24a1bfb Use Chat::formatMessage in Configurator/*, ManiaExchange/* and Maps/* 2020-05-27 00:01:36 +02:00
Alexander Nell
1d0215df52 use Chat::formatMessage in Commands-namespace 2020-05-26 21:56:00 +02:00
Alexander Nell
a311dcdbd9 Unified implementation of AuthCommands 2020-05-26 18:15:18 +02:00
Alexander Nell
cfaa114daa Force authLevel to be interpreted as integer 2020-05-26 18:14:50 +02:00
Alexander Nell
cb84df401a Added formatMessage to Chat, and used it in LocalRecordsPlugin first 2020-05-26 17:49:29 +02:00
Alexander Nell
1071c46b5b Reorder Functions by Name 2020-05-25 10:52:36 +02:00
Alexander Nell
2c9ea14b78 New Adhoc-Callbacks which get triggered after the callback that added them 2020-05-21 20:51:51 +02:00
Alexander Nell
14c03d6323 Bump ManiaControl Version to v0.255 2020-05-21 15:43:48 +02:00
Alexander Nell
f6a2c179af Guarantee order of checkpoint/finish-callback-triggers, so finish triggers after CPs 2020-05-21 15:26:50 +02:00
Alexander Nell
7c04504e6a Add optional descriptions to settings 2020-05-19 22:07:18 +02:00
Alexander Nell
8760364d82 Deactivate a plugin, if it throws an exception 2020-05-19 20:48:56 +02:00
Alexander Nell
ab3e39086c New Plugin-Install-Filter for MC-version eligibility 2020-05-19 14:41:35 +02:00
Alexander Nell
fea298cf58 Remove left over var_dump 2020-05-19 13:46:45 +02:00
Alexander Nell
64e136e9e4 Check on error number rather than error message 2020-05-19 13:45:42 +02:00
Alexander Nell
85435c1b4b Fixed Typo in Actions Panel of Player List 2020-05-18 18:54:55 +02:00
Alexander Nell
50408c75f6 Add CSV-export of local records 2020-05-18 08:46:19 +02:00
Alexander Nell
0148923268 Added filter and sort settings to GameMode-Settings 2020-05-18 08:06:41 +02:00
Alexander Nell
2f85e6bfcc Updated Changelog & Version 2020-05-16 22:41:09 +02:00
Alexander Nell
2257e43404 Improve Database-Rename 2020-05-16 22:16:07 +02:00
Alexander Nell
fda5790af5 Rename table of gamemode-settings, if possible 2020-05-11 17:40:37 +02:00
Alexander Nell
9a259d7913 Resolve Crash on //unban without login 2020-05-11 17:19:35 +02:00
Alexander Nell
7354ed278c Moved Default-Karma-Plugin constant 2020-05-11 17:14:10 +02:00
Alexander Nell
bd90714ed3 Null-checks on KarmaGauge 2020-05-11 17:05:56 +02:00
Alexander Nell
5956bb292d Settings of Legacy-Modes and client-functions have sometimes different names, calls could not be executed, fixed now 2020-05-09 21:44:44 +02:00
Alexander Nell
67c9180f9c Unified Creations of round Text-Buttons 2020-05-07 18:39:27 +02:00
Alexander Nell
860678e57f Do not call the Waypoint-Callback itself again 2020-05-07 13:05:39 +02:00
Alexander Nell
0db1636a38 WayPoint-Callback already takes a Structure 2020-05-07 12:58:35 +02:00
Alexander Nell
9a7952811a TMCallbacks registered itself to trigger more sophisticated callbacks now, otherwise they were swallowed up 2020-05-07 12:55:58 +02:00
Alexander Nell
047f05124b Removed now unnecessary Chat-Notification for new GameMode-Settings 2020-04-30 14:40:45 +02:00
Alexander Nell
2e6dd5efd5 Display Current- and Next-GameInfos in Configurator 2020-04-30 12:04:48 +02:00
Alexander Nell
4532f2f5e7 Add graphical support for Legacy-Modes 2020-04-28 17:52:17 +02:00
Alexander Nell
38c239202f Add missing Legacy-Callbacks 2020-04-27 15:49:34 +02:00
Alexander Nell
4ec8e1e1de Version Bump 2020-04-26 10:09:58 +02:00
Alexander Nell
6a95184759 Fixed Syntax-Error on getChat 2020-04-26 10:01:22 +02:00
Alexander Nell
9dc455774f Disabled //restart , restored backwards compatibility for the backend on restart 2020-04-26 09:47:33 +02:00
Alexander Nell
c04f39a056 Show temporary loading screen on MX-List 2020-04-25 16:53:16 +02:00
Alexander Nell
66eb685688 Unified usages of Karma-Gauge in new ElementBuilder 2020-04-24 18:52:18 +02:00
Alexander Nell
c2064c8d78 Renamed //restart to //reboot 2020-04-24 18:51:38 +02:00
Alexander Nell
8d9af39797 Remove unused variables 2020-04-21 18:34:51 +02:00
Alexander Nell
eff33a0076 Merge branch 'master' of https://github.com/ManiaControl/ManiaControl 2020-04-21 18:33:45 +02:00
kremsy
f31a1c1782 fixed number mismatch declerations
code cleanups
2020-04-21 17:57:36 +02:00
Alexander Nell
567c6a0aa2 Fixed undefined variable errors 2020-04-21 17:52:15 +02:00
kremsy
06b3893a27 fixed number mismatch declerations 2020-04-21 17:44:54 +02:00
Alexander Nell
324cbdce50 Removed multi-catch for PHP5 and bumped MC-Version 2020-04-21 17:37:42 +02:00
kremsy
ed250af546 added unkown command to gamemodeexception 2020-03-28 18:08:05 +01:00
kremsy
68edd009fc fixed pause vote and start for combo 2020-03-26 21:42:14 +01:00
Alexander Nell
35683d45ba Updated changelog with newest versions, added ingame-window to display it. 2020-03-16 00:12:36 +01:00
Alexander Nell
96d0a1b5c9 Extended Join&Leave by Login 2020-03-11 12:07:26 +01:00
Alexander Nell
165fec3317 Move Join-/Leave-Coloring from Chat to Admin/ColorManager, and add setting to disable 2020-02-29 15:14:48 +01:00
Alexander Nell
14f0d9b20c Include map times in Map-Structure and update them when necessary 2020-02-28 19:54:47 +01:00
Alexander Nell
ae3d1d69da Added chat colors to roles, only used in Join/Leave messages so far 2020-02-28 17:38:05 +01:00
Alexander Nell
f8da547326 Resolve symbolic links with realpath in server directories 2020-02-28 16:18:05 +01:00
Alexander Nell
849e781208 Solve non-numeric warning on self-triggered debug notice 2020-02-27 00:41:01 +01:00
Alexander Nell
6eff76b3cf Increase version number to 0.251 2020-02-25 18:46:29 +01:00
Alexander Nell
e8d2b2e81e Remove scalar typehints to support PHP5 2020-02-25 17:48:27 +01:00
Alexander Nell
29fff4e012 Replace deprecated is_real by is_float 2020-02-25 17:48:08 +01:00
axelalex2
fa7ea9f4f3
Multiple Features to improve ManiaControl usability (#234)
* ServerUIPropertiesMenu for Configurator to edit builtin UIProperties of MP

* fixed unregister-functions of CallbackManager

* Reducing menuItemHeight in Configurator to avoid overlapping of the menu items

* Fully rebuild the admins menu after a player rights changed

* Added function to FileUtil to improve realpath, so symbolic links can be resolved

* Fixed indentation

* Update FileUtil.php

Fixed error in case of an absolute path on Unix-like systems.

* New CallQueue which runs once inbetween the MC-loops

* Added important queued call to be executed earlier

* ErrorMethod made optional, as in some cases, there might be nothing to fail

* Clean up repository from unnecessary files

* Added easy installation script for DB on Unix-like systems

* Replaced deprecated is_real by is_float

* Add milliseconds with dot instead of double colon

* Resolved deprecated curly braces error

* gitignore all hidden files (except git and gitignore)

* Update MC-update-check-interval, so that a restart is not required

* Update gitignore to not ignore changes in MCTeam-Plugins

* Update gitignore again

* And another try

* fixed MasterAdmin //delrec, added personal /delrec-command with permission-setting

* Increase version number of local records plugin

* Add Permission to delete any record

* Reworked notifications of locals, removed private only, added private at rank

* Fix formatting

* Allow AuthenticationManager to store Plugin Permissions

* Method to check, if a named function call is already queued

* Added command disable feature

* Reset timer if DeltaTime updated, so it does not try to catch up missed timings

* Added private notification setting

* To reduce load of multiple records (especially in rounds), queue call chat notifications

* Added internal function to plugin manager to return plugin menu

* restore .idea codestyle files

* Update MC-Version number to 0.250
2020-02-24 17:20:51 +01:00
kremsy
9252605be0 version increase 2020-01-22 10:44:09 +01:00
kremsy
1038abdbed updated copyright label 2020-01-22 10:39:35 +01:00
jonthekiller
3a10908d25 Update StatisticManager.php (#218)
* Update StatisticManager.php

Fix warning PHP 7.3

* Update StatisticManager.php

Rollback change inside foreach
2019-04-27 19:31:06 +02:00
axelalex2
0c28d683f5 New function to help resolve not-found files/directories (#217)
* ServerUIPropertiesMenu for Configurator to edit builtin UIProperties of MP

* fixed unregister-functions of CallbackManager

* Reducing menuItemHeight in Configurator to avoid overlapping of the menu items

* Fully rebuild the admins menu after a player rights changed

* Added function to FileUtil to improve realpath, so symbolic links can be resolved

* Fixed indentation

* Update FileUtil.php

Fixed error in case of an absolute path on Unix-like systems.
2019-04-27 19:22:42 +02:00
axelalex2
e241f729ce Solving #177 and #193 (#205)
* ServerUIPropertiesMenu for Configurator to edit builtin UIProperties of MP

* fixed unregister-functions of CallbackManager

* Reducing menuItemHeight in Configurator to avoid overlapping of the menu items

* Fully rebuild the admins menu after a player rights changed
2019-01-07 17:16:29 +01:00
kremsy
ba1f6d54bd updated version and year in comments 2019-01-05 21:02:24 +01:00
axelalex2
37ae2a62c2 Fixed unregister-functions in CallbackManager (#199)
* ServerUIPropertiesMenu for Configurator to edit builtin UIProperties of MP

* fixed unregister-functions of CallbackManager
2018-11-16 18:53:16 +01:00
axelalex2
8c2ae55d97 ServerUIPropertiesMenu for Configurator to edit builtin UIProperties of MP (#194) 2018-10-06 21:01:33 +02:00
Lukas Kremsmayr
3bc3a4e65d
Update ManiaControl.php
updated version for new release
2018-09-17 11:24:05 +02:00
jonthekiller
a1bc66a4c8 Add missing countries (#192) 2018-07-12 22:39:40 +02:00
kremsy
eecd91dae1 MapList now show local record if plugin is activated (#191)
(reverted from commit 2177858368)
2018-07-11 17:49:00 +02:00
kremsy
9c0500f42b version increase + small fix 2018-07-11 17:47:17 +02:00
agiorla
2177858368 MapList now show local record if plugin is activated (#191) 2018-07-11 17:29:39 +02:00
axelalex2
0ab36b6fd3 Update PluginUpdateManager.php to partly fix issue #177 (#180)
This update partly fixes the issue https://github.com/ManiaControl/ManiaControl/issues/177 in the plugin installation case.
2018-06-05 20:47:51 +02:00
axelalex2
f39b14ba61 Update PluginMenu.php to partly fix issue #177 (#179)
This update partly fixes the issue https://github.com/ManiaControl/ManiaControl/issues/177 in the plugin activation/deactivation/changing case. It's not the perfect code, because it should be fixed inside core/Plugins/PluginManager.php, but it fixes the issue for now.
2018-06-05 20:47:36 +02:00
Jocy
910d59a377 Fixed #170 2018-03-28 15:57:59 +02:00
Jocy
39489f266f Updated Copyright to 2018 2018-03-27 20:11:40 +02:00
Jocy
3d6fe73163 Updated to XML-RCP Callbacks Version 2.5.0 2018-03-27 19:56:09 +02:00
kremsy
a0b42964c2 increased MC version 2017-10-16 15:24:50 +02:00
kremsy
54d16660c2 Better Handling for TM Multilap maps, now there is a Setting to save either single Lap Time or Full Race Time (default). #159
There is a small bug left that Multilap times are not saved in Dedimania due differences of Checkpoint Numbers between Nadeo and Dedimania.
2017-07-18 21:31:48 +02:00
Chapelier2000
3e21b04bbc Update Formatter.php
Fix error in display time higher than 60 minutes
2017-07-18 12:16:54 +02:00
kremsy
a052037ac5 Fixed Missing Dedimania Inserts on Restarting Map. Resolves #158. 2017-07-17 14:40:52 +02:00
kremsy
dcd8404b79 small fix for tm multilap 2017-07-14 17:39:01 +02:00
kremsy
a689924ac8 removed debug code 2017-07-04 12:52:47 +02:00
Sebastian Büttner
419be435d0 Closes #155, test for #156
Fixes #155 by disabeling the HTTP/1.1 100-Continuation mechanism (clearing the Expect-Header), which breaks with imcompatible servers for POST-requests larger than 1024B.
Added explicit content accepted encoding for #156. This should resolve the issue. However, further testing on this is required.
2017-07-04 12:46:49 +02:00
kremsy
22e1e24284 FML Update 2017-07-02 17:45:32 +02:00
kremsy
c9d96a30b2 version increase 2017-06-30 18:34:33 +02:00
kremsy
84af711e5d Improved Error Handler 2017-06-28 14:38:21 +02:00
kremsy
c7a50ff8cd dedimania investigate (no fix for the setchallengetimes) problem foudn yet 2017-06-28 14:27:56 +02:00
kremsy
1da8b61805 default description for commands 2017-06-28 12:45:20 +02:00
kremsy
ff643c1674 Dedimania Refactor Resolveds #139 #154 2017-06-22 15:07:00 +02:00
kremsy
c40922c782 version increase 2017-06-21 19:45:28 +02:00
kremsy
dd0572d7b2 updated FML 2017-06-21 19:43:38 +02:00
kremsy
68a0c493ae Resolved #152 updated callbacks / modescript updates, dedimania seems to be fine 2017-06-21 19:25:58 +02:00
kremsy
ba67ea6911 Resolved #151 MX Map update check failed 2017-06-21 19:06:26 +02:00