Commit Graph

330 Commits

Author SHA1 Message Date
Marcus Whybrow
7fbadc2502 Fixed the .travis.yml file again.
This should skip the python install step now, and should also run the
test script.
2012-06-06 00:43:36 +01:00
Marcus Whybrow
2aedc5a19f Updated the .travis.yml file to hopefully work.
Added the "install" key and added "sudo" for starting the test script.
2012-06-06 00:31:52 +01:00
Marcus Whybrow
22278b516f Changed Travis language to Python
Using Java didn't use the "script" setting for running tests. The
Python language version does.
2012-06-06 00:27:07 +01:00
Marcus Whybrow
a283b003b9 Added a .travis.yml file for Travis CI configuration. 2012-06-06 00:16:39 +01:00
Marcus Whybrow
93ba2c12f4 Fixed a bug where tail processes would not die. 2012-06-05 23:18:40 +01:00
Marcus Whybrow
a7aee94e63 Upgraded version to 0.2.5 Beta 2012-06-05 22:53:06 +01:00
Marcus Whybrow
e2e8aa5492 Fixed a bug where the wrong error code was returned.
When specifying a server name which did not exist the NAME_NOT_FOUND
error code was suppressed.
2012-06-05 22:39:50 +01:00
Marcus Whybrow
787765b95f Added tests for renaming stopped servers. 2012-06-05 22:38:21 +01:00
Marcus Whybrow
45b05bcffc Added a test for deleting an existing server. 2012-06-05 21:27:42 +01:00
Marcus Whybrow
67e73f2b4e Added helper functions which set variables for script tests. 2012-06-05 21:08:23 +01:00
Marcus Whybrow
c79efe0abd Added explanatory exit codes to the script.
These codes are used by `test.sh` to better analyse whether an action
was successful or not.
2012-06-05 19:40:32 +01:00
Marcus Whybrow
4addb6dd9a Improved server creation to not require the "minecraft" jar group to be present. 2012-06-05 19:39:22 +01:00
Marcus Whybrow
af15359935 Moved test function to correct section. 2012-06-05 01:43:17 +01:00
Marcus Whybrow
b0477de67b Added comment sections for all interaction points. 2012-06-05 01:41:18 +01:00
Marcus Whybrow
e5e38fc8e2 Added test for deleting a server that does not exist. 2012-06-05 01:40:28 +01:00
Marcus Whybrow
8a6d8ba892 Added a test for creating duplicate server names. 2012-06-05 01:38:33 +01:00
Marcus Whybrow
5c2965cba7 Changed a directory test to look specifically for a directory. 2012-06-05 01:31:49 +01:00
Marcus Whybrow
524f22f781 Added tests for invalid and edge case server names. 2012-06-05 00:50:24 +01:00
Marcus Whybrow
e2d37a3c1c Fixed a bug which prevented valid server names containing a reserved world. 2012-06-05 00:50:01 +01:00
Marcus Whybrow
45ee034f2c Added a test for invalid server names. 2012-06-05 00:09:54 +01:00
Marcus Whybrow
63af7c7c1b Added a test for creating a server after the "miencraft" jar group is present. 2012-06-04 21:52:13 +01:00
Marcus Whybrow
330bc72d01 Moved test oneTimeSetup code to execute for each test.
Now the conf file is created fresh for each test.
2012-06-04 21:51:49 +01:00
Marcus Whybrow
819d09b744 Added test fro creating a server without any jar groups present. 2012-06-04 21:42:08 +01:00
Marcus Whybrow
905cb2494a Added test.sh which runs unit tests. 2012-06-04 21:41:22 +01:00
Marcus Whybrow
738c2b9e87 Prevented error when no servers have been created. 2012-06-04 21:40:33 +01:00
Marcus Whybrow
d9da25cc0e Ignore directories starting with an underscore. 2012-06-04 21:08:03 +01:00
Marcus Whybrow
5e852c42ec Allowed CONF to be overwritten by environment variable "MSM_CONF". 2012-06-04 21:07:29 +01:00
Marcus Whybrow
edae00b103 Added double quotations around all variables which may contain spaces. Fixes #14.
Thanks to @Jonek01 for spotting this was causing a problem when
starting a server with a world name containing a space.
2012-06-04 17:37:56 +01:00
Marcus Whybrow
f15ddf5073 Fixed mistake in changelog maintainer link. 2012-06-03 14:01:07 +01:00
Marcus Whybrow
bfe7c101f0 Updated version and change log to "0.2.4". 2012-06-03 13:57:55 +01:00
Marcus Whybrow
be283e91f6 Running servers can no longer be renamed. Fixes #11. 2012-06-03 13:55:11 +01:00
Marcus Whybrow
f1f0e78fec Added links to change log section 0.2.3 for issues and the user "Jonek01". 2012-06-03 13:44:21 +01:00
Marcus Whybrow
1534731862 Added 0.2.3 to the change log. 2012-06-03 13:39:07 +01:00
Marcus Whybrow
07a185d535 Updated the version to "0.2.3 Beta". 2012-06-03 13:34:32 +01:00
Marcus Whybrow
cd81955628 Fixes #12 thanks to @Jonek01 for spotting the problem. 2012-06-03 13:33:42 +01:00
Marcus Whybrow
09acae397c Fixes #13 thanks to @Jonek01 for spotting the problem. 2012-06-03 13:33:16 +01:00
Marcus Whybrow
ad0a8fb3e3 Added "msm version" command. 2012-06-02 21:02:58 +01:00
Marcus Whybrow
6cc19b8ea1 Added a changelog.
Covers preceding versions.
2012-06-02 20:33:16 +01:00
Marcus Whybrow
a7978d535c Implemented a server "worlds on|off" command.
Moves a world between the "worldstorage" and "worldstorage_inactive"
directories. Inactive worlds do not get loaded (symlinked) or backed up
etc. but are include in complete server backups.

Bit of a monster commit here, refactored the init code to bring this
change.
2012-06-02 19:11:33 +01:00
Marcus Whybrow
bfe1e07d64 Replaced tabs with space in help output.
It's just easier to read and work with in the source code.
2012-06-01 09:07:18 +01:00
Marcus Whybrow
1af585f19c Put quote marks around config source. 2012-06-01 09:06:24 +01:00
Marcus Whybrow
5c60af367e Removed config fallbacks into the init script.
Must force settings to be set in the conf files to allow correct
centralisation.
2012-06-01 08:56:05 +01:00
Marcus Whybrow
e087743dc4 Updated the readme to reflect recent changes. 2012-05-31 11:50:54 +01:00
Marcus Whybrow
1a97b62985 Spelling mistake in README. 2012-05-31 10:27:07 +01:00
Marcus Whybrow
476a3e7504 Fixed a bug in jargroup bash completion.
Would not complete to existing jar group names.
2012-05-31 10:18:19 +01:00
Marcus Whybrow
a64de96a2d Added bash completion for the server "save" commands. 2012-05-31 10:11:35 +01:00
Marcus Whybrow
ea15ad404e Removed tdf as an initialism for toggle downfall from bash completion. 2012-05-31 10:09:15 +01:00
Marcus Whybrow
352be40a1c Added bash completion for the server "time" commands. 2012-05-31 10:08:38 +01:00
Marcus Whybrow
99466586a5 Added bash completion for server "gamemode" commands. 2012-05-31 10:07:01 +01:00
Marcus Whybrow
1b7c894f45 Refactored loading of server based variables. 2012-05-31 10:05:30 +01:00