Commit graph

2426 commits

Author SHA1 Message Date
pentarctagon
c04ecaa8fb Store the client version in the database.
This will now store the version of the client playing a side in `game_player_info`.
2019-10-20 13:57:45 -05:00
josteph
87e3e8f9cf HttT: Typo fixes 2019-10-19 22:04:42 +00:00
loonycyborg
d2ee0f4b73 Move appdata script to a more appropriate place 2019-10-15 16:14:32 +03:00
Elvish_Hunter
636f29b0b9 Ported unused_functions to Python 3 2019-10-01 11:37:26 +02:00
Elvish_Hunter
ffc5edd3fe Ported ai_test to Python 3 2019-10-01 11:36:35 +02:00
Elvish_Hunter
4f667254c9 Ported wiki_grabber to Python 3 2019-09-29 11:07:59 +02:00
Elvish_Hunter
af64a10d50 Ported umc_dev/build/update_version to Python 3 2019-09-29 11:06:11 +02:00
pentarctagon
6d60cc550e
Use consistent formatting in table_definitions.sql. 2019-09-28 21:42:53 -05:00
pentarctagon
f1d48a0947
Fixup user_is_moderator default. 2019-09-28 12:32:54 -05:00
pentarctagon
2cd4273192 Use BIT(1) for fields with only 2 possible non-NULL values. 2019-09-28 09:27:20 +02:00
pentarctagon
7cb6482b32 Store in the database whether the game is a reload or not. 2019-09-28 09:27:20 +02:00
Severin Glöckner
b9928a038e add tsg change to pofix
[ci skip]
2019-09-25 18:36:14 +02:00
Iris Morelle
d5e58ed64d pofix: 1.14 announcement rules for 1.14.9
[ci skip]
2019-09-24 04:57:32 -03:00
Elvish_Hunter
dbe9d60c1f Removed utils/wescamp_import script 2019-09-23 10:52:55 +02:00
Elvish_Hunter
b4d855caad Updated the shebang of two Python 3 scripts 2019-09-23 10:50:55 +02:00
josteph
4e8d8e844a utils/codelist: Convert to python3
Issue #1508
2019-09-16 20:17:13 +00:00
josteph
2b1ebdc204 utils/codelist: Fix TypeError that occurred on any input 2019-09-16 20:17:13 +00:00
Pentarctagon
b9246dc6b4 Add a flag to record if the game encountered an OOS error. 2019-08-17 14:42:35 +02:00
Pentarctagon
9470eea825 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
2019-08-15 14:36:16 +02:00
Pentarctagon
59e9f9a138 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.
2019-08-12 13:04:26 +02:00
Gunter Labes
40a343268a
Check if isutf8 is installed and exit 0 if not
We don't want to exit with failure if the tool is not installed.
Simplified exclusion of certain file extensions.
2019-07-29 20:54:08 +02:00
Pentarctagon
b8acbfe8d0 Put --add-cap right after docker run. 2019-07-25 19:18:47 -05:00
Pentarctagon
1165ce0d39 Docker doesn't like --cap-add for some reason. 2019-07-25 18:33:35 -05:00
Pentarctagon
b0200d1380 Attempt to fix gdb error when attempting to disable aslr 2019-07-25 18:27:19 -05:00
sigurdfdragon
8e9baf98b7 Schema: Add campaign Wings of Victory 2019-06-30 13:17:14 -04:00
Iris Morelle
19b326ce03 pofix: 1.14 announcement rules for 1.14.8 macOS rev a
[ci skip]
2019-05-08 19:12:13 -04:00
Iris Morelle
5b00a4db11 pofix: 1.14 announcement rules for 1.14.7 macOS rev a
[ci skip]
2019-05-08 19:11:50 -04:00
Iris Morelle
3a5b8aca5e pofix: 1.14 announcement rules for 1.14.7
[ci skip]
2019-04-16 16:16:40 -04:00
Pentarctagon
073081ef89 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 03:29:04 -05:00
Jyrki Vesterinen
37a72b7423 Revert "Attempted workaround for macOS SCons build failure"
This reverts commit 643210ba7f.

