Commit graph

  • 3bae1190a9 markup and whitespace update BlauFeuer 2017-02-18 19:52:29 -05:00
  • f857a43f4b Markup update, docstring and whitespace fixes BlauFeuer 2017-02-18 19:34:18 -05:00
  • 7f06bb4b73 Correct errant find/replace from last commit BlauFeuer 2017-02-18 19:30:57 -05:00
  • 33000a55f6 Have CmdPerm check the 'edit' locktype when caller is a player instead of 'control' (which is not defined on players). Resolves #1223. Griatch 2017-02-19 09:25:21 +01:00
  • 959e5ec558 Put in fix for nicks.has check being True when returning list of False matches due to None caching. Tehom 2017-02-18 09:46:19 -05:00
  • ee8c9a93c3 Add tentative errback for not firing an error when response is not fast enough to fire before a user closes the connection. Might handle #1207. Griatch 2017-02-18 20:32:13 +01:00
  • d9e305702f Made sure to allow setting the option even though the client does not report it. Might help with #1218 ... maybe. Griatch 2017-02-18 19:41:03 +01:00
  • 865ab131bb Fix reference error in get_input. Resolves #1219. Griatch 2017-02-18 19:21:43 +01:00
  • 517ce93bb4 Fix merge conflicts against master branch. Griatch 2017-02-18 12:08:51 +01:00
  • 8ee817ce8b Fix lingering references to old perms/locks to resolve unittests. Griatch 2017-02-18 12:00:27 +01:00
  • 2138e4cd70 Run migrations! Update all Permissions and Locks to new Permission hierarchy. Griatch 2017-02-18 11:31:17 +01:00
  • a651490565 Refactor to remove alerts as per lgtm and #1176. BlauFeuer 2017-02-17 18:18:37 -05:00
  • 0bd47f0c52 Change permission strings so Immortals->Developer, Wizards->Admin, Builders->Builder, PlayerHelper->Helper, Players->Player, Guests->Guest. Made perm() and pperm() lock function accept both the plural and singular form (so both Admin and Admins work). Still lacking a data migration for updating an existing database to the new setup. Griatch 2017-02-17 23:25:00 +01:00
  • edc092bfc4 Run migrations! Add support for using Scripts as senders/receivers of Msg entities. Implements #1179. Griatch 2017-02-17 21:42:26 +01:00
  • ccfcf37e33 Convert EvMenu to use overridable methods instead of plugin functions. Implements #1205. Griatch 2017-02-17 21:18:15 +01:00
  • 22e57db4a7 Fix errors in testing. Griatch 2017-02-17 09:32:15 +01:00
  • 1fbb4c4358 Add functioning prefix-ignorer and cleanup of code. Griatch 2017-02-17 08:40:32 +01:00
  • d4df0948e3 Change @ desc to @ setdesc to avoid confusion with desc command. Griatch 2017-02-17 08:39:14 +01:00
  • dffbf9f8d6 Rework prefix-ignorer to retain a reference to the unstripped cmdname. Currently unworking. Griatch 2017-02-17 00:46:00 +01:00
  • fd3d6aee9a Clean up default command names and aliases to avoid multimatches with new prefix-ignorer. Chane desc->setdesc, alias->nick, @home->@sethome. Griatch 2016-12-20 22:58:13 +01:00
  • 596efe4c72 Add prefix-ignorer. This will identify allow users to target a command using both cmd, @cmd, +cmd etc. If there are two different commands @cmd and cmd, entering @cmd will still explicitly target the former. Single-character commands consisting of only an ignore-character will not be ignored. Configure and turn off using settings.CMD_PREFIX_IGNORE. Griatch 2016-12-20 22:11:58 +01:00
  • ad1b0c7b77 contrib/tutorial_world/rooms.py Update markup + BlauFeuer 2017-02-16 21:39:11 -05:00
  • 8dbd7163be contrib/tutorial_world/build.ev update markup only BlauFeuer 2017-02-16 21:35:24 -05:00
  • c100a7765c contrib/extended_room.py code, markup updates BlauFeuer 2017-02-16 21:31:48 -05:00
  • 78ff1f39a0 contrib/email_login.py code cleanup, update markup BlauFeuer 2017-02-16 21:28:36 -05:00
  • eef348b4ba contrib/dice.py code cleaning, update markup BlauFeuer 2017-02-16 21:24:37 -05:00
  • 9b391fbe6b contrib/chargen.py code cleaning, update markup BlauFeuer 2017-02-16 21:21:20 -05:00
  • b1be4ade62 contrib/barter.py code cleaning, update markup BlauFeuer 2017-02-16 21:18:39 -05:00
  • 81d35dad14 contrib/tests.py code cleaning, update markup BlauFeuer 2017-02-16 21:14:10 -05:00
  • 1b3fb8fca9 Rename convert_gamescript to custom_gamescript to reflect its new function. Change names of the settings variables used to TIME_* to better match the settings naming style elsewhere. Add updated docstring to module; pertains to #1217. Griatch 2017-02-16 00:04:01 +01:00
  • b91e12db20 Some cleanup of docstrings. Griatch 2017-02-15 23:43:39 +01:00
  • a69b335a9e Clean up in the gametime utility Vincent Le Goff 2017-02-14 19:21:36 -08:00
  • e867b343cf Update the documentation of the contrib convert_gametime Vincent Le Goff 2017-02-14 17:29:31 -08:00
  • 7cd7d68a5a Add the script/functions to schedule events with a standard calendar Vincent Le Goff 2017-02-14 17:28:55 -08:00
  • c18bfe7388 Update the time-sensitive script Since the game time doesn't drift much anymore, the script doesn't need to restart on startup. The restart on repeat is kept, small drifts could accumulate otherwise. Vincent Le Goff 2017-02-14 13:04:34 -08:00
  • 95c8bf348b Save the game time before shutting down the server (avoids drfts) Vincent Le Goff 2017-02-14 13:02:38 -08:00
  • c05a0a58bf Update the documentation for the schedule() function Vincent Le Goff 2017-02-13 21:19:10 -08:00
  • 753bd35226 The time epoch defined in settings can now be 0 (different from None). The convert_gametime contrib now has a simple function to return gametime with units. Vincent Le Goff 2017-02-13 20:14:09 -08:00
  • ee1fc0b648 Update the convert_gametime contrib (stable reload/restart) Vincent Le Goff 2017-02-13 17:00:46 -08:00
  • ec63d43905 Add a check to not create a task to watch a script if the task already exists Vincent Le Goff 2017-02-13 17:00:02 -08:00
  • f6988610cd Use Script.restart() in GametimeScript to change interval Vincent Le Goff 2017-02-13 11:32:14 -08:00
  • 64fd770b5a Add the gametime-sensitive script (errors in intervals) Vincent Le Goff 2017-02-12 21:54:43 -08:00
  • c6ccc08ad0 Add the 'real_seconds_until' function in the gametime contrib Vincent Le Goff 2017-02-12 19:46:54 -08:00
  • ab97f3674e Add optional settings to change game time measurement and units Vincent Le Goff 2017-02-12 15:33:36 -08:00
  • 175f4ed026 Add a list of game units in the convert_gametime contrib This is a dictionary that can be overridden without rewriting the entire module. Vincent Le Goff 2017-02-12 13:31:11 -08:00
  • ce48eae62f PEP 8: visual indent + implicit continuation BlauFeuer 2017-02-12 20:42:32 -05:00
  • 0143043319 refactor to avoid string concatenation in a loop BlauFeuer 2017-02-12 20:30:00 -05:00
  • a687cb7b26 comms.py update markup/PEP 8/whitespace, BlauFeuer 2017-02-12 19:21:40 -05:00
  • 2079504c07 general.py update markup/PEP 8/typos/whitespace BlauFeuer 2017-02-12 19:18:04 -05:00
  • 1fb064c978 objects.py markup/whitespace/PEP 8/typo fixes BlauFeuer 2017-02-12 19:05:18 -05:00
  • 9ea8daf605 connection_screens.py update markup/format BlauFeuer 2017-02-12 18:59:38 -05:00
  • 5e93d41664 help.py display tweak + help aliased to ? BlauFeuer 2017-02-12 14:51:30 -05:00
  • 27f57f7a1b Updated contrib README. Griatch 2017-02-12 19:16:48 +01:00
  • 22e22ffced Cleaned up the time command's output some more. Griatch 2017-02-12 19:11:48 +01:00
  • 008566f358 Move gametime conversion factors to contrib and remove them from the settings file with the motivation that the gametime constats were always highly game specific and a remnant from another time. Reworked the gametime library and add server epoch building from vincent-lg's original PR. The gametime module now deals exclusively in seconds. Griatch 2017-02-12 18:51:56 +01:00
  • 2a48a4d645 Add contrib convert_gametime.py from the game-specific parts moved out of utils.gametime.py. Griatch 2017-02-12 18:26:39 +01:00
  • 6b89945cd3 Extract the deprecation checks from the evennia launcher into its own module deprecations.py as it grows. Griatch 2017-02-12 18:12:02 +01:00
  • 59a5315c79 Add a setting to handle absolute game time (assuing standard a calendar) The @time command now displays the game time epoch (can be set in settings) and current game time (as a datetime). Vincent Le Goff 2017-02-11 19:44:32 -08:00
  • 24adc5286b Minor refactoring of text. Griatch 2017-02-12 13:23:24 +01:00
  • be107814e5 Update CODING_STYLE.md TehomCD 2017-02-12 05:50:10 -05:00
  • 7453cf325a Make 'codefunc' a callable kwarg of EvEditor instead of the code boolean, to offer potential more flexibility if using EvEditor in other conditions. Add :! as a way to run code without saving it. Add support for using the /time switch also with the code editor when using . Griatch 2017-02-12 13:14:59 +01:00
  • 88fc854b36 Change commands to :< and :> in EvEditor (code mode) Vincent Le Goff 2017-02-11 14:45:40 -08:00
  • 1697263fd7 Add the /edit swtich to the @py command Vincent Le Goff 2017-02-11 12:43:58 -08:00
  • 36b268ca81 Leading spaces in the EvEditor are always taken into account Vincent Le Goff 2017-02-11 11:42:19 -08:00
  • 362e03a3f8 Fix a bug in :+ and := commands in EvEditor Vincent Le Goff 2017-02-09 18:46:36 -08:00
  • bcba90f27a Add the 'code' keyword to EvEditor, with basic handling of indentation Vincent Le Goff 2017-02-09 18:27:19 -08:00
  • fe89f2eb52 Minor typo-fix to coding style info. Griatch 2017-02-12 11:17:31 +01:00
  • 6d24f82054 Update building.py BlauFeuer 2017-02-10 19:03:20 -05:00
  • 5ed5e77562 Update building.py BlauFeuer 2017-02-10 18:19:57 -05:00
  • 9a5b6969f3 Update building.py BlauFeuer 2017-02-10 16:51:47 -05:00
  • 61ffe5f9fa Rename ADDITIONA_ANSI_MAPPING to COLOR_ANSI_EXTRA_MAP to better match the settings naming scheme. Griatch 2017-02-12 10:52:51 +01:00
  • 982108da33 correct import Tehom 2017-02-10 07:16:04 -05:00
  • f263ea2aaa Allow additional ansi mappings to be passed from settings for easier customization. Tehom 2017-02-10 07:15:12 -05:00
  • 80f7bb1cb5 Change command-default setting names to be more consistent with other settings; changed Command.msg_share to Command.msg_all_sessions to make it clearer what it does. Griatch 2017-02-12 10:34:59 +01:00
  • fafe2e779e Added comments to the individual settings. Tehom 2017-02-10 07:44:08 -05:00
  • a54e511413 Made defaults drawn from settings file to allow them to be modified Tehom 2017-02-10 03:43:18 -05:00
  • f538b65279 Create a command attribute to specify whether messages should be shared between sessions. Tehom 2017-02-10 03:30:33 -05:00
  • af7475c6b9 Cache non-existent attributes too to avoid querying for them more than once. Simon Vermeersch 2017-02-09 20:21:27 +01:00
  • 9103532498 Further change to ircstatus/ircbot privmsg who sorting. Griatch 2017-02-12 09:08:13 +01:00
  • 93e1d81490 Alphabetize irc2chan nicklist. Griatch 2017-02-12 08:58:26 +01:00
  • 171761949a Correctly handle erroneus #dbref input for ircstatus. Griatch 2017-02-12 08:49:05 +01:00
  • e08cb2bb48 Allow argument 'who' to the new ircstatus command. Griatch 2017-02-12 02:08:32 +01:00
  • 721572ac4a Remove some debug output. Griatch 2017-02-12 01:57:58 +01:00
  • 63df95e4da Make the irc bot accept who command from the IRC side. Griatch 2017-02-12 01:55:34 +01:00
  • 65a4e507f7 Add the ircstatus command, which allows an Evennia-ide user to ping the status of the IRC bot connection, get list of IRC nicks and also (if having the right privilege) force-reconnect the bot if the connection has died. Griatch 2017-02-12 00:43:19 +01:00
  • 1d181d8259 Change new irc2chan command syntax to use :typeclass, which is more in line with how typeclass is provided in other commands using typeclass. Also add exception handling if trying to create the bot with a malformed typeclass. Griatch 2017-02-11 18:12:19 +01:00
  • 9503b30a5e Adjusted text variable names through IRCbot message life cycle to match new practice. Cloud_Keeper 2017-02-08 13:33:31 +11:00
  • 6cea12de42 Adjusted documentation. Cloud_Keeper 2017-02-08 12:41:38 +11:00
  • 7d4929efec Adjust documentation. Tablet-PC\cloud 2017-01-27 14:42:47 +11:00
  • 089c24f56f @irc2chan now accepts alternative typeclasses for bots Tablet-PC\cloud 2017-01-26 01:55:32 +11:00
  • d96509cb4e Default behaviour now working. Cloud_Keeper 2017-01-25 20:55:49 +11:00
  • 40d4f6d286 Kwargs now being passed to the bot successfully Cloud_Keeper 2017-01-25 20:16:29 +11:00
  • 8fc20a3056 Unsuccessfull attempts Tablet-PC\cloud 2017-01-25 10:11:51 +11:00
  • 1d7c369345 no message Tablet-PC\cloud 2017-01-24 12:31:08 +11:00
  • fe11cb9d03 Add to irc2chan id display. Griatch 2017-02-11 18:39:31 +01:00
  • 831b1567ae Resolve conflicts against master. Griatch 2017-02-11 18:17:04 +01:00
  • 91ffde5eaf Fix errors caused by the change of the get_and_merge_cmdset callsign. Makes unittests work correctly again. Griatch 2017-02-06 20:20:38 +01:00
  • 53b0b0f9af Update the Command.get_help() method taking Evennia's policy into account Vincent Le Goff 2017-02-05 08:57:41 -08:00
  • 602b3408aa Add a method to customize the help message of a command Vincent Le Goff 2017-02-04 12:41:48 -08:00
  • dd516a290c Make sethelp edit also work without specifying a starting string. Griatch 2017-02-06 19:56:54 +01:00