32 Commits

Author SHA1 Message Date
Elias Pschernig
238bb00d29 possible fix for bug #15846 - _server.ign not quite working 2010-04-11 21:35:25 +00:00
Mark de Wever
5d47584a12 Set the translate flag with the addon script.
patch #1387.
2009-12-07 19:33:57 +00:00
Elias Pschernig
9607325744 [wesnoth_addon_manager] try to connect only once...
...to the server when --html is used in parallel to
--download/--list/--update
2009-10-10 10:12:54 +00:00
Elias Pschernig
3de8e1cd18 [wesnoth_addon_manager] Really remove campaign.
Also remove old-style top-level campaign.cfg.
2009-07-27 14:20:33 +00:00
Elias Pschernig
49fb3688e8 Added support for .ign files to wesnoth_addon_manager 2009-07-08 22:42:01 +00:00
Gunter Labes
322edb0141 fixed the tar command 2009-06-29 16:38:35 +00:00
Gunter Labes
f6fdc4bea0 do not use os.system with user supplied data 2009-05-25 21:32:22 +00:00
Gunter Labes
9d0d04a764 disregard the type option when omitted 2009-03-10 18:03:08 +00:00
Elias Pschernig
a40c7ad98c Added --type options to wesnoth_addon_manager,
...so you can download all addons matching a certain type.
2009-03-07 15:25:20 +00:00
Elias Pschernig
d02db6c4d6 List addon type with wesnot_addon_manager -l. 2009-03-07 15:13:57 +00:00
Gunter Labes
32ea71aaab Revert "use the name from [dir] rather than campaign_name=...
...which might be different from lowercasing" (no more needed after
2009-03-02T02:20:53Z!soliton@wesnoth.org)
2009-03-02 03:26:51 +00:00
Gunter Labes
c0b1df98c2 use the name from [dir] rather than campaign_name=...
...which might be different from lowercasing
2009-03-01 23:50:00 +00:00
Gunter Labes
285ec8c663 Revert "Removed scan for python files when uploading campaigns...
...this only was needed before the routing of python scripts through
safe.py. Also removed the validation mechanism for python scripts - it
never was used as far as I know."
2009-02-24 22:44:30 +00:00
Elias Pschernig
7854e4e61b Fixing previous wesnoth_addon_manager commit. 2009-01-31 15:38:28 +00:00
Elias Pschernig
ad94f556cb Made wesnoth_addon_manager read "type" and "email" fields...
...when uploading a campaign.
2009-01-31 15:33:12 +00:00
Alexander van Gessel
05136ad701 Include oldstyle add-on_name.cfg files in the tarballs. 2008-12-25 03:49:40 +01:00
Elias Pschernig
323cbb2f13 addon_manager: Made tar creation more intelligent. 2008-10-13 20:30:17 +00:00
Elias Pschernig
7211157845 addon_manager:
- Table sorting now displays nice arrows (using the "jquery"
  javascript library for this now).

- Auto-create --tar folder.
2008-10-12 13:05:11 +00:00
Elias Pschernig
cb9c3d2e43 wesnoth_addon_manager: allow --html and --download to be used together 2008-10-09 19:32:18 +00:00
Elias Pschernig
16a9206301 wesnoth_addon_manager: --tar now takes a directory 2008-10-09 19:20:57 +00:00
Elias Pschernig
a33b05979b Added two options to wesnto_addon_manager:
--tar Causes tarballs to be generated for each addon newly downloaded
with --download.

--url=... Adds download links to the --html output, with the given
base URL.
2008-10-09 19:09:00 +00:00
Elias Pschernig
6adf3be1fc Removed scan for python files when uploading campaigns...
this only was needed before the routing of python scripts through
safe.py. Also removed the validation mechanism for python scripts - it
never was used as far as I know.
2008-10-08 13:29:50 +00:00
Elias Pschernig
9af2b343a1 Another go at bug #12205
now uploading with the -u option should work again, for what it's worth.
2008-10-06 19:20:57 +00:00
Gunter Labes
5e0012f5aa add the title to --list output and use title rather than name in html output 2008-09-29 15:28:21 +00:00
Elias Pschernig
464c1bd1db Added a --html option to wesnoth_addon_manager.
Soliton hinted that may be useful.
2008-09-27 15:24:38 +00:00
Elias Pschernig
672ec5cf16 Worked around a bug where the addon server sometimes sends...
...extra 0 bytes, so wesnoth_addon_manager works a bit better
now. (still no upload)
2008-08-27 19:02:37 +00:00
Gunter Labes
b049dc3458 typo fix 2008-08-26 14:43:39 +00:00
Elias Pschernig
dcc4b22d46 Attempted to fix bug #12205...
...un-escaping wasn't properly done in wesnoth_addon_manager. I can't
test if downloading campaigns works now or not, but it
might. Uploading is still broken, will look into that later.
2008-08-22 15:39:13 +00:00
Nils Kneuper
62a11d4754 made the default location of the add-on server add-ons.wesnoth.org...
...instead of campaigns.wesnoth.org it will point to the same machine,
just make it clear that there is more than only campaigns on the
machine
2008-08-13 14:54:07 +00:00
Ignacio R. Morelle
74cb75704e More addon management system refactoring and bugfixing of previous commits
* Addon metainfo is now saved in file _info.cfg instead of info.cfg.

* Added _info.cfg to default upload exclusion list.

* Updated addons management script to be aware of the info.cfg change.
2008-07-31 00:13:03 +00:00
Greg Copeland
000f696fbf Various changes to support gzip/zlib compression are now in place.
Some changes to core WML code is still required to make it properly
follow the new encoding/decoding escape sequences. Some results of
pylint have been applied. Includes minor portability enhancements.

Some code changed to be more OO+pythonic (e.g. threading). Some code
stubs are in place for future enhancements. Most reliable works
except for uploads.
2008-06-23 14:09:33 +00:00
Gunter Labes
8f9d45cf10 move the addon manager back to its intended location and give it its name back 2008-04-14 14:25:07 +00:00