8341 Commits

Author SHA1 Message Date
Bruno Wolff III
d6dc101666 I moved check_names_legal from campaign_server to publish_campaign...
...in preparation for using it in the download client to check
downloaded campaigns for bad file names.
2005-10-16 15:04:09 +00:00
Bruno Wolff III
e59de91b3f I changed campaign_legal_name to reject the name "." which could cause problems.
I think it would probably better to try to list valid patterns rather than
invalid ones. Something like names can be letters, digits and underlines
(and maybe dashes). For example those matched by the perl pattern:
^[A-Za-z0-9_]+$
2005-10-16 13:47:36 +00:00
Bartek Waresiak
b031ccda42 Changelog update 2005-10-16 13:28:36 +00:00
Bartek Waresiak
46b541747c Revised multiplayer maps 2005-10-16 13:26:09 +00:00
Bruno Wolff III
77953d8cd6 Prevents people from uploading campaigns with bad file or directory names...
...that could be used to overwrite unexpected files when downloaded. This
doesn't protect people downloading campaigns from untrusted servers. That will
be a separate fix.
2005-10-16 12:52:51 +00:00
Bruno Wolff III
2e54135ca4 Fix the issue with extra directory level being added to campaigns on download.
campaign_name is now set to the campaign_name and name is cleared (in
the event that a bad client were to set its value).  The issue is that
the top level is treated as a directory entry, but the clients make a
special check for a null name. So if the name isn't null it is treated
as a directory name.

However there is still a security issue that I will be addressing in a
separate patch coming shortly.

The [dir] and [file] "name" attributes to not appear to be checked on either
upload or download and should really be checked in both places. It looks like
"name" can be checked to make sure it is not null and then use the same
valid filename check that is applied the campaign name.
2005-10-16 11:49:16 +00:00
Nils Kneuper
21c617e70c Updated Slovenian translation 2005-10-16 10:11:22 +00:00
David White
2d9b92a972 implemented message of the day functionality in the server 2005-10-16 01:32:28 +00:00
David White
dbad7b12ca implemented message of the day functionality in the server 2005-10-16 00:36:59 +00:00
David White
91d71b62d0 implemented message of the day functionality in the server 2005-10-16 00:35:13 +00:00
David White
8466d33a37 fixed problem where disconnecting a socket could cause the server to hang 2005-10-16 00:21:44 +00:00
Nils Kneuper
8fff632b39 Updated German translation 2005-10-15 15:54:57 +00:00
András Salamon
43b47af88c update Afrikaans translation 2005-10-15 15:13:15 +00:00
Yann Dirson
007c5a371d do not extract strings in dsgetext calls,
...since those are only with literal strings to refer to another
domain than the one the file is attached to (typically to refer to
strings already existing in wesnoth-lib) - this is a revert of
2004-09-03T09:36:36Z!ydirson@free.fr.  Commit also known as "everyone back to 100%" or so ;)
2005-10-15 12:18:33 +00:00
Yann Dirson
aa42e3e0bb fixed consistency issues in wesnoth-lib textdomain usage 2005-10-15 11:57:53 +00:00
Yann Dirson
d1d5913739 oops, removed files committed by error 2005-10-15 11:16:01 +00:00
Yann Dirson
45b8e5b52c get rid of useless direct dsgettext calls 2005-10-15 11:12:24 +00:00
András Salamon
fcebd0e9df update Afrikaans translation 2005-10-15 08:11:06 +00:00
András Salamon
3af655cd81 update Afrikaans translation 2005-10-15 07:49:14 +00:00
Yann Dirson
1581aec363 documented move of tutorial strings into new wesnoth-tutorial domain 2005-10-15 00:36:18 +00:00
Yann Dirson
98f85cb3c5 moved tutorial strings into new wesnoth-tutorial domain 2005-10-15 00:28:51 +00:00
Yann Dirson
b9716c8cc3 moved mapgen_dialog.cpp and editor/editor_dialogs.cpp to wesnoth-lib 2005-10-14 23:28:50 +00:00
Yann Dirson
5aa1d88080 update-po before string move 2005-10-14 23:10:15 +00:00
Bruno Wolff III
b9d0343dc5 I added a couple of undef's to webtgz.pl to allow for memory to be released
(though I am not sure perl really will give any back to the OS) before doing
the copy of the cached file, as that step doesn't need the undef'd data and
can take a while to run.
2005-10-14 18:16:42 +00:00
David Philippi
51d753cd16 translation update 2005-10-14 15:35:41 +00:00
Bruno Wolff III
32588979cc Because the translation heuristic is imperfect...
...it will sometimes pick up the same language twice for a given
campaign. (Currently Invasion of Eliador has this issue with sv.) This
isn't a problem on the campaign server side.  However it looks bad on
the web page. So I now have the campaign list suppressing duplicate
langauges.

