Commit Graph

528 Commits

Author SHA1 Message Date
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
kremsy
dcdb15286a small fix 2017-05-12 21:34:41 +02:00
kremsy
602cae563f mc version increase 2017-05-12 21:19:06 +02:00
kremsy
b202ea7dc8 mxlist adjustments for mp4 2017-05-12 21:16:54 +02:00
kremsy
84eec14b8d added performance on simplestatslist 2017-05-12 21:06:43 +02:00
Jocy
640d285c78 reverted FML update 2017-05-12 20:04:50 +02:00
kremsy
e816961d28 siege progression layer set 2017-05-12 19:43:25 +02:00
Jocy
2a70e840e2 Updated FML https://github.com/ManiaControl/ManiaControl/issues/115 2017-05-12 11:04:26 +02:00
Jocy
023581c195 SidebarMenuManager now uses the Position object instead of an array 2017-05-12 10:28:04 +02:00
Jocy
71b2f83611 Hotfix 2017-05-11 22:50:35 +02:00
Jocy
bfec0969b0 minor fixes and version increase 2017-05-11 22:43:15 +02:00
Jocy
bb9f82af56 Renamed renderMenuIcon to renderMenuEntry 2017-05-11 22:37:17 +02:00
Jocy
9f701cddea Added Interface for SidebarMenuManager, improved its functionality 2017-05-11 22:35:16 +02:00
Jocy
f1ce8d8004 Added Interface for SidebarMenuManager, improved its functionality 2017-05-11 22:34:32 +02:00
kremsy
7c049d5222 workaround for unallowed characters in nicknames, player get kicked immideatly 2017-05-11 22:28:33 +02:00
kremsy
c0d660adcd callbackmanager short workaround for nadeos parseexception 2017-05-11 21:33:18 +02:00
Jocy
b90a769723 Added SidebarMenuManager Fixed https://github.com/ManiaControl/ManiaControl/issues/97 2017-05-11 20:02:28 +02:00
Jocy
d7348fd412 Added SidebarMenuManager Fixed https://github.com/ManiaControl/ManiaControl/issues/97 2017-05-11 20:02:09 +02:00
kremsy
2da274267d performance report improvement 2017-05-10 12:40:00 +02:00
kremsy
df31eb7b14 changed callback trigger to higher times in advance to get sure the webservice dont get spamed 2017-05-10 11:49:21 +02:00
kremsy
05afe1c3bb added performance messurements 2017-05-10 11:09:59 +02:00
kremsy
7c74baf9d2 added performance reports for long loops 2017-05-10 11:07:45 +02:00
kremsy
7b3d5e4659 version increase 2017-05-10 09:13:25 +02:00
kremsy
fa7ebd0cc6 stability improvemenets 2017-05-10 09:12:00 +02:00
kremsy
8b7e73b52a small stability improvement 2017-05-09 22:36:40 +02:00
kremsy
a4600e94de small typo fix 2017-05-09 22:35:30 +02:00
kremsy
34a36acd56 fixed small mistake on authentication 2017-05-09 22:27:05 +02:00
kremsy
207d6630ee fixed mistake 2017-05-09 19:29:42 +02:00
kremsy
dac68bd5a3 small fix 2017-05-09 19:28:46 +02:00
kremsy
37e12ebf88 small callback stability improvement 2017-05-09 19:11:19 +02:00
kremsy
05f688b99f cb fix 2017-05-09 18:59:26 +02:00
Jocy
d6620cacc9 Fixed https://github.com/ManiaControl/ManiaControl/issues/107 2017-05-09 17:04:14 +02:00
kremsy
0a7c4d0437 mc version update 2017-05-09 14:12:42 +02:00
kremsy
fc02be2352 slight performance improve of manialinks 2017-05-09 13:15:16 +02:00
kremsy
a15fcefba5 removed old callbacks 2017-05-09 11:05:19 +02:00
kremsy
d22751d812 minor fix 2017-05-08 23:28:37 +02:00
kremsy
84b884154c renamed chat commands 2017-05-08 23:01:15 +02:00
kremsy
31be7e7409 Trackmania Added Points repartition commands 2017-05-08 22:42:43 +02:00
kremsy
90bc0d195f disable top left UI thing 2017-05-08 20:26:28 +02:00
kremsy
c3f5de1f29 refactored some callback code in trackmania and removed some deprecates 2017-05-08 19:55:07 +02:00
kremsy
b3707a47d1 dedimania plugin upgrade + some upgrade on asynchttprequest 2017-05-08 18:53:56 +02:00
kremsy
dce11990d5 mc version update 2017-05-08 17:49:21 +02:00
kremsy
9b5aabab5e updated dedimaniaplugin 2017-05-08 17:45:16 +02:00
Lukas Kremsmayr
6bb342f26e Update usage_documentation.txt
cleanup
2017-05-08 15:06:38 +02:00
kremsy
697d85f0f2 updated doc 2017-05-08 15:02:13 +02:00
Jocy
a478fa72af https://github.com/ManiaControl/ManiaControl/issues/99 2017-05-08 12:32:35 +02:00
Jocy
a3ecf3267f Fixed https://github.com/ManiaControl/ManiaControl/issues/98
Fixed https://github.com/ManiaControl/ManiaControl/issues/99
ActionsMenu::SETTING_MENU_POSY is split up to ActionsMenu::SETTING_MENU_POSY_SHOOTMANIA and ActionsMenu::SETTING_MENU_POSY_TRACKMANIA
2017-05-08 12:31:14 +02:00
Jocy
f0adaed999 Fixed https://github.com/ManiaControl/ManiaControl/issues/100 2017-05-07 20:46:12 +02:00
Jocy
fd743a08d9 Fixed LocalRecords Bug, Fixed DonationsPlugin and CustomVotesPlugin position
https://github.com/ManiaControl/ManiaControl/issues/101
2017-05-07 20:22:59 +02:00
Jocy
33616ec10d Fixed warn ManiaLink 2017-05-07 19:35:53 +02:00
kremsy
59d0ebdf9b fixed chat prefix for private notifications 2017-05-06 15:14:58 +02:00
kremsy
6078507a46 hide / display scoreboard on alt + some print methods 2017-05-06 15:07:22 +02:00
kremsy
8d376702b9 fixed callback typo 2017-05-06 11:22:57 +02:00
kremsy
c40aa24a96 small fix 2017-05-06 10:54:19 +02:00