Commit Graph

581 Commits

Author SHA1 Message Date
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
kremsy
56ae4a8525 Resolved #150 added mbstring as depency (always preinstalled anyways) 2017-06-21 18:17:19 +02:00
kremsy
dbad016a4e doc update for communcation manager 2017-05-25 16:31:24 +02:00
kremsy
a9b01f139f some small fixes for the web SDK 2017-05-24 21:02:47 +02:00
kremsy
a32e7df5e0 updated exception 2017-05-24 10:05:28 +02:00
Sebastian Büttner
edcd18e8f5 Revert "Implemented strict http request serialization for APIs that forbid a session to be used in concurrent requests (e.g. dedimania)."
This reverts commit b0732bee96.
Solution required PHP 7.0.7, thus breaking requirement of compatibility with PHP 5.4.
2017-05-22 22:59:01 +02:00
Sebastian Büttner
b0732bee96 Implemented strict http request serialization for APIs that forbid a session to be used in concurrent requests (e.g. dedimania).
Updated all API requests in DedimaniaPlugin to be serialized by this mechanism. Closes #139.
2017-05-22 22:32:15 +02:00
kremsy
d03f155415 improved PluginManager 2017-05-22 22:01:23 +02:00
kremsy
988feea67d environment fix 2017-05-22 21:43:44 +02:00
kremsy
f74d60ad36 increased version 2017-05-22 18:23:44 +02:00
kremsy
7cd0b8f17e Playerlist Crashed if no spectator slots 2017-05-21 21:11:49 +02:00
Jocy
03621f1fba Updated LocalRecordsPlugin design and fixed Stats list bug with playtime 2017-05-21 20:40:30 +02:00
kremsy
e072024ce5 Some minor fixes on Player and Plugin Manager 2017-05-21 20:30:26 +02:00
kremsy
cfc3c2a25c version increase 2017-05-21 18:42:20 +02:00
kremsy
5ae7a7c20d updated playerlist, avoided multiple triggers 2017-05-21 18:36:01 +02:00
Sebastian Büttner
2ec6fdbed9 Fixed missing reuse of existing http connections which are kept-alive by remote servers (e.g. dedimania). 2017-05-21 17:52:56 +02:00
kremsy
8241abdbf2 small improvements 2017-05-20 12:37:34 +02:00
Jocy
e3a365f187 New SidebarMenuManager Version 2017-05-19 18:36:41 +02:00
kremsy
6193787ee5 mc plugin increase 2017-05-19 18:35:33 +02:00
kremsy
2991675094 added //settings command 2017-05-19 17:26:46 +02:00
Jocy
f8363441bb Added new functionality to LocalRecordsPlugin 2017-05-19 01:16:57 +02:00
kremsy
7efff0fa84 cought invalid maptype exception 2017-05-18 17:29:33 +02:00
Jocy
46ff13898f Added comment to newly added function 2017-05-17 16:11:41 +02:00
Jocy
b5494576d2 Fixed https://github.com/ManiaControl/ManiaControl/issues/131 Fixed https://github.com/ManiaControl/ManiaControl/issues/130 Fixed https://github.com/ManiaControl/ManiaControl/issues/129 2017-05-17 16:09:15 +02:00
kremsy
d8b82640b5 fixed trackmania endround and others 2017-05-17 13:48:41 +02:00
kremsy
e393bf0b4f improved errorhandler, send non fatal errors async 2017-05-17 13:05:05 +02:00
kremsy
85d9f28166 version increase 2017-05-17 12:53:01 +02:00
kremsy
fb5e7b3d96 moved the endrounds to the new plugin 2017-05-17 12:48:46 +02:00
kremsy
9ff8989a00 added united states 2017-05-17 12:27:35 +02:00
kremsy
e0290b6947 deploy first version of Trackmania Rounds Plugin 2017-05-17 12:18:15 +02:00
kremsy
1eea876a3b small fix 2017-05-15 21:25:16 +02:00
kremsy
5842c136f0 fixed typo 2017-05-15 21:09:11 +02:00
kremsy
c6f8c3b42e added endround command + version increase 2017-05-15 21:08:52 +02:00
Jocy
b7de245ccd Small update on chunking 2017-05-15 19:32:38 +02:00
kremsy
7ed2fe4d74 directory name changes + new functions 2017-05-15 19:30:22 +02:00
Jocy
32486eb468 forgot to remove a vardump 2017-05-14 19:06:33 +02:00
Jocy
d6419cea97 Statslist and Playerlist now have Chunking 2017-05-14 19:05:45 +02:00
Jocy
a3d7bdbb8a Added setMatchPoints() to Trackmania OnScoresStructure, Fixed a Maplist search bug 2017-05-14 17:12:48 +02:00
kremsy
b4664b2b6e exception handling on multicalls 2017-05-14 16:02:14 +02:00
kremsy
68598cae6b typo fixed 2017-05-14 11:22:19 +02:00
kremsy
f040c437a1 version increase 2017-05-14 09:45:05 +02:00
kremsy
79b0c0cdf1 used earlier callbacks 2017-05-14 09:43:54 +02:00
kremsy
e5c7fdbf6b drastic speedup through multicalls 2017-05-14 09:25:52 +02:00
kremsy
5d6f8d047c CommunicationManager added Coreupdate 2017-05-13 23:52:51 +02:00
kremsy
677f278e53 minor performance improvements 2017-05-13 23:20:31 +02:00
kremsy
52b54073bb small improvements 2017-05-13 23:05:47 +02:00
kremsy
eebb2476b0 added lagoon environment 2017-05-13 22:48:05 +02:00
kremsy
563a146492 urgent fix #2 2017-05-13 19:32:08 +02:00
kremsy
7c5f8efdda MC HOTFIX, UPDATE FAST!!! 2017-05-13 19:27:38 +02:00
kremsy
f9b73816c3 found a new exception and fixed 2017-05-13 15:13:33 +02:00
kremsy
9df27b7113 typo fix 2017-05-13 12:25:46 +02:00
kremsy
0b2a86a432 small fix 2017-05-13 12:08:43 +02:00
kremsy
ff812b8126 exception for not in scriptmode 2017-05-13 11:57:21 +02:00
kremsy
6eca102233 update improvement for plugin files which had no matching names (if theres a new update available, the file will be deleted, theres a log written that you should restart MC and than install the new version). 2017-05-13 11:50:50 +02:00
kremsy
6908ff36e4 performance improve 2017-05-12 22:11:20 +02:00