Ignacio R. Morelle
acf5e3ec64
wam: Some additional content and styling tweaks
...
* Relabeled the "Notes" column to "Translations" since that's what it
really is.
* Replaced the Download label with an icon and moved it to the add-on
names column.
* Restyled add-on version/author a bit.
* Add-on type is now more or less aligned to the middle of the icon
(regardless of what the cell height actually is -- there can be extra
empty space below the type line if the add-on title is too long, for
instance).
2017-07-24 15:36:30 -04:00
Ignacio R. Morelle
73a2e653b7
wam: Fix invalid HTML emitted for add-on icon <img> elements
...
The width/height attributes are always in pixel units. This is not CSS.
2017-07-24 14:54:52 -04:00
Ignacio R. Morelle
86984f0040
wam: Update styles and markup for Wesmere
...
This also adds SVG icons to be used in table headers instead of GIF
images for browsers that support SVG in background-image. It makes
things scale better for high DPI screens.
2017-07-24 14:49:08 -04:00
Ignacio R. Morelle
56990b17d9
wam: Fix HTML injection attack on the add-ons.wesnoth.org web interface
...
This escapes all strings provided by add-ons server data to guarantee
they can't be used to get extraneous and potentially harmful HTML into
the generated web index.
However, and because I don't have time to look into the dense regex
contained in the relevant code right now, it also removes the hidden
feature of linkifying any URLs found in add-on descriptions. It's a
small price to pay for our safety, really.
2017-07-24 03:05:12 -04:00
Ignacio R. Morelle
57f9c3eccd
wmlscope: Fix file list column layout glitches on Edge and Chrome
2017-07-23 20:21:27 -04:00
Ignacio R. Morelle
1a03a5af57
wmlscope: Update macro reference templates and emitted markup for Wesmere
2017-07-23 19:59:19 -04:00
Ignacio R. Morelle
09d5f799ac
wmlscope: Make this and the template prerequisites for macro-reference.html
...
This makes it so changes in these three actually cause make to
regenerate the file if they are newer than it.
2017-07-23 19:59:19 -04:00
Allefant
c17d556016
[units.wesnoth.org] fix eras with all eras in an addon
2017-06-25 21:38:20 -04:00
Elias Pschernig
b0f15a08c4
units.wesnoth.org update to understand new [difficulty] tag
2017-06-09 19:25:30 -04:00
Elias Pschernig
a843c7e187
small units.wesnoth.org fix
2017-06-04 15:46:40 -04:00
Allefant
ef27f8454b
[units.wesnoth.org] prevent possible infinite loop when analyzing units in a broken addon
2017-05-19 13:26:33 -04:00
Severin Glöckner
ccb2a5bf8d
ported wescamp and libgithub to python3
2017-05-14 06:36:19 +11:00
Elias Pschernig
6a287f22c5
[units.wesnoth.org] catch empty picture names in add-ons
2017-05-06 15:19:43 -04:00
Charles Dang
bba5454443
Made README files Markdown
...
[ci skip]
2017-04-28 15:07:06 +11:00
Celtic Minstrel
5397c1eabc
fix wmlparser2 and wmlparser2
...
fixup for 3d63f66dbb9e7cffec5376e044fc14b635d661c2
After this commit, all the wmlparser tests pass (including the new one) and the issue stated in #907 has also been verified to be fixed.
2017-03-24 13:58:20 -04:00
Allefant
9f3ed8df4c
[wmlunits] apply zookeeper's suggested eras.cfg fix
2017-03-24 13:13:59 -04:00
Celtic Minstrel
3d63f66dbb
wmlparser.py: stricter determination of whether strings are translatable ( fixes #907 )
2017-03-18 14:31:36 -04:00
Charles Dang
5a62b43dc8
wmllint: added SotA to mainline campaigns list
2017-03-18 20:08:39 +11:00
Celtic Minstrel
a53ba5a1c2
wmllint: fix minor issue in terrain alias replacements
...
Also ran wmllint on data/core
2017-02-11 20:18:57 -05:00
Celtic Minstrel
1e9454b6f9
Rename type_tree to type_adv_tree in SUF
...
This matches the usage in the [hide_help] tag.
2017-02-11 20:18:57 -05:00
Allefant
421f8ff70a
[wmlunits] fix inclusion of mainline eras
2017-01-24 23:51:21 -05:00
Allefant
efb560a23a
fix typo
2017-01-23 20:09:32 -05:00
Allefant
88a9929717
[wmlunits] ignore translation errors from gettext
2017-01-23 19:48:01 -05:00
Allefant
f904306b58
[wmlunits] use scons as cmake seems broken right now
2017-01-20 14:09:04 -05:00
Celtic Minstrel
e1c3808a81
Macro reference: Drop some protocol+domain prefixes
...
This should ensure that accessing the page via https will cause the style to also be referenced via https,
thus preventing security warnings from browsers.
Note that this will not take effect on the live copy until it is regenerated.
2017-01-03 19:04:12 -05:00
Elvish_Hunter
795624ab4e
Teach wmlscope how to handle the square braces notation
2017-01-03 12:10:22 +01:00
pentarctagon
b991c320a4
Delete additional resources
2016-12-18 23:07:11 -05:00
Severin Glöckner
bccdb549e2
terrain2wiki uses the image of the stable github branch instead of master
...
So the wikipage won't break if images get removed in master
The next update of the wikipage will probably be for 1.14
2016-11-25 09:58:54 +01:00
Severin Glöckner
06d9909c86
Changed Shebang line of python scripts.
...
It's mostly about making the scripts run if python defaults to python3.
Has been tested for each script.
2016-11-25 09:57:25 +01:00
Celtic Minstrel
6ebfa8b377
wmllint: Fix type_tree being considered translatable
2016-11-05 12:01:52 -04:00
Elvish_Hunter
33e03a5b8b
wmllint: added base_names and help_text to the list of translatable keys
2016-10-26 20:20:05 +02:00
Elvish_Hunter
d3516a1d35
wmlscope: do not read whole files at once while calculating MD5 hashes
2016-10-26 20:20:05 +02:00
Ignacio R. Morelle
66915f4b93
Update about_cfg_to_wiki to handle U+2022 BULLET correctly
2016-10-13 05:29:36 -03:00
Bär Halberkamp
b20cb7c413
wmlindent: Indent concatenated strings
2016-09-15 18:04:37 +02:00
Elvish_Hunter
59d815dcf1
wmllint: handle SPECIAL_NOTES_DEFENSE_CAP
...
Also silenced a wmllint warning that this commit throws on the Chocobone unit.
2016-09-14 21:35:41 +02:00
Elvish_Hunter
0efdd721e2
GUI.pyw: slightly modified layout of wmlxgettext tab
2016-09-14 21:31:08 +02:00
Elvish_Hunter
50bb0b5809
wml tools GUI: added wmlxgettext tab
2016-08-08 20:09:18 +02:00
Elvish_Hunter
ff781c5f72
wml tools GUI: added a new compound widget for use by the wmlxgettext tab
2016-08-08 18:39:17 +02:00
Elvish_Hunter
2a10f01fae
wml tools GUI: stop tooltips from reapparing when the associated widget is clicked
2016-08-08 18:36:57 +02:00
Elvish_Hunter
b17779f8a7
wml tools GUI: moved the add-ons directory detection code to a separate function
2016-08-08 18:33:15 +02:00
Elvish_Hunter
a534669682
wml tools GUI: reworked directory constants, and added a new one for wmlxgettext
2016-08-08 18:28:03 +02:00
Celtic Minstrel
b295aab4ba
Deprecate {MAGENTA_IS_THE_TEAM_COLOR}
...
The magenta colour is now the default flag_rgb colour if one is not specified.
2016-08-05 00:49:39 -04:00
Charles Dang
41145a783c
wmllint rules for 20b90a29fa38
2016-06-30 18:29:50 +11:00
Elvish_Hunter
f07f893d34
Used argparse instead of optparse in TeamColorizer
2016-06-22 17:15:18 +02:00
Elvish_Hunter
1f3674dcf6
TeamColorizer: fix team_colors dict alignment
2016-06-22 17:15:18 +02:00
Elvish_Hunter
a53b6538ba
Added more color ranges to TeamColorizer
...
The new ranges coming from core are lightblue, brightgreen, brightorange and gold. Ranges coming from IftU and used in other UMCs as well are cyan, yellow and pink (which was already present, but with the wrong values).
2016-06-22 17:15:18 +02:00
Elvish_Hunter
dcad3b75f7
Converted extractbindings script to Python 3
2016-06-22 17:15:18 +02:00
Elvish_Hunter
879ec2dd28
Make the extractbindings script working again
2016-06-22 17:15:18 +02:00
Elvish_Hunter
bcede3d52c
campaign2wiki: explicitly save output file as UTF-8
2016-06-22 17:15:18 +02:00
Elvish_Hunter
0807990ae1
Converted terrain2wiki script to Python 3
2016-06-22 17:15:18 +02:00