Commit graph

25 commits

Author SHA1 Message Date
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Griatch
9c0b44e13a Homogenize manager search methods to return querysets. Resolve #2384. 2022-01-09 17:13:24 +01:00
Griatch
e70337b6d2 Move create methods into managers, leave utils.create as wrappers.
Resolve #2118.
2022-01-09 00:30:32 +01:00
Griatch
a51e4af609 Change to MyST parser 2021-10-26 21:31:20 +02:00
Griatch
b5195a6e96 [feat] Script refactor; decouple timer component from script lifetime. Resolve #1715 2021-03-07 10:34:01 +01:00
Griatch
0c53f1bcc3 Fix return type for all situations of get_all_scripts manager method, as inspired by #2117 2020-06-28 11:37:17 +02: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
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Ryan Stein
6fa280b9fd Run 2to3. 2017-10-29 13:40:30 -04:00
Griatch
3e02f96566 Add ability to search_script by typeclass 2017-10-14 20:15:44 +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
5590ee2258 Rename all instances of Player->Account. 2017-07-07 23:47:21 +02:00
Griatch
cf77d90c71 Make all manager methods return querysets. This removes all the last remnants of the old return_typeclass/return_typeclass_list decorators that were a remnant of the old pre-proxy Typeclass system. Resolves #1206. 2017-04-20 19:43:39 +02:00
Griatch
052e1845a2 Fix error in MonitorHandler recovering a saved Session across a reload. This probably affected the TickerHandler as well. Add a new hook to the server object that gets called once the portal has synced, and run the monitorhandler/tickerhandler restores there. Also some changes to the serialization of Sessions. Resolves #1164. 2017-01-15 19:55:51 +01:00
Griatch
506c5c6d39 Refactor some names to make api cleaner to read. 2017-01-14 22:21:12 +01:00
Griatch
9d714a9c55 Refactor to use list comprehension instead of filter() for future py3 compatibility. 2017-01-10 18:31:45 +01:00
Simon Vermeersch
5a4dbea3bb Return an empty list when searching for a script by #dbref and there is
no such script.
2017-01-10 18:31:45 +01:00
Ahmed Charles
bc340fbf0d Remove commented out print statements. 2015-10-19 23:31:19 +02:00
Griatch
d23a8a94db Updated scripts/ directory source to use Google style docstrings as per #709. 2015-05-29 21:08:04 +02:00
Griatch
ee1ec3979c Updates for making Evennia compatible with Django 1.8+. Still not fully functioning. 2015-04-04 00:08:51 +02:00
Griatch
a6c2910e93 fixed small inconsistency in returning a single script from the manager. 2015-03-06 20:54:44 +01:00
Jonathan Piacenti
65adb0982b Fix references to contrib and ev. Allows Ampoule tests to run. They're severely broken, however. 2015-02-23 15:06:30 +01:00
Griatch
ad3f19896c Changed all src/ and ev references to evennia 2015-01-07 15:36:32 +01:00
Griatch
c7325a5032 Further reworking, naming the library folder 'evennia' instead of lib or src. 2015-01-07 13:36:57 +01:00
Renamed from lib/scripts/manager.py (Browse further)