Commit graph

2095 commits

Author SHA1 Message Date
Pentarctagon
80b26dbb43 Rename database column SOURCE to ADDON_ID.
Also rename VERSION to ADDON_VERSION.
2023-01-06 23:55:07 -06:00
Iris Morelle
cda782a40f pofix: 1.14 announcement rules for 1.14.16
[ci skip]
2021-03-22 19:01:57 -03:00
Pentarctagon
bf3db2cbd4 Add NLS CI job.
Cmake only since scons fails with an encoding error on Ubuntu 16.04.
2021-01-31 15:00:25 -06:00
Iris Morelle
9208715485 pofix: 1.14 announcement rules for 1.14.15
[ci skip]
2020-12-20 03:16:22 -03:00
Pentarctagon
cec19a394f Move 1.14 over to github actions. 2020-12-03 11:47:09 -06:00
Pentarctagon
e60097afcf
Move the game content info (scenario/era/modifications) into their own table.
Backport of d741365325
2020-10-26 11:31:48 -05:00
Iris Morelle
2a61314575 pofix: 1.14 announcement rules for 1.14.14
[ci skip]
2020-09-12 18:23:24 -03:00
pentarctagon
0f2e4f69f7 Store additional information in the database:
* mp_scenario_addon_id
* mp_scenario_addon_version (host's version)
* mp_era_addon_id
* mp_era_addon_version (host's version)
* active_mod_addon_ids
* active_mod_versions (host's versions)
2020-06-23 12:34:13 -05:00
Iris Morelle
74fc7ef5e9 pofix: 1.14 announcement rules for 1.14.13
[ci skip]
2020-06-13 22:45:43 -04:00
Iris Morelle
aee64b55ae pofix: 1.14 announcement rules for 1.14.12
[ci skip]
2020-05-22 13:07:42 -04:00
Iris Morelle
d0b4a18065 pofix: 1.14 announcement rules for 1.14.11
[ci skip]
2020-02-02 22:30:37 -03:00
Pentarctagon
24398709f0
Backport of PR#4707.
Validate the dist value server-side rather than client-side.
Make the list of sources configurable on wesnothd.
Only store game information once the game starts.
2020-01-21 19:48:56 -06:00
Iris Morelle
db71a11a5c pofix: 1.14 announcement copyright update
[ci skip]
2020-01-10 00:23:32 -03:00
pentarctagon
62fe0b5f53
Attempt to fix macOS+scons travis error. 2019-12-29 15:47:04 -06:00
Gunter Labes
4c9fff19ba
Fix brew install by disabling auto update
https://travis-ci.community/t/syntax-error-unexpected-keyword-rescue-expecting-keyword-end-in-homebrew/5623/2
2019-10-29 19:23:31 +01:00
pentarctagon
91c4b6c134
Store additional fields in the database.
* Whether the game allows observers.
* Whether the game's replay should be publicly available (currently the same as whether observers are allowed pending the second part of #3909).
* Whether the game had a password set.
* The side's name - this differs from what can be retrieved from USER_ID since it will have the name of any AI used.

Backport of 81e2cae74f
2019-10-28 01:05:23 -05:00
pentarctagon
3bc7b3fae7
Make additional changes to client source handling based on discussion.
Add a "BSD Repository" option.
Add data/dist to .gitignore.
Delete data/dist from git.
Error conditions reading data/dist just set the value to Default.
Remove a leftover TODO comment.
Add description comments for the two new database columns.
2019-10-22 01:07:44 -05:00
josteph
ceabfa7b68 HttT: Typo fixes
(cherry picked from commit 87e3e8f9cf)
2019-10-22 00:46:12 +11:00
pentarctagon
5dbc990781
Store client version and source information in the database.
This will have wesnoth now provide the source where it was downloaded from the wesnothd.
wesnothd will now store that, as well as the client's version in the `game_player_info` table.

Backport of #4446
2019-10-20 17:15:35 -05:00
pentarctagon
776a18d0a6
Use consistent formatting in table_definitions.sql. 2019-09-28 21:46:50 -05:00
pentarctagon
440fce9bfe
Fixup user_is_moderator default. 2019-09-28 12:31:25 -05:00
pentarctagon
0ea258e6af
Use BIT(1) for fields with only 2 possible non-NULL values.
Backport of 2cd4273192
2019-09-28 12:17:18 -05:00
pentarctagon
62075dce54
Store in the database whether the game is a reload or not.
Backport of 7cb6482b32
2019-09-28 12:01:05 -05:00
Severin Glöckner
1818d3e125 add tsg change to pofix
[ci skip]
2019-09-25 18:57:05 +02:00
Iris Morelle
aaf9aa1ba7 pofix: 1.14 announcement rules for 1.14.9
[ci skip]
2019-09-24 04:57:42 -03:00
pentarctagon
afab04ddf4 Use the MP Moderators forum group to check for mod authority.
People who have MP mod authority for testing or other reasons can continue to use the existing user_is_moderator column check, but for people who are supposed to moderate the server, now the forum group will be used.

This will make it easier to add/remove people to/from the group, and also ensure that the list of actual moderators matches up with the list available to users.

New config attributes added for this are:
* db_group_table - should be, based on the phpbb documentation I found, phpbb_user_group
* mp_mod_group - should be set to Multiplayer Moderators group ID

Backport of 02ebcff06c
2019-08-24 14:28:41 +02:00
pentarctagon
675df8efdc Add a flag to record if the game encountered an OOS error.
Backport of 0dae5c5097
2019-08-24 14:28:41 +02:00
pentarctagon
358e9a4abf Add support for storing game information in wesnoth's mysql database.
This requires three more tables to be added to any database with the forum user handler enabled, the structures of which are defined in the wesnothd man page:
* `db_game_info_table` - stores information about each game.
* `db_game_player_info_table` - stores information about each player in the game.
* `db_game_modification_info_table` - stores information about any modifications that are enabled for the game.

Backport of 85151f7519
2019-08-24 14:28:41 +02:00
Pentarctagon
fd3f7fe6a8 fix gdb error when attempting to disable aslr 2019-07-25 19:54:22 -05:00
Iris Morelle
635401a307 pofix: 1.14 announcement rules for 1.14.8 macOS rev a
[ci skip]
2019-05-08 19:14:40 -04:00
Iris Morelle
61fec614cb pofix: 1.14 announcement rules for 1.14.7 macOS rev a
[ci skip]
2019-04-22 21:53:28 -04:00
Iris Morelle
573de19737 pofix: 1.14 announcement rules for 1.14.7
[ci skip]
2019-04-16 16:16:23 -04:00
Pentarctagon
426aa7318a Fix travis macos+scons build.
Steps:
1) added `brew install libffi`, was told it was already installed and to try reinstalling.
2) changed to `brew reinstall libffi`, was told it was "keg only" and was provided the PKG_CONFIG export statement.
3) added export statement, seems to work.
2019-03-15 04:08:25 -05:00
Iris Morelle
f7bcc0702b pofix: 1.14 announcement copyright update
[ci skip]
2019-03-13 01:18:40 -03:00
Iris Morelle
1af5d0e5f0 pofix: 1.14 announcement rules for 1.14.6
[ci skip]
2019-03-01 16:25:48 -03:00
Martin Hrubý (hrubymar10)
d3eebd61e1
Rename Xcode project and target to pass Apple's guidelines 2019-01-28 13:33:00 +01:00
josteph
44e1037de2 pofix: Strip msgstr's when checking for duplicate msgid's 2018-12-27 12:36:33 +00:00
Victor Sergienko
14ea6d49f3 #3634, #3557: Port from iOS: Compile with Apple crypto framework instead of OpenSSL. 2018-10-24 22:43:44 -07:00
Iris Morelle
821f95313e pofix: 1.14 announcement rules for 1.14.5
[ci skip]
2018-09-17 00:24:14 -03:00
Celtic Minstrel
1f4f1a366f Move wmlxgettext to the data/tools directory so that it's automatically included in official packages 2018-09-08 18:06:26 -04:00
Jyrki Vesterinen
45c4c6b6a5 Pofix fixes
The tool that generates .po files splits lines in order to limit line
length, and pofix can't track split strings. Thus, pofix search rules need
to be shorter so that pofix finds the affected strings.

