mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
pointer: Remove pointer from API and page_params.
There is still some miscellaneous cleanup that has to happen for things like analytics queries and dead code in node tests, but this should remove the main use of pointers in the backend. (We will also still need to drop the DB field.)
This commit is contained in:
@@ -260,12 +260,6 @@ v1_api_and_json_patterns = [
|
||||
path('users/me', rest_dispatch,
|
||||
{'GET': 'zerver.views.users.get_profile_backend',
|
||||
'DELETE': 'zerver.views.users.deactivate_user_own_backend'}),
|
||||
# PUT is currently used by mobile apps, we intend to remove the PUT version
|
||||
# as soon as possible. POST exists to correct the erroneous use of PUT.
|
||||
path('users/me/pointer', rest_dispatch,
|
||||
{'GET': 'zerver.views.pointer.get_pointer_backend',
|
||||
'PUT': 'zerver.views.pointer.update_pointer_backend',
|
||||
'POST': 'zerver.views.pointer.update_pointer_backend'}),
|
||||
path('users/me/presence', rest_dispatch,
|
||||
{'POST': 'zerver.views.presence.update_active_status_backend'}),
|
||||
path('users/me/status', rest_dispatch,
|
||||
|
||||
Reference in New Issue
Block a user