Mark de Wever
68fcaf664a
Add copyright headers.
2013-01-09 19:57:01 +00:00
Mark de Wever
43b71f2ff0
New year copyright update.
2013-01-01 09:22:03 +00:00
Alexander van Gessel
fc09f1e9c7
Don't try disconnecting when you don't have a socket
2012-10-26 16:35:20 +01:00
Alexander van Gessel
30be880d74
Make wesnothd compress replays with bzip2
2012-10-24 14:40:38 +01:00
Alexander van Gessel
ffb4e5eb1f
Add bzip2 read/write support to simple_wml
2012-10-24 14:40:36 +01:00
Boldizsár Lipka
bcaa7f4f2c
Applied patch #3297
2012-09-25 17:42:18 +00:00
Alexander van Gessel
92542a2c07
Explicitly [reject] clients we don't know what to do with,
...
...while sending them the full list of versions we do accept
2012-09-20 18:29:39 +01:00
Ignacio R. Morelle
dc7cd70a6b
wesnothd: Add trailing new line to /info "Never" last login datetime string
...
This makes it consistent with the ctime() result for a valid last login
datetime.
2012-08-27 07:06:45 +00:00
Mark de Wever
9e2f7a0a1f
Remove a useless cast.
...
Detected by the upcoming gcc-4.8.
2012-07-28 16:34:58 +00:00
Sergey Popov
6b6eafb213
Use BOOST_FOREACH directly instead of #define foreach BOOST_FOREACH
...
The define is extremely unreliable, will break compile with boost >=
1.50 and upstream can't fix issues with it, see
https://svn.boost.org/trac/boost/ticket/6131
2012-07-07 00:49:45 +00:00
Sergey Popov
3674715896
Fixed compile with forum_user_handler=true
2012-06-30 20:35:17 +00:00
Mark de Wever
3959f03412
Initialise members in the initialisation list.
...
Issue found by cppcheck.
2012-06-30 17:47:11 +00:00
Anonymissimus
e7ddd2913f
mute some MSVC warnings for boost upstream code
2012-03-28 18:14:02 +00:00
Nils Kneuper
cf9ced505d
remove old leftover, jwsmtp is no (longer) part of wesnoth
2012-03-03 18:01:28 +00:00
Ignacio R. Morelle
a2c1c28c45
wesnothd: Revert to the client version check behavior prior to...
...
...2012-01-22T13:50:25Z!soliton@wesnoth.org since 1.10 was branched
This reverts 2012-02-04T03:59:47Z!shadowm@wesnoth.org (which was unnecessary in the first place) and
2012-01-22T13:50:25Z!soliton@wesnoth.org (which I missed and should have been reverted instead).
2012-02-19 07:20:50 +00:00
Ignacio R. Morelle
a05c551f92
wesnothd: Accept 1.11* instead of 1.10* by default on trunk
2012-02-04 03:59:47 +00:00
Gunter Labes
d633733911
accept version 1.10* by default
...
should be reverted after 1.10 branched off
2012-01-22 13:50:25 +00:00
Ignacio R. Morelle
6ca69b2df5
New year copyright update
2012-01-07 02:35:17 +00:00
Gunter Labes
62a59d960f
avoid auto-kicking unregistered users
2011-12-17 20:07:28 +00:00
Sergey Popov
6900afa3d0
Fix bug #18654
...
Comment debug output statements that causes memory corruption
found by Soliton.
2011-11-27 22:35:32 +00:00
Alexander van Gessel
5571d37008
Move seed erasure before new password request
2011-11-21 19:27:21 +01:00
Alexander van Gessel
87e7950ed2
Swap two arguments of the failed login logger.
...
This fixes the single-failure-causes-ban issue.
2011-11-21 18:02:12 +01:00
Steven Panek
f0e35cc05e
'Nickmask' -> 'Nickname mask'
2011-11-16 12:37:03 +00:00
Steven Panek
068fbaaa63
More 'nick' -> 'nickname'.
2011-11-16 03:11:44 +00:00
Steven Panek
e4701781fe
'nick' -> 'nickname'.
2011-11-16 02:59:36 +00:00
Alexander van Gessel
121b2d373f
Make the failed login banner configurable
2011-11-05 22:16:34 +01:00
Alexander van Gessel
07db2f05e1
Ban IPs that cause too many failed login attempts. Fixes bug #17535
2011-11-05 22:16:19 +01:00
Steven Panek
57dcdff73d
'nick' -> 'nickname'.
2011-11-03 17:24:38 +00:00
Alexander van Gessel
81e0a2007f
Revert token t_token commits from 2011-09-08T19:15:40Z!thonsew@yahoo.com on.
2011-10-10 03:43:29 +01:00
Mark de Wever
b4d927e967
Strip trailing whitespace.
2011-09-26 20:27:15 +00:00
Thonsew
cdb129508d
Fix implicit static cast...
...
...of config::attribute_value & to tstring & or t_token reference
causes crashes. Some compilers were generating a temporary object and
binding a reference to the temporary when creating an implicit cast to
an attribute value. I removed the implicit cast and replaced all (I
think) instances of the implicit cast with explicit 2 step operation.
This fixes bugs like bug #18663 , bug #18684
2011-09-20 21:20:54 +00:00
Thonsew
066c950174
Added todo comment to restore threading to wesnothd...
...
...once #bug 18654 is fixed
2011-09-12 21:30:13 +00:00
Thonsew
2f0c530731
Changed the default number of wesnothd server threads to 1,
...
to prevent memory corruption due to the second thread. This makes the
multiplayer game playable in spite of bug #18654 . This is not a
permanent fix.
2011-09-12 19:56:04 +00:00
Ignacio R. Morelle
3215cb516b
wesnothd: Make forum and sample user handlers print "Never"
...
rather than the Unix epoch for users who've never logged in after registration
2011-09-01 05:53:19 +00:00
Tommy Schmitz
3e829fbc78
Fixed server logging bug (not recognizing whiteboard data).
2011-07-24 21:39:06 +00:00
Tommy Schmitz
cb77683a2f
Cleaned up some bugs from original whiteboard network patch (2011-06-30T18:28:00Z!tschmitz.wesnoth@gmail.com).
2011-07-02 04:07:23 +00:00
Tommy Schmitz
fab7de4163
Made whiteboard plans visible to allied network players
...
Disabled undo while planning mode is active
Changed arrow constructor to be more RAII
2011-06-30 18:28:00 +00:00
Ignacio R. Morelle
dd9400833f
wesnothd: Add trailing newline after inactive account notice...
...
...in /INFO for consistency
2011-06-24 21:45:46 +00:00
Ignacio R. Morelle
807896e8a5
wesnothd: s/name/nick/ for inactive account warning message
2011-06-24 08:48:02 +00:00
Ignacio R. Morelle
789ac43a2f
wesnothd: Do not allow users with inactive accounts...
...
...to claim ownership of their names (treat as unregistered)
Clients attempting to use inactive accounts will get a warning message
informing them of the situation but will be able to join the MP server
as if their nickname were unregistered instead. Untested.
2011-06-24 08:47:48 +00:00
Ignacio R. Morelle
bf906de800
wesnothd: Add support for sending login warnings that the client can dismiss
2011-06-24 08:47:33 +00:00
Ignacio R. Morelle
665392f4fb
wesnothd suh: Show inactive users in /INFO like fuh does...
...
...(this won't occur in practice, though)
2011-06-21 00:58:26 +00:00
Ignacio R. Morelle
3f9ca006e1
Add wesnothd user_handler support...
...
...for checking whether a user account is active and can claim
ownership or a nickname or not
Right now this code is unused in the auth logic. Both suh and fuh
implementations are provided, only the latter works (using phpBB 3.0's
rules).
2011-06-21 00:53:33 +00:00
Anonymissimus
cfdf2558cd
mute an MSVC warning about an assignment in a conditional expression
2011-06-05 01:50:56 +00:00
Anonymissimus
835b94c4d4
avoid MSVC warnings about truncating from int to unsigned short
2011-06-05 01:50:37 +00:00
Anonymissimus
b68679eed6
fixed an MSVC warning about an unreferenced local function
2011-06-03 21:16:18 +00:00
Anonymissimus
70b00e5f2e
fixed an MSVC warning about an unreferenced formal parameter
2011-06-03 21:15:48 +00:00
Anonymissimus
7f0cb881db
moved disabled warnings from projectfiles to global.hpp
2011-06-02 19:54:32 +00:00
Lukasz Dobrogowski
22243cb1ba
patch #1937 by Quetzalcoatl: Randomizing starting positions in mp games
2011-05-12 17:22:20 +00:00
Gunter Labes
b50873aa62
Renamed /adminmsg command to /report to better reflect its use...
...
...and corrected the /whisper help entry.
2011-03-27 11:30:50 +00:00