Commit graph

2072 commits

Author SHA1 Message Date
akashaviator 59b025d2e4 api: Implement PATCH /users/{user_id} endpoint. 2020-04-09 17:17:59 -07:00
Kartik Srivastava ed706c24ce api: Implement GET /realm/presence endpoint. 2020-04-09 17:17:29 -07:00
Kartik Srivastava 8b0fa6bfee
api: Implement GET /attachments endpoint. 2020-04-07 16:44:49 -07:00
rht f47559e68d bridge_between_zulips: Replace "subject" with "topic" in doc. 2020-04-07 16:20:19 -07:00
rht ceda54b50c bridge_between_zulips: Add explanation of --stream to README.md. 2020-04-07 16:20:19 -07:00
Kartik Srivastava 6dd52439bf
api: Implement DELETE /users/{user_id} api endpoint. 2020-04-07 16:12:59 -07:00
Kartik Srivastava 8d7eb0fea3
api: Refactor get_user_by_id to take keyword arguments.
This refactors get_user_by_id to take arguments like
`include_custom_profile_fields = True` instead of
{include_custom_profile_fields: True}.
2020-04-07 16:12:11 -07:00
rht d7c52c9a74 zulip/zulip/__init__.py: Remove shebang and add version assertion. 2020-04-05 07:28:13 -04:00
Steve Howell 2ec5bb7b70 minor: Warn about missing usage handlers. 2020-04-05 06:53:40 -04:00
rht aee73b32e0 zulip/setup.py: Remove Python 2 from supported versions. 2020-04-03 08:18:08 -04:00
rht c1fb086677 Squash py3_requirements.txt into requirements.txt. 2020-04-03 08:18:08 -04:00
rht 802f85224a Travis: Remove test-py2-legacy-support. 2020-04-03 08:18:08 -04:00
rht 439c096eac Remove all remaining six imports. 2020-04-03 08:18:08 -04:00
rht 565106b880 test_default_arguments: Add explicit python3 shebang. 2020-04-03 08:18:08 -04:00
rht f34540d26d Add explicit python3 shebang to __init__.py. 2020-04-03 08:18:08 -04:00
rht 4600ce59a3 Remove all remaining from __future__ imports. 2020-04-03 08:18:08 -04:00
rht 204871b518 Finish the remaining migration of shebang to python3. 2020-04-03 08:18:08 -04:00
rht 9ee8461b9d bridges: Remove sender field from message data.
For the reason why, see
https://chat.zulip.org/#narrow/stream/127-integrations/topic/bridge.20between.20zulips
2020-04-03 06:19:22 -04:00
rht 46c78ce7b5 integrations: Remove usage of six. 2020-04-02 13:02:28 -04:00
rht 1412403037 integrations: Remove from __future__ imports. 2020-04-02 13:02:28 -04:00
rht a465467388 integrations: Switch to python3. 2020-04-02 13:02:28 -04:00
rht d174e589bf examples/upload-file: Use python3-specific import of StringIO. 2020-04-02 09:56:59 -04:00
rht 87198501dc examples: Remove from __future__ imports. 2020-04-02 09:56:59 -04:00
rht e5144b8503 examples: Switch to python3. 2020-04-02 09:56:59 -04:00
rht dea467ccd7 lint: Remove explicit python invocation check. 2020-04-02 07:09:46 -04:00
Steve Howell 754a9f7880 bots: Remove unmaintained bots. 2020-04-01 08:41:51 -04:00
orientor d8157d6b80 bridge_with_irc: Initialize IRC bot after checking Zulip bot.
Confirm whether Zulip bot is subscribed to the required stream
first and then Initialize IRC bot object.
2020-03-30 17:41:14 -04:00
orientor de40005f5e bridge_with_irc: Improve user-friendliness.
Edit error and success messages of zulip-irc bridge to be more
user friendly.
2020-03-30 17:41:14 -04:00
fishfred 87b57f879c bots: Fixed incorrect computer play message 2020-03-30 12:02:32 -04:00
fishfred 0a0f9e9d21 bots: Fix tictactoe, connect_four emoji 2020-03-30 12:02:32 -04:00
rht b771bacac0 bridge_with_irc: Check if bot is subscribed to stream at startup. 2020-03-27 06:59:29 -04:00
Eeshan Garg ce73dab121 pypi: Release version 0.6.4. 2020-03-26 19:52:46 -02:30
Eeshan Garg 0b930cfe86 pypi: Add support for Python 3.8. 2020-03-26 13:38:08 -07:00
akashaviator 2cf49788fd api: Implement GET users/{id} endpoint. 2020-03-25 17:00:52 -07:00
neiljp (Neil Pilgrim) 1d1e93d92e requirements: Upgrade mypy from 0.600 to 0.770. 2020-03-24 21:25:45 -07:00
neiljp (Neil Pilgrim) 60984ab2fa mypy: Add type ignores for mixing of str & bytes in zephyr mirror.
In principle these should be fixed properly, but the zephyr code is
difficult to test except in a production setting and is unlikely to be
heavily developed in future.
2020-03-24 21:25:45 -07:00
neiljp (Neil Pilgrim) 520a004b85 botserver: Raise exceptions rather than returning them. 2020-03-24 21:25:45 -07:00
neiljp (Neil Pilgrim) fca2404b46 mypy: Add type ignore in botserver/server.py. 2020-03-24 21:25:45 -07:00
neiljp (Neil Pilgrim) 436b619021 integrations: Use universal_newlines in check_output to output as str.
Picked up by mypy; otherwise output is in bytes (at least on python 3).
2020-03-24 21:25:45 -07:00
neiljp (Neil Pilgrim) f81843f189 mypy: Clarify type hints in zulip/integrations/. 2020-03-24 21:25:45 -07:00
neiljp (Neil Pilgrim) 357a5e06f3 mypy: Clarify type hints in zulip_bots/. 2020-03-24 21:25:45 -07:00
rht 8a74f576a3 python: Remove per-file copyright notices.
These notices are redundant and obscure what are often very short
example scripts.
2020-03-23 12:52:52 -07:00
derAnfaenger 1dc2bf8ba6 docs: Add more proper LICENSE and THIRDPARTY files.
This will allow us to remove the duplicate notices at the tops of
individual files, which obscure the actual code.

Fixes #43.
2020-03-22 16:52:19 -07:00
Mateusz Mandera 8fc5b777db api: Fix undefined variable reference from previous commit. 2020-03-14 11:36:34 -07:00
orientor 056963bedd api: Add delay_cap as class variable of CountingBackoff class. 2020-03-05 13:33:50 -08:00
orientor 62555f97a0 Bots: Update Owlbot from v1 to v2. 2020-03-04 13:12:29 -08:00
Kushal Kothari f253819a58
provision: Fix a typo in virtualenv instruction. 2020-03-03 22:39:28 -08:00
orientor 731eb23c9a bridge_with_irc: Print message on successful connection. 2020-03-02 05:51:54 -05:00
Steve Howell dd37e27b36 docstring: Use user_ids for typing endpoint. 2020-02-23 07:45:33 -05:00
Aman Agrawal 32a46cbaa9 mypy: Use Rule from zulint to specify type for custom rules. 2020-01-14 16:00:24 -08:00