Commit graph

2111 commits

Author SHA1 Message Date
Eeshan Garg 00f22e175c pypi: Release 0.4.7. 2018-05-21 20:02:43 -02:30
Sivagiri Visakan 4183f4c0c5 zulip-terminal: Add bot's directory to sys.path. 2018-05-20 07:07:43 -04:00
dkvasov 79899dba30 zulip_botserver: More test cases. 2018-05-17 09:43:00 -07:00
dkvasov fe801d08eb zulip_botserver: Add test for config parsing. 2018-05-17 09:42:52 -07:00
dkvasov 40785d3116 zulip_botserver: Add test for default input parameters. 2018-05-17 09:40:44 -07:00
dkvasov 0040182ec4 zulip_bots: Obey pep8, python3 type annotations. 2018-05-17 17:49:16 +03:00
dkvasov a06fb98f21 zulip_bots and zulip_botserver: Extract common function. 2018-05-17 17:35:09 +03:00
dkvasov 4244a82b03 git: Add ignoring pycharm-specific dependencies. 2018-05-17 16:57:16 +03:00
dkvasov 85c6b5a1c7 zulip_bots: Use python3 type annotations. 2018-05-17 16:57:16 +03:00
Rhea Parekh bb39ce981d Matrix: Refactor function 'matrix_to_zulip' 2018-05-16 11:12:00 -07:00
Rhea Parekh c467b5fd03 Matrix: Handle login and joining room errors. 2018-05-16 11:12:00 -07:00
Rhea Parekh 9362755039 Matrix: Add more messages events and handle errors. 2018-05-16 11:12:00 -07:00
Rhea Parekh 979c0e50d6 Matrix: Update documentation and add requirements.txt. 2018-05-16 11:12:00 -07:00
dkvasov 86ab26d2ba zulip_botserver: Get rid of last global variable. 2018-05-16 10:58:09 -07:00
dkvasov a5d6286d85 zulip_botserver: Better message for single bot mode. 2018-05-16 10:58:09 -07:00
dkvasov b119d67182 tools/provision: Use python3 because python2 doesn't work. 2018-05-16 10:50:43 -07:00
dkvasov b06ebdecef zulip_botserver: Add option to test third party configs 2018-05-16 10:50:43 -07:00
dkvasov d3b99959c6 zulip_botserver: Add test to check two bots working together. 2018-05-16 10:50:43 -07:00
dkvasov 2de862cdcd zulip_botserver/tests: Reformat input to make them more readable. 2018-05-16 10:50:43 -07:00
dkvasov 7bbc81edbd zulip_botserver: Get rid of unused input parameter: use load_lib_modules func for loading modules in tests. 2018-05-16 10:50:43 -07:00
dkvasov f6b981b8d5 zulip_bots: Python3 style for types, obey pep8. 2018-05-16 10:50:43 -07:00
dkvasov ce95f9f4d5 zulip_bots and zulip_botserver: Remove unused imports. 2018-05-16 10:50:43 -07:00
dkvasov a8665aaac8 zulip_botserver: Add option to set third party configs for bots. 2018-05-16 10:50:43 -07:00
dkvasov f76287412c zulip_bots: Get rid of unused imports and use python3 style for type annotations. 2018-05-16 08:15:38 -07:00
dkvasov be5a7a8c4a zulip_bots: Clean gyphy bot code. 2018-05-16 08:15:36 -07:00
dkvasov 6542f8c867 zulip_botserver: Add parameter to set custom bot name (for single-bot mode). 2018-05-16 17:41:22 +03:00
dkvasov aa193c1298 zulip_botserver: Extract input parameters. 2018-05-16 17:40:40 +03:00
Guitar1st f90913d54c zulip_botserver: Get rid of some global variables. 2018-05-15 12:32:57 -07:00
Tim Abbott 7b6da265ea zulip_botserver: Reorder imports. 2018-05-15 12:32:45 -07:00
Tim Abbott 70dd05e5a6 zulip_botserver: Enforce that port argument is an int. 2018-05-15 12:32:45 -07:00
Tim Abbott 5ef224f2a2 zulip_botserver: Eliminate the bots_config global variable.
It's easy to just pass it around to the one function that needs it.
2018-05-15 12:32:44 -07:00
Tim Abbott 1e5c0fec1f zulip_botserver: Fix long line for ImportError. 2018-05-15 12:23:40 -07:00
Tim Abbott 9eda19d6cc zulip_botserver: Get rid of old six.moves for configparser. 2018-05-15 12:23:10 -07:00
neiljp (Neil Pilgrim) 6bbdc7d9d0 requirements: Upgrade to mypy 0.600. 2018-05-15 10:03:57 -07:00
novokrest 65ebd6e595 yoda: Pass API query parameters as params dict in requests.get(). 2018-05-15 09:12:40 -07:00
novokrest 5ad5e11587 link_shortener: Allow #% characters for shortening URL. 2018-05-15 09:12:40 -07:00
novokrest bccbda49f2 wikipedia: Pass API query parameters as params dict in requests.get(). 2018-05-15 09:12:40 -07:00
novokrest 8654ce53db weather: Pass API query parameters as params dict in requests.get(). 2018-05-15 09:12:40 -07:00
novokrest 927fcaa521 susi: Pass API query parameters as params dict in requests.get(). 2018-05-15 09:12:40 -07:00
novokrest 86ffbb2b4a stack_overflow: Pass API query parameters as params dict in requests.get(). 2018-05-15 09:12:40 -07:00
novokrest a38917723a idonethis: Pass API query parameters as params dict in requests methods. 2018-05-15 09:12:40 -07:00
Yago González e9a518e93e api: Warn when SSL/TLS validation is disabled. 2018-05-15 08:17:35 -07:00
Yago González d85792524e api: Allow disabling TLS verification via env vars. 2018-05-15 08:17:35 -07:00
Yago González 285464a367 api: Set required fields in the examples.
Now all the API examples have their corresponding arguments set as
required when they have to be present for the example to run.
2018-05-15 07:40:48 -07:00
Yago González cb171409c5 api: Fix edit-message example.
The message ID necessarily has to be an integer, and if no casting is
made it was being considered a string, causing problems when running
the example.
2018-05-15 07:40:48 -07:00
Guitar1st 2ba6f75fb3 zulip_botserver: Change style of type annotations to python3 2018-05-14 20:00:44 +00:00
Guitar1st 641665c338 zulip_botserver: Remove unused imports and do some other cleanup. 2018-05-14 20:00:44 +00:00
Yago González 292a3bc067 api: Add execution permissions to welcome-message. 2018-05-14 11:04:57 -07:00
Yago González 817636cbc6 api: Implement /users/me/<stream_id>/topics. 2018-05-14 11:04:57 -07:00
Tim Abbott b1ab308c26 botserver: Fix mypy error. 2018-05-14 10:07:02 -07:00