Elias Pschernig
4c034d7705
Clean up wmlparser3.py a bit, fix json and xml output.
2015-09-20 14:53:49 -04:00
Elias Pschernig
f8fb04093a
[units.wesnoth.org] fix some small issues
2015-09-10 18:10:16 -04:00
Elias Pschernig
3ab3db3166
[units.wesnoth.org] Converted the script to Python 3.
...
Basically ran all .py files through 2to3. I made a copy of wmlparser2.py
called wmlparser3.py for the Python3 version, so as to not inconvenience anyone
who may be using it in their old Python2 scripts.
2015-09-09 22:52:23 -04:00
Elias Pschernig
00516dddbe
[units.wesnoth.org] always clean up error log
2015-09-09 10:30:35 -04:00
Elias Pschernig
1961c43f16
[wmlunits] clear <config>/data/add-ons
...
Sometimes if the last run aborted in the wrong moment, add-ons may keep
left overs in there.
2015-09-08 20:15:37 -04:00
Allefant
c7eb80ed09
[units.wesnoth.org] fix bash script
2015-04-19 10:54:48 +02:00
Elias Pschernig
16778d6e92
[units.wesnoth.org] improve safeguard
...
...against overwriting the last successful version
2015-04-18 23:03:48 +02:00
Elias Pschernig
310f8092ad
[units.wesnoth.org] update bash script
2015-03-28 16:09:01 +01:00
Elias Pschernig
0e9b76f03c
[units.wesnoth.org] Add safeguard for mainline.
...
If parsing mainline WML failed for whatever reason, there's no point updating the live website copy.
2015-03-22 21:46:22 +01:00
Elias Pschernig
ee047e7ce9
[units.wesnoth.org] Make WML parsing timeout a commandline argument.
2015-03-22 21:38:39 +01:00
Elias Pschernig
5a599b935b
[units.wesnoth.org] fix race links
...
Links to a race on unit description pages did not work, only links to the units themselves.
2015-01-10 21:55:49 +01:00
Ignacio R. Morelle
5d82848668
units.w.o: New Year copyright update
2015-01-01 19:07:35 -03:00
aquileia
c19e729c6b
gitignore: Merge rules from doc/ and data/tools
2014-06-09 01:00:50 +02:00
Allefant
a425c951c2
[wmlunits] show vision and jamming for a unit
...
(if available)
2014-02-02 13:35:56 +01:00
Allefant
167a370787
[wmlunits] Fixed addon units with non-ascii UIDs
2014-01-29 14:56:11 +01:00
Allefant
f4434f2df1
[wmlunits] more debugging
2014-01-29 13:42:40 +01:00
Allefant
c182e93441
[wmlunits] fix debug message
...
(time to move this to Python3...)
2014-01-28 16:18:48 +01:00
Allefant
62ddbd2f81
[wmlunits] add some debug info
2014-01-27 23:10:34 +01:00
Allefant
db98a2af1c
[wmlunits] Don't store translations which are the same.
2014-01-19 21:34:26 +01:00
Ignacio R. Morelle
785d6c8a17
units.w.o: New Year copyright update
2014-01-01 02:16:52 -03:00
Elias Pschernig
12700cd539
[units.wesnoth.org] fix typo
2013-12-07 16:55:01 +01:00
Elias Pschernig
adf7cdf0e9
[units.wesnoth.org] Adjust for new WML terrain_types
2013-12-06 17:58:48 +01:00
Ignacio R. Morelle
2990819325
units.w.o: Upload to baldras.w.o instead of asheviere.w.o
2013-10-07 02:32:14 -03:00
Thibault Févry
e825989bbe
More range() genocide.
2013-08-09 00:13:03 +02:00
Elias Pschernig
60dbb25d5e
[wmlunits] use set -e -u when running the units script
2013-05-27 23:10:47 +02:00
Allefant
d35daca000
[wmlunits] added the webserver cron script
2013-05-27 14:03:17 +02:00
Elias Pschernig
6632eaae33
[wmlunits] Fix error logging.
...
Now that a separate process is doing the WML parsing, need to serialize exceptions in the other process and send them to the main process to access them there.
2013-05-25 10:28:14 +02:00
Ignacio R. Morelle
30c8f93e6c
website: New Year copyright update
2013-01-01 00:47:00 +00:00
Elias Pschernig
728f4b41cd
[units.wesnoth.org] Use full locale names in language selection.
2012-11-03 20:53:06 +00:00
Elias Pschernig
b0e4f12b57
[[wmlunits fix]]
...
- Fixed a bug in wmlunits where the era tree omitted units whose
parent units belonged to a different faction.
- Made wmlunits provide feedback about required parameters.
2012-08-23 18:11:50 +00:00
Elias Pschernig
ed0a21cb58
[wmlunits] Set extra_defines from [campaign] in addition to the campaign define.
2012-03-23 20:40:37 +00:00
Elias Pschernig
1b4e09bc80
[wmlunits] Ignore hidden units also in the navigation bar.
2012-03-23 20:16:48 +00:00
Elias Pschernig
93a9a3a330
Added wiki output option to wmlunits.
2012-03-16 18:16:47 +00:00
Elias Pschernig
216443b910
[wmlunits] Treat negative defense values as if they were positive.
2012-03-11 23:24:53 +00:00
Elias Pschernig
b6089cba9f
[wmlunits] Fix errors in The_Earths_Gut and Archaic_Era...
...
...due to mistakenly ignoring hide_help=true units being used in
[base_unit].
2012-03-09 20:22:54 +00:00
Elias Pschernig
1a45e8f61e
[wmlunits] Add warnings about missing images to log.
2012-03-08 12:51:51 +00:00
Elias Pschernig
d815cabe7b
[wmlunits] For units without a portrait use a scaled base image.
2012-03-07 17:46:23 +00:00
Elias Pschernig
811319b2a3
[wmlunits] exclude tempfile paths from error messages
2012-03-07 13:40:18 +00:00
Elias Pschernig
a295a6909f
[wmlunits] converted error log to html
2012-03-07 13:20:26 +00:00
Elias Pschernig
80b2ae2cf2
[wmlunits] Added per-addon log pages.
2012-03-04 23:11:15 +00:00
Elias Pschernig
76a68a2c61
[wmlunits] fix path to error log
2012-03-04 17:38:31 +00:00
Elias Pschernig
8b145520a5
[wmlunits] Added error log page.
2012-03-04 15:46:41 +00:00
Elias Pschernig
182dc77281
[wmlunits] Handle [advancefrom] WML tags for units.
2012-03-04 14:20:20 +00:00
Elias Pschernig
3ebb10809c
[wmlunits] Add units from an era but without any faction...
...
...to a special "factionless" faction.
2012-03-03 18:01:06 +00:00
Elias Pschernig
3698f4c4e7
[wmlunits] fixed bug listing mainline units for each campaign
2012-03-03 16:47:46 +00:00
Elias Pschernig
1b105e75ee
[wmlunits] Ignore addon unit levels < 0 or > 5.
...
Ignore addons with unhandled errors.
2012-03-02 23:16:08 +00:00
Elias Pschernig
a09daf74ea
[wmlunits] Started working on a per-addon log...
...
...listing all the unit WML mistakes in the addon's unit definitions.
2012-03-02 21:23:09 +00:00
Elias Pschernig
e2f9eccb48
[wmlunits] fixed bug
2012-03-02 19:11:20 +00:00
Elias Pschernig
b7f955cf78
[wmlunits] fixed bug
2012-02-29 21:50:08 +00:00
Elias Pschernig
e0537fec86
[wmlunits] On translated unit pages, stay on the same page...
...
...(in the new language) when changing languages instead of jumping
back to the overview.
2012-02-28 19:57:00 +00:00