The workaround didn't help. SCons still doesn't find libffi. See build
log at https://travis-ci.org/wesnoth/wesnoth/jobs/505677825
2019-03-13 12:34:35 +02:00
Jyrki Vesterinen
643210ba7f Attempted workaround for macOS SCons build failure
Homebrew should really install libffi implicitly when we install anything
that depends on it. But let's try to work around the problem by installing
it explicitly.
2019-03-13 12:10:05 +02:00
Iris Morelle
ca499c4495 pofix: 1.14 announcement copyright update
[ci skip]
2019-03-13 01:18:20 -03:00
Gunter Labes
e5615b92bc
Print error messages in red
Use unbuffer to work around a travis issue when a secret is set in .travis.yml: https://github.com/travis-ci/travis-ci/issues/7967
As a bonus colored output of for example cmake now works again.
Also streamline test execution.
2019-03-06 14:21:32 +01:00
Iris Morelle
ad49853e07 pofix: 1.14 announcement rules for 1.14.6
[ci skip]
2019-03-01 16:25:56 -03:00
Martin Hrubý (hrubymar10)
8629cbf91f
[Fwd-port] Apply latest changes to Xcode project from 1.14 branch
Commits included:
b677423cdd
662da36ac5
d3eebd61e1
4d08b1eb78
c03ab2e54c
2019-01-31 14:17:49 +01:00
josteph
92ef6bc3ff pofix: Strip msgstr's when checking for duplicate msgid's 2018-12-27 12:35:54 +00:00
pentarctagon
7034c8f97b Run WML schema validation in travis. Fixes #3709
This adds running the WML schema validation in travis.  It also updates the schema itself and fixes a few WML errors so that core and all campaigns under all difficulties pass the schema validation.
2018-11-24 10:35:22 -06:00
Nils Kneuper
752919e5c3 removed entry that leads to duplicate strings and breaks po files 2018-11-03 00:01:08 +01:00
Michał Janiszewski
9d333bc95a Compare to None using identity is operator
This is a trivial change that replaces `==` operator with `is` operator, following PEP 8 guideline:

> Comparisons to singletons like None should always be done with is or is not, never the equality operators.

https://legacy.python.org/dev/peps/pep-0008/#programming-recommendations
2018-10-31 12:21:01 +11:00
Celtic Minstrel
63d0aa3356 Fix pofix
Two of these strings were not a fix, just a removed string, so no need for pofix.
The other was not specific enough for pofix to match unambiguously.
Also, someone forgot a comma somewhere, causing a syntax error.

(cherry picked from commit 4331c7f4e9)
2018-10-28 02:52:56 +00:00
Charles Dang
6ecca66c23 Pofix entry for fc6c3ac04b
[ci skip]

(cherry picked from commit f64f51c10e)
2018-10-28 02:52:55 +00:00
Charles Dang
6ef8599f0b Pofix entry for b86a2968fe
[ci skip]

(cherry picked from commit 9f6b66c738)
2018-10-28 02:52:55 +00:00
Charles Dang
c6595d6f84 Pofix entry for ab9f29a7a4
[ci skip]

(cherry picked from commit 697216e8ea)
2018-10-28 02:52:55 +00:00
Victor Sergienko
8716b8f9d0 #3634, #3557: Port from iOS: Compile with Apple crypto framework instead of OpenSSL. 2018-10-25 23:20:04 -07:00
Iris Morelle
7e4d12e10d pofix: 1.14 announcement rules for 1.14.5
[ci skip]

(cherry-picked from commit 2ea2a4da49)
2018-10-07 03:25:18 +00:00
Celtic Minstrel
42c48d1483 Move wmlxgettext to the data/tools directory so that it's automatically included in official packages
(cherry-picked from commit 59e78e5565)
2018-10-07 03:24:58 +00:00
Jyrki Vesterinen
1166bfb485 Pofix: fix incorrect removal of a space
Thanks to @jostephd for pointing out that it shouldn't be removed.

[ci skip]

(cherry-picked from commit c59ae5204a)
2018-10-07 03:24:37 +00:00
Jyrki Vesterinen
7cfd220976 Fix another pofix mistake
That comma wasn't supposed to be replaced with a period, and I didn't
notice the mistake before pushing the commit.

[ci skip]

(cherry-picked from commit 20bfb35bdd)
2018-10-07 03:24:27 +00:00
Jyrki Vesterinen
9a3084fbd5 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]

(cherry-picked from commit 3df91c9fc1)
2018-10-07 03:24:26 +00:00
Jyrki Vesterinen
2d8f8ea53a Add pofix entries for the recent typo fixes (resolves #3377)
Manual merge of pull request #3490. I also ran pofix.

[ci skip]

(cherry-picked from commit 217eba5f97)
2018-10-07 03:24:24 +00:00