Commit graph

  • 204ef6d4c5 Big commit. We now have a respectable command table with built in permission checking. I've commented this pretty well, so see cmdtable.py and cmdhandler.py for more details. There is also some assorted cleanup and an unrelated fix or two resulting from the new Twisted back-end. Note that for the permissions, you will eventually be able to override the codebase's permissions via the web interface for each command. Greg Taylor 2007-05-22 15:11:56 +00:00
  • 9746382614 Fixing a flag on twistd. As an addendum to the last commit, there is a big speed improvement, it wasn't just imagined. Check it out on the public test server at evennia.com port 4000. Greg Taylor 2007-05-21 20:53:56 +00:00
  • 97cf1213e6 Converted to Twisted from asyncore. Not positive if this is just my local machine, but it seems like this backend is a bit faster. Greg Taylor 2007-05-21 20:52:05 +00:00
  • 82f46a2b69 Minor doc clarification. Greg Taylor 2007-05-18 15:39:27 +00:00
  • 5ee9f0d577 It's time to take care of the legal mumbo jumbo. We're going with a Modified Clarified Artistic License. Basically, you've got free reign of the software as long as you make any of the changes to the source you make publicly available. Greg Taylor 2007-05-18 15:36:28 +00:00
  • 531fbbacaa Fixing @open to be a bit more robust. Also handle exit name matching a lot more gracefully. Greg Taylor 2007-05-18 15:20:24 +00:00
  • f6311dd41e Gah, one of these days I'll remember to completely fix both sides of things. No longer showing object's dbref on disconnect either. Greg Taylor 2007-05-18 14:25:31 +00:00
  • 9e5c297faa Don't return the ansi-fied version of the Object's name on its __str__() method as this is used in the admin interface and makes nasty looking garbage appear. Greg Taylor 2007-05-18 14:07:57 +00:00
  • 756ac8dfe1 More case-sensitivity stuff. Also remove player's dbref from first connection welcome message. Greg Taylor 2007-05-18 13:44:21 +00:00
  • 9221f889e3 Attribute names are no longer case-sensitive, as per MUX/MUSH. Also added LAST and LASTSITE to the protected attribute list. Greg Taylor 2007-05-18 13:39:57 +00:00
  • 2a46879ad2 Set a the player's LAST and LASTSITE attributes on connect as per MUX. Greg Taylor 2007-05-18 13:36:39 +00:00
  • c067154cd4 Quick fix for channel list retrival. Greg Taylor 2007-05-16 20:04:03 +00:00
  • 107bd6d71a Implemented channel communication. You may now addcom/delcom and talk over channels. See @clist for master channel list, and comlist for your personal list. Still tons of work and cleanup to do, but it's in functional in its simplest form. Greg Taylor 2007-05-16 20:01:54 +00:00
  • 17bbc4c3b3 Crash fix for what might be timing out sessions at the login prompt. Greg Taylor 2007-05-16 18:25:44 +00:00
  • 974c20efc7 Sort command list via @list commands. Greg Taylor 2007-05-16 18:22:49 +00:00
  • 5e0cb06221 Use cPickle instead of pickle for a small performance boost. Greg Taylor 2007-05-15 17:30:45 +00:00
  • c7452e5a88 Finished up addcom/delcom. Added comlist. Fixed @list commands (still needs to sort by command name eventually). Greg Taylor 2007-05-15 17:28:23 +00:00
  • e1f4c2e0da @cdestroy now implemented as per MUX. Greg Taylor 2007-05-15 14:30:52 +00:00
  • 725b1b2ac0 Adding a check to prevent duplicate channel names. Greg Taylor 2007-05-15 14:18:56 +00:00
  • 463197470e Feexed. Greg Taylor 2007-05-11 15:43:55 +00:00
  • 44701530dc Indenting fixes, still need to finish on commands_comsys, will pick it up later unless someone beats me to it. Greg Taylor 2007-05-11 15:43:06 +00:00
  • 65df59ff53 Moving @ccreate from commands_privileged to commands_comsys. Still need to add duplicate name checking. Greg Taylor 2007-05-11 15:25:15 +00:00
  • ac32ab05c1 Finally caved in and created a command table. It's just going to get too messy with @-commands doing straight module lookups, plus the dict is probably a little faster. Feel free to start moving non-privved @-commands to commands_general and vice-versa since we now have the ability to do so. Greg Taylor 2007-05-11 15:23:27 +00:00
  • 2fc06adcfa Adding the first bit of permissions checking as an example. See cmd_who and the Object class's user_has_perm method for examples. We'll need to start fleshing this stuff out before adding many more new commands. For existing games, remove your auth_permissions table and re-sync your DB. Greg Taylor 2007-05-09 15:53:53 +00:00
  • f1dd985294 Added idle timeout code to help combat the screwed up session situation. Some admins would've wanted this eventually, but it'll help until I figure out how to close dead sessions that look like they're still alive. Added a new server config directive, idle_timeout. If the value is non-zero, the idle timeout is the respective number of seconds between commands. Also, the IDLE command will save you from idle timeouts but won't modify your publicly visible idle time. Greg Taylor 2007-05-09 15:28:12 +00:00
  • 32fa9e419a Committing the first draft of the comm channel and channel message classes. Greg Taylor 2007-05-08 15:06:48 +00:00
  • 86e9a8292c * added skeletons for commands_comsys.py (has all of the MUX2 commands I * could remember) and functions_comsys.py (has a couple of ideas for * useful functions). Michael King 2007-05-04 18:02:49 +00:00
  • e8674f1848 * Created INSTALL; moved initial installation instructions from README * to INSTALL Michael King 2007-05-04 16:58:56 +00:00
  • cd70495f47 Was looking for an excuse to nab revision 100 :) Updated some stuff to reflect our new Google project/code pages. Greg Taylor 2007-04-30 20:02:11 +00:00
  • a1bc2375ef Finish up single-character aliases for pose, say, and pose/nospace. Greg Taylor 2007-04-30 19:49:30 +00:00
  • 4f67efb70a Implemented page history, meaning you don't need to provide your victim's name/alias and the equal sign after the initial page. TODO: Allow paging multiple people at once, ala MUX. Greg Taylor 2007-04-30 18:39:41 +00:00
  • c4597f41a1 WHO alignment fix. Whoops. Greg Taylor 2007-04-30 18:19:06 +00:00
  • 4fd5a20e2c Added a @reload command to reload most of the modules. This currently only seems to work for the stuff outside of the apps directory, and doesn't include the server, session_mgr, or events modules, as they have variables in them that we can't have reset. So basically, changes to the functions_ and commands_ modules can be applied with @reload, but little else. Hopefully this will improve with time. Also fixed a bug with @name'ing players but not updating their account's username to reflect it. Greg Taylor 2007-04-30 17:51:55 +00:00
  • 81b1797144 Finished moving error trapping to cmdhandler.py. No need to do any exception handling on a per-command basis anymore. Greg Taylor 2007-04-30 14:33:22 +00:00
  • 98e9175582 Addition of a player_search() function in functions_db. This first searches for alias matches (exact, no case-sensitivity). If it finds none, it does a normal local_and_global_search() limited by object type PLAYER. Also did some more code cleanup and commenting. Greg Taylor 2007-04-30 14:21:48 +00:00
  • 6d52103359 Fix paging to take multi-word victims. Also updated messages to match MUX2. Greg Taylor 2007-04-30 13:29:36 +00:00
  • cb05b23b5b * changed the message to be a tail slice of the eq_args instead of just the second element. * changed the emit_to() on the target object to use join to turn the message into a string. Michael King 2007-04-29 20:52:19 +00:00
  • 26c6dd109a * Re-implemented page using @teleport's protocol. Still can't get spaces in names working out of the box, but I'm looking into squashing that. (tsal) Michael King 2007-04-29 13:58:58 +00:00
  • 6355ed2298 * Found all my stupid bugs, and remembered that django's Model#get() will raise an exception if it cannot find any matching objects. Used that to determine "no such user". Michael King 2007-04-28 14:53:13 +00:00
  • 21a03fc07c * After review of the codebase some more, discovered better methods for most of what I was trying to do. * Before this change, it was no longer dumping the connection, but was always claiming that the target player was not online, when they were. * Back to the drawing board on cmd_page for now. Michael King 2007-04-28 14:26:28 +00:00
  • 3054d1233f * Fixed interpolation statements to have tuples instead of a string Michael King 2007-04-28 13:44:33 +00:00
  • d017ff0d39 * Added cmd_page. I think I'm running into SQLite problems, as when the command runs, it simply dumps the session. I tried to test this on MySQL, but I can't get syncdb to work, either. (tsalaroth mking@arikel.net) Michael King 2007-04-26 23:35:37 +00:00
  • ec4ab1e913 Never mind, no dice. Greg Taylor 2007-04-26 20:33:53 +00:00
  • 1435c06633 not sure if this'll work, we'll see. Greg Taylor 2007-04-26 20:33:20 +00:00
  • 7012960a70 Remove get_ansiname() by condensing functionality into get_name(). Removed session debug statements I had in for testing. Greg Taylor 2007-04-26 20:32:56 +00:00
  • a73a3523af Unintentionally committed a change to startup.sh, reversing. Greg Taylor 2007-04-26 19:33:15 +00:00
  • c54f9f15e4 Renaming the default database file to evennia.db3 instead of evennia.sql, which is often used to signify text-based SQL dumps. Remember to re-name your database file and adjust your settings.py accordingly if you want to follow suite. Existing installs should theoretically be unaffected. Greg Taylor 2007-04-26 19:32:26 +00:00
  • 22bccd294f Minor update. Greg Taylor 2007-04-26 02:19:49 +00:00
  • 192ef521a2 Adding a session validity check in hopes of eventually expiring timed out connections. Greg Taylor 2007-04-25 20:11:29 +00:00
  • 0fc89247aa No longer need to distribute a database file. Each user will run their syncdb script and start with a clean slate. Updated installation instructions in README. Greg Taylor 2007-04-25 19:39:15 +00:00
  • eda1753740 Move the server log to a 'logs' directory so as not to add even more clutter to server root. Greg Taylor 2007-04-25 15:17:08 +00:00
  • b63f69eed0 New startup.sh file with configurable start modes. Eventually we'll do this via command line arguments, but for now it'll do. Greg Taylor 2007-04-25 15:14:45 +00:00
  • 3292405fcb Adding initial data via Django's syncdb facility. We will no longer distribute a SQLite DB in the near future in favor of this cross-platform alternative. Also in this commit is a crash fix for @dig with SQLite. Greg Taylor 2007-04-25 14:47:33 +00:00
  • 26a354204c Movin the TODO list to the google code group page. Greg Taylor 2007-04-23 15:57:34 +00:00
  • 02126b2434 Finished logging in with email address instead of username, forgot to yank this from the TODO list. Greg Taylor 2007-04-23 15:37:48 +00:00
  • 9e587bd4e3 Important update: Fixed two crash bugs in attribute getting/setting. Less importantly, the money value shown in 'inventory' now pluralizes properly. Greg Taylor 2007-04-23 15:22:40 +00:00
  • 9335adc03a More command sanitizing checks, renamed startup script to startup.sh. Greg Taylor 2007-04-03 20:15:54 +00:00
  • 81a13d873f Updating TODO to reflect our handling of multi-word names. Greg Taylor 2007-04-03 19:15:29 +00:00
  • 1ac4d31bdb Ignore settings.py, this is for the local game. Greg Taylor 2007-04-03 19:11:57 +00:00
  • 50b17b3626 Changing the user login command to use the player's email address instead of username. Also Require quotes around the username with the character creation command regardless of whether it's two words or one. Greg Taylor 2007-04-03 15:17:46 +00:00
  • 5a48c2e30b Finalizing layout. Greg Taylor 2007-04-03 13:43:49 +00:00
  • 5421ab7f6e Re-organization. Greg Taylor 2007-04-03 13:42:51 +00:00
  • 5db3ae2933 Fixing the return substitution. Greg Taylor 2007-02-19 13:16:51 +00:00
  • 2c85fe3be5 New player registrations are once again working. Shored up some vulnerable spots too. Greg Taylor 2007-01-04 01:55:01 +00:00
  • 95e645246e Fixed some issues with @dest'ing player objects that don't have a matching account (should never really happen but just in case.) Greg Taylor 2007-01-04 01:36:22 +00:00
  • cf0fa701ef A few minor cleaning things. Greg Taylor 2007-01-02 07:05:39 +00:00
  • 6f52e75725 Beginnings of our permissions system. Greg Taylor 2007-01-02 06:20:32 +00:00
  • 0e1e2ed1b0 We now have get/drop and a vastly improved object searching function. Some misc. improvements to other utility tfunctions as well. Greg Taylor 2007-01-02 05:21:59 +00:00
  • 18994e4ca0 We're calling @-prefixed commands privileged commands instead of staff commands. Greg Taylor 2007-01-02 04:25:44 +00:00
  • 4641aa8a4e Some more @list work and help system cleanup. Greg Taylor 2007-01-02 04:19:53 +00:00
  • 18cf29b0cf Some minor performance enhancements and an experimental profiler. Greg Taylor 2007-01-02 01:14:07 +00:00
  • c5975f522f Applying some polish to the admin interface. Greg Taylor 2007-01-02 00:20:20 +00:00
  • c3ce3451b3 Fixed a really obnoxious path/namespace problem. Hooray. Greg Taylor 2007-01-02 00:05:29 +00:00
  • 0adfd4d45c Finally found and fixed the problem with editing objects in the admin interface. Greg Taylor 2007-01-01 23:38:59 +00:00
  • f6de21be13 Adding example apache config. Greg Taylor 2007-01-01 22:55:48 +00:00
  • dcb7d3e792 Changing some of the setup procedure. Greg Taylor 2007-01-01 22:46:52 +00:00
  • 65dad92f8e Minor adjustments for sane default values. Need to come up with a better startup script sometime. Greg Taylor 2006-12-30 09:22:51 +00:00
  • a0af0811ac Don't need this anymore. Greg Taylor 2006-12-30 09:17:38 +00:00
  • 7f712d1eda Fixing import to play nicely with admin interface. Greg Taylor 2006-12-30 08:21:44 +00:00
  • ac5bd46004 Adding the help system to the web interface. Greg Taylor 2006-12-26 05:54:32 +00:00
  • bca357e7f9 Updating DB. Greg Taylor 2006-12-26 05:07:30 +00:00
  • 595a09d4c1 Notify people in the room when others arrive/leave. Greg Taylor 2006-12-26 05:04:55 +00:00
  • 4fff8fea3a Emit when a player connects/disconnects to those in the same room. Greg Taylor 2006-12-26 05:00:43 +00:00
  • 5c029b8daa Fixing a minor crash bug with WHO and unauthenticated users. Greg Taylor 2006-12-26 04:55:53 +00:00
  • d3634f3236 Adding the SQLite database to this commit. Oh, and @list commands is in, as well as some pieces of @list process. Greg Taylor 2006-12-26 04:20:47 +00:00
  • 959be95e42 Implemented @password and @newpass. Greg Taylor 2006-12-26 00:05:33 +00:00
  • 121e8cf7c1 Updating TODO list with some of the things I'd like to tackle. Greg Taylor 2006-12-25 06:23:17 +00:00
  • 2be1a7848f Introduction of a rough help system. Much work needs doing on it, but will serve the purpose for now just fine. Greg Taylor 2006-12-25 06:04:06 +00:00
  • 2f2ea1b344 Lots of good stuff with this one: * Added object methods, get_name() and get_ansiname(). * ANSI pretty much works as expected with objects. * You can now use @open, @link, and @unlink like in MUX. * Added a word_wrap() function to functions_general.py. Greg Taylor 2006-12-25 03:30:41 +00:00
  • c66c93ad0b Getting ready for ANSI handling, some SQLite3 optimizations (hopefully). Greg Taylor 2006-12-24 06:38:08 +00:00
  • ec2e39fa3e Adaptations for SQLite. Greg Taylor 2006-12-23 23:05:59 +00:00
  • c5f20f4038 Adding the majority of the stuff we need to parse ANSI codes. Greg Taylor 2006-12-22 06:57:54 +00:00
  • df393d4bf0 Converted the game configuration stuff to its own module. Greg Taylor 2006-12-22 06:17:17 +00:00
  • 2d8ab115af We won't be needing this anymore. Greg Taylor 2006-12-22 03:32:55 +00:00
  • 925cfe6c15 More session stuff, event code re-arrangement. Greg Taylor 2006-12-22 02:43:29 +00:00
  • 5816370857 Finishing up the session manager transition. Uh, yeah, we now have a session manager instead of referencing the server for a session list. Much much better. Greg Taylor 2006-12-22 01:42:24 +00:00
  • d883d67638 Session transition phase 1. Greg Taylor 2006-12-22 01:40:40 +00:00
  • 6bb2be6068 You can now @destroy objects and players. Fine-tuning of misc. stuff also. Greg Taylor 2006-12-22 00:51:26 +00:00
  • 81d9eb313a I'm pretty much ditching all of the caching I was doing for the sake of simplicity and probably not being necessary. I've attempted to commit something that is more or less identical to the previous revision in functionality, but completely different under the hood. Going to need a lot of testing to verify everything is working. Greg Taylor 2006-12-21 09:12:38 +00:00
  • 1b03c8cf31 We now have a fully functional @set command, complete with flags and attributes. Greg Taylor 2006-12-17 07:31:01 +00:00