Commit graph

7331 commits

Author SHA1 Message Date
FlutterSprite
831b714ad8
Adds health bar module
Adds a versatile function that will return a given current and maximum value as a "health bar" rendered with ANSI or xterm256 background color codes. This function has many options, such as being able to specify the length of the bar, its colors (including changing color depending on how full the bar is), what text is included inside the bar and how the text is justified within it.
2017-11-05 18:36:08 -08:00
Griatch
a12813f21b Resolve merge conflicts against develop branch 2017-11-05 14:20:25 +01:00
Ryan Stein
131f7157c4 Use a more robust method of validating an encoding. 2017-11-03 12:45:24 -04:00
Ryan Stein
6f91e1e546 Remove to_unicode. 2017-11-03 12:36:45 -04:00
Ryan Stein
7d524ac328 Unwrap for expressions in comprehensions, too. 2017-11-02 22:52:16 -04:00
Ryan Stein
f2e800ddf1 Unwrap several for statements from 2to3 conversion process. 2017-11-02 12:46:33 -04:00
Ryan Stein
8c318c6d38 Configure Travis CI for Python 3. 2017-11-02 10:43:13 -04:00
Ryan Stein
cd21fb2396 Use Python 3's new super() convention. 2017-11-02 10:41:41 -04:00
FlutterSprite
ab46c5eefc
Fix typo in documentation 2017-10-30 19:16:43 -07:00
FlutterSprite
8d82981a53
Add tree select to README.md 2017-10-30 16:24:11 -07:00
FlutterSprite
2fcf1b3c04
Added unit tests for tree_select contrib 2017-10-30 16:21:32 -07:00
FlutterSprite
8b95b4718a
Add simple menu tree selection contrib
This contrib module allows developers to generate an EvMenu instance with options sourced from a multi-line string, which supports categories, back and forth menu navigation, option descriptions, and passing selections to custom callbacks. This allows for easier dynamic menus and much faster deployment of simple menu trees which does not require the manual definition of menu nodes and option dictionary-lists.
2017-10-30 15:01:51 -07:00
Griatch
b123b705bb Merge branch 'develop' of https://github.com/FlutterSprite/evennia into FlutterSprite-develop 2017-10-30 22:05:17 +01:00
FlutterSprite
d1aa757ba9
Clarify the nature of the different modules 2017-10-30 13:23:06 -07:00
Tehom
e8ef7f54a9 Add tests for general_context 2017-10-30 20:36:22 +01:00
FlutterSprite
89773e5860 Moved 'turnbattle' to packages section in readme 2017-10-30 05:11:53 -07:00
FlutterSprite
c6f422d44b Updated username in contrib readme 2017-10-30 05:03:26 -07:00
FlutterSprite
df9072253f Set turn handler's intervals higher during tests
This was an attempt to try to fix some strange 'unhandled error in
deffered' results while unit testing the contrib folder. It didn't
work, but it's probably good to do anyway.
2017-10-29 23:00:22 -07:00
FlutterSprite
9bc3fcf486 Unit tests for tb_range added 2017-10-29 21:39:11 -07:00
Ryan Stein
0cd979327b Fix whitespace. 2017-10-29 23:47:27 -04:00
Ryan Stein
93475a6de5 Deprecate to_str, to_unicode. Fix class_from_module, is_iter, make_iter. 2017-10-29 23:29:21 -04:00
Ryan Stein
5074c112af We need the latest version of Twisted possible for Py3. 2017-10-29 22:58:04 -04:00
Ryan Stein
75d74c252e Remove sitecustomize.py, unnecessary for Py3 now. 2017-10-29 22:54:43 -04:00
Ryan Stein
f9526e78a8 Implement hashing functions for Command and ServerSession. 2017-10-29 22:39:54 -04:00
Ryan Stein
ee58e59e7e Port a few miscellaneous items. 2017-10-29 22:21:38 -04:00
Ryan Stein
b5cf27fc18 Fix ServerConfig model for Py3. 2017-10-29 22:20:23 -04:00
Ryan Stein
9d48e616b1 Port SessionHandler for Py3. 2017-10-29 22:17:00 -04:00
Ryan Stein
aaf13eec16 Port EvMenu and EvForm for Py3. 2017-10-29 22:14:39 -04:00
Ryan Stein
8d0d3a942f Partially port EvTable for Py3. 2017-10-29 22:14:22 -04:00
Ryan Stein
a4b902108c Add __lt__ method necessary for usage of sorted() later in the file. 2017-10-29 22:10:16 -04:00
Ryan Stein
be5ecf0d0d Convert to bytes to allow access to static and media resources. 2017-10-29 21:58:30 -04:00
Ryan Stein
00a87bcdcf Port usage of Twisted AMP for Py3. 2017-10-29 21:57:40 -04:00
Ryan Stein
eabdf27565 Django WSGIHandler is deprecated. Port webserver for Py3. 2017-10-29 21:54:06 -04:00
Ryan Stein
7477cc56e0 Remove use of unavailable django force_unicode(). 2017-10-29 21:45:17 -04:00
Ryan Stein
b88c74a316 Convert the telnet protocols over for Py3. 2017-10-29 21:43:32 -04:00
Ryan Stein
1da3e0caa0 zope.interface.implements() is deprecated. Use implementer decorator. 2017-10-29 21:39:24 -04:00
Ryan Stein
8dc51b9fb4 Fix revision rendering and make use of ascii_letters. 2017-10-29 21:38:16 -04:00
Ryan Stein
c5c44f3e0c Update contrib.mapbuilder for Py3. 2017-10-29 21:37:12 -04:00
Ryan Stein
8c15dff56d Update random_string_generator's use of sre_parse.parse().data for Py3. 2017-10-29 21:36:13 -04:00
Ryan Stein
bb15fed784 Switch to autobahn-python for WebSockets support. 2017-10-29 21:29:09 -04:00
Ryan Stein
b80fb95662 Fix two unhandled Deferred errors in contrib tests. 2017-10-29 20:15:06 -04:00
Ryan Stein
6fa280b9fd Run 2to3. 2017-10-29 13:40:30 -04:00
Griatch
bc868f8fd3 Fix iteration error if passing a raw string for aliases/tags/perms in spawner 2017-10-29 18:28:06 +01:00
Griatch
bbe8ffef76 Merge branch 'add_accounts_tests' of https://github.com/moonpatroller/evennia into moonpatroller-add_accounts_tests 2017-10-29 11:18:09 +01:00
Tehom
e93076a138 Add unit tests for bodyfunctions. Merges #1494. 2017-10-29 11:10:01 +01:00
Tehom
dee13b36b7 Create tests for dummyrunner settings 2017-10-29 10:54:10 +01:00
Tehom
f367ab8303 Add unit tests for deprecations 2017-10-29 10:44:56 +01:00
Griatch
703684e92f
Merge pull request #1496 from chainsol/fix_admin_channel
Fix Admin page for Channel objects
2017-10-29 09:42:33 +01:00
Moonpatroller
c202084123 adding accounts tests 2017-10-28 22:02:09 -07:00
Griatch
a5a8d9dd57 Some doc updates 2017-10-28 22:51:47 +02:00