zulip/zerver
Graham Bleaney fd5ee9a831 bots: Decouple user input from imported module.
This commit modifies 'zerver/lib/bot_lib.py' to decouple the
user-controllable 'service_name' parameter from the value that is
passed in to 'import_module'. This is done as a precautionary
hardening.
2020-03-25 16:39:17 -07:00
..
data_import emoji_codes: Replace JS module with JSON module. 2020-02-12 10:09:12 -08:00
lib bots: Decouple user input from imported module. 2020-03-25 16:39:17 -07:00
management email_mirror: also check for Envelope-To 2020-03-25 16:28:46 -07:00
migrations models: Add recipient foreign key to Huddle. 2020-03-17 05:41:11 -07:00
openapi python: Convert json.loads(f.read()) to json.load(f). 2020-03-24 10:46:32 -07:00
templatetags openapi: Pass api_url to curl example generation. 2019-08-17 11:35:08 -07:00
tests tests: Change `is_signup` argument to boolean in `test_auth_backends.py`. 2020-03-25 15:59:37 -07:00
tornado python: Convert json.loads(f.read()) to json.load(f). 2020-03-24 10:46:32 -07:00
views redirects: Refactor redirect code to use central helper function. 2020-03-25 16:39:17 -07:00
webhooks jira: Handle comment_created events without issue details. 2020-03-22 21:43:21 -07:00
worker queue_processors: Extract a duplicated logic block into do_consume. 2020-03-22 18:45:46 -07:00
__init__.py
apps.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
context_processors.py decorators: Restructure get_client_name interface. 2020-03-08 14:19:50 -07:00
decorator.py rate_limit: Move functions called by external code to RateLimitedObject. 2020-03-22 18:42:35 -07:00
filters.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
forms.py rate_limit: Remove __str__ methods of RateLimitedObjects. 2020-03-22 18:42:35 -07:00
logging_handlers.py version: Only let `git describe` match tags beginning with a digit. 2019-10-24 14:54:45 -07:00
middleware.py middleware: Log <user.id>@subdomain instead of subdomain/<user.id>. 2020-03-24 10:25:01 -07:00
models.py middleware: Log <user.id>@subdomain instead of subdomain/<user.id>. 2020-03-24 10:25:01 -07:00
signals.py emails: Translate from_name of account security emails. 2020-02-18 17:45:33 -08:00