I also fixed a bug where the languages weren't sorted the intended way.
2005-10-13 01:30:09 +00:00
Bruno Wolff III
30646880ea I fixed a problem with the campaign server...
...where old translation information wasn't being cleared and so after
multiple uploads the same language would be listed multiple times.
2005-10-13 00:56:21 +00:00
Bruno Wolff III
568059bf5a I changed weblist.pl to show campaign sizes in KB instead of bytes. 2005-10-13 00:29:30 +00:00
Bruno Wolff III
8046debdbb I changed weblist.pl and webtgz.pl to display the standard wesnoth logo banner
(except for when webtgz.pl successfully returns a tgz file).
I also changed webtgz.pl to only request campaign info for the campaign of
interest. In the future (after getting campaign summary info loaded for old
campaigns on the campaign server) this request won't be needed at all and will
be removed.
2005-10-12 13:38:51 +00:00
Hogne Håskjold
71cd23ae8d Fixed a gfx glitch 2005-10-12 13:25:35 +00:00
Hogne Håskjold
1f84b65858 Added entry on new swamp and new cave walls 2005-10-12 13:15:46 +00:00
Hogne Håskjold
13ec7ce71c New cave walls by eleazar, dwarven-castle-wall-* updated by me. 2005-10-12 13:12:28 +00:00
David Philippi
7bdd2fbabb translation update 2005-10-11 20:21:37 +00:00
András Salamon
28a8a781d0 remove obsolete units 2005-10-11 20:19:35 +00:00
Isaac Clerencia Perez
b7eb990818 Utility to fix executable perms in MANUAL* and images, data and src dirs 2005-10-11 19:11:57 +00:00
Isaac Clerencia Perez
4c8478a4cd Remove svn:executable property from lots of files 2005-10-11 19:03:59 +00:00
Isaac Clerencia Perez
2cf5af3071 Remove svn:executable bit from Turkish MANUAL 2005-10-11 18:22:10 +00:00
Isaac Clerencia Perez
f54f1ebbef Remove svn:executable property from new main menu music 2005-10-11 18:15:58 +00:00
Nils Kneuper
7e193a1a28 Updated Slovenian translation 2005-10-11 17:18:37 +00:00
Nils Kneuper
c6726a0ed0 Updated Slovenian translation 2005-10-11 17:16:28 +00:00
András Salamon
98bc773d5e remove obsolete units 2005-10-11 15:52:20 +00:00
Nils Kneuper
aaf93d15f0 Updated changelog 2005-10-11 14:48:40 +00:00
Nils Kneuper
b1227310c3 Updated and reorderd changelog 2005-10-11 14:33:10 +00:00
Nils Kneuper
cecfd64661 New main menu music (the old one still is in the /music folder) 2005-10-11 14:24:40 +00:00
Nils Kneuper
cc3579c167 Made the Necrophage and the Orcish_Slayer use the Lvl1 portraits of their line 2005-10-11 11:48:28 +00:00
Nils Kneuper
f173927097 Make all Saurian upgrades use the Lvl1 portraits 2005-10-11 11:23:53 +00:00
Nils Kneuper
100387c55d Removed depricated death animations of the Drake_Fighter 2005-10-11 11:16:20 +00:00
Nils Kneuper
8e7e78a2a5 Removed obsolete units 2005-10-11 11:15:13 +00:00
Nils Kneuper
389824f0e5 Removed deprecated death animation of the Drake_Fighter 2005-10-11 11:12:50 +00:00
Nils Kneuper
c1fc17872b Removed obsolete units 2005-10-11 11:08:47 +00:00