Commit graph

2438 commits

Author SHA1 Message Date
pentarctagon
a8a5812928 Move travis' dockerfiles to common directory. 2019-11-13 19:48:14 -06:00
loonycyborg
755c5057d8 Make docker builds copy wesnothd to output/ too 2019-11-07 20:55:42 +03:00
loonycyborg
a7ba3a71cb Place dependencies for running steamrt build in correct subdir 2019-11-06 23:30:08 +03:00
loonycyborg
42293897e5 Add dockerfile for making mingw cross-compile builds 2019-11-06 19:39:38 +03:00
loonycyborg
4638a4b5b8 Improve start.sh scritp for steamos build 2019-11-06 15:07:14 +03:00
Gunter Labes
66e2d53859
Try to fix mac builds by disabling homebrew auto updatin 2019-10-29 17:16:55 +01:00
Gunter Labes
e78f9df653
Remove unused script 2019-10-29 13:55:38 +01:00
pentarctagon
81e2cae74f 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.
2019-10-28 00:40:24 -05:00
Gunter Labes
ad25a207d5
Use PWD and add missing quotes
Fixes issues with word splitting or pathname expansion.
2019-10-27 13:09:54 +01:00
loonycyborg
f080886a83 Add a script to make steam build of wesnoth using docker 2019-10-27 14:29:23 +03:00
pentarctagon
ea90383f1d
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:14:45 -05:00
pentarctagon
21f9b19120 Also store where the client came from. 2019-10-20 13:57:45 -05:00
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