Commit Graph

1735 Commits

Author SHA1 Message Date
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
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
Designburo
0e94f267fa Added dynamic/linear chatcommand 2014-05-21 09:44:48 +02:00
Steffen Schröder
255912b335 added TODOs
(proposed by Designburo)
2014-05-20 23:15:12 +02:00
Steffen Schröder
ff2e9e0a8e plugin renaming 2nd (git doesn't recognize case-sensitive change..) 2014-05-20 22:58:48 +02:00
Steffen Schröder
5b4a65907e plugin renaming 1st (git doesn't recognize case-sensitive change..) 2014-05-20 22:58:21 +02:00
Steffen Schröder
8cf3d5fea0 improved dynamic point limit plugin 2014-05-20 22:56:09 +02:00
Steffen Schröder
16394a6532 dynamic point limit plugin overhaul+improvements
moved into MCTeam namespace
2014-05-20 22:32:38 +02:00
steeffeen
82940aa855 Merge pull request #2 from Designburo/patch-1
Update DynamicPointlimitPlugin.php
2014-05-20 21:10:21 +02:00
Steffen Schröder
54c3f77fbf readme update 2014-05-20 16:11:42 +02:00
Steffen Schröder
2550f43669 improved readme 2014-05-20 16:10:36 +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
Designburo
6d0ad1d6bd Update DynamicPointlimitPlugin.php
Added error check if player array was empty ..
2014-05-17 22:40:37 +02:00
Designburo
2e04725479 Update DynamicPointlimitPlugin.php
Added player moving in and out of spec check
Added on begin round check
Added chat notice to inform pointlimit changes
2014-05-17 14:36:25 +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
d664675230 supress notices 2014-05-16 20:26:08 +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
0ca8793a58 fixed div by zero 2014-05-15 18:10:01 +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
d37acbd116 fixed offset error 2014-05-15 17:30:40 +02:00
Steffen Schröder
40794151b6 deleted min dedi build file 2014-05-15 16:31:23 +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
ee0e55c10b further check 2014-05-15 14:53:41 +02:00
Steffen Schröder
70b8a31b55 resolved warning 2014-05-15 14:52:12 +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
e61c6f4c11 moved constant away from configurable section 2014-05-14 00:38:16 +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