139 Commits

Author SHA1 Message Date
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
Elias Pschernig
b3942cf1f6 [wmlunits] Fixed broken links to advancement units for addon units...
...advancing to mainline units.
2012-02-27 23:51:12 +00:00
Elias Pschernig
3bd7c7ee1f [wmlunits] Create animation statistics again.
Sort unit tree overviews differently.
2012-02-20 22:38:55 +00:00
Elias Pschernig
5f79fb5439 [wmlunits] Don't display a bogus "rails" movement cost. 2012-02-19 16:53:44 +00:00
Elias Pschernig
af48d016e4 [wmlunits] Added some error checks. 2012-02-19 13:22:18 +00:00
Elias Pschernig
dbf1082bdc [wmlunits] Reenable recoloring.
Always sort units overview into first place. Properly translate
"Units" heading.
2012-02-18 18:57:07 +00:00
Elias Pschernig
02729eb915 Rewrote wmlunits to parse one addon at a time.
Now it takes much longer to create units.wesnoth.org as it has to
parse the WML about 200 times instead of once but it also uses much
less memory (and so can run on the server again without risk of being
aborted).
2012-02-18 13:37:07 +00:00
Elias Pschernig
d05f887ee7 [wmlunits] When selecting a language on a page which does not exist...
...in that language, open the initial page for that language. Also
made some minor CSS changes.
2011-11-23 22:41:44 +00:00
Elias Pschernig
5a2a2fac95 [wmlunits] Fixed forest tile picture. Fixed inclusion of addon campaigns with only shared units. 2011-11-20 15:04:52 +00:00
Elias Pschernig
8ddc6dc056 [units.wesnoth.org] Slight CSS change...
...and removed addon factions from the navigation bar.
2011-09-01 18:39:30 +00:00
Elias Pschernig
dee0085032 [units.wesnoth.org] some css fixes 2011-08-24 20:59:47 +00:00
Elias Pschernig
741d008939 [units.wesnoth.org] fix translations 2011-08-22 18:08:58 +00:00
Elias Pschernig
adf26fffa0 [units.wesnoth.org] more small CSS changes 2011-08-19 19:46:54 +00:00
Elias Pschernig
66221c93f7 [units.wesnoth.org] Adjusted unit-info CSS...
...to look a bit more like ancestral's bestiary.
2011-08-18 21:20:00 +00:00
Elias Pschernig
17e6c8c481 [units.wesnoth.org] only recoloror unit icons 2011-08-16 21:40:40 +00:00
Elias Pschernig
acee107f58 [units.wesnoth.org] some small CSS/JS changes 2011-08-16 18:22:02 +00:00
Elias Pschernig
0cb1ca0505 [units.wesnoth.org] Fixed some CSS problems, collapsed the sidebar menus. 2011-08-12 20:52:51 +00:00
Elias Pschernig
2192aac30d [wmlunits] make copyright notice on units.wesnoth.org say...
...2003-2011 instead of 2003-2009
2011-06-05 14:50:52 +00:00
Elias Pschernig
5d57f537bd [wmlunits] fixed small bug in [specials] handling 2011-06-05 13:10:35 +00:00
Thibault Févry
2288ef0939 Removed a lot of trailing whitespaces. Shouldn't be anymore in python scripts. 2011-03-12 02:22:21 +00:00
Elias Pschernig
7524e6befc [wmlunits] use translations only for mainline units...
...(very few addon units had translations but creating all the addon
units in each language takes a lot of time and .html files). Also
report less errors for addons (the addon authors don't get to read
them anyway i'm afraid :/)
2010-12-22 23:34:08 +00:00
Elias Pschernig
f95c4c8a32 [wmlunits] For units who differ on easy/normal/hard,
...use the normal variant for display, for now.
2010-11-23 21:54:59 +00:00
Elias Pschernig
7e38b23e4d accidentally had made wmlunits a bit verbose 2010-08-18 17:10:00 +00:00
Elias Pschernig
779ff4bbee fixed -C parameter to wmlunits being ignored sometimes 2010-08-18 17:07:55 +00:00
Elias Pschernig
987cc9da3c updated wmlunits 2010-08-18 16:05:36 +00:00