Commit Graph

1442 Commits

Author SHA1 Message Date
Steffen Schröder
f4681da6c5 improved server stop handling 2014-06-20 16:22:45 +02:00
Steffen Schröder
1f905e2b3f fixed logger setup 2014-06-20 16:20:03 +02:00
Steffen Schröder
f4b67accde maniacontrol quit on server stop 2014-06-20 16:19:30 +02:00
Steffen Schröder
54f1855ea9 more folder methods for server directory 2014-06-20 16:14:15 +02:00
Steffen Schröder
dfec7d0028 server directory class 2014-06-20 16:08:09 +02:00
Steffen Schröder
6fd042b57b improved logs, backup & temp folder creation 2014-06-20 15:36:52 +02:00
Steffen Schröder
488b6fc4a4 deleted unused methods 2014-06-20 15:13:11 +02:00
Steffen Schröder
f72568240b removed class aliases again as it doesn't work as expected 2014-06-20 15:07:31 +02:00
Steffen Schröder
88b471f283 modifiers fixed 2014-06-20 15:07:08 +02:00
Steffen Schröder
6e08ee9ac7 improved log fodder creation
deleting of old log files
2014-06-20 14:57:02 +02:00
Steffen Schröder
53e3078cc1 class aliases to keep compatibility 2014-06-20 14:29:17 +02:00
Steffen Schröder
32f2fd6f30 logger convenience methods 2014-06-20 10:56:15 +02:00
Steffen Schröder
2e9f740a61 improved plugin install menu
- added checks for min & max mc versions
- special frames for errors or empty lists
2014-06-20 00:47:32 +02:00
Steffen Schröder
9b2c876d1a improved fatal error recognition 2014-06-20 00:05:50 +02:00
Steffen Schröder
b9dd9190f2 improved trace step skipping 2014-06-19 18:05:58 +02:00
Steffen Schröder
1b9097812e added skipping of library classes in error traces 2014-06-19 17:54:37 +02:00
Steffen Schröder
402bbc1971 ignore error handler as possible error source class 2014-06-19 02:22:32 +02:00
Steffen Schröder
dab0db49aa renamed+changed methods to better reflect functionality 2014-06-17 23:56:31 +02:00
Steffen Schröder
c59b5ac9cd improved variable names 2014-06-17 23:55:59 +02:00
Steffen Schröder
b1ce658fc9 constants names improved 2014-06-17 23:35:56 +02:00
Steffen Schröder
2e0a0359dd removed old php 5.3 compatibility code 2014-06-17 23:27:28 +02:00
Steffen Schröder
ea223a6d26 replaced deprecated logMessage function 2014-06-17 22:59:49 +02:00
Steffen Schröder
296fb77028 logging methods 2014-06-17 22:53:50 +02:00
Steffen Schröder
1e641f69c6 requirements check in SystemUtil 2014-06-17 22:25:33 +02:00
Steffen Schröder
621c795a54 Logger Class 2014-06-17 22:15:35 +02:00
Steffen Schröder
2ff88c230b AutoLoader Class 2014-06-17 21:46:32 +02:00
Steffen Schröder
83aa2246c7 improved utf8 conversion 2014-06-17 21:18:17 +02:00
Steffen Schröder
130b5351f8 increased version 2014-06-15 18:57:41 +02:00
Steffen Schröder
5e375c0c13 improved error report 2014-06-15 03:37:07 +02:00
Steffen Schröder
f6ac379dc0 plugin settings menu fml value picker 2014-06-15 03:23:44 +02:00
Steffen Schröder
7488e83cb5 plugin settings menu fml checkbox 2014-06-15 03:15:06 +02:00
Steffen Schröder
a16e00356b fixed script settings 2014-06-15 02:55:50 +02:00
Steffen Schröder
e94bf2ec05 use gmdate 2014-06-15 02:55:46 +02:00
Steffen Schröder
a400573625 script settings with fml checkbox 2014-06-15 02:26:50 +02:00
Steffen Schröder
4ed545d7a5 implemented checkbox for mc settings 2014-06-15 02:13:00 +02:00
Steffen Schröder
65919efb43 selected setting header label 2014-06-15 01:58:25 +02:00
Steffen Schröder
2408dba961 fixed plugin install 2014-06-15 01:31:31 +02:00
Steffen Schröder
630d5e82d9 allow null mapinfo 2014-06-15 01:04:35 +02:00
Steffen Schröder
6319a6a58a check for function availability before trying to restart 2014-06-15 01:02:59 +02:00
Steffen Schröder
609d451895 system utility class 2014-06-15 00:51:43 +02:00
Steffen Schröder
b55a1043db bugfix 2014-06-14 22:19:43 +02:00
Steffen Schröder
4a11043dcd added params for more info about issue 2014-06-14 19:45:32 +02:00
Steffen Schröder
ac55d0f511 mark too long parameters 2014-06-14 19:36:54 +02:00
Steffen Schröder
3b95166b21 strip invalid characters on reports 2014-06-14 19:31:17 +02:00
Steffen Schröder
23ddeb539c method renamed 2014-06-14 19:08:07 +02:00
Steffen Schröder
9647a48fb6 fixed param string 2014-06-14 18:56:59 +02:00
Steffen Schröder
54441ab65d shorter param 2014-06-14 18:54:37 +02:00
Steffen Schröder
26911c0071 error message 2014-06-14 18:54:29 +02:00
Steffen Schröder
99d6299016 prevent exception 2014-06-14 18:43:56 +02:00
Steffen Schröder
a46e401746 prevent exception 2014-06-14 18:16:45 +02:00
Steffen Schröder
8592b4d47d skip fault exception as source class 2014-06-14 18:14:01 +02:00
Steffen Schröder
a8ae27eb64 prevent exception 2014-06-14 18:07:18 +02:00
Steffen Schröder
e60871903d callback name constants 2014-06-14 17:10:19 +02:00
Steffen Schröder
72dbbbb746 check for invalid callback format 2014-06-14 17:10:06 +02:00
Steffen Schröder
eee2cfd9f1 prevent error on unknown weapon num 2014-06-14 16:44:49 +02:00
Steffen Schröder
2bbc466c74 debug notice to resolve error 2014-06-14 15:58:24 +02:00
Steffen Schröder
ff0dfc4ae7 code refactoring
- variable names
- unused parameters
2014-06-14 15:52:02 +02:00
Steffen Schröder
9985b814d2 code refactoring
- improved comparing & checking
- improved string composition
2014-06-14 14:32:29 +02:00
Steffen Schröder
bd6e0b5151 directory access coding improved 2014-06-14 11:32:09 +02:00
Steffen Schröder
8208ab5f6d check if maps dir is writable 2014-06-14 11:25:25 +02:00
Steffen Schröder
79c1260cb5 improved config file loading 2014-06-13 22:09:25 +02:00
Steffen Schröder
4c2a5e3260 Revert "FileUtil::loadConfig now returns a DOMDocument"
This reverts commit 58b07f266c.
2014-06-13 19:53:36 +02:00
Steffen Schröder
58b07f266c FileUtil::loadConfig now returns a DOMDocument
improved config loading & error output
2014-06-13 17:58:42 +02:00
Steffen Schröder
0ecd68a6fd improved server config loading & validation 2014-06-13 17:26:13 +02:00
Steffen Schröder
2172962622 config xmlrpc tag 'login' changed to 'user'
quit on invalid configuration instead of triggering an error
validate user name
2014-06-13 17:11:45 +02:00
Steffen Schröder
96e573e8bd pass api version
camel case method names
2014-06-13 16:59:25 +02:00
Steffen Schröder
543782631a bugfix 2014-06-13 16:48:14 +02:00
Steffen Schröder
765fab6622 error handler function reset to cover additional errors 2014-06-12 16:59:24 +02:00
Steffen Schröder
c95b08d304 file util bugfix 2014-06-12 16:41:26 +02:00
Steffen Schröder
43a2e6b075 improved log message formatting 2014-06-12 15:50:13 +02:00
Steffen Schröder
e202ce9f86 minor adjustments 2014-06-12 15:46:24 +02:00
Steffen Schröder
d44de5f49e updated dedicated-server-api 2014-06-12 15:39:50 +02:00
Steffen Schröder
b1decafc1d improved log file writing to log all errors 2014-06-12 14:02:16 +02:00
Steffen Schröder
f0e325fda0 error backtrace improved by only adding a limited string length
improved error shutdown message
2014-06-12 13:38:08 +02:00
Steffen Schröder
57b0e51746 server is empty method 2014-06-10 23:29:28 +02:00
Steffen Schröder
860aae811e adjustment for new web service 2014-05-30 03:17:39 +02:00
Steffen Schröder
897630a95c improved shutdown/quit code 2014-05-29 22:54:43 +02:00
Steffen Schröder
4f8542b854 moved php shutdown function into error handler
removed gc cycle code
2014-05-29 22:46:38 +02:00
Steffen Schröder
8f07376b93 new plugin web service url 2014-05-29 16:56:53 +02:00
Steffen Schröder
433a088325 use constant instead of hard-coded number 2014-05-27 23:18:56 +02:00
Steffen Schröder
736507fccf phpdoc + coding improvements #3 2014-05-27 23:08:43 +02:00
Steffen Schröder
8b89289784 improved plugin settings saving 2014-05-27 23:00:24 +02:00
Steffen Schröder
b92b592900 coding & phpdoc improvements continued #2 2014-05-27 22:50:28 +02:00
Steffen Schröder
c284feb843 coding & phpdoc improvements continued 2014-05-27 22:44:22 +02:00
Steffen Schröder
9e016cc770 coding & phpdoc improvements 2014-05-27 22:32:54 +02:00
Steffen Schröder
0a7bc3b234 phpdoc & closure improvements 2014-05-27 22:25:55 +02:00
Steffen Schröder
683e6f30a2 improved phpdoc 2014-05-27 22:21:17 +02:00
Steffen Schröder
5df32fa657 improved closure code & phpdoc 2014-05-27 22:19:47 +02:00
Steffen Schröder
e23c795fc9 removed unnecessary method 2014-05-27 22:17:23 +02:00
Steffen Schröder
9c028fbf23 getAdmins() returns player objects
phpdoc improvements
2014-05-27 22:17:07 +02:00
Steffen Schröder
0754b88aee minor code improvement 2014-05-27 15:34:37 +02:00
Steffen Schröder
48fed27ad0 improved master admins config loading 2014-05-27 10:59:14 +02:00
Steffen Schröder
cd9b522bfa added lib class property for proper code-completion 2014-05-27 10:59:00 +02:00
Steffen Schröder
762d1652ee database config model class
improved config loading code
2014-05-27 10:46:32 +02:00
Steffen Schröder
eead92e0dd renamed server config class
improved loading code
2014-05-27 10:46:18 +02:00
Steffen Schröder
f54ee6df64 improved config loading and validation 2014-05-27 08:57:26 +02:00
Steffen Schröder
7b04ec4317 improved shutdown on error 2014-05-27 08:56:46 +02:00
Steffen Schröder
01c617c16a deleted obsolete util files (moved into Utils folder) 2014-05-27 08:56:33 +02:00
Steffen Schröder
6500e69553 removed iconv() calls - they don't work as expected 2014-05-26 12:57:57 +02:00
kremsy
e8a80dd2df small fix 2014-05-25 10:23:45 +02:00
kremsy
f60d53478c vers increase 2014-05-25 10:11:50 +02:00
kremsy
7690f76aca back button maniacontrol settings, authentication manager permission level set 2014-05-25 10:10:01 +02:00
kremsy
2758bc055d sets for permission levels 2014-05-25 10:06:22 +02:00
kremsy
0146a5f4f1 fixed serversettings 2014-05-25 09:58:52 +02:00
Steffen Schröder
cfbafc8f82 shutdown error report fixed by revert to old state.. 2014-05-25 00:26:46 +02:00
Steffen Schröder
d7975e33b7 prevent too long error reports 2014-05-24 22:34:57 +02:00
Steffen Schröder
fcd4e577cf minor changes 2014-05-24 21:53:07 +02:00
Steffen Schröder
02222680e2 minor coding improvements 2014-05-24 21:49:38 +02:00
Steffen Schröder
2666d8b616 log response on failed reports 2014-05-24 21:49:17 +02:00
Steffen Schröder
8822c79108 try to prevent utf-8 related error 2014-05-24 21:29:04 +02:00
Steffen Schröder
c24b7d228e moved dev mode constant 2014-05-24 20:56:34 +02:00
Steffen Schröder
ca4df9d89a minor changes 2014-05-24 20:39:18 +02:00
Steffen Schröder
e8c649664a removed temporary migrations 2014-05-24 20:11:34 +02:00
Steffen Schröder
2892891bec local records plugin update for new records callback class
improved delrec command
2014-05-24 19:16:48 +02:00
Steffen Schröder
412556e57e trackmania callbacks fix 2014-05-24 18:56:20 +02:00
Steffen Schröder
01d5c79fee boolean parse method 2014-05-24 18:56:07 +02:00
Steffen Schröder
2ea6233774 lap finish instead of usual checkpoint callback 2014-05-24 18:36:08 +02:00
Steffen Schröder
cf345dfdc3 improved trackmania callbacks
added legacy trackmania callbacks
2014-05-24 18:32:09 +02:00
Steffen Schröder
1c78afc63b no backtrace for user errors 2014-05-24 18:31:38 +02:00
Steffen Schröder
2d7ac34319 trackmania callbacks class 2014-05-24 17:45:35 +02:00
Steffen Schröder
5faa16d5be introductoin of callback models
added record callback model
2014-05-24 17:22:48 +02:00
Steffen Schröder
dd490b02a9 player cache instead of own array 2014-05-24 16:52:46 +02:00
Steffen Schröder
480fd9aa5f callback parameter fixes 2014-05-24 16:43:37 +02:00
Steffen Schröder
f915417b8b moved core callbacks constants into callbacks interface
server options fix
2014-05-24 16:39:12 +02:00
Steffen Schröder
5e688a5354 trackmania xmlrpc callbacks 2014-05-24 16:20:29 +02:00
Steffen Schröder
7fc0228952 added more libxmlrpc callbacks 2014-05-24 16:11:35 +02:00
Steffen Schröder
cb29330a50 core error source class fix 2014-05-24 14:05:33 +02:00
Steffen Schröder
3e98adb4d6 improved error analysing regarding source class 2014-05-24 13:57:27 +02:00
Steffen Schröder
7830a017ad prevent bug for empty data 2014-05-22 16:21:32 +02:00
Steffen Schröder
0fc03e1d08 fml update (1.2 final) 2014-05-20 15:44:45 +02:00
Steffen Schröder
63981d8002 - adjustment for dedicated-api update
- minor changes
2014-05-20 15:42:10 +02:00
Steffen Schröder
18cd71818a dedicated-server-api update 2014-05-20 15:25:26 +02:00
Steffen Schröder
33b86cdca0 improved send message, error, exception to admin
get connected admins method
2014-05-20 14:59:53 +02:00
Steffen Schröder
6ca5decdb4 PHPDoc improvements
Replaced deprecated method call
2014-05-20 14:59:17 +02:00
Steffen Schröder
7bcd42d927 Revert "phpdoc change"
This reverts commit 27cc23d1d2.
2014-05-19 16:42:48 +02:00
Steffen Schröder
27cc23d1d2 phpdoc change 2014-05-19 16:42:31 +02:00
Steffen Schröder
eca798750d Revert "sample plugin"
This reverts commit 1fd4162a9e.
2014-05-19 16:42:20 +02:00
Steffen Schröder
1fd4162a9e sample plugin 2014-05-19 16:02:51 +02:00
Steffen Schröder
6fbeab1cd6 fixed twice-running one-time timer listening 2014-05-19 15:22:53 +02:00
Steffen Schröder
55cc74ec84 don't report exception chat messages 2014-05-19 00:03:36 +02:00
Steffen Schröder
fedf1710a2 renamed DEBUG_MODE to DEV_MODE 2014-05-18 23:51:20 +02:00
Steffen Schröder
5cf86b2025 working setting type SET in MC settings menu 2014-05-18 23:35:39 +02:00
Steffen Schröder
cb5ad4e077 replaced mysqli_result::close() by ::free() 2014-05-18 23:34:47 +02:00
Steffen Schröder
a6d9753cee removed unnecessary assignment of (default) values 2014-05-18 21:59:21 +02:00
Steffen Schröder
722c0f483e use of player cache in settings config menu 2014-05-18 21:50:15 +02:00
Steffen Schröder
53ff6b35cd changed update channel setting to SET 2014-05-18 21:46:10 +02:00
Steffen Schröder
3af2da045a SET setting type fixes 2014-05-18 21:46:00 +02:00
Steffen Schröder
36b8baaecd don't report in debug mode 2014-05-18 21:45:28 +02:00
Steffen Schröder
0a716aeb91 debug mode constant
option to log even suppressed errors
2014-05-18 21:27:13 +02:00
Steffen Schröder
4194f99c2a FML Update 2014-05-18 20:06:39 +02:00
Steffen Schröder
31cba03bba fixed widget closing for other players 2014-05-18 18:37:18 +02:00
Steffen Schröder
c088a79041 player cache instead of own data array 2014-05-18 16:27:08 +02:00
Steffen Schröder
32259585bd minor wording and spelling fixes 2014-05-18 16:26:52 +02:00
Steffen Schröder
8ff4e191a8 improved loading of update interval setting 2014-05-17 14:14:27 +02:00
Steffen Schröder
192cb2cb79 FML Improvements 2014-05-16 22:44:22 +02:00
Steffen Schröder
1c4d024f4b feedback on settings save 2014-05-16 20:42:37 +02:00
Steffen Schröder
3423bef7a3 fixed error 2014-05-16 20:31:50 +02:00
Steffen Schröder
3a8ea3e519 fixed chat messages 2014-05-16 20:07:41 +02:00
Steffen Schröder
277e76f641 fixed applying of server setting 'NextUseChangingValidationSeed' 2014-05-16 00:28:08 +02:00
Steffen Schröder
db3d59d47f server setting with checkboxes for boolean values 2014-05-15 23:05:57 +02:00
Steffen Schröder
f7070a51e1 fixed getPlayer 2014-05-15 19:30:44 +02:00
Steffen Schröder
8d28ccfc2b null object access fixed 2014-05-15 17:58:57 +02:00
Steffen Schröder
74658044fc improved paging code 2014-05-15 17:45:08 +02:00
Steffen Schröder
c2e1ca0938 only show commands in help that have a description 2014-05-15 15:13:58 +02:00
Steffen Schröder
d5b6e16ccd fixed paging 2014-05-15 15:13:30 +02:00
Steffen Schröder
8c32655ba9 clearer default values 2014-05-15 15:13:18 +02:00
Steffen Schröder
d68031e052 allow login string parameter in manialink manager methods 2014-05-15 15:07:03 +02:00
Steffen Schröder
987254970c resolved warning 2014-05-15 14:42:01 +02:00
Steffen Schröder
62d8feeb47 fixed maplist name 2014-05-15 14:32:07 +02:00
Steffen Schröder
ee49956058 avoid warning 2014-05-15 14:25:19 +02:00
Steffen Schröder
675bdfad5c source class & plugin id in error+exception reports 2014-05-15 14:20:44 +02:00
Steffen Schröder
a6635f15c5 improved error logging 2014-05-15 13:04:05 +02:00
Steffen Schröder
9a84a983d3 fixed rare error (how can that even happen?) 2014-05-15 13:03:59 +02:00
Steffen Schröder
d3e4fd309f FML 1.2 2014-05-14 23:24:00 +02:00
Steffen Schröder
f0d0a072b8 first draft for 'set' setting type
removed 'array' setting type
2014-05-14 00:28:53 +02:00
Steffen Schröder
6ac2726bb9 increased version 2014-05-14 00:28:07 +02:00
Steffen Schröder
55a3ac446a deprecated getSetting method to keep third-party plugin compatibility 2014-05-13 22:54:26 +02:00
Steffen Schröder
23c58b47ff minor spelling & phpdoc improvements 2014-05-13 18:26:38 +02:00
Steffen Schröder
16d2571485 updated dedicated-server-api exception usages 2014-05-13 17:59:37 +02:00
Steffen Schröder
d16e89d13d dedicated-server-api update 2014-05-13 17:37:35 +02:00
Steffen Schröder
eb5af6ebd1 readded old deprecated util classes 2014-05-13 17:09:38 +02:00
Steffen Schröder
de2deac28f readded old constant as deprecated 2014-05-13 16:57:07 +02:00
Steffen Schröder
30b11cc466 minor fixes 2014-05-13 16:54:32 +02:00
Steffen Schröder
2a705e05d9 Improved PHPDoc, Type Hints & Parameter Names 2014-05-13 16:40:05 +02:00
Steffen Schröder
53504f984a use class utils method 2014-05-13 16:15:46 +02:00
Steffen Schröder
ef9c141786 implemented new setting method 2014-05-13 16:03:26 +02:00
Steffen Schröder
1fa1d7ee7d improved type hint 2014-05-13 16:00:25 +02:00
Steffen Schröder
00eb49414a moved Utility classes into own folder+namespace 2014-05-13 14:32:30 +02:00
Steffen Schröder
2fd501f2e8 Setting Model Class 2014-05-13 14:15:00 +02:00
Steffen Schröder
411f23a618 class utility 2014-05-13 13:58:14 +02:00
Steffen Schröder
09f11afd6e Base Listening Class for Callback Management 2014-05-13 01:21:35 +02:00
Steffen Schröder
09f61f2ad4 improved check for valid callback method
decreased amount of duplicated code
2014-05-13 00:22:47 +02:00
Steffen Schröder
02ad48951b fixed playerlist paging 2014-05-12 23:43:12 +02:00
Steffen Schröder
a8b50378d9 timer listening $time parameter correctly renamed 2014-05-12 20:07:56 +02:00
Steffen Schröder
74decfd1d9 timer listening $time parameter renamed 2014-05-12 20:00:58 +02:00
Steffen Schröder
07d0016151 gc code cleanup 2014-05-12 19:56:24 +02:00
kremsy
7a18d7e20c added a todo 2014-05-11 21:29:44 +02:00
kremsy
adb7c14dd4 dump of mapobject 2014-05-11 20:33:57 +02:00
kremsy
a1424f7a00 mxmapinfo comment update 2014-05-11 20:28:52 +02:00
kremsy
7627546baa mx object cleanup 2014-05-11 19:57:33 +02:00