Commit Graph

1806 Commits

Author SHA1 Message Date
Steffen Schröder
3151ed2bc6 prevent 'undefined index' error 2014-06-29 17:24:01 +02:00
Steffen Schröder
8d5359bb82 validate dedimania resposne 2014-06-29 17:17:20 +02:00
Steffen Schröder
4ac0ec7f73 fixed loading of server options on start
(property name needs to start in lower case)
2014-06-29 17:12:43 +02:00
Steffen Schröder
fc73510e8d replaced deprecated fileutil method by webreader 2014-06-27 01:18:55 +02:00
Steffen Schröder
2d78c75155 adjusted return type 2014-06-27 01:18:39 +02:00
Steffen Schröder
bb94b7712f fixed post method 2014-06-27 01:18:18 +02:00
Steffen Schröder
03bd3caa65 remove require of alrady removed lib 2014-06-27 01:16:09 +02:00
Steffen Schröder
70e2c89d22 fixed post method 2014-06-27 01:11:47 +02:00
Steffen Schröder
29081181bf removed unused imports 2014-06-27 01:09:12 +02:00
Steffen Schröder
02cb1430bc moved webreader class in utils namespace 2014-06-27 01:06:11 +02:00
Steffen Schröder
5c88fac7d6 code improvements for common curl options 2014-06-27 01:02:52 +02:00
Steffen Schröder
1aa1432384 deprecated FileUtil loadFile() method 2014-06-27 00:42:19 +02:00
Steffen Schröder
8e44f0f3c5 web reader for synchronous web requests 2014-06-27 00:40:43 +02:00
Steffen Schröder
15edb02e9e code refactored 2014-06-27 00:19:03 +02:00
Steffen Schröder
47a8c5bcfe removed unused lib gbxdatafetcher 2014-06-26 20:50:22 +02:00
Steffen Schröder
1dbcf486fb prevent non-object access error 2014-06-26 19:45:54 +02:00
Steffen Schröder
1a021c0189 improved utf8 array conversion 2014-06-26 11:18:00 +02:00
Steffen Schröder
73148364e0 utf8 conversion for arrays 2014-06-26 11:16:29 +02:00
Steffen Schröder
55efbc437f exception report message in utf8 2014-06-26 11:08:02 +02:00
Steffen Schröder
935b69a416 minor changes 2014-06-26 11:07:53 +02:00
Steffen Schröder
f2b9bc82ed utf-8 conversion with mb_convert_encoding instead of bugged iconv 2014-06-26 10:57:37 +02:00
Steffen Schröder
ec7f2f96d3 catch change in progress exception 2014-06-23 23:11:16 +02:00
Steffen Schröder
d6c3707219 catch not spectator exception 2014-06-23 23:08:08 +02:00
Steffen Schröder
d7bea9ecd8 constant fix 2014-06-23 22:54:27 +02:00
Steffen Schröder
0b5162db32 code improvements & cleanup 2014-06-23 16:32:40 +02:00
steeffeen
d4f685a607 Merge pull request #9 from Designburo/patch-3
Remember fixed pointlimit after new map
2014-06-23 16:27:15 +02:00
Steffen Schröder
1fc4ad999f catch next map exception 2014-06-23 16:17:39 +02:00
Steffen Schröder
d8951b7255 handle socket exception on connect 2014-06-23 16:14:47 +02:00
Steffen Schröder
269408c71a improved error handling on map adding 2014-06-23 16:04:00 +02:00
Steffen Schröder
d1c3ada631 map file name sanitizing 2014-06-23 15:51:39 +02:00
Steffen Schröder
6aeea15621 improved map restart param parsing 2014-06-23 15:45:40 +02:00
Steffen Schröder
e25b352a7a improved error handling 2014-06-22 19:23:54 +02:00
Steffen Schröder
9ae9c1cf07 fixed z level 2014-06-22 19:23:33 +02:00
Steffen Schröder
bb5058e532 improved constants access 2014-06-22 19:02:18 +02:00
Steffen Schröder
c7a7693c6f improved error color 2014-06-22 18:45:14 +02:00
Steffen Schröder
1fc2d567cf resolved todo 2014-06-22 18:42:40 +02:00
Steffen Schröder
3b4b2f2cce improved error handling and query param binding 2014-06-22 18:38:07 +02:00
Steffen Schröder
0012cb8ab9 improved error handling 2014-06-22 18:37:56 +02:00
Steffen Schröder
b86161ecd0 removed temporary alter table query 2014-06-22 18:26:01 +02:00
Steffen Schröder
2e987c2013 improved error handling 2014-06-22 18:24:43 +02:00
Steffen Schröder
d880c1995c prevent force message if not successful 2014-06-22 16:13:19 +02:00
Steffen Schröder
a9c509c8e9 better error message on addmap 2014-06-21 22:40:29 +02:00
Steffen Schröder
41df9efdbf added map exception 2014-06-21 22:36:20 +02:00
Steffen Schröder
af01cf46c1 strip base dir in error reports to ensure privacy 2014-06-21 13:31:24 +02:00
Steffen Schröder
c8d599189c FML Update 2014-06-21 03:18:21 +02:00
Steffen Schröder
816ff486ef renamed database config class 2014-06-20 19:06:55 +02:00
Steffen Schröder
3922b6eac7 renamed server config class 2014-06-20 19:05:59 +02:00
Steffen Schröder
14e92a10b8 server cache & logs folder cleaning on shutdown 2014-06-20 18:51:40 +02:00
Steffen Schröder
88a8a83fae improved folder deleting 2014-06-20 18:51:25 +02:00
Steffen Schröder
4a122927dc improved mc logs folder cleaning 2014-06-20 16:51:08 +02:00
Steffen Schröder
51e2fde2b0 improved mc quit handling 2014-06-20 16:34:19 +02:00
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
d6e313309a minor readme update 2014-06-20 02:38:46 +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
ddc42c854f improved response handling
- btw: returning stuff in a closure doesn't make sense
2014-06-15 00:34:52 +02:00
Steffen Schröder
fa14d96111 prevent error on missing record id 2014-06-15 00:21:30 +02:00
Steffen Schröder
c69c14a0c6 prevent error through non-object 2014-06-15 00:05:43 +02:00
Steffen Schröder
81706481f2 improved wording 2014-06-15 00:03:07 +02:00
Steffen Schröder
afb9b6df87 improved query code 2014-06-14 23:57:06 +02:00
Steffen Schröder
0198fbc3aa prevent error 2014-06-14 22:30:33 +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
b1663303b0 removed unused variable 2014-06-14 14:37:09 +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
8559799907 constant outside of function 2014-06-12 15:25:40 +02:00
Steffen Schröder
9524dd08c3 readded min php version constant instead of simple variable 2014-06-12 15:21:33 +02:00
Steffen Schröder
4db11ed322 cleaned up startup script 2014-06-12 15:12:22 +02:00
Steffen Schröder
9e791f1e58 use error_log function to write the log 2014-06-12 14:50:08 +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
5b4fee140a wording fixed 2014-06-09 16:01:22 +02:00
Steffen Schröder
ba5aa94ec8 removed steeffeen plugins 2014-06-03 01:44:23 +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
Designburo
59fe5dd844 Remember fixed pointlimit after new map
Added callback for when new map start and if pointlimit is linear then set it again.
2014-05-29 16:36:49 +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
615010e824 fix & improvement of dynamic point limit command 2014-05-27 11:45:17 +02:00
Steffen Schröder
7d9c1b5fde added try-catch to prevent crash in modes without the setting 2014-05-27 11:36:59 +02:00
Steffen Schröder
ffd2387591 polished setpointlimit command (+ static mode) of dynamic point limit plugin 2014-05-27 11:32:51 +02:00
steeffeen
aa9ff918f7 Merge pull request #3 from Designburo/patch-2
Added dynamic/linear chatcommand
2014-05-27 11:19:11 +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
2818192102 added todo 2014-05-27 08:56:56 +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
Steffen Schröder
26ec7dbc52 bye ChatLog plugin 2014-05-26 12:52:50 +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
4e1983b06a try to prevent logging errors 2014-05-24 21:09:55 +02:00
Steffen Schröder
c24b7d228e moved dev mode constant 2014-05-24 20:56:34 +02:00
Steffen Schröder
10c8ab92ef replaced unsafe method 2014-05-24 20:48:32 +02:00
Steffen Schröder
ca4df9d89a minor changes 2014-05-24 20:39:18 +02:00
Steffen Schröder
62c51eef5b dedimania plugin update for new records callback class 2014-05-24 20:29:32 +02:00
Steffen Schröder
ddc3f98715 dedimania coding improvements 2014-05-24 20:21:47 +02:00
Steffen Schröder
e8c649664a removed temporary migrations 2014-05-24 20:11:34 +02:00
Steffen Schröder
dda20f9737 endurance plugin update for new record callback class 2014-05-24 19:41:11 +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