Henddher Pedroza
b581c40cd0
Increase coverage in BatchCodeProcessor.code_exec().
2019-10-13 20:01:32 -04:00
Henddher Pedroza
9e90f3ad4f
Remove lint warnings from test_batchprocessors.
2019-10-13 19:45:15 -04:00
Henddher Pedroza
0bf90d817c
Tests for BatchCodeProcessor.
2019-10-13 19:34:10 -04:00
Henddher Pedroza
8af98f0ab0
TestBatchCommandProcessor with incorrect #INSERT
2019-10-13 18:13:31 -04:00
Henddher Pedroza
09825c2a6d
TestBatchCommandProcessor with #INSERT
2019-10-13 17:45:14 -04:00
Henddher Pedroza
de5073e916
Addition of TestBatchCommandProcessor.
2019-10-13 16:59:28 -04:00
Henddher Pedroza
903bf1663e
Tests for batchprocessors error conditions.
2019-10-13 00:29:06 -04:00
“Mic”
dfe398dd18
add blank=True
2019-10-05 22:20:40 +02:00
Anuj Devrani
292b88acc7
change search fields order and change account field search to db_key
2019-10-02 19:05:28 +05:30
Anuj Devrani
70d8e8b3fc
Add search id and db_account_id fields to searchable fields on object admin page
2019-10-02 15:30:49 +05:30
Griatch
0dbfa38f20
Black style correction
2019-10-01 21:32:44 +02:00
Griatch
6d0e4aa9b1
Merge pull request #1960 from dbarbuzzi/bugfix/1952-utils-latinify
...
Update utils.latinify to support Python 3
2019-10-01 21:31:36 +02:00
Griatch
db5ef8f003
Some cleanup of the default MSSP template
2019-10-01 20:48:44 +02:00
Domenic Barbuzzi
bfca8c8552
Update unit tests for utils.latinify
2019-10-01 14:42:26 -04:00
Domenic Barbuzzi
8058e01e06
Remove resolved comment
2019-10-01 12:59:15 -04:00
Domenic Barbuzzi
96d5734e51
Update utils.latinify to support Python 3
2019-10-01 12:11:11 -04:00
ethfar
d7272165db
Update tags.py
...
Typecast the variables which were causing error in using strip function
2019-10-01 20:01:11 +05:30
Ashutosh Chauhan
a84e93e4b1
Fixing typo in django template block name
2019-10-01 14:42:17 +05:30
Griatch
040bf50703
Fix typo, run black
2019-09-30 19:05:09 +02:00
Aaron McMillin
ba3db1731d
[ #1928 ] PR feedback, documentation, error handling
2019-09-29 21:45:33 -04:00
Aaron McMillin
186bc09b4d
[ #1928 ] change to plus for append/insert
2019-09-29 21:01:04 -04:00
Aaron McMillin
ed58502246
[ #1928 ] Special handling for lists and tuples
2019-09-29 21:01:04 -04:00
Aaron McMillin
cb04a71a23
[ #1928 ] Fix deleting non-existent items
2019-09-29 21:01:04 -04:00
Aaron McMillin
772cfda693
[ #1928 ] Edit existing nested
2019-09-29 21:01:04 -04:00
Aaron McMillin
2dfb327f88
[ #1928 ] fix nested delete bug
2019-09-29 21:01:04 -04:00
Aaron McMillin
1a1203fcb6
[ #1928 ] Delete nested
2019-09-29 21:01:04 -04:00
Aaron McMillin
d83e3d471e
[ #1928 ] Create and access data structures
2019-09-29 21:01:04 -04:00
Aaron McMillin
f9bd07c3ed
[ #1928 ] Helper functions and tests
2019-09-29 20:58:48 -04:00
Griatch
c2c7fa311a
Format code with black. Add makefile to run fmt/tests
2019-09-28 18:18:11 +02:00
Griatch
37452e2a43
Show warnings on start -l if settings contains production-unsafe values. Resolves #1732
2019-09-23 23:22:56 +02:00
Griatch
70da95ef68
Add create_msg alias to create_message
2019-09-23 22:46:18 +02:00
Griatch
f7ed56dc64
Catch tracebacks when leaving the py console with exit/exit()
2019-09-22 19:54:23 +02:00
Griatch
a315b3c7ec
Add simplified Korean translation by aceamro in #1947
2019-09-22 19:41:24 +02:00
Griatch
bb370c89fe
Enforce LINEMODE state for vanilla telnet. Resolve #1942
2019-09-22 19:22:48 +02:00
Griatch
dafec2e720
Don't trim input whitespace from webclient, to better support python code input, as per #1935
2019-09-22 19:22:15 +02:00
Griatch
88e8e88594
Change about command to put relevant version info first, as per #1945
2019-09-22 13:32:12 +02:00
Griatch
96b3cd049c
Clarify command-help for set command. Resolve #1944 .
2019-09-22 13:25:27 +02:00
Griatch
bce118ca93
Merge pull request #1939 from gtaylor/u-str-removal
...
Remove a couple of lingering u strings
2019-09-19 19:28:47 +02:00
Griatch
741dc652d6
Merge pull request #1938 from gtaylor/builtins-removal
...
Remove builtins imports
2019-09-19 19:27:55 +02:00
Greg Taylor
f55b16a500
Remove a couple of lingering u strings
...
These are not needed in Python 3.
2019-09-15 20:41:42 -07: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
901277ea64
Switch to module imports for importlib in utils
...
The present day guidance is to lean towards module imports for the
stdlib modules. Switch importlib imports to this instead of
plucking out the functions that we need. This makes it more
immediately apparent as to where the functions are coming from
in the application logic.
2019-09-15 20:21:50 -07:00
Greg Taylor
da48fa2e52
Refactor mod_import to use importlib
...
Switch from the deprecated imp to importlib. Also add tests and
clean up logic flow. This should be quite a bit faster than the
old implementation as well.
2019-09-15 20:21:50 -07:00
Griatch
e395ea9371
Fix MSSP connect traceback. Resolve #1930 . Also add mock external_discord_hello inputfunc for Mudlet.
2019-09-15 14:09:47 +02:00
Griatch
ac3a8d2199
Merge pull request #1927 from gtaylor/futures-removal
...
Remove Python 2.7 compatibility shims
2019-09-15 13:00:43 +02:00
Greg Taylor
93ca8504d0
Bump min Django version to 2.2.5
...
Bug fix release. For more details, see:
https://docs.djangoproject.com/en/2.2/releases/2.2.5/
2019-09-15 00:40:26 -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
edbe583959
Clean up utils gc/sys imports
...
Move to top and import the modules instead of funcs from them.
Keeps the scope cleaner.
2019-09-15 00:18:56 -07:00
Greg Taylor
e5354a6787
Remove py3.6 handler for ModuleImportError
...
We require 3.7+ now, no need.
2019-09-15 00:18:56 -07:00
Greg Taylor
3fb23f4c70
Remove unused utils.clean_object_caches func
...
Sounds like this used to have a purpose but no longer does.
2019-09-15 00:17:39 -07:00