I also moved the replacements to the right text domains, placed wesnoth-l
to the right spot, and removed the "Asheviere is the Queen of Wesnoth"
replacement because it isn't pofixable. (The second part of the string
becomes just "Queen of Wesnoth." and "queen of Wesnoth." with lowercase Q
is used legitimately elsewhere.)

[ci skip]
2018-08-26 13:26:35 +03:00
josteph
a8280e62d7 Add yet more pofix entries. 2018-08-26 12:08:41 +03:00
josteph
98109f3b66 Add pofix entries for the recent typo fixes (#3377).
Fixes #3487.
2018-08-26 12:08:41 +03:00
Iris Morelle
e94cffdb26 pofix: Genericize the Lua version number for the 1.14 announcement
Otherwise people will keep complaining that it doesn't reflect the
latest 1.14 version since the original number was valid for 1.14.0 and
1.14.4.

[ci skip]
2018-08-20 01:32:51 -03:00
Jyrki Vesterinen
d81c90a45e Fix #3436: pot-update failing 2018-08-05 19:17:16 +03:00
Iris Morelle
a83a7b1a07 pofix: 1.14 announcement rules for 1.14.4
Also fixes a mistake from the 1.14.3 rules that caused "xxx MiB" to be
replaced with "xxx MB MiB" for all platforms. Oops. Nobody noticed
anyway (?).

[ci skip]
2018-07-31 15:00:48 -04:00
Jyrki Vesterinen
b869b760c4 check_utf8.sh: don't check the second Lua bytecode test scenario
This avoids the other file with binary data.
2018-07-27 23:49:24 +03:00
Jyrki Vesterinen
ad90f368a3 check_utf8.sh: don't check the Lua bytecode file
This avoids one of the two files which are currently causing macOS SCons
builds to fail in the master branch.
2018-07-27 23:34:11 +03:00
Iris Morelle
634acd03a9 pofix: Rule for an http:// → https:// conversion in translatable strings 2018-07-22 07:31:07 -04:00
Martin Hrubý (hrubymar10)
c18537edc0 Migrate links to https if available 2018-07-15 13:22:56 +11:00