zulip/zerver
Steve Howell 69ee84bb14 refactor: Extract build_bot_request().
This fixes a couple things:

    * process_event() is a pretty vague name
    * returning tuples should generally be avoided
    * we were producing the same REST parameters in both
      subclasses
    * relative_url_path was always blank
    * request_kwargs was always empty

Now process_event() is called build_bot_request(),
and it only returns request data,
not a tuple of `rest_operation` and `request_data`.

By no longer returning `rest_operation`, there are
fewer moving parts.  We just have `do_rest_call` make
a POST call.
2018-10-11 16:12:07 -07:00
..
data_import hipchat import: Support guest users. 2018-10-11 15:28:58 -07:00
lib refactor: Extract build_bot_request(). 2018-10-11 16:12:07 -07:00
management management: Add command to scrub a realm of personal data. 2018-10-11 15:30:26 -07:00
migrations notifications: Fix push notifications with multiple realms. 2018-10-10 16:15:52 -07:00
openapi docs: Move LDAP documentation out of plug-and-play section. 2018-09-27 13:38:14 -07:00
templatetags api docs: Move integration-docs-guide to docs/. 2018-10-09 20:28:44 -07:00
tests refactor: Extract build_bot_request(). 2018-10-11 16:12:07 -07:00
tornado event_queue: Stop mocking push notifications in most tests. 2018-08-10 13:58:39 -07:00
views user_settings: Compare new stripped email with old email. 2018-10-11 15:55:32 -07:00
webhooks org settings: Rename "Filter settings" to "Linkifiers". 2018-10-09 08:50:45 -07:00
worker refactor: Extract build_bot_request(). 2018-10-11 16:12:07 -07:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py portico: Change buttons on /plans to reflect current plan. 2018-09-05 13:44:35 -07:00
decorator.py decorator: Fix error message for accessing deactivated accounts. 2018-08-09 15:58:31 -07:00
filters.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
forms.py password reset: Deduplicate code for reset URL generation. 2018-08-23 12:06:02 -07:00
logging_handlers.py bugdown: Improve exception handler for BugdownRenderingException. 2018-07-26 09:27:55 -07:00
middleware.py urls: Separate endpoint for signup and new realm email confirm. 2018-08-26 22:53:57 -07:00
models.py management: Add command to scrub a realm of personal data. 2018-10-11 15:30:26 -07:00
signals.py emails: Add detection for ChromeOS User-Agents. 2018-09-21 10:41:05 -07:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00