Griatch
5e5f3efc24
Add CHANNEL_HANDLER_CLASS setting to replace ChannelHandler.
2020-01-18 00:14:29 +01:00
Griatch
69d85bd184
Make scripts/objects lists use EvMore. Change EvMore to not justify by default.
2020-01-11 15:49:12 +01:00
Griatch
4ea6209123
Ran black on branc
2019-12-16 20:31:42 +01:00
Johnny
813a285ac8
Fixes str rendering of message objects where sender does not have a 'key' attribute.
2019-12-04 03:42:03 +00:00
Tehom
19d9811de2
Add index to typeclass path. Closes #1975
2019-10-25 08:39:03 -04:00
Griatch
c2c7fa311a
Format code with black. Add makefile to run fmt/tests
2019-09-28 18:18:11 +02:00
Greg Taylor
5e1a672fc2
Remove builtins imports
...
This module is not intended to be used directly in most cases, per:
https://docs.python.org/3/library/builtins.html
None of our usages warrant the explicit import. We also avoid some
confusion as folks dig to see what we are doing to require
importing builtins directly.
2019-09-15 20:29:59 -07:00
Greg Taylor
bd33886cc0
Remove uses of the 'future' py2->3 module
...
This is no longer needed, now that we are Py3.7+ only. One
layer of indirection removed, and one less dependency.
2019-09-15 00:18:56 -07:00
Greg Taylor
41622d4527
Remove unneeded __futures__ imports
...
No longer needed with Python 2 support dropped.
2019-09-15 00:17:39 -07:00
Griatch
e742227a2c
Correct reverse() calls for typeclassed entities. Resolve #1743
2019-06-10 07:46:09 +02:00
Griatch
098af3caba
Move globalhandler into utils.containers, make settings format more flexible, default to base typeclass, add helper functions and some more lenient error handling
2019-04-14 11:24:45 +02:00
Griatch
fbfb6da975
Resolve support for Django 2.0
2019-03-25 21:45:34 +01:00
Griatch
0c9d2e053b
[fix] First migration test
2019-01-28 19:48:26 +01:00
Griatch
6844097322
Convert to_str to to_bytes
2019-01-15 21:03:42 +01:00
Griatch
981119b640
Fix merge conflicts
2019-01-01 15:19:20 +01:00
Johnny
9ad162ec2c
Adds web_get_*_url methods to Channel typeclass.
2018-10-28 13:11:23 +00:00
Johnny
c9ddef316f
Adds object auditing options to DefaultChannel.
2018-10-17 21:37:49 +00:00
Johnny
06fe77a6ef
Adds create() method to DefaultChannel object, and unit test.
2018-10-17 20:26:51 +00:00
Griatch
ebb2fb6c1c
Clean up with 2to3
2018-10-13 19:43:17 +02:00
Griatch
72f4fedcbe
Merge with develop and fix merge conflicts
2018-10-01 20:58:16 +02:00
Griatch
d132912a7a
RUN MIGRATIONS. Resolves #1595 .
2018-09-25 19:37:59 +02:00
Griatch
63cae2b187
Merge branch 'master' into develop
2018-07-21 14:14:43 +02:00
Tehom
fb481c98fb
Move query/unpickling out of loop for mutelist.
2018-06-19 04:12:46 -04:00
Griatch
4eb38e2b69
Fix unittests
2018-03-03 11:24:20 +01:00
Nicholas Matlaga
861c722d30
Change if statement to better handle objects; move options dict before at_msg_receive call to allow channels to be known in hook
2018-03-03 11:01:31 +01:00
arumford
96ebe8d0f3
typo in docstring.
2018-03-03 11:01:31 +01:00
Griatch
7531e03064
Merge pull request #1571 from chainsol/fix_#1570
...
Change if statement in comms/models.py to fix #1570
2018-02-14 21:06:58 +01:00
Nicholas Matlaga
11c9d60111
Change if statement to better handle objects; move options dict before at_msg_receive call to allow channels to be known in hook
2018-02-13 12:49:55 -05:00
Griatch
84f7fbdd37
Add DefaultChannel.basetype_setup and add default locks, empty at_channel_creation to avoid having to use super()
2018-02-08 22:46:14 +01:00
arumford
c5e0c2321b
typo in docstring.
2018-02-07 14:22:38 -06:00
Griatch
d2b89b7613
Update/refactor search_channel with aliases and proper query. Resolves #1534 .
2018-01-06 20:13:36 +01:00
Tehom
737d551cd7
Fix search and timeout with large database
2017-11-09 22:33:08 -05:00
Ryan Stein
cd21fb2396
Use Python 3's new super() convention.
2017-11-02 10:41:41 -04:00
Ryan Stein
6fa280b9fd
Run 2to3.
2017-10-29 13:40:30 -04:00
Nicholas Matlaga
e1db190329
change references to db_subscriptions to reference handler correctly
2017-10-27 14:10:19 -04:00
Griatch
b3c6e9d2cc
Update alerts reported by LGTM
2017-09-23 16:46:54 +02:00
Griatch
414bacf58b
Fix migration edge cases with MySQL and PostgreSQL
2017-09-22 23:23:59 +02:00
Griatch
3c1544ca16
Revert migration name change - it's irrelevant for this point in git history
2017-09-07 21:42:55 +02:00
Griatch
f6b4155aed
Rename migration to indicate slowness - may need to drop migration table and --fake run again.
2017-09-07 21:27:13 +02:00
Griatch
92df3ce5ae
Structure handlers to allow .get() to return lists
...
See #1154 . In the end I didn't modify the Attributehandler and
TagHandler like this, instead I added the `return_list` argument
for cases when one wants a guaranteed return.
2017-08-27 14:56:05 +02:00
Griatch
b278337172
Make PEP8 cleanup of line spaces and character distances as well as indents
2017-08-19 23:16:36 +02:00
Griatch
7ff783fea1
Resolve merge conflicts with master.
2017-08-19 21:30:42 +02:00
Tehom
bc3f3ea586
Add check to subscription handler for deleted objects.
2017-07-30 18:34:06 -04:00
Griatch
e56b0024c4
Merge branch 'master' into devel
2017-07-13 22:54:53 +02:00
Griatch
be8452b1c7
Fix hard-coded lock names in event system to match new hierarchy.
2017-07-09 13:03:01 +02:00
Griatch
594500c4c7
Correct migrations to not re-remove fields.
2017-07-09 11:51:47 +02:00
Griatch
c1326eaf23
Add a sanity check for comm migration
2017-07-09 11:12:20 +02:00
Griatch
f45bd4921d
Re-add player-migrations, renamed to account-migrations
2017-07-09 10:39:03 +02:00
Griatch
a7aa1215cb
Rename migrations to depend on account-migrations instead of players
2017-07-09 09:12:09 +02:00
Griatch
5590ee2258
Rename all instances of Player->Account.
2017-07-07 23:47:21 +02:00